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

Reply
 
Thread Tools
vb3 Font Color Hack v1.0 Details »»
vb3 Font Color Hack v1.0
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-10-2004 Last Update: Never Installs: 47
 
No support by the author.

Well my second one is in now, and I'm happy with its results

What does this hack do?

It enables your users to set their posts to display as a certain color.
Also comes equipped with an override feature that you can turn on or off to not view other members' font colors.

Hack comes with installer, un-installer, uses bitwise permissions for the override, and comes fully vbphrased.

What to do?

Queries to Run: (7)
File Modifications: (4)
Template Modifications (1)

Update

A Modification for a selection of colors from which the user can choose from is located [ HERE ].

And don't forget to enjoy.

upload the install_fontcolor.php to admincp directory and run for complete installation and steps.

Any comments, feedback, suggestions, etc. are welcomed. Please remember to respect my work and I would appreciate if you clicked install.

Screenshots and zip attached below.

Cheers,
g-force2k2

Show Your Support

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

Comments
  #32  
Old 01-22-2004, 09:53 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
/* vb3 Color Hack -- Copyright g-force2k 2004 */
	'overridecolor' => 65536
/* vb3 Color Hack -- Copyright g-force2k 2004 */
Was the commar left off the end of this line for a reason.? The lines above it all have a commar at the end of the number.. I added it myself, but I'd like confirmation whether or not it was left off intentionally.
Reply With Quote
  #33  
Old 01-23-2004, 02:26 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Was the commar left off the end of this line for a reason.? The lines above it all have a commar at the end of the number.. I added it myself, but I'd like confirmation whether or not it was left off intentionally.
To be quite honest, according to my php knowledge the comma isn't required at the end value of an array. Commas are used to space each value of an array and will cause a php error if you do not add a comma to seperate the array values. But I do not believe it is required at the end of an array nor have I ever used one at the end value of an array. As to whether the vbulletin devs have different reasonings or as to specifically why they added the comma to the end value I do not know, you would have to confront or contact them regarding the issue. But having or not having the comma does not create a php error regardless so you can keep the comma there if you like. Hopefully that will give you some insight into the situation.

Regards,
g-force2k2
Reply With Quote
  #34  
Old 01-23-2004, 11:55 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for going in to detail there g-force2k2..
I'm still very much learning the ins and outs of PHP myself.


On a side note, I think this mod could do with a little updating for RC3. The code has changed somewhat in the modifyoptions template, for example each table is now collapsable.

Here's how I did it..
Code:
<!-- vb3 User Color Hack v1.0 - Copyright g-force2k2 2004 //-->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="thead">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_fcolor')"><img id="collapseimg_uopt_fcolor" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_fcolor].gif" alt="" border="0" /></a>
			$vbphrase[font_color_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_uopt_fcolor" style="$vbcollapse[collapseobj_uopt_fcolor]">
	<tr>
		<td class="panelsurround" align="center">
		<div class="panel" id="collapseobj_uopt_fcolor" style="$vbcollapse[collapseobj_uopt_fcolor]">
			<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
				<fieldset class="fieldset">
					<legend><label for="sel_show_color">$vbphrase[use_font_color_title]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[use_font_color_desc]</td>
					</tr>
					<tr>
						<td><label for="sel_show_color"><input type="text" name="fontcolor" value="$bbuserinfo[fontcolor]" size="10" id="sel_show_color"  /></label></td>
					</tr>
					<tr>
					</table>
				</fieldset>
				<fieldset class="fieldset">
					<legend><label for="sel_override_color">$vbphrase[font_color_override_title]</label></legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
					<tr>
						<td>$vbphrase[font_color_override_desc]</td>
					</tr>
					<tr>
						<td><label for="sel_override_color"><input type="checkbox" name="options[overridecolor]" value="1" id="sel_override_color" $checked[overridecolor] /> $vbphrase[font_color_override_opt]</label></td>
					</tr>
					</table>
				</fieldset>
			</div>
		</div>
		</td>
	</tr>
</tbody>
</table>

<br />
<!-- vb3 User Color Hack v1.0 - Copyright g-force2k2 2004 //-->
Reply With Quote
  #35  
Old 01-23-2004, 09:53 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Thanks for going in to detail there g-force2k2..
I'm still very much learning the ins and outs of PHP myself.


On a side note, I think this mod could do with a little updating for RC3. The code has changed somewhat in the modifyoptions template, for example each table is now collapsable.

Here's how I did it..
Thanks for the tip, but I haven't the chance to look at RC2 OR RC3 yet, but I will update when I get the chance.

Cheers,
g-force2k2
Reply With Quote
  #36  
Old 02-13-2004, 09:03 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We use two styles..one dark and one light so there are colors set by users sometimes that are unreadable in 1 style. Is there a solution for this? Maybe a conditional or an addition to this hack so members can choose two colors according to the style(s)?
Reply With Quote
  #37  
Old 02-16-2004, 12:55 AM
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

/me installs
Reply With Quote
  #38  
Old 02-16-2004, 03:37 AM
The Quibbler The Quibbler is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install
Reply With Quote
  #39  
Old 02-22-2004, 06:50 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could it make a rainbow text?
I mean every letter with some color, like a=green p=bkack p=yellow l=blue e=purple with some algorythm?
Reply With Quote
  #40  
Old 03-07-2004, 02:05 AM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* SmasherMaster hits install
[/high]

Wonderful modification, easy to install and very fun.
Reply With Quote
  #41  
Old 03-21-2004, 02:28 AM
Diva's Avatar
Diva Diva is offline
 
Join Date: Oct 2001
Location: CA, USA
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I look forward to the update for VB3Gold.
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:34 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.04935 seconds
  • Memory Usage 2,315KB
  • 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
  • (2)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