Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add Today's Date Details »
Add Today's Date
Mod Version: 1.00, by Parker Clack (Member) Parker Clack is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 3
Released: 05 Dec 2001 Last Update: Never Downloads: 0
Not Supported  

This really isn't a hack but something else to add to your main forum page.

In index.php right before

eval("dooutput(\"".gettemplate('forumhome')."\");");

put

$today = vbdate("F jS,Y",time());

(change the dateformat to however you have yours set up, ie:
m-d-y or as I have it above.

Then in the forumhome template

put

<smallfont>Today is: <b>$today</b></smallfont>

wherever in the forumhome template you would like to put this.

Parker

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 06 Dec 2001, 17:22
212rikanmofo 212rikanmofo is offline
 
Join Date: Nov 2001
tried that, didn't show up at all. im using vbulletin 2.2.0 by the way, hrmm... the variable doesnt show up at all in the template.
Reply With Quote
  #3  
Old 07 Dec 2001, 14:37
Parker Clack Parker Clack is offline
 
Join Date: Nov 2001
Did you put the line

<smallfont>Today is: <b>$today</b></smallfont>

into your forumhome template?

Parker
Reply With Quote
  #4  
Old 30 Dec 2001, 19:52
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Thanx Parker Clack, nice little addition for the members, very easy mod and can generally go any place you'd like it.
Reply With Quote
  #5  
Old 26 Mar 2003, 22:21
esquared esquared is offline
 
Join Date: Feb 2003
Thanks. This helped me figure out how to do something.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:14.

Layout Options | Width: Wide Color: