Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Palmer ofShinra Palmer ofShinra is offline
Developer Last Online: Feb 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-03-2001 Last Update: Never Installs: 6
 
No support by the author.

This is a simple little hack taht allows users to specify a color by name or hex code in theor profile.

If they do (we'll use limegreen as the color they chose for examples) then all their posts from that point on will have
[color=limegreen ] and [/color ] surrounding them.

It does not retroactively affect previous posts. Only new ones.
If they post as limegreen for a day, then change to red, all their limegreen posts stay that way.

The hack involves adding 3 lines of code to 2 different files (same 3 lines for both files) and creating a Custom Profile field.

Show Your Support

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

Comments
  #22  
Old 11-09-2001, 11:49 PM
Ed FvC Ed FvC is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Reeve of shinra
You can actually change it to font face very easilly by repeating the same steps and changing the surrounding tags in the hack part. You will see what I mean....
Yeah, but I'm lazy. I just figured it'd be good for the next version (if you plan on updating). Thanks again for a nice hack.
Reply With Quote
  #23  
Old 11-10-2001, 10:44 AM
Palmer ofShinra's Avatar
Palmer ofShinra Palmer ofShinra is offline
 
Join Date: Oct 2001
Location: Vancouver, BC, Canada
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, i'm glad to see people like this... it sat here for several days with no one relpying or installing it...

Yeah, it's pretty simpistic, but it's nice and people like it.

One of our members had fun annoying everyone... our table colors are #222222 and #333333

He used this and set it to #222222 so you could barely read what he wrote... or not at all!

For font... it's just the same. Just change all occurances of the word color to font...

It should be easy if you read the code.
Reply With Quote
  #24  
Old 11-10-2001, 11:35 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on version 2.2.0 as well.

Reply With Quote
  #25  
Old 03-01-2002, 09:59 PM
Dalius Dalius is offline
 
Join Date: Oct 2001
Location: Canada!
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2.2.2 version please!
Reply With Quote
  #26  
Old 03-01-2002, 10:39 PM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

erm....is it just me or does this hack seem way too involved....all i did was:

-added the profile field 'Color'

And in the postbit template, I replaced this
Code:
<p><normalfont>$post[message]</normalfont></p>
with
Code:
<p><normalfont><FONT COLOR="$post[field5]">$post[message]</font></normalfont></p>
of course, the [field5] should be changed to whatever that field # is..

Did I miss something, does this hack do something different?


and this should work on any version....i don't see any reason why not...
Reply With Quote
  #27  
Old 03-02-2002, 12:47 PM
OldManWillow OldManWillow is offline
 
Join Date: Jan 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AD your hack worked for me just fine thanks!
Reply With Quote
  #28  
Old 03-03-2002, 12:55 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

w00t...:P
Reply With Quote
  #29  
Old 04-05-2002, 02:51 AM
Zedd's Avatar
Zedd Zedd is offline
 
Join Date: Mar 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that was easy! thanks
Reply With Quote
  #30  
Old 05-04-2002, 05:56 AM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Palmer ofShinra, please add color bar for color choice. It's be very cool!

Example here
Reply With Quote
  #31  
Old 05-04-2002, 06:50 PM
Unknown553's Avatar
Unknown553 Unknown553 is offline
 
Join Date: Oct 2001
Location: Las Vegas, NV, USA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Austin Dea
erm....is it just me or does this hack seem way too involved....all i did was:

-added the profile field 'Color'

And in the postbit template, I replaced this
Code:
<p><normalfont>$post[message]</normalfont></p>
with
Code:
<p><normalfont><FONT COLOR="$post[field5]">$post[message]</normalfont></p>
of course, the [field5] should be changed to whatever that field # is..

Did I miss something, does this hack do something different?


and this should work on any version....i don't see any reason why not...
Even that is too involed....you can just use
Code:
<p><normalfont color="$post[field5]">$post[message]</normalfont></p>
No need for two <font> tags.
Reply With Quote
Reply


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 11:21 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.08980 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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