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

Reply
 
Thread Tools
Mood Hack Details »»
Mood Hack
Version: 1.02, by |Jordan| |Jordan| is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 05-16-2005 Last Update: 05-20-2005 Installs: 62
DB Changes Template Edits
Code Changes  
No support by the author.

Mood Hack

Note: Please update to the latest version, many bugs were fixed.

This if my first hack. Since this is my first hack i don't know how good i'll be at support, but i'll give it a shot.


What does it do?

This hack displays a user's mood in the postbit. The mood is displayed as an image and there are 40 to choose from. Mood can be changed in UserCP=>Edit Profile.

Note: Tested on vBulletin 3.0.5 with security fixes to 3.0.7
It should work in all 3.0.x versions though.

Credits:

This hack is based off "Image Gender in Postbit" written by tnguy3n.

Full credit is given in the text file. I have modified his code to work with this hack.

Update!tnguy3n has pm'd me saying that the modification is ok. Yay

The creation of this hack was inspired by the request of caliman
The hack images are from the Yabb version of this hack, kudos to whomever made them.

Installation information on hack:

Query to run: 1
File modification: 3
Template modication: 2
New Templates: 0
Estimated Installation Time: 4 to 5 minutes.

Changes:

V 1.02 - Fixed some missing code, made no mood option more noticable. To update repeat step two of template modification.

V 1.01 - Fixed image folder name, added ALT tags to images, fixed misnumbered and redundant code. To update repeat step one of template modification.

V 1.00 - Released

Demo: http://www.gamers-union.net/forums/showthread.php?t=204 (Click on any thread)

Addons:
Extended [Postbit]
This addon puts the mood dropdown selector inside the postbit instead of the USERCP.
Credit goes to paul41598

Please Click Install if you find this hack userful. Thanks.

Show Your Support

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

Comments
  #2  
Old 05-17-2005, 02:36 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I have not formally asked his permission due to the open source nature of the hacks at vbulletin.org
Open Source does not mean you can just take bits & pieces and make your own software out of it. I suggest you contact him yourself, to avoid miscommunications.
Reply With Quote
  #3  
Old 05-17-2005, 02:37 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops

I pm'd him, haven't received response yet.

I released it now because i was scared someone else would release a mood hack and all my work would be for nothing
Reply With Quote
  #4  
Old 05-17-2005, 02:37 PM
boo.3 boo.3 is offline
 
Join Date: Nov 2004
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice!

may i ask a question... how do you make the avatars and stuff on the left side? mines on top?

or is that just the style?
Reply With Quote
  #5  
Old 05-17-2005, 02:38 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's all style related, you just need to move code around. (i made that style too, not releasing it though)
Reply With Quote
  #6  
Old 05-17-2005, 03:08 PM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YOU RULE JORDAN! Thanks so much for this. I really appreciate it. Clicking install! (I will install tonight.)


Quote:
Originally Posted by boo.3
nice!

may i ask a question... how do you make the avatars and stuff on the left side? mines on top?

or is that just the style?
Thats actually an option in adminCP somewhere. Something about using a vB2 look I think.
Reply With Quote
  #7  
Old 05-17-2005, 03:12 PM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that is known as the postbit template. Legacy is the v2 look. Although Jordon obviously has a few modifcations to the legacy template. Wouldn't take more than 5 minutes of time, to modify a default legacy theme to match his if you know html and the vb conditionals.
Reply With Quote
  #8  
Old 05-17-2005, 03:16 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't know how to make the hack with just template modifcations, so i went with this.
Reply With Quote
  #9  
Old 05-17-2005, 03:19 PM
boo.3 boo.3 is offline
 
Join Date: Nov 2004
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok got it thanks!
Reply With Quote
  #10  
Old 05-17-2005, 04:03 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack didn't work for me at first. I followed the instructions, however there was no image displayed in the postbit - it only said : "current mood:" and no image. Then I noticed that the folder is named "moods" and in the instructions it says to use the name "mood" instead, so after I changed that it worked fine. Also, there was no blank .html in the image folder to prevent folks from snooping inside the image folder, so I changed that as well. I also added the names of the moods to the "alt" tag, so now when people hover over the mood icon it says the name of the emotion as well.
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 06:08 AM.


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.04867 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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_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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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