Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mood Hack 3.5 Details »»
Mood Hack 3.5
Version: 1.00, by lefthome lefthome is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-16-2005 Last Update: 12-17-2005 Installs: 155
 
No support by the author.

MOOD HACK 3.5


This is first and my only vBulletin 3.5 hack because I have no clue! I have tried and tested this on my forum at http://www.itshappening.net/forum/ and the hack can be see in operation at this site.



What does it do?

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

Credits:

This hack is based off "mood hack" written by MyIS_Jordan

I have modified his code to work as a template modification in 3.5

MyIS_Jordan pm'd me saying that the modification is ok. Yay

The creation of this hack was inspired by my own members who love this nifty hack.



The hack images are from other sources and the couple my members created.



Installation information on hack:



Template Modification: postbit or postbit_legacy
Files to upload: 1 folder





Picture of hack: original hack for 3.07 to view picture.




https://vborg.vbsupport.ru/showthrea...threadid=81637


------------------------------------------------

UPDATED: 12/10/2005


Template Modification and should work in 3.5 or 3.51 without any problems.



Fixes:



Additional Moods

Corrected Others Spelling errors

Saved in Windows Zip File



Upcoming:



Template Modification so Mood can be changed in Member ID section in either version without upgrading to 3.51 so the add-on by sniper will work.





Step-by-Step Instructions including in both files; new install and upgrade versions.




Small addition of approximately 12 new moods added. Update contains full install and quick update. This update works in 3.5, 3.5.1, 3.5.2 although to use the add-on by sniper you must upgrade to 3.5.1

12/18/05: the code for the postbit was typed in twice - Fixed! Sorry!



12/18/2005 Updated and/or fixed some of the pictures and added a few new moods. I have several "Adult" Moods but will only make avaialable by PM...

Show Your Support

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

Comments
  #152  
Old 08-24-2006, 02:49 PM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that will test it first on my test board if all goes great will add it back into my live forum

Thanks for the reply
Reply With Quote
  #153  
Old 08-25-2006, 08:26 PM
Pamela Pamela is offline
 
Join Date: Apr 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Clicks installed*

Thanks!
Reply With Quote
  #154  
Old 09-03-2006, 01:50 AM
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOVE IF THIS WAS PORTED TO 3.6.0
IM Sure someone can help you...
Reply With Quote
  #155  
Old 09-04-2006, 07:45 AM
Olly_K Olly_K is offline
 
Join Date: Jun 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

some of my users are trying to use "sunshine", but this does not display a pic ?
have checked the pic and its ok. any ideas ?
Reply With Quote
  #156  
Old 09-04-2006, 08:58 PM
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Location: Spokane, WA
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aclikyano
LOVE IF THIS WAS PORTED TO 3.6.0
IM Sure someone can help you...
Works fine for 3.6.0
Reply With Quote
  #157  
Old 09-05-2006, 08:47 PM
dano dano is offline
 
Join Date: May 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paul41598
ok fixed.


Find:
Code:
$post[iplogged]
Add Below:

Code:
<!-- / dropdown mood select by sniper start -->
  <form action="usercp.php" method="post" id="moodform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="newmood" />
    <select name="mood" onchange="this.form.submit();">
      <option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
      $show[qmcmood]
    </select>
  </form>
<!-- / dropdown mood select by sniper end -->
oh and if you dont like the redirect msg. Just open the hook location:
Hook Location : usercp_complete click EDIT

and change

Code:
eval(print_standard_redirect('qmc_mood_swing', true, true));
to

Code:
eval(print_standard_redirect('redirect_updatethanks'));
So is there a way to make this so it doesnt show on everyones postbit at the same time, and just yours?

Currently, this shows for each and every postbit, even though it only changes your own mood. I would love it if a member only saw this drop down in THEIR posts and postbit and not everyones?

Any ideas?
Reply With Quote
  #158  
Old 09-06-2006, 08:10 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go. Added code in BOLD

Code:
<!-- / dropdown mood select by sniper start -->
<if condition="$post[userid] == $bbuserinfo[userid]">
  <form action="usercp.php" method="post" id="moodform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="newmood" />
    <select name="mood" onchange="this.form.submit();">
      <option value="" <if condition="empty($bbuserinfo[FIELDXX])">selected</if>></option>
      $show[qmcmood]
    </select>
  </form>
</if>
<!-- / dropdown mood select by sniper end -->
Reply With Quote
  #159  
Old 07-31-2007, 07:17 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled and Reinstalled updated version here:
https://vborg.vbsupport.ru/showthread.php?t=127220
Reply With Quote
  #160  
Old 08-04-2007, 03:16 AM
LjubavnaZona LjubavnaZona is offline
 
Join Date: Feb 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is perfect. I have had a problem with another Mood Hack I got and I couldnt fix it if my life depended on it. But with this one, everything went smooth. Thank you so much!

Love it. Installed.
Reply With Quote
  #161  
Old 06-10-2008, 07:54 PM
silly rabbit silly rabbit is offline
 
Join Date: Oct 2005
Location: Atlanta/NYC
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work in 3.7.0 fine . . .

oops! upgraded to HERE!

Thx again, Rabbit
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 03:26 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.05727 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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