miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Specific miniBB Community Forum / Specific /

Loosing the "Quotes" button when installing the quote solution

 
MJ
Guest
#1 | Posted: 1 Dec 2007 07:01
Reply 
Hi!

So I've followed through instructions for the quotes solution, and then lost the "quote" button that goes next to the "delete" and "edit" buttons at the top of each post.

I've narrowed this down to when I edit the text in the "main_posts.html" file - I can make all the other amendments without loosing the button, this is the change that makes it disappear! :(

In the original file I have:

main_posts.html:
function getQuotation() {
var bw=new checkBrowser();
if (bw.ns6 || bw.ie5 || bw.ie6 || bw.ns4 || bw.safari || bw.opr) {
document.writeln('<a href="javascript:paste_strinL(selection,1)" onMouseMove="pasteSel()">{$l_quoting}<'+'/a>');
}
}

and instructions seem to say change this for:

main_posts.html:
function getQuotation(User) {
var bw=new checkBrowser();
var displayQuote={$displayQuote};
if (displayQuote && (bw.dom || bw.ns6 || bw.ie5 || bw.ie6 || bw.ns4 || bw.safari || bw.opr)) {
document.writeln('<a href="javascript:paste_strinL(selektion,1,\'\',\'\',\'\',\'' + User + '\')" onmousemove="pasteSel()">{$l_quoting}<'+'/a>');
}
}

Have I missed something somewhere?

Many thanks!
Paul
CEO
#2 | Posted: 2 Dec 2007 04:18
Reply 
Check JavaScript errors console first and probably there will be a JS error which will tell you a lot...
Persian
Forums Member
#3 | Posted: 18 Aug 2008 09:44
Reply 
I have the same Option:

main_posts.html:
function getQuotation(User) {
var bw=new checkBrowser();
var displayQuote={$displayQuote};
if (displayQuote && (bw.dom || bw.ns6 || bw.ie5 || bw.ie6 || bw.ns4 || bw.safari || bw.opr)) {
document.writeln('<a href="javascript:paste_strinL(selektion,1,\'\',\'\',\'\',\'' + User + '\')" onmousemove="pasteSel()">{$l_quoting}<'+'/a>');
}
}

I get this problem:


... I want to get user name replace "undefined"
Paul
CEO
#4 | Posted: 18 Aug 2008 11:14
Reply 
Persian
Quotes solution is included in the recent miniBB by default and it works.
 
Your Reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 45
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®