PDA

View Full Version : [fixed] Referrals...


Joshs
Sat 12th May '01, 8:41pm
Okay, I have recently upgraded to RC3 and referrals are no longer working. As in, I log into my control panel, click referrals, choose my start and end date and it displays a list of people and their number of refferals. Then I click their username to view their referrals and it displays a blank page. If a developer would like me to send them access info for my forums please email me! josh@hytekcomputer.com

Joshs
Sat 12th May '01, 8:44pm
Also it says that I have two referrals in my profile, but when in the admin control panel it says one, even though I have only had my board for a month and I selected those dates. I am assuming something isnt updating and the database isnt displaying it...

Freddie Bingham
Sat 12th May '01, 9:04pm
What does it show if you leave the date fields blank, 1 or 2?

Joshs
Sat 12th May '01, 9:38pm
Two, but when I click the username a blank page still appears...

Freddie Bingham
Sat 12th May '01, 10:03pm
Yes I just fixed that problem.

open admin/user.php and change

if ($HTTP_POST_VARS['action']=="showreferrals") {

to

if ($action=='showreferrals') {

This is one case where we did not need to implement this change in RC3.

Joshs
Sat 12th May '01, 10:16pm
someone move this to the bugs forum...