lucky123
06-08-2006, 10:15 PM
I found this hack and tried to use it. I uploaded a logout button to use instead of the default script PHP and it changed it but did not read the picture! Anyone know why?
Here's what I changed in Forumhome
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
Replace that code in its entirety with the following code;
<!-- member logout button -->
<td align="$stylevar[right]">
<a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img src="$stylevar[imgdir_button]/logout.gif"
border="0" width="110" height="26" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></td>
<!-- end member logout -->
Then upload the attached image to your images/buttons directory... and hey presto, you're done!
Note: The text you would normally have seen e.g. <Logout theMusicMan> is now shown when you mouse-over the logout button.
Anyone see a problem with this and vb3.5.4?
Here's what I changed in Forumhome
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
Replace that code in its entirety with the following code;
<!-- member logout button -->
<td align="$stylevar[right]">
<a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img src="$stylevar[imgdir_button]/logout.gif"
border="0" width="110" height="26" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></td>
<!-- end member logout -->
Then upload the attached image to your images/buttons directory... and hey presto, you're done!
Note: The text you would normally have seen e.g. <Logout theMusicMan> is now shown when you mouse-over the logout button.
Anyone see a problem with this and vb3.5.4?