Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
[ushop] user post color Details »»
[ushop] user post color
Version: 1.00, by Reeve of shinra Reeve of shinra is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-18-2005 Last Update: Never Installs: 2
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-19-2005, 11:14 AM
hello hello is offline
 
Join Date: Jul 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you got any screen shots for it? i might install this when i get my forum working again! Sounds Good nice work
Reply With Quote
  #3  
Old 06-19-2005, 02:07 PM
plubius plubius is offline
 
Join Date: Dec 2004
Location: USA
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 06-19-2005, 04:47 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 06-20-2005, 11:19 AM
plubius plubius is offline
 
Join Date: Dec 2004
Location: USA
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-20-2005, 12:09 PM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

damn ! I was always thinking about this, thank you to make this public.
Reply With Quote
  #7  
Old 06-20-2005, 02:59 PM
hello hello is offline
 
Join Date: Jul 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reeve of shinra
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.
Reply With Quote
  #8  
Old 06-21-2005, 01:31 PM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
  #9  
Old 06-21-2005, 01:57 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"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.
Reply With Quote
  #10  
Old 06-21-2005, 02:11 PM
CrazyLady CrazyLady is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Code:
		'type' => 'input',
		'size' => 25,
REPLACE WITH
Code:
		'type' => 'dropdown',
        'optioncode' => '$GLOBALS[optioncode]',
FIND BOTH OCCURRENCES OF
Code:
	// Create Input Fields
ADD BELOW BOTH OCCURRENCES
Code:
    $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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07190 seconds
  • Memory Usage 2,306KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete