The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Is there any mod that allows to change the color of some post.
For example a user before to save the new post, check an option to change the color of the post in the topic.asp page.
Bye
Bye
Postet den
The capability has always existed to change the color(s). Do you want a prompt asking the user if the post should be a different color?
Postet den
Probably i didn't explain well.
I'd like to change the entire row color of the post, not only the text.
Normally in this forum there is a bi-alternate-color, white and grey, and i'd like to offer the possibility to change the color of the entire row including the author name column.
Bye Ste
Postet den
Originally posted by Carefree
The capability has always existed to change the color(s). Do you want a prompt asking the user if the post should be a different color?
color or colour? Or have I just grown up with too much British literature?
If you're talking about changing just the text colour, then Carefree is right - there are a number of colour tags available for changing the text. If you're talking about the background, or just about anything else, then the short answer is that there is nothing readily avilable.
Is there any particular reason for this request? Sometimes understanding the "why" behind a question saves us all some time in coming to a solution.
Postet den
Some users can have the possibility to underline the post chaging the background colour.
Postet den
Thanks for the mod, but I think it simply alternates the two colour, instead i'm looking for a mod that allows the user to change the background colour of the post in topic.asp
Something like the Tag, but that colour the post row.
Something like the Tag, but that colour the post row.
Sist redigert av
Postet den
Nothing like that has been written. Wouldn't be too difficult, but I can easily imagine some very awful color combinations.
Postet den
I may try to make it, but could you just suggest me from where to start.
Which files should i change? Which are the variables to identify?
Ste
Ste
Postet den
Probably the easiest way to handle it would be to add another field to the database to record the desired topic color. In the default table "FORUM_TOPICS", I'd add a "T_COLOR" field. You wouldn't need to define it in "config.asp" since it won't be static.
Then in "forum.asp", you'd have to add it after the line
and again after the line
Remember those "CColor" variable locations from the alternating color mod? You'd replace them with "Topic_Color".
In "post.asp" and in "post_info.asp", you'd have to include the new field in forms and in SQL calls/updates to the database.
That'll get you started. If you run aground, ask for help and we'll give you a hand.
Then in "forum.asp", you'd have to add it after the line
Code:
tLAST_POST_AUTHOR_NAME = 14
tT_COLOR = 15Code:
Topic_LastPostAuthorName = arrTopicData(tLAST_POST_AUTHOR_NAME, iTopic)
Topic_Color = arrTopicData(tT_COLOR, iTopic)Remember those "CColor" variable locations from the alternating color mod? You'd replace them with "Topic_Color".
In "post.asp" and in "post_info.asp", you'd have to include the new field in forms and in SQL calls/updates to the database.
That'll get you started. If you run aground, ask for help and we'll give you a hand.
Postet den
Ok tahnks a lot.
I'll do that and than let you know.
Bye Ste
Bye Ste
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...