vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum+ecDownloads Stats on Signature Image (https://vborg.vbsupport.ru/showthread.php?t=102551)

Mr Chad 12-09-2005 08:59 PM

oh, guess i learned something.

WNxWakko 12-09-2005 09:29 PM

I know you said to put the signature.php in the Forum/ directory, but setting up the cron is not easy for it being in that directory. Just for anyone else to know, you can just put the signature.php file in your includes/cron/ directory and it still works the same without changing any settings. Then you can just use the defaut cron setup.

Here is my working Signature,
http://www.warriornation.net/Forum/i...wakko/sig2.jpg

I do have a question or two.

How did you add the number online bit. Also the info in my sig is not perfectly calculated to what the board says on members, posts and threads. Is it excluding certain usergroups and forums? members are about 20 off, threads are about 3000 off.

Mr Chad 12-09-2005 09:40 PM

Its because its not calling the global.php, so it just goes straight to the database im thinking its adding all the things you deleted. because lets say you make thread 100 and then you delete it, and someone makes another thread its going to be 101 not 100 again. It just pulls the ID number.

WNxWakko 12-09-2005 09:47 PM

hmm ok. I just found the difference in members, Its excluding all that are in the Awaiting Moderation usergroup on my board.

The threads bit is really really far off,
1,357,759 is actual, its about 22,104 off.

Mr Chad 12-09-2005 10:02 PM

Quote:

Originally Posted by WNxWakko
hmm ok. I just found the difference in members, Its excluding all that are in the Awaiting Moderation usergroup on my board.

The threads bit is really really far off,
1,357,759 is actual, its about 22,104 off.

yea it doesnt look at what was deleted.

like make a new thread and look at the thread number, same w/ the post number.

oh and the currently online thing. I made mine up lol, im working on a way to pull it out.

Mr Chad 12-10-2005 03:10 AM

Ok just find:
Code:

$totalposts=number_format($postb['posts']);
and replace with this
Code:

$totalposts=number_format($postb['posts'] - 22640);

Mr Chad 12-10-2005 03:34 AM

im just messin around and i figured our how to call up stats from ecdownloads mod.

Lea Verou 12-10-2005 06:39 AM

Woah I wanted to make this!!
Thanks you saaved me lots of time!!! :D

Mr Chad 12-10-2005 06:46 AM

Quote:

Originally Posted by Michelle
Woah I wanted to make this!!
Thanks you saaved me lots of time!!! :D

lol no problem.

board.trash 12-11-2005 12:16 AM

nice hack, thank you !

can you tell me how can i change the font type?


All times are GMT. The time now is 10:25 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.01076 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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