ANGELUS Posted September 7, 2006 Share Posted September 7, 2006 I cant for the life of me sort it, anyone any good with PHPBB2 forums? Its a problem thats appeared where you click the quote button to respond to someone's post and it comes up with this for example- ie: And then the response [/quote) But it shows in people's posts.... its Sooooo annoying. A blankety blank cheque book and pen to anyone that can tell me how to sort it for me.. pretty please with a cherry on top Link to comment Share on other sites More sharing options...
sccsux Posted September 7, 2006 Share Posted September 7, 2006 ie: And then the response [/quote) Is the closing bracket correct (ie a ")" and not a "]")? If it is supposed to be a "]" then it looks like the problem could be within the actual php scripting/parser class. Have you installed any "mods" for the board (these can (occasionally) cause these kinds of probs). Without actually seeing the code, I can't help (I no longer use phpBB as it is far too vulnerable) SMF is nice though:thumbsup:. If need be I'll grab a copy of phpBB and have a look to see if I can help:). Link to comment Share on other sites More sharing options...
ANGELUS Posted September 7, 2006 Author Share Posted September 7, 2006 ie: Is the closing bracket correct (ie a ")" and not a "]")? If it is supposed to be a "]" then it looks like the problem could be within the actual php scripting/parser class. Have you installed any "mods" for the board (these can (occasionally) cause these kinds of probs). Without actually seeing the code, I can't help (I no longer use phpBB as it is far too vulnerable) SMF is nice though:thumbsup:. If need be I'll grab a copy of phpBB and have a look to see if I can help:). That closing bracket was a ] mate but I had to change it on here to stop it quoting me I didnt have any mods installed on the forum but its still doing it which is weird- even after patching the files to the new .21 files as well for PHPBB2 Link to comment Share on other sites More sharing options...
Skatiechik Posted September 7, 2006 Share Posted September 7, 2006 You have opened two quotes but only closed one on the example you have given. Link to comment Share on other sites More sharing options...
sccsux Posted September 7, 2006 Share Posted September 7, 2006 Have a look in the "bbcode.php" file in the includes directory. Look around line 154 (original version should read) for: // for posting replies with quote, or just for quoting stuff for posting replies with quote, or just for quoting stuff and make sure the following lines are : $text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text); $text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text); You could also check the bbcode template file (templates\whatevertemplate\bbcode.tpl) and check the close quote part of it? Link to comment Share on other sites More sharing options...
ANGELUS Posted September 7, 2006 Author Share Posted September 7, 2006 It comes out like this on my forum hun * Im always nice and everyone runs off so why bother! * But without the *'s ... but it actually posts the whole thing- and dosent bring up the normal quote box like it does on here Link to comment Share on other sites More sharing options...
ANGELUS Posted September 7, 2006 Author Share Posted September 7, 2006 Have a look in the "bbcode.php" file in the includes directory. Look around line 154 (original version should read) for: and make sure the following lines are : $text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text); $text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text); You could also check the bbcode template file (templates\whatevertemplate\bbcode.tpl) and check the close quote part of it? Sorted the bbcode.php part- it was the same.. what should the template bbcode.tpl close quotes be please if you wouldnt mind. Thanks for the help everyone Link to comment Share on other sites More sharing options...
sccsux Posted September 7, 2006 Share Posted September 7, 2006 what should the template bbcode.tpl close quotes be please if you wouldnt mind. bbcode.php in it's entirety: <!-- BEGIN ulist_open --><ul><!-- END ulist_open --> <!-- BEGIN ulist_close --></ul><!-- END ulist_close --> <!-- BEGIN olist_open --><ol type="{LIST_TYPE}"><!-- END olist_open --> <!-- BEGIN olist_close --></ol><!-- END olist_close --> <!-- BEGIN listitem --><li><!-- END listitem --> <!-- BEGIN quote_username_open --></span> <table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td><span class="genmed"><b>{USERNAME} {L_WROTE}:</b></span></td> </tr> <tr> <td class="quote"><!-- END quote_username_open --> <!-- BEGIN quote_open --></span> <table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td><span class="genmed"><b>{L_QUOTE}:</b></span></td> </tr> <tr> <td class="quote"><!-- END quote_open --> <!-- BEGIN quote_close --></td> </tr> </table> <span class="postbody"><!-- END quote_close --> <!-- BEGIN code_open --></span> <table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td><span class="genmed"><b>{L_CODE}:</b></span></td> </tr> <tr> <td class="code"><!-- END code_open --> <!-- BEGIN code_close --></td> </tr> </table> <span class="postbody"><!-- END code_close --> <!-- BEGIN b_open --><span style="font-weight: bold"><!-- END b_open --> <!-- BEGIN b_close --></span><!-- END b_close --> <!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open --> <!-- BEGIN u_close --></span><!-- END u_close --> <!-- BEGIN i_open --><span style="font-style: italic"><!-- END i_open --> <!-- BEGIN i_close --></span><!-- END i_close --> <!-- BEGIN color_open --><span style="color: {COLOR}"><!-- END color_open --> <!-- BEGIN color_close --></span><!-- END color_close --> <!-- BEGIN size_open --><span style="font-size: {SIZE}px; line-height: normal"><!-- END size_open --> <!-- BEGIN size_close --></span><!-- END size_close --> <!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img --> <!-- BEGIN url --><a href="{URL}" target="_blank" class="postlink">{DESCRIPTION}</a><!-- END url --> <!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</a><!-- END email --> As you say you've applied a patch, could I ask you if this problem manifested itself after the patch was applied, or was it occuring before the patch? Link to comment Share on other sites More sharing options...
ANGELUS Posted September 7, 2006 Author Share Posted September 7, 2006 it was before the patch mate Link to comment Share on other sites More sharing options...
sccsux Posted September 7, 2006 Share Posted September 7, 2006 it was before the patch mate Right:thumbsup: What I'd do is..... DL the entire forum (you'll need this later). DL and unzip the lastest version of phpBB. Copy the unzipped files to the server. Delete the install directory from the server. Copy the config files to the server. Copy you templates to the server. See if it works:)? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.