Author Topic: SMF shop can give users diffrent colors in there names but how can I do it?  (Read 5160 times)

Offline ggace

I Have installed the SMF shop & all those goodies that comes with it. I love how users names can show up orange or blue in posts but wanted to change the admins name to RED or even add a few more to the shop. Is there any way someone could make a few more items like that for the shop? Maybe edit the <span blue & orange ones (I have no clue what im talking about so im sure it's harder then it sounds  :-\ )

Thank you very much in advance.


Your friend
~Gg

Offline CRONUS

You may change membergroup name colors without SMFshop
If you want each user to buy the look of their names then you need Display Name CSS Item

Offline ggace

I have this installed & it gives a few default colors & styles but I wanted to either add my own to the shop (Which I have no idea how to do) or find out exactly what the shop does to my forum to change there colors so I could do it alone. Thanks for your responce.

Your friend
~Gg

Offline Daniel15

To add your own to the shop, go to Add/Edit/Delete Items and choose the 'Change display name style' item.  Then, under New Style, choose the style you want to use.
For a colour, use color: [colour code] (eg.
Code: [Select]
color: #0000FF).

Offline ggace

Thank you very much  ;)

Offline Sui

Good day.

I have a question.

I've installed it,  and also "Change Name Colors & Styles", but how do I change the persons nickname back? If someone asks me to do so? Have I got that option somewhere in my admin panel?

BTW. daniel, nice work, love your modification!

EDIT: Oh, yeah, I've tried with the Item 'Reset Display name', but I don't see that Item when I go to Add/Edit/Delete in admin panel  :idiot2: It gives me this message "ERROR: Could not create instance of 'ResetDisplayName' item!"
« Last Edit: February 07, 2007, 04:08:32 am by Sui »

Offline Daniel15

Sorry, there was a mistake in my instructions for that mod. You need to name the file "ResetDisplayNameCSS.php", and not just "ResetDisplayName.php"

Offline Sui

OH! Thank you very very much!

Have a nice day.

Offline Ricky

ERROR: Could not create instance of 'RestDisplayNameCSS' item!

I get that, any ideas?

Offline Daniel15

Quote
ERROR: Could not create instance of 'RestDisplayNameCSS' item!
There's a small typo: 'RestDisplayNameCSS'
;)

Offline Ricky

Re: SMF shop can give users diffrent colors in there names but how can I do it?
« Reply #10 on: February 11, 2007, 07:41:37 pm »
Thanks. :)