Clan Adverts

www.idevaffiliate.com/31216/idevaffiliate.php?id=203_0_1_3

 

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 / 1903 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: 3:58 AM


Status: Offline
0.04 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: 450.9
votes: 17
Local time: 9:58 AM
Location: Great British Empire
uk.gif

Status: Offline
2.92 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: 08 Jul 2008
Posts: 1764
Points: 8628 

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-mail Reply with quote

Ped
Reputation: 450.9
votes: 17
Local time: 9:58 AM
Location: Great British Empire
uk.gif

Status: Offline
2.92 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: 08 Jul 2008
Posts: 1764
Points: 8628 

View user's profileSend private messageSend e-mail Reply with quote

floppy
Reputation: 2235.6
votes: 10
Local time: 3:58 AM
Location: Jackson Mississippi
usa.gif

Status: Offline
3.21 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: 08 Jul 2008
Posts: 1938
Points: 23496 

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);
 

Free Clan Links - Submit Yours today  
View user's profileSend private messageVisit poster's website Reply with quote




SergeantJay
Reputation: 461.7
Local time: 3:58 AM


Status: Offline
0.04 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: 2235.6
votes: 10
Local time: 3:58 AM
Location: Jackson Mississippi
usa.gif

Status: Offline
3.21 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: 08 Jul 2008
Posts: 1938
Points: 23496 

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

Ped
Reputation: 450.9
votes: 17
Local time: 9:58 AM
Location: Great British Empire
uk.gif

Status: Offline
2.92 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: 08 Jul 2008
Posts: 1764
Points: 8628 

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-mail Reply with quote

SergeantJay
Reputation: 461.7
Local time: 3:58 AM


Status: Offline
0.04 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.9
votes: 1
Local time: 2:58 AM
Location: Oklahoma, USA
usa.gif

Status: Offline
0.22 posts per day
Medals: 0

Joined: Feb 06, 2007
Last Visit: 13 Apr 2008
Posts: 113
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: 8:58 AM


Status: Offline
0.00 posts per day
Medals: 0

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

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: 2235.6
votes: 10
Local time: 3:58 AM
Location: Jackson Mississippi
usa.gif

Status: Offline
3.21 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: 08 Jul 2008
Posts: 1938
Points: 23496 

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

topjob
Reputation: 486.5
votes: 1
Local time: 1:58 AM

usa.gif

Status: Offline
0.23 posts per day
Medals: 0
Clan Themes Scripts/Coder
Clan Themes Scripts/Coder
Joined: Apr 05, 2007
Last Visit: 07 Jul 2008
Posts: 104
Points: 7961 

Post Quote not working correctly in Forums Posted: Mon Oct 15, 2007 3:38 am   

Very strange, I just tried the quote function on my test site (Unmodified RN v2.1.01) and it worked flawlessly.
 

†Together, were better.† Author of Member Application and Pro Nuke Forms