MyBB Community Forums

Full Version: Customtitle color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I want to make my User Title to blink, is thr anyway for that
Only yours? or everyone on your board?
only mine Smile
if it is only you hmm then we can make a little code for that .

open ./inc/functions_post.php

find

if($usergroup['stars'])
		{
			$post['stars'] = $usergroup['stars'];
		}

above it add

if($post['uid'] == 1)
		{	
				$post['usertitle'] = "<span style=\"text-decoration:blink\">".$post['usertitle']."</span>";
		}
Of course your UID as an admin is 1 if in case it was different, then change 1 to your uid.
It works.

Thank u Zaher. U r great.

Regards
zaher1988 Wrote:if it is only you hmm then we can make a little code for that .

open ./inc/functions_post.php

find

if($usergroup['stars'])
		{
			$post['stars'] = $usergroup['stars'];
		}

above it add

if($post['uid'] == 1)
		{	
				$post['usertitle'] = "<span style=\"text-decoration:blink\">".$post['usertitle']."</span>";
		}
Of course your UID as an admin is 1 if in case it was different, then change 1 to your uid.

Is it possible to make the text bold?
yes sure change

 $post['usertitle'] = "<span style=\"text-decoration:blink\">".$post['usertitle']."</span>";

to

 $post['usertitle'] = "<span style=\"text-decoration:blink\"><b>".$post['usertitle']."</b></span>";
The thing worked

And by mistake u added [php] at the start of the code.

Thanks for everything Smile
no , i just missed to close the php BB code tag, and it was fixed at the moment.
thanks for helping
Pages: 1 2