vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Site Life Status for vB 4 (https://vborg.vbsupport.ru/showthread.php?t=243731)

Boofo 05-03-2011 05:44 PM

I will see if I can find a vb 3 version here somewhere.

Mike Gaidin 05-22-2011 08:05 PM

Installed. Thanks, Rob.

Popa Andrei 06-23-2011 10:38 AM

what version should i use for vb 4.1.4

Boofo 06-23-2011 01:51 PM

Quote:

Originally Posted by stormzone (Post 2211711)
what version should i use for vb 4.1.4

Site_Life_Status_vb4.08.zip

jack-d 11-05-2011 05:26 PM

Has anyone tried this on vB 4.1.7 yet.

Hippy 11-05-2011 05:50 PM

works perfect

Hippy 11-18-2011 11:04 AM

still working with vb4.1.8

thanks boofo

It's much appreciated

Angelus 12-05-2011 09:57 AM

wieso werden die monate nicht angezeigt?

also: 1 jahr 4 monate 15 tage 20 min. 48 sec.

wo ist das deutsche sprachpacket?

Boofo 12-05-2011 10:05 AM

English only, please.

GhostHunter2010 01-15-2012 04:35 PM

hey boofo add albanian langue please :)

Boofo 01-15-2012 05:02 PM

It's all phrased so you can just edit the phrases.

CoZmicShReddeR 01-29-2012 07:50 PM

I guess this is a conflict issue with another plugin on my website...

I get this at the top of the forums page whenever I enable Site Life Status
Code:

Warning: Invalid CRT parameters detected in [path]\forum.php(650) : eval()'d code on line 34

Warning: Invalid CRT parameters detected in [path]\forum.php(650) : eval()'d code on line 34

Warning: Invalid CRT parameters detected in [path]\forum.php(650) : eval()'d code on line 34

Warning: Invalid CRT parameters detected in [path]\forum.php(650) : eval()'d code on line 34

Warning: Invalid CRT parameters detected in [path]\forum.php(650) : eval()'d code on line 34

Trying to use version Site Life 4.08 with VBulletin version 4.1.10

My Dragonbyte shout box looks unattached and the Xbox stats at the bottom are all out of alignment and the forum stats plugin gets messed up...

But the Site Life looks fine at the bottom... :)

Boofo 01-29-2012 08:03 PM

Have you tried disabling some of those mods to see which one is causing the conflict?

ibwt 02-13-2012 03:08 AM

no widget yet ?

doctorsexy 02-21-2012 01:26 PM

No problems working well with 4.1.10..... thanks

Nirjonadda 02-22-2012 05:58 PM

Installed. Works fine.

Ikarrus2 02-23-2012 12:45 AM

Installed and works great. Thanks !!

Mobo 03-04-2012 09:03 PM

I've installed this on two of my sites and it works perfect on one of them but on the other the Site Age does not display anything. Both sites are hosted by the same company, but I think on different servers. Can someone point me in the right direction to figure this out please?

Thanks.

hugly 03-26-2012 12:09 PM

dear boofo , how can i use it for vb 3.8.7 ?

if u help me i d be very pleased.

thx

olalaaa 03-30-2012 09:47 AM

Is there a way to make it only viewable for admins?

Boofo 03-30-2012 10:00 AM

Quote:

Originally Posted by olalaaa (Post 2314971)
Is there a way to make it only viewable for admins?

You would need to wrap the code in a conditional.

Hippy 03-30-2012 10:36 AM

Quote:

Originally Posted by olalaaa (Post 2314971)
Is there a way to make it only viewable for admins?

add
Code:

if ($vbulletin->userinfo['usergroupid'] == 6)
{
======================================
Life Status Count Number Format                             
                        forumhome_complete plugin here
between the brackets
======================================
}

If I remember correctly ife Status Count Number Format plugin

Code:

if ($vbulletin->userinfo['usergroupid'] == 6)
{
if ($vbulletin->options['site_lifestatus_enable'] AND THIS_SCRIPT == 'index')
{
        $pagehits_counter = $vbulletin->boofocounter;
        $starttime = (TIMENOW - strtotime($vbulletin->options['site_lifestatus_startupdate']));

        $starthour = $starttime / 3600;
        $pagehits_hourly = vb_number_format($pagehits_counter / $starthour, 2);

        $startday = $starttime / 86400;
        $pagehits_daily = vb_number_format($pagehits_counter / $startday, 2);

        $startweek = $starttime / 604800;
        $pagehits_weekly = vb_number_format($pagehits_counter / $startweek, 2);

        $startmonth = $starttime / 2628000;
        $pagehits_monthly = vb_number_format($pagehits_counter / $startmonth, 2);

        $startyear = $starttime / 31536000;
        $pagehits_yearly = vb_number_format($pagehits_counter / $startyear, 2);

        $pagehits_counter = vb_number_format($pagehits_counter);

        if ($vbulletin->options['site_lifestatus_setlocale'])
        {
                setlocale(LC_TIME, $vbulletin->options['site_lifestatus_setlocale']);
        }
        else
        {
                setlocale(LC_TIME, 'en_US.utf8');
        }

        if ($vbulletin->options['site_lifestatus_datedisplay'])
        {
                $startdate = strftime($vbulletin->options['site_lifestatus_datedisplay'], strtotime($vbulletin->options['site_lifestatus_startupdate']));
        }
        else
        {
                $startdate = strftime('%A, %B %e, %Y at %l:%M %P', strtotime($vbulletin->options['site_lifestatus_startupdate']));
        }

        setlocale(LC_TIME, '');

        $boofo_status = vB_Template::create('boofo_site_lifestatus');
            $boofo_status->register('pagehits_counter', $pagehits_counter);
            $boofo_status->register('pagehits_hourly', $pagehits_hourly);
            $boofo_status->register('pagehits_daily', $pagehits_daily);
            $boofo_status->register('pagehits_weekly', $pagehits_weekly);
            $boofo_status->register('pagehits_monthly', $pagehits_monthly);
            $boofo_status->register('pagehits_yearly', $pagehits_yearly);
            $boofo_status->register('startdate', $startdate);
        $template_hook['forumhome_wgo_pos3'] .= $boofo_status->render();
}
}

*warning I have not had my morning coffee

cause I'm thinking maybe the template needs the condition...
anyway the condition is correct ,, just got to add it to the right code ,,

Boofo 03-30-2012 10:45 AM

Or:

Code:

if ($vbulletin->userinfo['usergroupid'] == 6)
{
        $boofo_status = vB_Template::create('boofo_site_lifestatus');
            $boofo_status->register('pagehits_counter', $pagehits_counter);
            $boofo_status->register('pagehits_hourly', $pagehits_hourly);
            $boofo_status->register('pagehits_daily', $pagehits_daily);
            $boofo_status->register('pagehits_weekly', $pagehits_weekly);
            $boofo_status->register('pagehits_monthly', $pagehits_monthly);
            $boofo_status->register('pagehits_yearly', $pagehits_yearly);
            $boofo_status->register('startdate', $startdate);
        $template_hook['forumhome_wgo_pos3'] .= $boofo_status->render();
}


I rewrote it and added a setting for what users/usergroups can view it for my site. Since it is a total rewrite, I won't be releasing it here.

EasyEazy 05-29-2012 07:53 PM

Installed and working great

Thanks for this mod

Lord Singo 05-30-2012 09:43 AM

Any chance of a widget to add to the CMS?

Boofo 05-30-2012 11:31 AM

Since I don't use the CMS, there are 2 chances for this to happen: slim and none. ;)

Pure Dope 07-28-2012 10:42 PM

its saying the site is only 2 years old. its MUCH older than that.

Alibass 07-28-2012 11:11 PM

Are you using single digits in your date like April 1, 1930 if you are change it to April 01, 1930

Pure Dope 07-29-2012 12:15 AM

i dont think i set a date anywhere.

Alibass 07-29-2012 12:28 AM

Mate you need to go into your admincp/options/site life status and setup your site status if you expect it to work... :rolleyes:

zakonline 07-31-2012 06:19 AM

Very Nice :)

Bro_Joey_Gowdy 11-21-2012 05:56 PM

Any way to get it to show up at the very bottom (below the newest registered member) ?

ljcomp 11-26-2012 07:46 PM

So did boofo die or is it only support for this awesome mod which died?

I wouldreally like to change this;

Average visits to this page
Hourly
8.24
Daily
197.75
Weekly
1,384.28
Monthly
6,015.01
Yearly
72,180.11

So that it reads like this on my forum;

Average visits to this page
Hourly 8.24, Daily 197.75, Weekly 1,384.28, Monthly 6,015.01, Yearly 72,180.11.

Does anyone have any ideas?

Thanks

5 stars, marked as installed, most excellent!

Lynne 11-26-2012 07:56 PM

Quote:

Originally Posted by ljcomp (Post 2385370)
So did boofo die or is it only support for this awesome mod which died?

RIP Boofo

everydayforums 11-26-2012 07:57 PM

One of the greatest Modders and developer of Vbulletin Boofo (ie Robert Ernest Hindal Jr) has passed away RIP

perhaps the greatest contributor to vbulletin period and we at pvgaming have been blessed to use much of his work! While I didn't know him a lot of his mods are very helpful and he helped shaped many of the features you see in forums today.

ljcomp 11-26-2012 11:20 PM

Wow..I'm really sorry to hear this. RIP man.

Mark4865 01-01-2013 01:58 PM

does this work on vb 4.2 if so were would I find the old site_life.js file to delete it as i cant seem to locate this

Gemma 01-02-2013 09:22 AM

Quote:

Originally Posted by Mark4865 (Post 2393980)
does this work on vb 4.2 if so were would I find the old site_life.js file to delete it as i cant seem to locate this

Works fine with vB4.2, I think the site_life.js file reference was for those that were upgrading from a previously installed version so you don't need to worry with that.

Mark4865 01-02-2013 01:11 PM

Thanks Gemma brilliant got it working

Techno Cowboy 09-03-2015 01:14 PM

Installed and working like a charm on vB 4.2.3 :up:


All times are GMT. The time now is 07:42 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.01873 seconds
  • Memory Usage 1,818KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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