miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
The Other miniBB Support Forums / The Other /   

Addon quotes BB Codes quote=Someone solution

Author jesper
Guest
#1 | Posted: 1 Oct 2004 16:16 
About addon quotes: I've been trying to sort the editing problem out myself but no luck yet.

When you edit a message with the addon quote, the = sign goes missing. Instead of [quote=Someone]text[/quote] it appears as [quoteSomeone]text[/quote]

Yet when you edit a similarly written URL [urI=www.address]text[/urI] the = sign stays put.

What could be causing this?

Author vc404
Registered
#2 | Posted: 4 Oct 2004 02:28 
I found the misstake in this mod. It takes name of user, who sent last message in the topic. It is wrons. It must take name of user, who sent quoting message.

jesper Paste this:

$pattern[7] = '/<div class=\"quote\"><div class=\"quoting\">Quoting: (.+?)<\/div><br>(.+?)<\/div>/is';
$replacement[7] = "[quote=\\1]\\2[/quote]";

$pattern[8] = '/<div class=\"quote\">(.+?)\<\/div>/is';
$replacement[8] = "[quote]\\1[/quote]";

to the deCode function of 'bb_codes.php' file.

Author jesper
Guest
#3 | Posted: 4 Oct 2004 10:51 
Thanks vc404, it worked!

The Other miniBB Support Forums / The Other / Addon quotes BB Codes quote=Someone solution Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB