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

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?

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="" /><link 
rel="alternate" type="application/atom+xml" title="Latest Threads 
(Atom 1.0)" href="" 
/><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8" /><meta http-equiv="Content-Script-Type" 
content="text/javascript" /><script type="text/javascript" 
lte IE 6]><script type="text/javascript" 

And the bit that's actually causing the error:

type="text/javascript"><!--var cookieDomain = 
"";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";// 

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.

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.

<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 = '';
// -->

<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']}");
// -->

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