Jump to content
WebFlake
  • 0

Colored Member Title?


Guest test3

Question

I want to be able to modify the text (just like the span for member groups, where you can add color and/or bold etc etc) @ Member Title:

Posted Image

 

Again, please note that I am referring to the MEMBER TITLE (in this site: Tiny Flake).

 

Is it possible? 

Edited by test3
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Look & Feel >> Your Skin > Globaltemplate - Userinfopane search :

 

<p class='desc member_title'>{$author['member_title']}</p>

 

Change to

 

<p class='desc member_title'><font color="#FF0000">{$author['member_title']}</font></p>

 

is color Red, change color in '<font color="#FF0000">'

You didn't understand. I want to be able to customize INDIVIDUAL Member titles. What you suggest to do would affect EVERYONE's title

thanks though!

 

AdminCP > SQL > SQL Management > SQL Toolbox and type there

update members set title='<span style="color: colour">what do you want here </span>' where member_id='******'

and change ****** with the member's ID

 

Ahhh thanks! And there I can inject any span commands I'd like!

Before I try this I'd liek to know how to return it to the default state? What is the command to undo this?

Edited by test3
Link to comment
Share on other sites

  • 0

It's called copy contents , save it to your computer. Don't like the results. Copy from computer to the server.

 

There is a revert icon on the right but it removes any and all changes made to that template. Not just the last change.

I didn't understand the red part.. as for the 2nd sentence, I assume you are referring to the  SQL command? So it is no good;

I want to be able to 'reward' specific users here and there and grant them their own colored designed title or so for a limited length of time. I have no problem doing it manually, but I HAVE to be able to revert specific users customized title back to default.. is it possible?

Edited by test3
Link to comment
Share on other sites

  • 0

There is an export function for every table in the sql toolbox that allows you to copy the contents of that table to your computer. Then copy it back using the import in phpmyadmin or copy contents of saved file to sql toolbox query and run it to put it back.

 

 

Individual members, the best way would be to use the phpmyadmin edit row for that member in the table.Then put what you want.

 

As far as the revert I was talking about if you made any changes to templates also. Sorry to confuse.

Edited by Lock Down
Link to comment
Share on other sites

  • 0

Individual members, the best way would be to use the phpmyadmin edit row for that member in the table.Then put what you want.

Bingo! Works perfectly fine. span commands work there and if I want I can simply NULL it and redo back to default.

 

I just find it weird that there is no hook or w/e for it.. It is easily done in VBulletin, and it's abit inconvenient having to go to phpmyadmin every time I want to reward/change users, but I came up with a little solution

 

 

AdminCP > SQL > SQL Management > SQL Toolbox and type there

update members set title='<span style="color: colour">what do you want here </span>' where member_id='******'

and change ****** with the member's ID

Your command works perfectly fine. it is basically like going to the phpmyadmin (duh) and changing manually. and I tested this line: 

update members set title=NULL where member_id='******'

and it works (setting back to default)

further more, you don't even have to run this query in order to getb ack to defaults. When you go back (via ACP) to the member profile page, you can SEE the span field there, so you can simply remove it!

 

Thanks again guys

Edited by test3
Link to comment
Share on other sites

  • 0

Guys is there a way to EXPAND the char limit!? the sentence I put in Member Title consists of 17 chars. when I add font-weight: bold to the span, it basically cuts the sentence in half as if there is not enough space

 

 

 

Edited by test3
Link to comment
Share on other sites

  • 0

Instead of using span then why not use <div class creating a class with the settings you want.

ohh that's a nice idea to save space, but where do I define the div class?

Link to comment
Share on other sites

  • 0

try in css ipb_styles Make sure to give the class a unique name.

mmm I wasn't sure how to do it there so I did in globaltemplate and it worked ^_^

 

thanks guys

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...