1 (edited by Geoffrey 2007-09-15 08:57)

Topic: HELP! Referal Mod issue

Well I just installed the referal mod (one that you can find in the 'Frequently Asked Mod's' post)
It works fine, but heres my 1 and only issue.
When looking at your own profile, you can see your URL and how many you've refered. Great.
BUT, when you look at someone elses, you can also see their URL and their referal count. Not Great. (Make it so only that administrators can see this)
How do I change this?
(Please give me some sort of coding, or I guess I can give you login details)

EDIT: Help will be rewared. (Either with cash or VIP membership on my forum)
Oh and here's the URL just incase you need it: www.vizter.com

Re: HELP! Referal Mod issue

Find the referal area in your profile.php and then add this before the code that lets you see the referals count because you probably want to allow them to see the link so that they can give it to others (both on view and edit profile)


Add this before:

                <?php
                if ($pun_user['g_id'] == PUN_ADMIN)
                {
                ?>

and after the referal things are done add this

                <?php
                }
                ?>

That should work and then only the main admin will be able to see how many referals the person have

Re: HELP! Referal Mod issue

Doesn't work - It comes up with an error - probably just me doing it all wrong.
Would you mind doing it for me? tongue

Re: HELP! Referal Mod issue

sure post those places where the referal codes are and ill look at it tongue