Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Show number of days since forum came online! Details »»
Show number of days since forum came online!
Version: 1.00, by KingPuyol KingPuyol is offline
Developer Last Online: Apr 2008 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-21-2007 Last Update: Never Installs: 81
 
No support by the author.

This is an idea I got from somewhere.
It will show the number of days, hours, minutes and seconds since your forum came online in the forum statistics area below.


First open counter.txt, and change the date you opened the forum from the setcountup, and change all what you want until by following all what's written on the counter.txt file.

After that you will need to edit 1 templates:

In FORUMHOME, find:
Code:
			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
After if add:
Code:
[THE CONTENT OF counter.txt]

Then click save and your done.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-13-2007, 06:35 AM
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this - easy to install. Thanks!
Reply With Quote
  #23  
Old 07-13-2007, 10:35 AM
bazzup bazzup is offline
 
Join Date: Dec 2006
Location: Liverpool
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have this on the end of mine

forums came online!__________________

how do loose the line bit?
Reply With Quote
  #24  
Old 07-14-2007, 06:12 PM
aakhan136 aakhan136 is offline
 
Join Date: Nov 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #25  
Old 07-19-2007, 01:11 AM
SliceofLife SliceofLife is offline
 
Join Date: Jul 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Even a complete loser like me could do it! Thanks!
Reply With Quote
  #26  
Old 07-21-2007, 02:41 AM
Free-D Free-D is offline
 
Join Date: Jul 2007
Location: Ukraine
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by o0Hubba0o View Post
This one has it as days, it's a product and you can put it where ever you like.

Great work none the less on the hack, not my prefered style though.
Less products - less troubles
Reply With Quote
  #27  
Old 07-21-2007, 02:48 AM
Free-D Free-D is offline
 
Join Date: Jul 2007
Location: Ukraine
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod :up:
But I want display only days since forum came online without hours, minutes and seconds.
I just removed hours, minutes and seconds forum this code
Code:
if (document.layers){
document.countupnsmain.document.countupnssub.document.write(opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds "+displaymessage+closetags)
document.countupnsmain.document.countupnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds "+displaymessage+closetags

setTimeout("countup()",1000)
}
/* ]]? */
</script></div>
So now it's look like

Code:
if (document.layers){
document.countupnsmain.document.countupnssub.document.write(opentags+dday+ " days "+displaymessage+closetags)
document.countupnsmain.document.countupnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " days "+displaymessage+closetags

setTimeout("countup()",1000)
}
/* ]]? */
</script></div>
Is it correct? I this not exactly because counter is refreshing one time per secound What code modifications I also have to do is I want to dislay only since forum came online without hours, minutes and seconds.
Reply With Quote
  #28  
Old 07-24-2007, 10:58 AM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it installed, works great! I thank you Roger for the update on this mod.
Reply With Quote
  #29  
Old 07-24-2007, 12:11 PM
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Location: Canada, eh?
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the changes and template edit and it didn't work for me. Nothing showed up
Reply With Quote
  #30  
Old 07-28-2007, 08:19 AM
Free-D Free-D is offline
 
Join Date: Jul 2007
Location: Ukraine
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JadedSouls View Post
I did the changes and template edit and it didn't work for me. Nothing showed up
Have you enabled JavaScript?
Reply With Quote
  #31  
Old 05-08-2008, 04:05 AM
ComputerVitals ComputerVitals is offline
 
Join Date: Oct 2005
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I make it so it would display years?

example:
4 years, 356 days, 23 hours...
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 04:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07301 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete