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

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
  #22  
Old 01-12-2004, 06:01 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah okay.
French language is the default language
Reply With Quote
  #23  
Old 01-12-2004, 06:09 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 albibak
Ah okay.
French language is the default language
Alright, check in the admincp if the phrases were inserted into the database just do a search for 'font_color'. If they show up then its probably the language that has to be recached, try to submit one of the entries and see if that recaches them if not I will come up with a solution.

And when you say default did it come with the French language installed OR did it come with English and you made the French phrases and then made that the default?

Regards,
g-force2k2
Reply With Quote
  #24  
Old 01-12-2004, 06:17 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand it : "If they show up then its probably the language that has to be recached, try to submit one of the entries and see if that recaches them if not I will come up with a solution."

I found some font_color in the phrases.

vBulletin was installed in english and I put a french language and put it by default
Reply With Quote
  #25  
Old 01-12-2004, 07:39 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 albibak
I don't understand it : "If they show up then its probably the language that has to be recached, try to submit one of the entries and see if that recaches them if not I will come up with a solution."

I found some font_color in the phrases.


vBulletin was installed in english and I put a french language and put it by default
Alright open install_fontcolor.php

find:

PHP Code:
    update_phrasegroups 'global' ) ;
    
update_phrasegroups 'user' ) ; 
and replace with:

PHP Code:
    update_phrasegroups 'global') ;
    
update_phrasegroups 'user') ; 
then reupload the new install_fontcolor.php to the admincp and run ONLY steps 4 and 5

ie: http://yourforum.com/admincp/install...lor.php?step=4

is what you should run.

That will hopefully recache the French language. Let me know if this works.

Regards,
g-force2k2
Reply With Quote
  #26  
Old 01-12-2004, 07:46 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it's OK.
Thx a lot.
Reply With Quote
  #27  
Old 01-12-2004, 10:56 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A little remark if someone use prefix on his forum :

Open file install_fontcolor.php

Code:
Ligne 61 : " . TABLE_PREFIX . "phrasetype
Ligne 64 : " . TABLE_PREFIX . "phrase
Ligne 68 : " . TABLE_PREFIX . "language
Reply With Quote
  #28  
Old 01-13-2004, 03:43 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 albibak
A little remark if someone use prefix on his forum :

Open file install_fontcolor.php

Code:
Ligne 61 : " . TABLE_PREFIX . "phrasetype
Ligne 64 : " . TABLE_PREFIX . "phrase
Ligne 68 : " . TABLE_PREFIX . "language
Thanks for pointing that out, I will have to make some updates for that in the installer. Glad that we got the language problem sorted out

Cheers,
g-force2k2
Reply With Quote
  #29  
Old 01-13-2004, 09:58 PM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by g-force2k2
I would just make my code a function and then run the $post[username] variable through the function ( i believe the variable is actually $post[musername] ). Thats all that is required unless you wanted a different color for each the post and the username.

Cheers,
g-force2k2
exactly what I wanted..... to have it for both font color and username color.... couldn't I just "copy" the hack and edit the templates and code to match $post[username] ??? or would it not be that simple

MGM out
Reply With Quote
  #30  
Old 01-14-2004, 11:30 PM
Kyle0515 Kyle0515 is offline
 
Join Date: Mar 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Hack... It just so happens that the members of my board started asking for this about 3 days ago. So Thank You...
Reply With Quote
  #31  
Old 01-15-2004, 04:56 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 MetalGearMaster
exactly what I wanted..... to have it for both font color and username color.... couldn't I just "copy" the hack and edit the templates and code to match $post[username] ??? or would it not be that simple

MGM out
There would be no template edits necessary unless you wanted to have different colors for the username and their post, if not then the php file edit is all thats needed, and I just said to use a function call so you wouldn't have to have as much coding

Quote:
Originally Posted by Kyle0515
Good Hack... It just so happens that the members of my board started asking for this about 3 days ago. So Thank You...
Thanks for the feedback.

Cheers,
g-force2k2
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 04:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07059 seconds
  • Memory Usage 2,312KB
  • 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_php
  • (6)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