vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum stats on signature image (https://vborg.vbsupport.ru/showthread.php?t=50848)

Dean C 03-27-2003 03:20 PM

Nice hack - thanks for releasing :)

- miSt

Dan 03-27-2003 04:11 PM

feh...... my server doesn't let me do cronjobs and that fake cron thing won't work for some reason

/me tried for 5 hours to set it up and gives up.

Nice hack anyways....

Overgrow 03-27-2003 04:41 PM

I don't have mine cronned yet.. just run the php script every once in a while. Won't be instant updates but no big deal.

You could also do something like this at the top of global:

PHP Code:

if (mt_rand(1,500)=='42' or $updatesigstats!=''){
  require_once(
'/home/yourdir/sigstats.php'); // the full script name of your sig updater


About once in every 500 page views, it will update the signature stats. Or you can attach "&updatesigstats=on" to any URL and have it run the script as well.

Fi_InCogNiTo 03-27-2003 05:12 PM

Can someone send me the code to make this do:

Just gather the amount of posts in only one forum for one user?

*example: I want a sig to let people know how many posts are in my news forum just by me.

GoTTi 03-27-2003 05:30 PM

I dont understand, i have the recent version of PHP installed (4.3.1) and GD 2.0 or higher is not on my server!

I requested it be installed.

Mr L 03-27-2003 10:12 PM

Good hack, but the Cron job does not work, yet if I run it manually it is fine.

Can anybody confirm if they have it running via a Cron job and also if they modified the code?

Thanks.

Shepski 03-28-2003 08:53 AM

great hack but does anyone know how to get the thing to run on an NT server. fakecron doesnt seem to do it.

Edit: found it in the scheduler althought it isnt very obvious :(

TheEDIGuy 03-28-2003 10:20 AM

I have it running on a cron, works perfectly.

Mr L 03-28-2003 10:52 AM

Quote:

Today at 12:20 PM TheEDIGuy said this in Post #58
I have it running on a cron, works perfectly.
Ok, so it must be my setup.

Did you have to give any additional permissions to the .php to run as a Cron and could you tell me what directory you put it in please?

Currently mine is running in /forums/ and works when manually executed but not as a Cron job. However I have other Cron jobs setup and working such as ones for Hivemail.

Thanks.

squawell 03-28-2003 12:21 PM

i have a question...

when i add a new variable but it did not show up??why??

where do i doing wrong?


All times are GMT. The time now is 11:07 AM.

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.01186 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)bbcode_quote_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