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
  #92  
Old 12-14-2005, 06:25 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ReadOrDie
Ok, the images aren't appearing. www.gaiaevolved.com/forum/images/mood/ the mood folder is there but it's not appearing. And when I look it says:

Current mood:

Current mood:


It says it twice.
You might want to look at the script for the postbit. I will bet you like have the words listed twice...If not, copy it and post the wording here...
Reply With Quote
  #93  
Old 12-14-2005, 06:26 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ReadOrDie
Ok, the images aren't appearing. www.gaiaevolved.com/forum/images/mood/ the mood folder is there but it's not appearing. And when I look it says:

Current mood:

Current mood:


It says it twice.
sorry, double post....
Reply With Quote
  #94  
Old 12-17-2005, 08:03 PM
Firestar.chkn Firestar.chkn is offline
 
Join Date: Aug 2005
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To all those who cannot get this to work, I found the solution:

Use the Postbit_Legacy template and not the Postbit template. For some weird reason, I could not get it to work with postbit only, even though I use that always. Once I added the template code into the postbit_legacy template, it worked like a charm.
Reply With Quote
  #95  
Old 12-17-2005, 10:03 PM
Bass Nutz's Avatar
Bass Nutz Bass Nutz is offline
 
Join Date: Jul 2004
Location: New England
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I'm not that bright and I need a little help here. I think I have 90% of it right, but I think I'm screwing it up.......

Do I add the [fieldX] things like this...

Quote:
<!-- mood hack display start --> <br /><if condition="$post[field17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48 ,49,50,51,52,53,54] != ''"><div class="smallfont"> Current Mood: <img src="images/mood/$post[field17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48 ,49,50,51,52,53,54].gif" title="$post[fieldX]" align="center"> </div></if> <!-- mood hack display end -->
Okay, now I know that was a dumb question (see, I'm not that bright) because I tried it this way and it gave me an error message. So I guess the right question is, how do I add the ID codes in there so it works for me?

This way didn't work either....

Quote:
<!-- mood hack display start --> <br /><if condition="$post[field17][field18][field19][field20][field21][field22][field23][field24][field25][field26][field27][field28][field29][field30][field32][field33][field34][field35][field36][field37][field38][field39][field40][field41][field42][field43][field44][field45][field46][field47][field48][feild49][field50][field51][field52][field53][field54]" != ''"><div class="smallfont"> Current Mood: <img src="images/mood/$post[field17][field18][field19][field20][field21][field22][field23][field24][field25][field26][field27][field28][field29][field30][field32][field33][field34][field35][field36][field37][field38][field39][field40][field41][field42][field43][field44][field45][field46][field47][field48][feild49][field50][field51][field52][field53][field54]" align="center"> </div></if> <!-- mood hack display end -->
Please help me, I'm bright impaired
Reply With Quote
  #96  
Old 12-18-2005, 12:26 AM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

INSTALLED!!!!!!!!!!!!!!!!!!!!!

my 12,000 users are all peeing themselves silly over this.
Reply With Quote
  #97  
Old 12-18-2005, 12:29 AM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used:

Code:
<!-- mood hack display start -->
<br />Current Mood: <img src="images/mood/$post[fieldX].gif" title="$post[fieldX]" align="center"></div>
<!-- mood hack display end -->
Quote:
Originally Posted by Bass Nutz
Okay, I'm not that bright and I need a little help here. I think I have 90% of it right, but I think I'm screwing it up.......

Do I add the [fieldX] things like this...



Okay, now I know that was a dumb question (see, I'm not that bright) because I tried it this way and it gave me an error message. So I guess the right question is, how do I add the ID codes in there so it works for me?

This way didn't work either....



Please help me, I'm bright impaired
Reply With Quote
  #98  
Old 12-18-2005, 06:06 AM
Bass Nutz's Avatar
Bass Nutz Bass Nutz is offline
 
Join Date: Jul 2004
Location: New England
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, I've been sitting here for the last 4 or so hours trying to figure this damn thing out. I've done so many different things to try and get this to work.

*Looks for a bullet*

Maybe a fresh start tomorrow.......well, I guess it would be later on today. :ermm: :tired:
Reply With Quote
  #99  
Old 12-18-2005, 11:54 AM
KimRUR KimRUR is offline
 
Join Date: Apr 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am new at doing this but I went to my User Profile Field Manager and got my field #
I only had 1 here is what mine looks like

<!-- mood hack display start -->
<br /><if condition="$post[field6] != ''"><div class="smallfont">
Current Mood: <img src="images/mood/$post[field6].gif" title="$post[field6]" align="center">
</div></if>
<!-- mood hack display end -->
Reply With Quote
  #100  
Old 12-18-2005, 02:31 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ReadOrDie
Ok, the images aren't appearing. www.gaiaevolved.com/forum/images/mood/ the mood folder is there but it's not appearing. And when I look it says:

Current mood:

Current mood:


It says it twice.
OMFG!


It is not you, it is me. I typed the code in twice.......FIXED...
Reply With Quote
  #101  
Old 12-18-2005, 02:43 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bass Nutz
Okay, I'm not that bright and I need a little help here. I think I have 90% of it right, but I think I'm screwing it up.......

Do I add the [fieldX] things like this...



Okay, now I know that was a dumb question (see, I'm not that bright) because I tried it this way and it gave me an error message. So I guess the right question is, how do I add the ID codes in there so it works for me?

This way didn't work either....



Please help me, I'm bright impaired


First, go back to Admin Control Panel (ACP) and look at the control panel on the left side of page.



Click on User Profile Fields >>expand section >>click on User Profile Field Manager >> locate Member Mood Display and write down the NAME or FIELD#.



For this example,; say the field number is 7 okay? The only thing you change in the script is the FIELD NUMBER AND ONLY THE FIELD NUMBER ? ONE NUMBER ONLY ?



EXAMPLE:



This is the modification code as listed:

<!-- mood hack display start -->

<br /><if condition="$post[fieldX] != ''"><div class="smallfont">

Current Mood: <img src="images/mood/$post[fieldX].gif" title="$post[fieldX]" align="center">

</div></if>

<!-- mood hack display end -->


This is the only change you make:

[fieldX] = [field7] or the number you have on your system



That?s it! Do not insert all those numbers! Just the field number of the profile modification!


----------------------
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...
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:10 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.05229 seconds
  • Memory Usage 2,324KB
  • 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_code
  • (7)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