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)

Boofo 03-29-2008 10:50 AM

Quote:

Originally Posted by Ramsesx (Post 1477454)
Nice hack, thank you. Would be perfect if the times (hours,minutes etc.) would be in phrases instead in the template.

Perfection achieved! ;)

Big Boss 03-29-2008 11:10 AM

Not bad at all. I'm gonna install this right away once I get back to home.

Boofo 03-29-2008 11:26 AM

Quote:

Originally Posted by Big Boss (Post 1477541)
Not bad at all. I'm gonna install this right away once I get back to home.

And click the install button? ;)

rainyleaves 03-29-2008 11:51 AM

Thanks for your Mod.

How do I use like this?
full year - month name - day(2008 January 21)

Boofo 03-29-2008 11:55 AM

2008 January 21

Ramsesx 03-29-2008 03:17 PM

Quote:

Originally Posted by Boofo (Post 1477533)
Perfection achieved! ;)

Wow, that was quick, thanks again :)

codershark 03-30-2008 08:47 AM

After installation I get the following Error:

Warning: fputs(): supplied argument is not a valid stream resource in [path]/index.php(544) : eval()'d code on line 114

Warning: fclose(): supplied argument is not a valid stream resource in [path]/index.php(544) : eval()'d code on line 115


Edit: I had forget to upload the txt file :D sorry my fault ! Now it works like a charm :)

Boofo 03-30-2008 08:53 AM

You have the path wrong the the pagehits file. Post the path here.

codershark 03-30-2008 08:58 AM

I had forget to upload the txt file sorry my fault ! Now it works like a charm

Boofo 03-30-2008 09:07 AM

Glad you got it working. ;)

By the way, how DOES a charm work? I've always wondered that.

princeedward 03-30-2008 10:06 AM

Quote:

Originally Posted by princeedward (Post 1477415)
another great idea...bro...thanks for this wonderful addon....works perfect to vB 3.6.8 PL2
one question about:

There have been # visitors to this page.

is this means the daily or today visitors only?



best regards...

sorry to bump this bro...just want to make sure of this...is this base on daily count of visitors on my forumhome???

...if it is...i might change the phrase if okay to...

There have been # visitors today to this page.

http://i8.photobucket.com/albums/a37...s/thinking.gif

thanks & best regards

Boofo 03-30-2008 11:06 AM

That is total visitors since you installed the mod.

Bounce 03-30-2008 12:12 PM

I changed mine to :D

Quote:

There have been 620,762,249 visitors to this site.
INSTALLED:up:

Boofo 03-30-2008 01:38 PM

Oh, that's believable. ;)

princeedward 03-30-2008 03:38 PM

Quote:

Originally Posted by Boofo (Post 1478213)
That is total visitors since you installed the mod.

good...now i got it...thanks once again bro...

bada_bing 03-30-2008 03:44 PM

Does this hack have to be installed when you launch your site or can you set the start stats withing the hacks settings. For example my one site had been up for several months already

Boofo 03-30-2008 03:50 PM

There is a setting to set the startup date.

Howell 03-31-2008 06:01 PM

Boofo,

I commented out the page hits section as I didn't think it relevant as my site has been running 2 years.

Hope you don't mind me doing this but thought I would share it with other people.

In Template: [site_life_status]

Find:
Code:

<br />
            <phrase 1="$pagehits">$vbphrase[site_visitors]</phrase>

Replace with:
Code:

<!-- <br />
              <phrase 1="$pagehits">$vbphrase[site_visitors]</phrase> -->

If this is incorrect then please let me know. :erm:

Regards. Howell

Boofo 03-31-2008 06:04 PM

You can edit the pagehits file and add however many hits you want to, you know that right?

Howell 03-31-2008 07:15 PM

oh yes so you can. :p

This isn't mentioned anywhere though so didn't know you could do that.

Thanks for letting me know. :D

Boofo 03-31-2008 07:26 PM

As it is a writable text file, I didn't think I needed to add that, sorry. ;)

asj 04-01-2008 06:14 AM

thank

Boofo 04-01-2008 06:15 AM

Install button?

princeedward 04-01-2008 07:07 PM

bro...how come i can't change the numbers into more than 3 digits??? like 195,698,000

:(

Boofo 04-01-2008 07:14 PM

195698000

No commas, it takes care of that itself.

Reeve of shinra 04-01-2008 07:46 PM

Worked perfectly on my site.

www.shinraonline.com/board/index.php

Is at the bottom. I simply added a number I felt we've reached, as far as page hits go.

In 8 years you tend to get a lot.

Boofo 04-01-2008 07:53 PM

Well, hello stranger. How have you been?

RokuDaMerlin 04-01-2008 08:20 PM

hi, i have installed this ..

i have edit in german in the file ... ;/ i have say in the vb options: 15 February 2008

the date is ok on the side .. the vistors is ok on the side ..

i can not the ne point two: xxx days .. xxx hours etc .. i have this edit in the file to german .. run this not on this ?

so i have upload your english xml new ... the point: site age can i not see =(

i have vb3.7.rc1

Boofo 04-01-2008 08:22 PM

It is all phrase based. The phrases are there to translate.

And please click install. ;)

RokuDaMerlin 04-01-2008 08:38 PM

i have make new view please: http://www.mightycolorsportal.com/ i can not see the age =(

I SEE THIS


Forum Start: 15 February 2008
Zeit:
Besucher: 10.030

=(

Boofo 04-01-2008 08:45 PM

Did you upload the javascript file?

RokuDaMerlin 04-01-2008 08:52 PM

oh .. yes .. sry for the problem .. i have forget upload =) have a nice day .. it run now =)

Boofo 04-01-2008 09:00 PM

Ok, now please click the install button.

Allan 04-01-2008 09:06 PM

Good hack :)

Boofo 04-01-2008 09:27 PM

Thank you, sir. ;)

Allan 04-01-2008 10:32 PM

French language ;)

Boofo 04-01-2008 11:01 PM

Thank you, sir. I will add a link to the first post for this file. ;)

princeedward 04-02-2008 04:18 AM

Quote:

Originally Posted by Boofo (Post 1480292)
195698000

No commas, it takes care of that itself.

A-OK now...bro...really great mod...thanks once again... ;)

FRANKTHETANK 2 04-04-2008 07:21 PM

i can't get the site age to work. Nothing shows up can you give me some pointers on how to get something to show up?

Boofo 04-04-2008 08:33 PM

Make sure you uploaded both files to where they belong.


All times are GMT. The time now is 01:37 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.01376 seconds
  • Memory Usage 1,791KB
  • 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
  • (2)bbcode_code_printable
  • (7)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