Hi David
Hope that everything is all right with you and your family.
I'm trying to make it so the members of my site can choose a background colour for their topics.
I thought the easiest way is to use BBcode
I tried this
Code
[bground={COLOR}] Topic text [/bground]
Html
<style="background-color: {COLOR}">
You will know by looking at it that it does not work.
What html code would I need to get it to work?
Thanks
Graham
Topic Background colour
Moderator: Experts
Re: Topic Background colour
Hi Graham,
Well what you've posted will only produce the following:
This is the text after using that BBCode
Obviously not what you're looking for. To me it seems that what you're looking for will require some code changing. Now did you mean the entire topic or just the specific post?
Well what you've posted will only produce the following:
This is the text after using that BBCode
Obviously not what you're looking for. To me it seems that what you're looking for will require some code changing. Now did you mean the entire topic or just the specific post?
Re: Topic Background colour
Hi David
Just the first post in the topic, no need for anyone leaving a comment to have a coloured background unless it's easier to do of course.
You know mine is a poetry site, so if one of the members wants to have a coloured background to their poem they would be able to.
Like on the side where you have Font Colour but it would be Background colour or drop down list of colours or again which ever is the easiest way to do it.
Thanks
Graham
Just the first post in the topic, no need for anyone leaving a comment to have a coloured background unless it's easier to do of course.
You know mine is a poetry site, so if one of the members wants to have a coloured background to their poem they would be able to.
Like on the side where you have Font Colour but it would be Background colour or drop down list of colours or again which ever is the easiest way to do it.
Thanks
Graham
Re: Topic Background colour
Will need an additional column added to the posts table and allow it to only be set for the first post. Might be 3-5 edits total me thinks. I'll see if I can get something written up in the next day or so.
Re: Topic Background colour
Thanks David,
There is no great rush I know you are very busy both here and at phpBb.
Graham
There is no great rush I know you are very busy both here and at phpBb.
Graham
Re: Topic Background colour
The only difference was that he was using a new Style and I was using prosilver but the symptoms (non-clickable smilies and bbcodes) were the same. I found the solution by searching for "background-color: #' + color + ;">');" in the phpbb forums and there it was...a missing single quote. I have to assume that it was a MOD that broke it but I haven't tracked down which. Perhaps it was the WP to phpBB bridge plugin that did it, I'll have to check that one still.
Re: Topic Background colour
Were those issues with Prosilver fixed over the years btw? Anyone using that style?
Re: Topic Background colour
Which prosilver issues?