MyBB Community Forums

Full Version: The post edit menu disapear..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my mybb, i installed a template but i think it removes the menu qhen you want add new threads or reply..

there is my pictures :
[Image: 704502Sanstitre1.png]

and

[Image: 201862Sanstitre2.png]

Do i need to edit the templates code ? (the html) and if so, where can i get the code for the menu ?
do you have a live forum online ? if so give its URL to check .. could be due to jQuery conflict
No for now im making it offline but i alway seen the menu when i used mybb i don't know why now i don't see it.
But when i look in the template i have: In the : 'newthread'
<td class="trow2" width="20%"><strong>{$lang->thread_subject}</strong></td>
<td class="trow2">{$prefixselect}<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong>{$smilieinserter}</td>
<td class="trow2">
<textarea name="message" id="message" rows="20" cols="70" tabindex="2">{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>

like in the default template.
^ what is the theme which you have installed & using now .. do you know if it uses jQuery ?
see forum page source code & use browser search feature to find if jquery word appears ..

ALSO can you switch back to myBB's default theme & check if editor is correctly displayed ..
When i switch to the defaul template, the menu apear so i suppose that jquery isn't set. but where do i need to go for place the jquery ? Confused
^ jQuery is not used in myBB's default theme . you have to find jQuery code on the theme which was troubling you .
in general, it could be in headerinclude template of the theme's templates ( admin panel --> templates --> your theme's
templates --> ungrouped templates --> headerinclude )
Ok i am using : Blue Lust

And in the 'headerinclude' i have :
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1600"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1600"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> 
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
{$stylesheets}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}


{$highslide_script}

And there is 2 jquery code line:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>

What do i need to do ?
replace <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
with <script type="text/javascript">jQuery.noConflict();</script> and save the template
Oh ! Nice ! now the menu appeared thanks ! Big Grin