2023-06-27, 08:49 PM
2023-06-28, 08:22 AM
User Control Panel Templates -> usercp_editsig
2023-06-28, 10:28 AM
(2023-06-28, 08:22 AM)Schnapsnase Wrote: [ -> ]User Control Panel Templates -> usercp_editsig
Thank you! Now I know where to look...I just have to figure out what to do to fix it, LOL!
2023-06-28, 10:35 AM
the original template looks like this
Check if {codebuttons} is included in your template and compare if other variables are missing
Check if {codebuttons} is included in your template and compare if other variables are missing
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->edit_sig}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="usercp.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
{$error}
{$signature}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->edit_sig}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top" width="20%"><span class="smalltext">{$lang->edit_sig_note}</span>
{$smilieinserter}</td>
<td class="trow1" width="80%">
<textarea rows="15" cols="70" id="signature" name="signature">{$sig}</textarea>
{$codebuttons}
</td>
</tr>
<tr>
<td class="trow2">
<span class="smalltext">{$lang->edit_sig_note2}</span>
</td>
<td class="trow2">
<span class="smalltext">
<label><input type="radio" class="radio" name="updateposts" value="enable" /> {$lang->enable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="disable" /> {$lang->disable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="0" checked="checked" /> {$lang->leave_sig_settings}</label></span>
</td>
</tr>
</table>
<br />
<div align="center">
<input type="hidden" name="action" value="do_editsig" />
<input type="submit" class="button" name="submit" value="{$lang->update_sig}" />
<input type="submit" class="button" name="preview" value="{$lang->preview}" />
</div>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>
2023-06-28, 10:45 AM
(2023-06-28, 10:35 AM)bv64 Wrote: [ -> ]the original template looks like this
Check if {codebuttons} is included in your template and compare if other variables are missing
<html> <head> <title>{$mybb->settings['bbname']} - {$lang->edit_sig}</title> {$headerinclude} </head> <body> {$header} <form action="usercp.php" method="post"> <input type="hidden" name="my_post_key" value="{$mybb->post_code}" /> <table width="100%" border="0" align="center"> <tr> {$usercpnav} <td valign="top"> {$error} {$signature} <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="thead" colspan="2"><strong>{$lang->edit_sig}</strong></td> </tr> <tr> <td class="trow1" valign="top" width="20%"><span class="smalltext">{$lang->edit_sig_note}</span> {$smilieinserter}</td> <td class="trow1" width="80%"> <textarea rows="15" cols="70" id="signature" name="signature">{$sig}</textarea> {$codebuttons} </td> </tr> <tr> <td class="trow2"> <span class="smalltext">{$lang->edit_sig_note2}</span> </td> <td class="trow2"> <span class="smalltext"> <label><input type="radio" class="radio" name="updateposts" value="enable" /> {$lang->enable_sig_posts}</label><br /> <label><input type="radio" class="radio" name="updateposts" value="disable" /> {$lang->disable_sig_posts}</label><br /> <label><input type="radio" class="radio" name="updateposts" value="0" checked="checked" /> {$lang->leave_sig_settings}</label></span> </td> </tr> </table> <br /> <div align="center"> <input type="hidden" name="action" value="do_editsig" /> <input type="submit" class="button" name="submit" value="{$lang->update_sig}" /> <input type="submit" class="button" name="preview" value="{$lang->preview}" /> </div> </td> </tr> </table> </form> {$footer} </body> </html>
It's getting weird now because codebuttons is there but doesn't show on my forum! I also tested by replacing my code with the entire default code and still no codebuttons! What could be blocking it? It works on default and even another theme I added.
2023-06-28, 10:51 AM
is the codebuttons template in the original state in this style?
2023-06-28, 11:00 AM
(2023-06-28, 10:51 AM)bv64 Wrote: [ -> ]is the codebuttons template in the original state in this style?
On the other 2 themes...yes. On my iGame theme, I can get everything to show with the default code but the codebuttons are still missing! See screen cap below...
[attachment=46104]
2023-06-28, 11:16 AM
reset the codebuttons template to original
2023-06-28, 11:22 AM
(2023-06-28, 11:16 AM)bv64 Wrote: [ -> ]reset the codebuttons template to original
It was blue so I opened and saved it and then reverted it back to original...still no effect on my theme.
I looked deeper and I see the codebuttons are missing from everywhere including post editors, etc...
2023-06-28, 11:58 AM
Which editor-style do you use in this theme?
Switch the editor-style and test again.
Switch the editor-style and test again.