MyBB Community Forums

Full Version: Quote & Edit Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
The quick posting links on my forum don't work.

I can press reply for a full edit with quote, and I can press edit > full edit.

But the quick options such as pressing the 'Quote this post' and 'Quick Edit' don't work.

My forum is http://www.talkgfx.net

Thanks a lot
Can you trust on me to provide me a test account ?
I don't know you lol.

Perhaps you could just give me a few ideas on what could be causing this?

Thanks.
Well, I'm not asking to give me admin account, (I never asked from anyone this BTW to give me admin account) but I'm asking to give a user's test account so I could test those buttons. Without it I'm not able to give exactly what is causing it.

I don't think any one is going to "register" on your site just solving this Wink
Ahh my bad Smile

username: test

password: test123

thanks mate
You're getting javascript errors on your forum because the markup is messed up.

<link rel="alternate" type="application/rss+xml" 
title="Latest Threads (RSS 2.0)" 
href="http://mytoobs.net/syndication.php" /><link 
rel="alternate" type="application/atom+xml" title="Latest Threads 
(Atom 1.0)" href="http://mytoobs.net/syndication.php?type=atom1.0" 
/><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8" /><meta http-equiv="Content-Script-Type" 
content="text/javascript" /><script type="text/javascript" 
src="http://mytoobs.net/jscripts/prototype.js?ver=1601"></script><script 
type="text/javascript" 
src="http://mytoobs.net/jscripts/general.js?ver=1601"></script><script 
type="text/javascript" 
src="http://mytoobs.net/jscripts/popup_menu.js?ver=1601"></script><script 
type="text/javascript" 
src="http://mytoobs.net/jscripts/vbnb_menu.js"></script><script 
type="text/javascript" 
src="http://mytoobs.net/jscripts/vbnb_menu2.js"></script><!--[if 
lte IE 6]><script type="text/javascript" 
src="http://mytoobs.net/jscripts/vbnb_supersleight-min.js"></script><![endif]-->

And the bit that's actually causing the error:

<script 
type="text/javascript"><!--var cookieDomain = 
".mytoobs.net";var cookiePath = 
"/";var cookiePrefix = 
"";var deleteevent_confirm = 
"Are you sure you want to delete this event?";var removeattach_confirm = 
"Are you sure you want to remove the selected attachment from this post?";var loading_text = 
'Loading. <br />Please Wait..';var saving_changes = 
'Saving changes..';var use_xmlhttprequest = 
"1";var my_post_key = 
"2b057342c71758bf02d74ee1ade82173";var imagepath = "images/mytoobs";// 
--></script> 

This all being on new lines mid way through a line is breaking things.
Well, fix the code in the templates, remove the new lines so it's formatted properly. Revert the postbit_multiquote template.
Thanks.

Where abouts is that code located?

What can I do to fix the code? (I don't know any javascript).
Go to ACP > templates > Postbit Templates > and Revert the "postbit_multiquote" template. Similarly Revert the "postbit_edit" template.
It wont allow me to revert either of those.

Postbit is the only template that I am able to revert.
(Would reverting this fix the problems?)

Here is the code for both.

Postbit_multiquote:
<a href="javascript:Thread.multiQuote({$post['pid']});" style="display: none;" id="multiquote_link_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_multiquote.gif" alt="{$lang->postbit_multiquote}" title="{$lang->postbit_multiquote}" id="multiquote_{$post['pid']}" /></a>
<script type="text/javascript">
//<!--
	$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>

Postbit_edit:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" /></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
	if(use_xmlhttprequest == "1")
	{
		new PopupMenu("edit_post_{$post['pid']}");
	}
// -->
</script>


Thanks a lot mate!
Yes, Revert postbit_edit template.
Pages: 1 2