HELP - color bbcode stopped working ???

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
london_bug
Registered User
Posts: 29
Joined: Thu Sep 16, 2004 8:32 pm

HELP - color bbcode stopped working ???

Post by london_bug » Tue Mar 07, 2006 6:02 pm

have added a few mods - arcade / shoutbox / tic tac toe and flash

now for some reason my color bbcode wont work ???

anyone got any ideas ?????

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom » Tue Mar 07, 2006 6:11 pm

Try uploading an unmodified copy of includes/bbcode.php and templates/YOURTEMPLATE/bbcode.tpl, and see if it starts working again...
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

london_bug
Registered User
Posts: 29
Joined: Thu Sep 16, 2004 8:32 pm

Post by london_bug » Tue Mar 07, 2006 6:42 pm

took the files from another forum i admin on that has the same mods and is working and it still dont work ??

london_bug
Registered User
Posts: 29
Joined: Thu Sep 16, 2004 8:32 pm

Post by london_bug » Tue Mar 07, 2006 6:43 pm

also all other bbcode commands work fine - its just the color one ????

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom » Tue Mar 07, 2006 7:14 pm

Does your CSS for this forum define anything differently for the bbcode tags than the other? Do the tags get converted to HTML, or are they missing completely? For example, this string has the color red defined for it, and the HTML generated is:

Code: Select all

<span style="color: red">this string</span>
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

london_bug
Registered User
Posts: 29
Joined: Thu Sep 16, 2004 8:32 pm

Post by london_bug » Tue Mar 07, 2006 10:29 pm

Wooosh 80% of that just went over my head :|

as far as i can tell all is the same on the two sites - if it helps any if i type the bbcode text it then works its just the bbcode drop down that dont work

does that help anyone ????

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom » Wed Mar 08, 2006 3:23 am

Let's start over with the Support Request Template, please. That way, we can do some testing to see what's going on.
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

london_bug
Registered User
Posts: 29
Joined: Thu Sep 16, 2004 8:32 pm

Post by london_bug » Wed Mar 08, 2006 11:24 am

URL: ------h**p://byte-marks.co.uk/phpforum/index.php

Template(s) used: ------Subsilver only

Any and all MODs: ------CMXmods shoutbox, Flash MOD 2.0.11, Activity Mod Plus (arcade), m4um tic tac toe

Version of phpBB: ------phpBB 2.0.15 (yeah i know were upto 2.0.19)

Have you searched for your problem: ------yes

If so, what terms did you try: ------color bbcode, color bbcode not working, colour bbcode

State the nature of your problem: ------the [col0r=red]xxxx[/col0r] code works fine when entered manually but when using the drop down colour picker it no longer adds the bbcode to the message

Do you have a test account for us: ------yes


Is prolly something i changed while adding the mods as all was well before then :(

i did find this thread

Code: Select all

http://www.phpbb.com/phpBB/viewtopic.php?t=370972
but there is no final solution

Potatis
Registered User
Posts: 51
Joined: Sun Jan 15, 2006 1:36 am
Location: Sydney, Au

Post by Potatis » Thu Mar 09, 2006 12:59 am

I have the same problem, and have posted twice here before. Still no luck for me. :(

The code works fine when typing manually. The menu is there with the list of colors, but when selecting from the menu, no tags are added.

I am using 2.0.19.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66479
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie » Thu Mar 09, 2006 1:52 am

upload new fresh copies of the following files one at a time and test.

first, rename the current one on your server so that you can go back to it if needed.

includes/bbcode.php
templates/yourstyle/bbcode.tpl
posting.php
templates/yourstyle/posting_body.tpl

only use ftp to upload these files, and only in ascii mode.
only use a text editor to open/edit them. not dreamweaver or frontpage, etc.


roberrt
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Potatis
Registered User
Posts: 51
Joined: Sun Jan 15, 2006 1:36 am
Location: Sydney, Au

Post by Potatis » Thu Mar 09, 2006 2:18 am

Thanks very much, Lumpy. :)

I did what you said, and found that the problem was solved when I uploaded a new version of "templates/yourstyle(for me subBlack)/posting_body.tpl"

Now I have to compare code to see if I can find where the difference is. I have mods installed, so it is unfortunately not a case of simply keeping the replacement file. But at least I know which file is faulty. Thanks very much! :)

[edit: ok, I have had a hard look at the code, and can't see what is causing the color tags to not work. :( There must be an error SOMEWHERE though. This is the file.]

london_bug
Registered User
Posts: 29
Joined: Thu Sep 16, 2004 8:32 pm

Post by london_bug » Thu Mar 09, 2006 7:43 pm

Yep cheers lumpy sorted mine out as well

must be something really minor causing the problem cos i been thru both old n new versions and cant spot the error !!!

thanks to all for your help :)

Locked

Return to “2.0.x Support Forum”