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

Reply
 
Thread Tools
Username & Post Decorations Hack Details »»
Username & Post Decorations Hack
Version: 1.00, by AnkisethGallant AnkisethGallant is offline
Developer Last Online: Jun 2007 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-07-2003 Last Update: Never Installs: 17
 
No support by the author.

This hack was an old idea I had a long time ago that I kind of made a hack for, but it was kinda messed up.

What this hack does is allow usernames to be of different colors, with backgrounds and borders on the names. This also works for posts. The hack is done for an actual post, and includes instructions on how to make the decorated name in the Memberlist and on the thread listing. It is also controlled through the Admin CP.

Installing this hack requires
2 New tables (created and populated by a script)
2 New Files
3 File Edits (Optional 5)
3 New Templates
1 Template Edit (Optional 3)

It is relatively easy, nothing too confusing. I will provide as much support as I can. This should work for newer versions, but I'm not positive if it does.

I will post 4 screenshots, 1 of the new posts, 1 of the Admin CP, 1 of the thread listing, and 1 of the Memberlist.

Good luck and have fun!

[5/9] A few bugs fixed, zip updated
[7/8] Zip updated to possibly fix install

Show Your Support

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

Comments
  #12  
Old 05-10-2003, 06:49 AM
xware's Avatar
xware xware is offline
 
Join Date: Nov 2001
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea.But you can do a left join function in php files to avoid do more query.
Reply With Quote
  #13  
Old 05-10-2003, 08:40 PM
AnkisethGallant's Avatar
AnkisethGallant AnkisethGallant is offline
 
Join Date: Oct 2001
Location: Las Vegas
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure how to do whatever you're talking about xware. There's never enough going on on my forums to worry about how many queries, so I've never spent a lot of time looking into how to lower the number of queries I use.
Reply With Quote
  #14  
Old 05-10-2003, 10:42 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be good if there was a store integration
Reply With Quote
  #15  
Old 05-10-2003, 10:46 PM
AnkisethGallant's Avatar
AnkisethGallant AnkisethGallant is offline
 
Join Date: Oct 2001
Location: Las Vegas
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There can be, but I have always used my own hacks, not others, so I can't integrate it into Lesane's.
Reply With Quote
  #16  
Old 05-17-2003, 11:09 AM
redstaing0 redstaing0 is offline
 
Join Date: Jan 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: SELECT * FROM custom_option WHERE options=1
mysql error: Table 'rxxx_xxx_db.custom_option' doesn't exist

mysql error number: 1146

Date: Saturday 17th of May 2003 02:07:25 PM
Script: http://www.///admin/namecolor.php?screen=available&
Referer: http://admin/index.php?action=nav&cpnavjs=
Reply With Quote
  #17  
Old 05-18-2003, 04:46 PM
AnkisethGallant's Avatar
AnkisethGallant AnkisethGallant is offline
 
Join Date: Oct 2001
Location: Las Vegas
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you follow instructions for Step 1 and Step 2? If so, it would have installed the custom_option table into your database.
Reply With Quote
  #18  
Old 07-04-2003, 04:07 AM
Hostc
Guest
 
Posts: n/a
Default

dude this hack doesn't EVEN INSTALL


Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: CREATE TABLE `custom_option` (
`options` int(1) NOT NULL default '0',
`namecolor` int(1) NOT NULL default '0',
`nameback` int(1) NOT NULL default '0',
`nameborder` int(1) NOT NULL default '0',
`postcolor` int(1) NOT NULL default '0',
`postback` int(1) NOT NULL default '0',
`postborder` int(1) NOT NULL default '0'
) TYPE=MyISAM;
INSERT INTO custom_option (options) VALUES ('1')
mysql error: You have an error in your SQL syntax near ';
INSERT INTO custom_option (options) VALUES ('1')' at line 9

mysql error number: 1064

Date: Friday 04th of July 2003 12:09:52 AM
Script: http://board/board/admin/namecolorinstall.php?
Referer:


I CANT EVEN GET THE PIECE OF ++++ TO WORK


Messed up hack
Reply With Quote
  #19  
Old 07-08-2003, 06:46 PM
ff8_bomb's Avatar
ff8_bomb ff8_bomb is offline
 
Join Date: Feb 2002
Location: Indiana
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im getting this error too.. It makes me mad that no one has yet to reply.. Please reply with the fix to this error or Ill make sure this hack gets quite a low rating..
Reply With Quote
  #20  
Old 07-08-2003, 07:14 PM
AnkisethGallant's Avatar
AnkisethGallant AnkisethGallant is offline
 
Join Date: Oct 2001
Location: Las Vegas
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I updated the namecolorinstall.php to do what should fix the problem. If it's still not working let me know.
Reply With Quote
  #21  
Old 07-10-2003, 08:15 PM
ff8_bomb's Avatar
ff8_bomb ff8_bomb is offline
 
Join Date: Feb 2002
Location: Indiana
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope.. Still pretty crappy..

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: INSERT INTO custom_option (options) VALUES ('1')
mysql error: Table 'banetwo_forums.custom_option' doesn't exist

mysql error number: 1146
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:52 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.07542 seconds
  • Memory Usage 2,292KB
  • 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
  • (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
  • (2)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
  • (10)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