![]() |
i need a developer/coder/sourcer's help
hello, i have a question on a system i'm trying to use.
its a vbulletin_musername i believe. i'm trying to get my gold member's to be able to change the color of their name excluding the usergroup. I own vbulletin 4.1.4 and my site is akmods.net there is this other site, thetechgame.com, which has a paid subscription called "gold member" which allows you to do the following: https://vborg.vbsupport.ru/external/2011/06/31.png which allows you to select the color of your username from a drop down menu. thetechgame.com runs on a different forum software which i don't know. they could possibly be on vbulletin. i want to be able for my gold members to select the color of their username without having to make a whole new usergroup so they can change their color via user id. if this is possible, could someone please help me do it to my forum. thanks. ~ALSO~ i want to be able to make a usergroup with names that scroll marquee of different colors. an example is on the link as follows: http://www.thetechgame.com/xKryptic if someone knows a PhP code that can do that for a usergroup, that would be great if someone could help me! thanks, Houston |
On the hook fetch_musername, you could use something like:
PHP Code:
PHP Code:
PHP Code:
You can specify a Default colour, in case one is not yet set for the user. PHP Code:
Note, of course, that you will have to change fieldXX to whatever your field is, and set a value for $special_group. I do recommend that you use a User Profile Field, too, although you CAN make an extra field right on the user table. (That's actually what I did myself before I found out about user Profile Fields and felt dumb for doing so, heh.) Post back if you have any questions or run into any problems. --------------- Added [DATE]1308244982[/DATE] at [TIME]1308244982[/TIME] --------------- Oh, as for that marquee, I have something similar, but it was a rainbow text I programmed for my members who want to act all gay. Use the fetch_musername hook again, and this code: PHP Code:
ALSO, you must enter the following javaScript into your headinclude template: HTML Code:
--------------- Added [DATE]1308245060[/DATE] at [TIME]1308245060[/TIME] --------------- Oh! One more thing... When you put that Script into your headinclude template, you might have to wrap <vb:literal></vb:literal> tags around it, due to the curly braces. |
Thanks man! Big help!
|
No prob. :> I know how much members like them fancy names. XD
|
whats the HTML markup for the marquee?
and when i do the profile field, what type of text box do i use? |
Quote:
PHP Code:
Quote:
|
do you think if i gave you developer for my forum for a couple of minutes you could do it for me? appreciation would be much given :)
|
Quote:
On the profile_fetch_profilefields hook, I have the following code: PHP Code:
Could someone maybe point out a mistake I might be making? |
Quote:
PHP Code:
|
All times are GMT. The time now is 01:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|