Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mood Manager - with AJAX mood update. Details »»
Mood Manager - with AJAX mood update.
Version: 1.2.5, by -=Sniper=- -=Sniper=- is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.2 Rating:
Released: 09-21-2006 Last Update: 07-23-2007 Installs: 1132
DB Changes Uses Plugins Template Edits
 
No support by the author.

By http://www.vbulletinexpert.com

UPDATES ON 24/07/2007

1.2.5
-----

- Fixed XSS security issue
- Added Banned usergroup option

UPDATES ON 15/04/2007

1.2.4
-----

Credits to hambil - https://vborg.vbsupport.ru/member.php?u=57845 for this update

- Aligned text and images for a cleaner look
- Changed dropdown to contain mood images instead of text, with admin option
- Added optional auto replace for postbit and postbit legacy templates

UPDATES ON 08/10/2006

1.2.3
-----

- Changed how the dropdown menu looks slighty, better I think.

- One of the plugins was left inactive by mistake, now active.
which resulted in dead mood images e.g. cross displayed in IE

- Fixed a few mood names / images, so are the same.

- Added a few NEW mood images, thanks to GlitterKill

UPDATES ON 22/09/2006
~~~~~~~~~~~~~~~~~

1.2.0
------

Simply Import the product and make sure you select "allow overwrite"

- No Mood option added
- User Moods will no longer disaply in postbit if moods are disabled.


1.1.3
------

- thanks to basilrath for the moods.

PLEASE READ THE INSTALL FILE

What is It?

It allows users to set a personal mood, which can be changed without reloading the page. The moodis displayed in the members profile and postbit.

Instructions Incuded in the attached file.

Demo

Support I can provide better support at www.vbcmspro.com

Upgrade My other hack depended on another hack, this does not, so simply undo / delete the other hack.

Supporters / CoAuthors

Show Your Support

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

Comments
  #342  
Old 03-27-2007, 09:20 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, since people are doing this against advice, and now I feel bad that I am causing problems for the author of this wonderful hack, I will try to make the directions clearer. However, I still recommend not doing it, and if you do go forward BACK UP first.

Step 1:
In the quick_mood_change_by_sniper template find:
HTML Code:
$vbphrase[my_mood]: <a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a>
and replace with:
HTML Code:
<span style="vertical-align: middle;">$vbphrase[my_mood]: </span><a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img style="vertical-align: middle;" src="images/mood/$bbuserinfo[mood].gif" border="0" /><else />$vbphrase[change_mood]</if></a>
Step 2:
In the "[Mood Manager] - Ajax Update" plugin find:
PHP Code:
        die("<img src="images/mood/" $new_mood".gif" border="0" />"); 
and replace with:
PHP Code:
        die("<img style="vertical-align: middle;" src="images/mood/" $new_mood".gif" border="0" />"); 
Step 3:
In the postbit and/or postbit_legacy templates find:
HTML Code:
				<if condition="!empty($post[mood])">
				<div>
					$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
				</div>
				</if>
and replace with:
HTML Code:
				<if condition="!empty($post[mood])">
				<div>
					<span style="vertical-align: middle;">$vbphrase[my_mood]:</span> <img style="vertical-align: middle;" src="images/mood/$post[mood].gif" border="0" />
				</div>
				</if>
Step 4:
In the "[Mood Manager] - Make Drop Down Menu" hook find:
PHP Code:
    $vbmoods['mood'] .= '<option value="' .$mood'"' .$selectedmood'>' .$mood'</option>'
and replace with:
PHP Code:
$vbmoods['mood'] .= '<optgroup style="background-image: url(images/mood/' .$mood'.gif); height: 15px; width: 72px;"><option value="' .$mood'"' .$selectedmood'></option></optgroup>'
Step 5:
In vBulletin Options -> [Sniper] Mood Manager change "In Love" to "InLove"

Step 6:
In your images/mood directory on your server rename "In Love.gif" to "InLove.gif" and rename Psychadelic.gif to Psychedelic.gif

You should be good to go. But again, PLEASE use with caution, or better yet wait for the author of this hack to decide what to do with this. Thanks
Reply With Quote
  #343  
Old 03-27-2007, 09:25 PM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh no, no! I know your intentions were good! Stuff happens, I know this.

I looked at everything you did, and did what you said, it just didn't work for me. No big deal.

And I don't think you're causing problems at all...you're just trying to improve an already awesome hack!

The alignment coding went swimmingly...putting the mood images in the drop-down just didn't go so well. But it's ok.

You don't have anything to feel bad about!
Reply With Quote
  #344  
Old 03-27-2007, 09:50 PM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far it's working great. Just gotta do the images in the list. We'll see how that goes, and i'll update everyone. So far great job hambil. I like when things look organize and clean.
Reply With Quote
  #345  
Old 03-27-2007, 09:53 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, I just realized this has been changed to not supported. I'm contacting the author for permission to be added to the support list for this hack, so it can be changed back to supported again.
Reply With Quote
  #346  
Old 03-27-2007, 10:02 PM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Hambil, for the image list of moods, it doesn't work. For the url i tried many variations. From full url, to the simplest form. If possible, you think you can help me out on this? I think having this addition will be really great for my members. Thank alot!
Reply With Quote
  #347  
Old 03-27-2007, 10:06 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure. PM me your site details.
Reply With Quote
  #348  
Old 03-27-2007, 11:39 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hambil has volunteered to support this hack, while I hope to do the same in a couple of months or so.
Reply With Quote
  #349  
Old 03-27-2007, 11:42 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sniper! I will be releasing a version with my latest edits once I've worked with a couple of you to make sure it won't break anything. Anyone who wants to 'beta' this change please PM me.
Reply With Quote
  #350  
Old 03-28-2007, 12:13 AM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

n/p please let me know via pm/email when you have a updated version ready, so I can update the attachment. thanks
Reply With Quote
  #351  
Old 03-28-2007, 03:58 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks...

Installed
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:55 PM.


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.10856 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_html
  • (4)bbcode_php
  • (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
  • (3)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_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