There are errors in this suggested modification.
'$vbphrase[sure_you_want_to_log_out]' is missing from this section.
Open FORUMHOME and very close to the bottom of that template find the following code;
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_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('$vbphrase[sure_you_want_to_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 -->
FYI everyone.
The symptom here is that When you click Log Out in the navbar or the Forum Home Page ..... The "Are you sure you want to Log Out" message is missing ... and instead it says "undefined".
|