Modshack
01-22-2002, 08:05 PM
I am trying to make it so that Admin can use a special Downloads link that only they will ever see on the forum.
I have taken some one elses code and tried to adapt it but the link to Admin works but the second link to Downloads does not.
I am not very experienced with this sort of thing so any info or help will be very much apreciated.
if ($bbuserinfo['usergroupid']==6) { $cplink='<a href="cp/index.php">Admin</a> |<a href"downloads.php">Downloads</a> |'; } elseif ($bbuserinfo['usergroupid']==5 or $bbuserinfo['usergroupid']==7) { $cplink='<a href="mod/index.php">Mods |</a>'; } else { $cplink=''; }
I have attached an image to try and explain what I need a little better :)
HM
BTW My old domain Modshack now points to www.forumz.co.uk I just have not had chance to change my vbull info yet as I am still looking for the disk with the email I recieved on. I would get the pass details resent but I changed ISP 5 times since I registered :)
Just incase of any confusion for the Mods.
I have taken some one elses code and tried to adapt it but the link to Admin works but the second link to Downloads does not.
I am not very experienced with this sort of thing so any info or help will be very much apreciated.
if ($bbuserinfo['usergroupid']==6) { $cplink='<a href="cp/index.php">Admin</a> |<a href"downloads.php">Downloads</a> |'; } elseif ($bbuserinfo['usergroupid']==5 or $bbuserinfo['usergroupid']==7) { $cplink='<a href="mod/index.php">Mods |</a>'; } else { $cplink=''; }
I have attached an image to try and explain what I need a little better :)
HM
BTW My old domain Modshack now points to www.forumz.co.uk I just have not had chance to change my vbull info yet as I am still looking for the disk with the email I recieved on. I would get the pass details resent but I changed ISP 5 times since I registered :)
Just incase of any confusion for the Mods.