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
Mood Hack - Extended [Postbit] Details »»
Mood Hack - Extended [Postbit]
Version: 1.00, by paul41598 paul41598 is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-20-2005 Last Update: 06-20-2005 Installs: 26
Template Edits
Code Changes  
No support by the author.

This is my 2nd hack released. Im no coder by any far means, but I loved the mood hack. However I did not like the fact that you had to goto your USERCP, to update your mood.


Original Credits Goto: MyIS_Jordan


What this mod does:

This modifcation puts the mood dropdown selector inside the postbit instead of the USERCP.

What this means:

Your users are more thankful because its easier to change rather than doing it from your USERCP.

What are some features:
  • Added <if> statement, so the dropdown box shows only for that specific user logged in. This makes it so that you cannot select your mood from someone else's postbit dropdown
  • Upon selection of mood, page autorefreshes and takes you back to the current thread you were viewing

Dont forget to click install if you like!

Screenshots below:

Show Your Support

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

Comments
  #22  
Old 06-24-2005, 11:21 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just follow MyIs_Jordan's original instructions for the profile part, and it should work fine.
Reply With Quote
  #23  
Old 06-24-2005, 11:28 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I will revert that part thx
Reply With Quote
  #24  
Old 06-30-2005, 05:58 PM
rb2k1 rb2k1 is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to get this to show in the Member Profile Page? Thanks Guys
~Ross B
Reply With Quote
  #25  
Old 06-30-2005, 08:17 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rb2k1
Is there anyway to get this to show in the Member Profile Page? Thanks Guys
~Ross B
Sure,

Just open up MEMBERINFO template and paste this anywhere you want it to show

PHP Code:
<!-- Mood Hack Start -->
<
br />
<if 
condition="$post[mood] == 1">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Aggressive.gif" alt="Aggressive"></div>
</if>
<if 
condition="$post[mood] == 2">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Amazed.gif" alt="Amazed"></div>
</if>
<if 
condition="$post[mood] == 3">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Amused.gif" alt="Amused"></div>
</if>
<if 
condition="$post[mood] == 4">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Angelic.gif" alt="Angelic"></div>
</if>
<if 
condition="$post[mood] == 5">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Angry.gif" alt="Angry"></div>
</if>
<if 
condition="$post[mood] == 6">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Asleep.gif" alt="Asleep"></div>
</if>
<if 
condition="$post[mood] == 7">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/+++++y.gif" alt="+++++y"></div>
</if>
<if 
condition="$post[mood] == 8">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Blah.gif" alt="Blah"></div>
</if>
<if 
condition="$post[mood] == 9">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Bored.gif" alt="Bored"></div>
</if>
<if 
condition="$post[mood] == 10">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Brooding.gif" alt="Brooding"></div>
</if>
<if 
condition="$post[mood] == 11">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Busy.gif" alt="Busy"></div>
</if>
<if 
condition="$post[mood] == 12">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Buzzed.gif" alt="Buzzed"></div>
</if>
<if 
condition="$post[mood] == 13">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Cheeky.gif" alt="Cheeky"></div>
</if>
<if 
condition="$post[mood] == 14">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Cheerful.gif" alt="Cheerful"></div>
</if>
<if 
condition="$post[mood] == 15">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Cold.gif" alt="Cold"></div>
</if>
<if 
condition="$post[mood] == 16">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Confused.gif" alt="Confused"></div>
</if>
<if 
condition="$post[mood] == 17">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Cool.gif" alt="Cool"></div>
</if>
<if 
condition="$post[mood] == 18">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Daring.gif" alt="Daring"></div>
</if>
<if 
condition="$post[mood] == 19">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Dead.gif" alt="Dead"></div>
</if>
<if 
condition="$post[mood] == 20">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Devilish.gif" alt="Devilish"></div>
</if>
<if 
condition="$post[mood] == 21">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Fine.gif" alt="Fine"></div>
</if>
<if 
condition="$post[mood] == 22">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Goofy.gif" alt="Goofy"></div>
</if>
<if 
condition="$post[mood] == 23">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Grumpy.gif" alt="Grumpy"></div>
</if>
<if 
condition="$post[mood] == 24">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Happy.gif" alt="Happy"></div>
</if>
<if 
condition="$post[mood] == 25">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Hot.gif" alt="Hot"></div>
</if>
<if 
condition="$post[mood] == 26">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/In_Love.gif" alt="In Love"></div>
</if>
<if 
condition="$post[mood] == 27">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Innocent.gif" alt="Innocent"></div>
</if>
<if 
condition="$post[mood] == 28">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Inspired.gif" alt="Inspired"></div>
</if>
<if 
condition="$post[mood] == 29">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Lonely.gif" alt="Lonely"></div>
</if>
<if 
condition="$post[mood] == 30">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Lurking.gif" alt="Lurking"></div>
</if>
<if 
condition="$post[mood] == 31">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Mellow.gif" alt="Mellow"></div>
</if>
<if 
condition="$post[mood] == 32">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Pensive.gif" alt="Pensive"></div>
</if>
<if 
condition="$post[mood] == 33">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Psychadelic.gif" alt="Psychadelic"></div>
</if>
<if 
condition="$post[mood] == 34">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Relaxed.gif" alt="Relaxed"></div>
</if>
<if 
condition="$post[mood] == 35">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Sad.gif" alt="Sad"></div>
</if>
<if 
condition="$post[mood] == 36">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Scared.gif" alt="Scared"></div>
</if>
<if 
condition="$post[mood] == 37">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Shocked.gif" alt="Shocked"></div>
</if>
<if 
condition="$post[mood] == 38">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Sick.gif" alt="Sick"></div>
</if>
<if 
condition="$post[mood] == 39">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Sneaky.gif" alt="Sneaky"></div>
</if>
<if 
condition="$post[mood] == 40">
<
br>
<
div class="smallfont">Current Mood: <img src="./images/mood/Tired.gif" alt="Tired"></div>
</if>
<
br />
<!-- 
Mood Hack End --> 
Reply With Quote
  #26  
Old 06-30-2005, 09:15 PM
rb2k1 rb2k1 is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! I didnt realise it was that simple You can also add the selector by adding the drop down code right under it..

Thanks Again
Reply With Quote
  #27  
Old 07-05-2005, 04:28 PM
mustang_lex mustang_lex is offline
 
Join Date: May 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already installed the original MOOD hack. Is there a UPGRADE so i can have the mood setting in both the profile section (which it is now) and in the postbits?

Thank you
Reply With Quote
  #28  
Old 07-26-2005, 06:36 PM
SlipNslide281 SlipNslide281 is offline
 
Join Date: May 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works great. thanks for this hack. Its sweet.
Reply With Quote
  #29  
Old 08-20-2005, 01:55 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my mysql, says i have an error from the query.......hxxxxx_forums.user doesn't exist
Reply With Quote
  #30  
Old 08-21-2005, 03:23 PM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I've installed this hack and it works wonderfully. The only problem I have is when I use IE changing the "mood" from the drop-down redirects me back to index.php instead of returning me to showthread.php. If I use Firefox I'm redirected correctly.

Have I done something wrong?

Thanks for any help in solving this.
Renada
Reply With Quote
  #31  
Old 08-22-2005, 01:55 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this in mysql...........when i ran: #### QUERY ####
ALTER TABLE user ADD mood varchar(15) NOT NULL

in mysql query, i was getting an error that hxxxxx_forums.user doesn't exist.

I then changed the query to:#### QUERY ####
ALTER TABLE vb3user ADD mood varchar(15) NOT NULL

and it worked flawlessly......

just thought i would share that with everyone, incase someone else has had this problem. I am using vbulletin 3.07

hotwheels
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 07:09 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.04794 seconds
  • Memory Usage 2,407KB
  • 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)bbcode_php
  • (1)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