15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Loosing the "Quotes" button when installing the quote solution

Author MJ
Guest
#1 | Posted: 1 Dec 2007 07:01 
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!

Author Paul
Lead Developer
#2 | Posted: 2 Dec 2007 04:18 
Check JavaScript errors console first and probably there will be a JS error which will tell you a lot...

Author Persian
Partaker
#3 | Posted: 18 Aug 2008 09:44 
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"

Author Paul
Lead Developer
#4 | Posted: 18 Aug 2008 11:14 
Persian
Quotes solution is included in the recent miniBB by default and it works.

Specific miniBB Support Forums / Specific / Loosing the "Quotes" button when installing the quote solution Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums 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.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB