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 03-06-2005 06:16 PM

T3MEDIA - OPEN UP REFERRALSTATS.PHP

FIND:
$info=$DB_site->query("SELECT * FROM user WHERE username = '".$_POST['member']."'");

REPLACE WITH:
$info=$DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username = '".$_POST['member']."'");

Sorry - I forgot to add the table_prefix to the script on this option. This will be fixed in the next release. :)

Wifey 03-06-2005 07:16 PM

http://www.wizarding-wireless.net/referrals.php

I'm helping a friend with her board.

Anyhow, I'm getting that line 18 error thingy and I've installed it correctly. I have the path set as www.wizarding-wireless.net/ and everything looks fine but that one thing.

I'm not sure what the deal is? She has a table prefix of vb3_ does that need to go somewhere in the referrals.php file?

This one is fantastic however. I have the older version on my board and I totally need to upgrade, LOL.

gspot 03-06-2005 10:20 PM

Quote:

Originally Posted by ashkarita
http://www.wizarding-wireless.net/referrals.php

I'm helping a friend with her board.

Anyhow, I'm getting that line 18 error thingy and I've installed it correctly. I have the path set as www.wizarding-wireless.net/ and everything looks fine but that one thing.

I'm not sure what the deal is? She has a table prefix of vb3_ does that need to go somewhere in the referrals.php file?

This one is fantastic however. I have the older version on my board and I totally need to upgrade, LOL.

The path is the absolute path for example: /home/wizarding-wireless/public_html/forums/

If you dont know the absolute path, contact the hosting company to find out. :)

babolo 03-07-2005 12:50 AM

Quote:

Originally Posted by ashkarita
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.

I had the same problem but instead of posting the full directory i just put a / where Im suppose to put the full directory and that worked.

Wifey 03-07-2005 02:50 AM

Ah - I'll try both and see which one works - thank you to you both :0)

edit: the / worked :) Thank you Babolo :)

gspot 03-07-2005 03:45 AM

babolo - please click install if you have installed my hack. And I had no idea that would work. :)

T3MEDIA 03-07-2005 12:11 PM

Quote:

Originally Posted by gspot
T3MEDIA - OPEN UP REFERRALSTATS.PHP

FIND:
$info=$DB_site->query("SELECT * FROM user WHERE username = '".$_POST['member']."'");

REPLACE WITH:
$info=$DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username = '".$_POST['member']."'");

Sorry - I forgot to add the table_prefix to the script on this option. This will be fixed in the next release. :)

Hey man... that is why we are wokin' together... catch all the bugs!

It would be nice to remove referrals from this list while not touching the over all vbulletin list. in other words jen got 10 new members. peter got 5. that is 15 in all. reset... now jen has 0 new members but has 10 from the past. peter has 1 (joinned last night) now he has 6 1 now and 5 from the past...

then the global erase will remove everything.

babolo 03-07-2005 10:36 PM

Quote:

Originally Posted by ashkarita
Ah - I'll try both and see which one works - thank you to you both :0)

edit: the / worked :) Thank you Babolo :)

No problem

Quote:

Originally Posted by gspot
babolo - please click install if you have installed my hack. And I had no idea that would work. :)

lol sorry... sometimes I forget.

lefthome 03-08-2005 09:55 PM

I have downloaded this hack and as soon as I upgrade from 3.06 to 3.07 I plan on installing, but I have a minor question; I see all the screen shots but does this referral stats allow a member to actually send a referral to someone or is that another hack I need?

babolo 03-08-2005 09:59 PM

Quote:

Originally Posted by lefthome
I have downloaded this hack and as soon as I upgrade from 3.06 to 3.07 I plan on installing, but I have a minor question; I see all the screen shots but does this referral stats allow a member to actually send a referral to someone or is that another hack I need?

ITs another hack you need. It can be found at https://vborg.vbsupport.ru/showthread.php?t=59708


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