vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Site Life Status (https://vborg.vbsupport.ru/showthread.php?t=174416)

MissKalunji 06-03-2008 08:45 PM

*sigh* at this rate there won't be anything good left on the .org

Dingo14 06-04-2008 12:29 AM

nice one thanks

SVTCobraLTD 06-04-2008 01:37 PM

Any ideas why this is like this?

Code:

Site Startup Date: June 05, 2006
Site Age: 2 years 10 hours 36 minutes 13 seconds

Says the site is 2 years old yet the startup date is tomorrow.

Boofo 06-04-2008 01:45 PM

Look at the year on the startup date. How can that be tomorrow?

SVTCobraLTD 06-04-2008 01:47 PM

Today is June 4th which would make the site only 1 year and 364 days old.

Boofo 06-04-2008 01:51 PM

Ever heard of Leap Year? ;)

SVTCobraLTD 06-04-2008 01:54 PM

So how do I make this correct? Otherwise it is going to be off and kinda defeats the purpose.

Don't get me wrong, its a great addition to vB because members then know how long the site has been around.

Boofo 06-04-2008 02:02 PM

It counts the seconds and goes from there. It uses 365 days as a year. There is no way to correct it unless you rewrite the whole javascript file for it and that wouldn't be worth the hassle to me. It doesn't defeat any purpose to me the way it is. ;)

leannet 06-04-2008 11:24 PM

~problem solved~

SpeedJunkyz 06-17-2008 05:40 AM

Installation Instructions:
1. Upload life_status.gif to the images/misc folder on your site.
Did this but still have "?" for the image. What did I do wrong?

2. Upload site_life.js to the clientscript folder on your site.
Done, but mine doesn't break it up in days, weeks, etc etc like the demo?


------------------------------------------------------
3. In the includes/config.php file add this at the bottom:
------------------------------------------------------

if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('boofocounter'));
}
Can we explain this a little more. I think I did it, but not sure if I was correct. How do you do this?


-------------------------------

4. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-site_lifestatus.xml file on your computer

Done......... easy part!



5. Go to your Admin CP -> vBulletin Options -> Help Site Life Status and set the following options:
--Site Life Status Enable: Enable/Disable the Site Life Status.DONE
--Site Life Status Startup Date: Enter your site startup date.DONE
--Site Life Status Automatic Template Replace: Click yes to have the template automatically edited.DONE
--Update the page views counter to the value below? If you want to change the current page views counter value on forumhome to the value provided below, set this to "Yes" - it will automatically be reset to "No" once the new value has been set (at the next page view).HUH?:confused:
--Site Life Status Forumhome Page Views Counter: Enter the number of page views, without commas, to start the page views count at. (Example: 16897)DONE

Can anyone assist me please, also will this count the portal page hit aswell? Or do I have to put one on there aswell?


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01332 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete