View Full Version : [ushop] user post color
Reeve of shinra
06-18-2005, 10:00 PM
This action will let your users choose a default color for thier posts in exchange for points.
This makes use the g-force2k Font Color Hack and the action file itself is from Link14716, so all credits and thanks should go to them.
Instructions (also included in the zip):
a) you will need to install the font color hack by g-force2k located at
https://vborg.vbsupport.ru/showthread.php?t=60031
Be sure to skip the step where you add the option for users to choose thier post color in their profile options since we want them to waste points instead via the store.
b) upload the action file and install like any other.
Enjoy!
hello
06-19-2005, 11:14 AM
Have you got any screen shots for it? i might install this when i get my forum working again! Sounds Good nice work :D
plubius
06-19-2005, 02:07 PM
I really appreciate this Reeve of Shinra, but you said that the instructions are in the zip, but there is only a php file for download.
Could you tell me how to install your action? I am still a bit of a noobie.
Reeve of shinra
06-19-2005, 04:47 PM
Hello: No screenshots needed, instead of having to manually put the color tags around each post, it lets your users automatically select a color to be used.
Plubius: I attached the zip but the instructions are also in my post but if you need to know how to install the action, go into your admincp / ushop / action manager -> add action and in the box just enter action.postcolor.php, set your cost and your good to go.
plubius
06-20-2005, 11:19 AM
it would be wonderful if this could be set up to allow members to change the post colour or some other aspects of another member's post like they can with with the user name.
deathemperor
06-20-2005, 12:09 PM
damn ! I was always thinking about this, thank you to make this public.
hello
06-20-2005, 02:59 PM
Hello: No screenshots needed, instead of having to manually put the color tags around each post, it lets your users automatically select a color to be used.
Ok cool thanks mate, i didnt read it properly but cool installed.
CrazyLady
06-21-2005, 01:31 PM
Fan flippin tastic. My members were just requesting this, and here is the ushop feature. WOW. Question, is there a way to have them select the font color from a drop down menu instead of typing it in manually, like how members select gifts?... now all I need is the Font Face mod LOL.
FANTASTIC.. THANKS!!!
Reeve of shinra
06-21-2005, 01:57 PM
"Question, is there a way to have them select the font color from a drop down menu instead of typing it in manually, like how members select gifts?"
Possibly but I'm going away tomorrow so I wont have time to look into it.
CrazyLady
06-21-2005, 02:11 PM
I think I got it, works for me anyway.
Give your users the option to choose their font color from a drop down menu.
Open action.postcolor.php and:
FIND
'type' => 'input',
'size' => 25,
REPLACE WITH
'type' => 'dropdown',
'optioncode' => '$GLOBALS[optioncode]',
FIND BOTH OCCURRENCES OF
// Create Input Fields
ADD BELOW BOTH OCCURRENCES
$optioncode = '
<option value selected unselectable="true">
[Color]</option>\n
<option style="background-color: black" value="Black" unselectable="true">
Black</option>\n
<option style="background-color: sienna" value="Sienna" unselectable="true">
Sienna</option>\n
<option style="background-color: darkolivegreen" value="DarkOliveGreen" unselectable="true">
Dark Olive Green</option>\n
<option style="background-color: darkgreen" value="DarkGreen" unselectable="true">
Dark Green</option>\n
<option style="background-color: darkslateblue" value="DarkSlateBlue" unselectable="true">
Dark Slate Blue</option>\n
<option style="background-color: navy" value="Navy" unselectable="true">
Navy</option>\n
<option style="background-color: indigo" value="Indigo" unselectable="true">
Indigo</option>\n
<option style="background-color: darkslategray" value="DarkSlateGray" unselectable="true">
Dark Slate Gray</option>\n
<option style="background-color: darkred" value="DarkRed" unselectable="true">
Dark Red</option>\n
<option style="background-color: darkorange" value="DarkOrange" unselectable="true">
Dark Orange</option>\n
<option style="background-color: olive" value="Olive" unselectable="true">
Olive</option>\n
<option style="background-color: green" value="Green" unselectable="true">
Green</option>\n
<option style="background-color: teal" value="Teal" unselectable="true">
Teal</option>\n
<option style="background-color: blue" value="Blue" unselectable="true">
Blue</option>\n
<option style="background-color: slategray" value="SlateGray" unselectable="true">
Slate Gray</option>\n
<option style="background-color: dimgray" value="DimGray" unselectable="true">
Dim Gray</option>\n
<option style="background-color: red" value="Red" unselectable="true">
Red</option>\n
<option style="background-color: sandybrown" value="SandyBrown" unselectable="true">
Sandy Brown</option>\n
<option style="background-color: yellowgreen" value="YellowGreen" unselectable="true">
Yellow Green</option>\n
<option style="background-color: seagreen" value="SeaGreen" unselectable="true">
Sea Green</option>\n
<option style="background-color: mediumturquoise" value="MediumTurquoise" unselectable="true">
Medium Turquoise</option>\n
<option style="background-color: royalblue" value="RoyalBlue" unselectable="true">
Royal Blue</option>\n
<option style="background-color: purple" value="Purple" unselectable="true">
Purple</option>\n
<option style="background-color: gray" value="Gray" unselectable="true">
Gray</option>\n
<option style="background-color: magenta" value="Magenta" unselectable="true">
Magenta</option>\n
<option style="background-color: orange" value="Orange" unselectable="true">
Orange</option>\n
<option style="background-color: yellow" value="Yellow" unselectable="true">
Yellow</option>\n
<option style="background-color: lime" value="Lime" unselectable="true">
Lime</option>\n
<option style="background-color: cyan" value="Cyan" unselectable="true">
Cyan</option>\n
<option style="background-color: deepskyblue" value="DeepSkyBlue" unselectable="true">
Deep Sky Blue</option>\n
<option style="background-color: darkorchid" value="DarkOrchid" unselectable="true">
Dark Orchid</option>\n
<option style="background-color: silver" value="Silver" unselectable="true">
Silver</option>\n
<option style="background-color: pink" value="Pink" unselectable="true">
Pink</option>\n
<option style="background-color: wheat" value="Wheat" unselectable="true">
Wheat</option>\n
<option style="background-color: lemonchiffon" value="LemonChiffon" unselectable="true">
Lemon Chiffon</option>\n
<option style="background-color: palegreen" value="PaleGreen" unselectable="true">
Pale Green</option>\n
<option style="background-color: paleturquoise" value="PaleTurquoise" unselectable="true">
Pale Turquoise</option>\n
<option style="background-color: lightblue" value="LightBlue" unselectable="true">
Light Blue</option>\n
<option style="background-color: plum" value="Plum" unselectable="true">
Plum</option>\n
<option style="background-color: white" value="White" unselectable="true">
White</option>\n';
wow, my first ever mod change. Code changes referenced from the ushop ribbon addon, so credit goes to "zsdave". Hope I remembered and included all my changes. LOL
plubius
06-21-2005, 04:20 PM
Thanks for putting that together, crazy lady.
FamilyCorner
07-04-2005, 01:40 PM
One of my users asked this question:
"Is there a way to save personal color and font preferences? Everytime I come on I have to click onto the same 3 bottons to get this green text. I'd like for it to already be that way everytime I come on--if possible."
Is that what this hack does? Please let me know and Happy Fourth everyone!
Reeve of shinra
07-04-2005, 07:05 PM
The hack by g-force does that for the color. There's another one for the font around here somewhere I think. THis just ties it into the ushop.
CrazyLady
07-21-2005, 03:12 PM
Can any one explain why my members font color, after a few weeks, removes itself automatically leaving my members having to buy their font color all over again? Is there an expiry with this mod?
thanks
o0Hubba0o
07-31-2005, 04:31 PM
Something I noticed that confused some of the members, is you might want to change this:
$vbphrase['uttstore_changeremove_colorusername_remove'] = "Remove Username Color?";
$vbphrase['uttstore_changeremove_colorusername_change'] = "Change Username Color?";
To this:
$vbphrase['uttstore_changeremove_colorusername_remove'] = "Remove Post Color?";
$vbphrase['uttstore_changeremove_colorusername_change'] = "Change Post Color?";
Change the "Remove/Change Username Color" to Remove/Change Post Color"
Hi,
I just saw your great hacks. Can you make some modifications so that users can buy highlighted thread using ucash.
Thanks a lot!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.