Clan Adverts

Custom PHPNuke Scripts

www.clan-themes.co.uk :: View topic - Quote not working correctly in Forums

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Quote not working correctly in Forums

11 Replies / 2558 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » PHPBB

View previous topic :: View next topic


SergeantJay
Reputation: 461.7
Local time: 5:03 PM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Apr 08, 2007
Last Visit: 25 Jul 2007
Posts: 19
Points: 499 

Post Quote not working correctly in Forums Posted: Fri May 04, 2007 4:17 pm   

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke

Well guys I almost have all of the bugs worked out. For some reason when the Quote feature is used in the forums, it comes out as text instead of the quote box appearing. Example [quote="johndoe"]test 123[\quote] is displayed exactly like that -> [quote="johndoe"]test 123[\quote]

When you take out the name -> [quote]test 123[\quote] it displays the quote box correctly, of course with no name after the colon: However that is not the solution to the problem. Has anyone run into this before?

Thanks again,

Jay www.FPSGN.com
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 11:03 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15745 

Post Re: Quote not working correctly in Forums Posted: Fri May 04, 2007 4:34 pm   

[quote="SergeantJay"]Well guys I almost have all of the bugs worked out. For some reason when the Quote feature is used in the forums, it comes out as text instead of the quote box appearing. Example [quote="johndoe"]test 123[\quote] is displayed exactly like that -> [quote="johndoe"]test 123[\quote]

When you take out the name ->
Quote:
test 123[\quote] it displays the quote box correctly, of course with no name after the colon: However that is not the solution to the problem. Has anyone run into this before?

Thanks again,

Jay www.FPSGN.com


Testing Testing

this is a bug in ravens v2.2 forums, not essentially there fault as they never ported the particular forums... they used to do it here on clan themes but i re added a mod/hack to the forums and it brought it back to life let me think....
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 11:03 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15745 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote


floppy
Reputation: 1794.6
votes: 10
Local time: 5:03 PM
Location: Jackson Mississippi
usa.gif

Status: Offline
2.77 posts per day
Medals: 1 (View more...)
Dedicated User (Amount: 1)
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 01 Dec 2008
Posts: 2074
Points: 4343 

Post Posted: Fri May 04, 2007 4:36 pm   

Shop Purchases:
Clan Roster 2.0

Open includes/functions_post.php

Be sure you backup the file

Find

Code:
$message = addslashes($message);


After Add
Code:
$message = str_replace('"', '\\"', $message);
 

 
View user's profileSend private messageVisit poster's website Reply with quote

SergeantJay
Reputation: 461.7
Local time: 5:03 PM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Apr 08, 2007
Last Visit: 25 Jul 2007
Posts: 19
Points: 499 

View user's profileSend private messageVisit poster's website Reply with quote

floppy
Reputation: 1794.6
votes: 10
Local time: 5:03 PM
Location: Jackson Mississippi
usa.gif

Status: Offline
2.77 posts per day
Medals: 1 (View more...)
Dedicated User (Amount: 1)
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 01 Dec 2008
Posts: 2074
Points: 4343 

View user's profileSend private messageVisit poster's website Reply with quote


Ped
Reputation: 336.9
votes: 17
Local time: 11:03 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 01 Dec 2008
Posts: 1765
Points: 15745 

Post Re: Posted: Fri May 04, 2007 7:35 pm   

i missed that floppy, i know its not a theme issue ive tested this before in the standard fisicblue theme ...

and there are a few posts on it over at ravens too with a few suggestions...

I believe Ozbutcher had the same problem and he managed to fix it
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

SergeantJay
Reputation: 461.7
Local time: 5:03 PM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Apr 08, 2007
Last Visit: 25 Jul 2007
Posts: 19
Points: 499 

View user's profileSend private messageVisit poster's website Reply with quote

shixter
Reputation: 483.8
votes: 1
Local time: 4:03 PM
Location: Oklahoma, USA
usa.gif

Status: Offline
0.16 posts per day
Medals: 0

Joined: Feb 06, 2007
Last Visit: 13 Apr 2008
Posts: 109
Points: 2683 

Post Posted: Fri May 18, 2007 6:29 am   

I have seen a similar bug in the plain phpbb3 forum structure where it is not blocking the quotes. It puts them in there as plain text and you cant really tell where the quote ends and the new posting text begins. I am sure from the similar structure (and the fact that it is purely a forum code problem) that there are a couple of line changes that can fix it in both nuke forums and phpbb(3) forums.

Damn I wish I was smarter about this, hehe.
 

 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote




dirtysurfer
Reputation: 461.4
Local time: 10:03 PM


Status: Offline
0.00 posts per day
Medals: 0

Joined: Mar 27, 2007
Last Visit: 14 Oct 2007
Posts: 1
Points: 250 

Post Quote not working correctly in Forums Posted: Sun Oct 14, 2007 10:07 am   

Shop Purchases:
Call Of Duty Theme (Aviator) for PHP Nuke · COD 4 (Warrior) Red Style PhpNuke Theme · Call of Duty 4 Ultimate Theme

Any update on this problem.


Functions_post.php has this already-

Code:
$message = addslashes($message);
$message = str_replace('"', '\"', $message);
 

 
View user's profileSend private message Reply with quote

floppy
Reputation: 1794.6
votes: 10
Local time: 5:03 PM
Location: Jackson Mississippi
usa.gif

Status: Offline
2.77 posts per day
Medals: 1 (View more...)
Dedicated User (Amount: 1)
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Nov 14, 2006
Last Visit: 01 Dec 2008
Posts: 2074
Points: 4343 

View user's profileSend private messageVisit poster's website Reply with quote

topjob
Reputation: 494.1
votes: 1
Local time: 3:03 PM

usa.gif

Status: Offline
0.18 posts per day
Medals: 0
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Apr 05, 2007
Last Visit: 14 Oct 2008
Posts: 108
Points: 8635