MyBB-Plugins Forums
Change Username Colour - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: MyPlaza Turbo (http://forums.mybb-plugins.com/Forum-MyPlaza-Turbo)
+---- Thread: Change Username Colour (/Thread-Change-Username-Colour)

Pages: 1 2 3


RE: Change Username Colour - Trinit - 03-06-2009

I'm sayng that i want to change colour to users... but i want that they change their own colour AUTOMATIC understand?


RE: Change Username Colour - Diogo Parrinha - 03-07-2009

Nope, I don't understand :/


RE: Change Username Colour - Trinit - 03-07-2009

nothing xD


RE: Change Username Colour - Shadows - 03-11-2009

MAMA MIA!
(goes laugh out loud for about 20 mins)
...
- Shadows. XD


RE: Change Username Colour - lordtopcat - 03-11-2009

I'm also having problems with this. I've turned on the automatic modules option, and configured everything correctly, but Username colors aren't changing. I've double checked with my host that the forum directory is correct, and all my FTP details are correct too.

I tried to perform the manual code edits, but there were multiple lines I couldn't find.

Would appreciate any help,
Cheers,
LTC


RE: Change Username Colour - Trinit - 03-11-2009

(03-11-2009, 05:50 AM)Shadows Wrote: MAMA MIA!
(goes laugh out loud for about 20 mins)
...
- Shadows. XD

The correct is: Mamma mia! xDD


RE: Change Username Colour - Shadows - 03-11-2009

It's the same, Trinit.
- Shadows.

@Lordtopcat: topcat is a cool show, liked it when i was like 11 years old xP. Anyway you'll have to wait for Nervo for that, I can't help you since I didn't code that module neither tried to use it Smile.


RE: Change Username Colour - Diogo Parrinha - 03-12-2009

Hmmm, post the lines you couldn't find, here please


RE: Change Username Colour - lordtopcat - 03-12-2009

@ Shadows - Yep. I've had the Name Lord Top Cat since I was 8, and I've never changed it.

@ Nervo. I am using MyBB 1.4.4. Below are the edits I can't find.

In forumdisplay.php
FIND
SELECT m.uid, m.fid, u.username, u.usergroup, u.displaygroup

In online.php
FIND
$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);

In inc/functions_post.php
FIND
$post['profilelink'] = "<a href=\"".str_replace("{uid}", $post['uid'], PROFILE_URL)."\">".format_name($post['username'], $post['usergroup'], $post['displaygroup'])."</a>";

Also, plaza.php just loads a blank page with the edits made. Once they are reverted it loads again.

Thanks,
LTC


RE: Change Username Colour - lordtopcat - 03-12-2009

Also, is there anyway I can change the text box to a drop down with colors? Mainly to restrict the colors they can enter, so as they don't enter the admin or mod color. I did try:

{$lang->new} {$lang->userformat_name} Colour:<select name="newformat">
<option value="{$vars['name']['color']}"> red</option>
</select>

and

{$lang->new} {$lang->userformat_name} Colour:<select name="newformat">
<option value="red"> red</option>
</select>

But neither worked. Any suggestions?

Cheers,
LTC.

EDIT: I've worked out the above. Now a problem has come up with titles. Colors and fonts show up on the profile view, but not when viewing posts.