vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Referral Statistics (https://vborg.vbsupport.ru/showthread.php?t=64469)

gspot 04-28-2004 10:23 PM

Quote:

Originally Posted by ashkarita
I've done everything - even added that new code, and this is what I'm getting

http://www.degrassi-boards.com/referals.php

Any idea? I want it to count the referrals of 8 different usergroups, but I don't know how to add more usergroups.

Is the reason this isn't working because I have the e-mail user and have them click back to the boards disabled?

Ashkarita,

Please upload the new templates that are in the zip and the new referals.php page in the zip. This will show all your referrals.. If you have any questions, i will email you my aim.. Just re-follow all the instructions in the new zip that I have uploaded to this thread.

Wifey 04-28-2004 10:40 PM

It's working perfectly now! Thank you so much! GREAT HACK!

edit: I take that back - I'm getting this above my top banner

Warning: chdir(): No such file or directory (errno 2) in /home/degrassi/public_html/referals.php on line 28

Everything else is working.

gspot 04-28-2004 10:49 PM

Quote:

Originally Posted by ashkarita
It's working perfectly now! Thank you so much! GREAT HACK!

edit: I take that back - I'm getting this above my top banner

Warning: chdir(): No such file or directory (errno 2) in /home/degrassi/public_html/referals.php on line 28


Everything else is working.

try blocking out the chdir part of the script example:
// chdir ('/path/to/vbulletin/forums/');

Since your root directory is already the forum...
just add the 2 back slashes in front of the chdir

msimplay 04-28-2004 10:52 PM

is there anyway to make the referal stats users limitless ie not ten not a number but limitless
and then add pagination on the user names and reduce the names in the members refered to click here to see members refered by this user
and add pagination to that aswell
it would be a much better hack this way

gspot 04-28-2004 10:53 PM

Quote:

Originally Posted by gspot
try blocking out the chdir part of the script example:
// chdir ('/path/to/vbulletin/forums/');

Since your root directory is already the forum...
just add the 2 back slashes in front of the chdir

Also, are you sure that is the right path to where the file resides on your server???
/home/degrassi/public_html/referals.php

But my first suggestion should help u... :)

gspot 04-28-2004 10:55 PM

msimplay,

Yes, take out the $max in the first database query in referals.php file.. then comment out the $max=number line and there will be no limit for the results... Let me look into the pagination thing.

ryancooper 04-28-2004 11:10 PM

installed and working perfectly! Thanks

msimplay 04-28-2004 11:15 PM

Quote:

Originally Posted by gspot
msimplay,

Yes, take out the $max in the first database query in referals.php file.. then comment out the $max=number line and there will be no limit for the results... Let me look into the pagination thing.

thanks :)
with those mods i'll be able to hold a referal competition

Wifey 04-28-2004 11:33 PM

gspot - that fixed it - the //

And yes, that is where all the information is on my server. I use f5hosting and I can edit my files in my server database as opposed to having to reupload things everytime.

Thanks again!

gspot 04-28-2004 11:51 PM

I'm glad everyone likes it... Had a few minor errors, but seems that all is fixed.. :)


All times are GMT. The time now is 01:34 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.02192 seconds
  • Memory Usage 1,740KB
  • 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_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