Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 4
Hi, hope this hasn't been answered too many times before!

I'm looking for a mod that will change the colour of the text a certain member posts. I.e. each time the real Sophie Ellis Bextor answers a thread I want her text to appear in pink.

Is this possible?

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I imagine it would be fairly simple to do in the ubb_lib_posting.cgi file... not that I am a whiz at it... wink

An:
if {usernumber = whatever}
then TextColor = pink;
else something else smile

like I say, do not try that at home, your site will break, but some of the more knowledgeable developers might be able to actually give you a usable bit of code to insert... might not be a bad idea for other sites for their staff, etc...


- Allen wavey
- What Drives You?
Joined: Aug 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 4
Thanks Allen, that sounds like just the sort of solution I'm looking for.

And I think other boards could benefit from it too. There will always be imposters and there will always be a need to protect people from them. We all know that people don't read help files or explanation text so there is a need to clearly identify members.

So how about it guys wink

Joined: Sep 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 8
Hi

I had a need for something similar.

What I wanted to do though is change the background colour of the users message rather than
the text.

The code for what I have done is here

I am new at cgi/perl so my nesting skills are rather poor at the moment.
The code does work in v6.1 beta 1.4

Allthough it is, in my case, used to identify one member, I think it would be easy to modify it to suit as many as you wish.

Regards

[ September 04, 2001: Message edited by: InteSol ]

Joined: Aug 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 18
The link does not work. eek

Sponsored Links
Joined: Sep 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 8
Sorry.

Seems the IP is acting up confused

Here is the code

Code
code:

Joined: Sep 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 8
*sigh... that didn't work too well laugh

Here is another link to it

[ September 04, 2001: Message edited by: InteSol ]

Joined: Feb 2001
Posts: 59
Member
Member
Offline
Joined: Feb 2001
Posts: 59
Hehe... I am looking for a similar thing.. Only i want the membername in both the forums and the individual posts to have a different color.. Not the text of the message, just the membername...

Any ideas on how to do this?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
in public_topic_page.pl:
Code
code:
in public_forum_page.pl:
Code
code:
Now just change 'The Login Name' and 'The Color' tipsy

It's untested, so use it on your own risk wink

[ September 08, 2001: Message edited by: LK ]

Joined: Feb 2001
Posts: 59
Member
Member
Offline
Joined: Feb 2001
Posts: 59
Thanx for the speedy reply LK smile Tried it, tested it, and ofcourse it worked wink Now bring on the celebs hehe wink laugh

Sponsored Links
Joined: Aug 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 4
Hi LK,

sorry for not replying sooner (holiday) but thanks for that code.

I've got it to change the member name to pink but can't quite get it to change the text to pink too. Am I missing something or is this code not intended for that job?

Sophie Ellis Bextor (fourth post down)

Joined: Aug 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 4
Just wanted to bump this to the top again.

Can anyone help me understand how to change the text colour of the posts of any particular member?

The code above changes the user name to a specified colour so I hope that its possible to change the body text colour too.

Thanks, and sorry for spelling colour the UK way laugh


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)