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
  #712  
Old 10-30-2007, 06:40 PM
rwilkins108's Avatar
rwilkins108 rwilkins108 is offline
 
Join Date: Oct 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey KW802, it doesn't look like your moods are showing in a post's postbit, at least I can't seem them as guest. I see "My Mood:" but nothing else... just to let you know..
Reply With Quote
  #713  
Old 10-30-2007, 07:20 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rwilkins108 View Post
Hey KW802, it doesn't look like your moods are showing in a post's postbit, at least I can't seem them as guest. I see "My Mood:" but nothing else... just to let you know..
Oops. I must've missed a spot.

[high]* KW802 rushes off, will be back.[/high]

EDIT: Fixed and XML file refreshed above.
Reply With Quote
  #714  
Old 10-30-2007, 08:04 PM
dethfire dethfire is offline
 
Join Date: Feb 2003
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone added more moods?
Reply With Quote
  #715  
Old 10-31-2007, 09:53 AM
Greenwoodi Greenwoodi is offline
 
Join Date: Oct 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The good module, but is not greater problems with its use. At me a forum for the Russian-speaking users, therefore not many know English. The problem is those: It is impossible to put Russian names in a choice of mood as the module takes them in a consequence from a server (figures). I shall be very grateful, for the help.
Reply With Quote
  #716  
Old 10-31-2007, 12:17 PM
rwilkins108's Avatar
rwilkins108 rwilkins108 is offline
 
Join Date: Oct 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dethfire View Post
has anyone added more moods?
Check out these:
https://vborg.vbsupport.ru/showthread.php?t=161410

and these:
https://vborg.vbsupport.ru/showthread.php?t=129645
Reply With Quote
  #717  
Old 10-31-2007, 03:51 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rwilkins108 View Post
Thanks.
I would like to request moderators to add these 2 links in this mod instructions.
So users won't ask for more moods in all replies and don't have to find same in all posts.
Reply With Quote
  #718  
Old 11-08-2007, 02:48 PM
oldengine oldengine is offline
 
Join Date: Mar 2004
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to disable the mood display in specific forums and I have done so with template conditionals.

Better would be to offer this choice in the admin control vBoptions mood manager, much like the "post thank you" hack does and the same way you did it with the banned user groups.

Any ForumID you place here will not show the hack. Enter a list of forumID numbers, separated by a | (for example: 1|2|3).
Reply With Quote
  #719  
Old 11-08-2007, 03:52 PM
silvermerc silvermerc is offline
 
Join Date: Apr 2006
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeh my site has added a new mood,Not sure how though !
Reply With Quote
  #720  
Old 11-08-2007, 07:01 PM
oldengine oldengine is offline
 
Join Date: Mar 2004
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[Mood Manager] - Disable Mood In Postbit

How do I convert this template code:
Code:
<if condition="!empty($post[mood])AND !in_array($GLOBALS[forumid], array(18,24))">
so that it works in this Plugin PHP Code:
Code:
global $vbulletin, $onceonly;

if ($this->registry->options['moodmanageronoff'] == 0)
{
	$this->post['mood'] = NULL;
}
else if ($vbulletin->options['moodmanagerpostbit'])
{
    if (!isset($onceonly))
    {
		$find = "";
		if (strpos($this->templatename, "legacy") === false)
		{
		 	$find = '<div>
						$vbphrase[posts]: $post[posts]
					</div>';
		}
		else
		{
			$find = '<div>
					$vbphrase[posts]: $post[posts]
				</div>';
		}
		
		$addafter = '
					".(!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>
						") : (""))."';
		
		$vbulletin->templatecache[$this->templatename] = str_replace($find, $find . $addafter, $vbulletin->templatecache[$this->templatename]);
		
		$onceonly = true;
	}
}
Reply With Quote
  #721  
Old 11-08-2007, 07:09 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the updated xml kevin
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 04:42 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.16253 seconds
  • Memory Usage 2,313KB
  • 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
  • (2)bbcode_code
  • (3)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
  • (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