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)

???`S?LV?R???` 04-28-2004 04:41 AM

This hack was a good idea, but was poorly written. It should of went beta first

gspot 04-28-2004 04:44 AM

Quote:

Originally Posted by ???`S?LV?R???`
This hack was a good idea, but was poorly written. It should of went beta first

Like I stated it is my first hack, so if you would like to help out in modifying it in anyway, please do so, I would like to see people even help add-on more options for this hack. It is just a good start.

msimplay 04-28-2004 04:25 PM

i'd like it if all usergroups are counted for referals
if thats possible

ps would it be possible to display all users via pagination
instead of user limit

Wifey 04-28-2004 06:17 PM

Okay, yes I am using different usergroups. I had admin, moderator, supermoderator, registered students and then 4 others. I'm not sure how I change that in the php file. I would love it if you could help me out with that when you get a chance, but I know you're busy so take your time!

edit: I need it to work for all of my usergroups - how can Ido that? Also, I tried switching it to my usergroup and when I opened that page all there was was a 1 in the middle column - nothing else.

msimplay 04-28-2004 06:41 PM

you will have 2 uncached templates unless you put this code in your referals.php

find

PHP Code:

 //Your full path to vbulletin forum 

and place underneath

PHP Code:

 $globaltemplates = array(
 
'reflist',
 
'GENERIC_SHELL'
 
); 

save and upload

joeychgo 04-28-2004 07:04 PM

can this hack be set so that "successful registrations" could be changed to another dynamic?

Example..... If a user on my site makes 5 posts, he is upgraded to "full member" --- I woulld like to run a contest for those who refer the most users that become upgraded to FULL member status --- not just register.

BigJohnson 04-28-2004 08:01 PM

Quote:

Originally Posted by joeychgo
can this hack be set so that "successful registrations" could be changed to another dynamic?

Example..... If a user on my site makes 5 posts, he is upgraded to "full member" --- I woulld like to run a contest for those who refer the most users that become upgraded to FULL member status --- not just register.

ya same here. i have something that works this way and would like this idea better.

gspot 04-28-2004 08:28 PM

Quote:

Originally Posted by BigJohnson
ya same here. i have something that works this way and would like this idea better.

Yes, I can look into this for you... But it shouldn't be to hard to add that to this hack.

gspot 04-28-2004 08:33 PM

Everyone please redownload the zip file... New changes have been made.

Wifey 04-28-2004 08:34 PM

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?


All times are GMT. The time now is 03:28 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.03078 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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