Back to vBulletin 3.8 Add-ons

[XGFX] Default Post Colour
Mod Version: 1.00, by Pt1994

vB Version: 3.8.2 Rating: (1 vote - 5.00 average) Installs: 25
Released: 20 May 2009 Last Update: Never Downloads: 4
Not Supported Template Edits Re-usable Code Translations  

This is my first ever mod that i have published

This modification will allow users to selct a defualt post colour that will automatically be allpied to all their posts

1. Make a New Profile Field
Admin CP > User Profile Fields > Add New Profile Field
Title: Post Colour
Description: Please use a colour code like the one below including the "#"
Eg. #FF0909
Default Value: <set this as you defualt font colour>
Max Length: 7
Field Length: 7
Type: Single Line Text Box
2.Apply these template edits to your Postbit Template
Find:
Code:
        <!-- message -->
        <div id="post_message_$post[postid]">
            $ad_location[ad_showthread_firstpost_start]
            $post[message]
        </div>
        <!-- / message -->
Replace With:
Code:
        <!-- message -->
        <div style="color:$post[field5];" id="post_message_$post[postid]">
            $ad_location[ad_showthread_firstpost_start]
            $post[message]
        </div>
        <!-- / message -->

Download

No files for download.

Screenshots

Click image for larger version
Name:	shot1.jpg
Views:	667
Size:	179.1 KB
ID:	99359   Click image for larger version
Name:	shot2.jpg
Views:	489
Size:	88.0 KB
ID:	99360  


vblts.ru supports vBulletin®, 2022-2025