View Single Post
Question for the Auothor of the Forum Registration hack...
Old
  (#1 (permalink))
Rhyan
Junior Member
 
Status: Offline
Posts: 17
Join Date: Jul 2003
Question for the Auothor of the Forum Registration hack... - 07-06-2003, 12:10 PM

Hi guys..

Today I installed the Registration hack and lo and be hold it all works..How ever a small bug..

When a member is looged in and goes to his account then your info when you click on your info there seems to be a re direct and the page will go white for a few second before the forum profile opens..

Now I thought may be I uploaded the files wrong so I re uploaded them again and still the same response.

So I went and had a look what files where being called etc and this is what I found...

In your_account module there seems to be a file called navbar.php for obvious reasons this is the script for the nav bar..

So to fix the problem I fixed these lines at navbar.php line 31 and 32

Find
***********************************

."<center><a href=\"modules.php?name=Your_Account&op=edituser\" ><img src=\"$menuimg\" border=\"0\" alt=\""._CHANGEYOURINFO."\" title=\""._CHANGEYOURINFO."\"></a>
"
."<a href=\"modules.php?name=Your_Account&op=edituser\" >"._CHANGEYOURINFO."</a>"
***********************************

Replaced with


***********************************

."<center><a href=\"modules.php?name=Forums&file=profile&mode=e ditprofile\"><img src=\"$menuimg\" border=\"0\" alt=\""._CHANGEYOURINFO."\" title=\""._CHANGEYOURINFO."\"></a>
"
."<a href=\"modules.php?name=Forums&file=profile&mode=e ditprofile\">"._CHANGEYOURINFO."</a>"


***********************************

Note the changes in the link, this way you get no re direct and the page dont go white for a wee wile...


So may be an added navbar.php included in the hack may be an added bonus..

Hope I helped some people...

Rhyan


http://www.tc-clan.com
   
Reply With Quote