Search found 1876 matches

by stokerpiller
Tue Sep 14, 2010 8:08 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] report2topic++
Replies: 20
Views: 4564

Re: [DEV] report2topic++

Do you know how a download will be available?
Cant wait :D
by stokerpiller
Tue Sep 14, 2010 11:26 am
Forum: [3.0.x] Styles Support & Discussion
Topic: Dropdown menu and IE6
Replies: 1
Views: 444

Re: Dropdown menu and IE6

Got it working with suckerfish: http://www.alistapart.com/articles/dropdowns
by stokerpiller
Tue Sep 14, 2010 7:27 am
Forum: [3.0.x] Styles Support & Discussion
Topic: Dropdown menu and IE6
Replies: 1
Views: 444

Dropdown menu and IE6

Hello, I am trying to make my dropdown menu work with IE6 Yes, I know everybody hates that damn browser, so do I but some people still use it. I have been trying about everything, several hours each day for more than a week :cry: Then theres is problems with z-index and then the htc file. So I wonde...
by stokerpiller
Wed Sep 08, 2010 10:11 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

Thanks a lot Erik, works like a charm.
Beers on me :D
by stokerpiller
Wed Sep 08, 2010 9:41 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

'That code gives this debug: filemtime() [function.filemtime]: stat failed for 0 and display the default 1970 date.
by stokerpiller
Wed Sep 08, 2010 7:59 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

Thanks Erik, but how do I make it so that it checks more than one file and display the date of the last modified?
by stokerpiller
Wed Sep 08, 2010 3:12 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

I will see if I can figure out how to rewrite it to phpbb :(
by stokerpiller
Wed Sep 08, 2010 2:36 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

Erik Frèrejean wrote:
Erik Frèrejean wrote:Are these pages actual files or dynamically generated from the database? In case of the latter store the timestamp when editing a page and use that. If you are working with actual files you can use filemtime.
Nope, the files is only core php, language and template.
Nothing is stored in the DB
by stokerpiller
Wed Sep 08, 2010 2:07 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

I think this function will be easier to use: http://www.php.net/manual/en/function.getlastmod.php So you would use it like this: $template->assign_var('LAST_EDITED', $user->format_date(getlastmod()));   Brilliant, that works for the core php files :D Its good but what if I want it to work with the ...
by stokerpiller
Wed Sep 08, 2010 1:15 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

Thanks, but I want it to be automatic.
Theres got to be a way to grab the same info about last change date and time just like your FTP program does.
by stokerpiller
Wed Sep 08, 2010 1:04 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

Thanks for helping me out Marc, but this just displays the time when the page was last viewed.
It changes everytime you refresh the page.

I want to display last edited time = last time the file was uploaded/changed.
by stokerpiller
Wed Sep 08, 2010 3:39 am
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

Re: php, page last edited script

Please dont make me bump this again :D

Can it be done?
by stokerpiller
Mon Sep 06, 2010 6:27 am
Forum: [3.0.x] MOD Writers Discussion
Topic: php, page last edited script
Replies: 22
Views: 2092

php, page last edited script

Hello,

I have a couple of custom pages where I want to display when the pages last was edited/modified.
At the moment I am doing it by hand which is getting boring.
There is a couple of js that does this, but I would like it done in php using the user_date format.

Any help would be appreciated.
by stokerpiller
Sat Sep 04, 2010 10:53 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Custom pages in viewonline
Replies: 9
Views: 1010

Re: Custom pages in viewonline

Thanks for the help Marc.
I appreciate it.
by stokerpiller
Sat Sep 04, 2010 8:51 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Custom pages in viewonline
Replies: 9
Views: 1010

Re: Custom pages in viewonline

Thanks Marc,I allready have tried that solution and a lot others. But it doesnt work.

Go to advanced search