miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | 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:

[screenshot removed]

... 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
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑