vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Mood Hack - Extended [Postbit] (https://vborg.vbsupport.ru/showthread.php?t=83488)

paul41598 06-24-2005 11:21 PM

Just follow MyIs_Jordan's original instructions for the profile part, and it should work fine.

midnightz 06-24-2005 11:28 PM

Ok, I will revert that part :) thx

rb2k1 06-30-2005 05:58 PM

Is there anyway to get this to show in the Member Profile Page? Thanks Guys
~Ross B

paul41598 06-30-2005 08:17 PM

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 --> 


rb2k1 06-30-2005 09:15 PM

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

mustang_lex 07-05-2005 04:28 PM

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

SlipNslide281 07-26-2005 06:36 PM

Installed and works great. thanks for this hack. Its sweet.

hotwheels 08-20-2005 01:55 AM

my mysql, says i have an error from the query.......hxxxxx_forums.user doesn't exist

Renada 08-21-2005 03:23 PM

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

hotwheels 08-22-2005 01:55 AM

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


All times are GMT. The time now is 04:23 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.01171 seconds
  • Memory Usage 1,846KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete