Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mood Manager - with AJAX mood update. Details »
Mood Manager - with AJAX mood update.
Mod Version: 1.2.5, by -=Sniper=- (Coder) -=Sniper=- is offline
Developer Last Online: Dec 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.2 Rating: (91 votes - 4.69 average) Installs: 1131
Released: 21 Sep 2006 Last Update: 24 Jul 2007 Downloads: 9215
Not Supported DB Changes Uses Plugins Template Edits  

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 - http://www.vbulletin.org/forum/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.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	demo.gif
Views:	8197
Size:	29.4 KB
ID:	54377  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements vMoods aka Mood Manager -=Sniper=- vBulletin 3.7 Add-ons 506 14 Dec 2013 15:00

  #46  
Old 23 Sep 2006, 01:40
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Perfect. The vbadvanced module was the easiest one ever for me to make.
Reply With Quote
  #47  
Old 23 Sep 2006, 01:57
Exitilus's Avatar
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Real name: Derek
Originally Posted by -=Sniper=-
Exitilus; it should work on any page which uses the navbar template. I have it on my forums, works in the gallery, arcade etc.

thank you
Well the problem is when you attempt to change the mood when your on a different directory / address it doesn't work. Just hangs at updating the mood.

On my main page, the Mood just doesn't even display.
__________________
Owner / Webmaster
House of Crazed
http://www.houseofcrazed.com
Reply With Quote
  #48  
Old 23 Sep 2006, 02:02
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Originally Posted by Lionel
Perfect. The vbadvanced module was the easiest one ever for me to make.
How did you do it?
__________________
MsXLabs Forum
Reply With Quote
  #49  
Old 23 Sep 2006, 02:26
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Originally Posted by eNforce
step 3 in the instructions
Yep I've done that but it doesnt show.
Reply With Quote
  #50  
Old 23 Sep 2006, 02:58
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Originally Posted by Exitilus
Well the problem is when you attempt to change the mood when your on a different directory / address it doesn't work. Just hangs at updating the mood.

On my main page, the Mood just doesn't even display.
I think the problem is Plugins > [Mood Manager] - Make Drop Down Menu:
if ($vbulletin->options['moodmanageronoff'])
{
$vbulletin->templatecache['header'] .= '<script type=\"text/javascript\">
<!--
function update_mood()
{
fetch_object(\'mood_box\').innerHTML = \'GŁncelleştiriliyor...\';
if (ajax_mood.handler.readyState == 4 && ajax_mood.handler.status == 200 && ajax_mood.handler.responseText)
{
fetch_object(\'mood_box\').innerHTML = ajax_mood.handler.responseText;
}
}

function change_mood(mood)
{
ajax_mood = new vB_AJAX_Handler(true);
ajax_mood.onreadystatechange(update_mood);
ajax_mood.send(\'ajax.php\', \'do=insertmood&mood=\' + PHP.urlencode(mood));
}
//-->
</script>';

$moodslist = explode("\n", $vbulletin->options['moodmanagermoods']);

foreach ($moodslist AS $mood)
{
$mood = trim($mood);
if ($mood == $vbulletin->userinfo['mood']) { $selectedmood = ' Selected'; } else { $selectedmood = ''; }
$vbmoods['mood'] .= '<option value="' .$mood. '"' .$selectedmood. '>' .$mood. '</option>';
$vbmoods['mood'] .= "\r";
}

if ($vbulletin->options['moodmanagerglobal'])
{
$search_text = '$vbphrase[private_messages_nav]';
$vbulletin->templatecache['navbar'] = str_replace($search_text,

$search_text.fetch_template('quick_mood_change_by_sniper'),$vbulletin->templatecache['navbar']);
}
else
{
eval('$usermoods = "' . fetch_template('quick_mood_change_by_sniper') . '";');
}
}
ajax.php is not in the external directory...

On my main page, the Mood just doesn't even display.
Templates > quick_mood_change_by_sniper:
<img src="images/mood/$bbuserinfo[mood].gif" border="0" />
replace it with:
<img src="http://www.yourdomain.com/forum/images/mood/$bbuserinfo[mood].gif" border="0" />
This hack won't work (unless updated) if you have some vb integrated pages out of the forum folder...
__________________
MsXLabs Forum

Last edited by NeutralizeR; 23 Sep 2006 at 03:07.
Reply With Quote
  #51  
Old 23 Sep 2006, 03:04
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Guys its working now Thank You.
Reply With Quote
  #52  
Old 23 Sep 2006, 04:30
Gaia Gaia is offline
 
Join Date: Sep 2004
Nice,

/me installs
__________________
[ http://eternal-realm.net ]
Reply With Quote
  #53  
Old 23 Sep 2006, 07:22
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Real name: Jason Williams
Originally Posted by -=Sniper=-
Exitilus; it should work on any page which uses the navbar template. I have it on my forums, works in the gallery, arcade etc.

Calibre_k; if you enable auto edit, in the admincp -> mood manager it should appear in the PM area, other wise you need to use "$usermoods" in the navbar to place it anywhere you want.

please have a read though the install file, if there are any parts you do not understand, please let me know so I can improve on it.

C_P; I ONLY use FF, so yes it works in FF.

thank you
Any suggestions on how to sort this small issue out - http://www.vbulletin.org/forum/showp...8&postcount=30 just one line between the mood drop down and another hack - I just can't find any br tags that might cause it....

Thanks!

Jason
Reply With Quote
  #54  
Old 23 Sep 2006, 07:58
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
steadicamop; try disabling the auto edit and do it manually.

NeutralizeR; does it work with the full path then?
Reply With Quote
  #55  
Old 23 Sep 2006, 09:35
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Real name: STEVE
weird this, just tried to selest "worried", and it shows a red x....

checked the directory, and worried aint even there.
on further investigation, a few others werent there either....


dont the images and the product run in synch??
Reply With Quote
  #56  
Old 23 Sep 2006, 12:15
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Originally Posted by -=Sniper=-
steadicamop; try disabling the auto edit and do it manually.

NeutralizeR; does it work with the full path then?
Except from the ajax.php section...
How can we state the full path for it?

I can see the mood images and the moods on the list but i can't change them...
__________________
MsXLabs Forum
Reply With Quote
  #57  
Old 23 Sep 2006, 16:41
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
I need to delete the moods which have no images, as simple as that, not a bug or anything.

NeutralizeRl; try using your domain before ajax.php
Reply With Quote
  #58  
Old 23 Sep 2006, 17:02
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Sniper, I know you allow users to place your code "anywhere you want" but maybe you should offer suggestions? I know myself not being a coder, placing anywhere I want, I'd be dropping in at the topp so I can remove it easier if it looks bad. Maybe for each section you could "suggest" a "find this and aftr it place code here"?
Reply With Quote
  #59  
Old 23 Sep 2006, 17:14
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Originally Posted by C_P
Sniper, I know you allow users to place your code "anywhere you want" but maybe you should offer suggestions? I know myself not being a coder, placing anywhere I want, I'd be dropping in at the topp so I can remove it easier if it looks bad. Maybe for each section you could "suggest" a "find this and aftr it place code here"?
will do later on though my suggested locations would be the auto edits
Reply With Quote
  #60  
Old 23 Sep 2006, 17:17
newbe_haselina newbe_haselina is offline
 
Join Date: May 2006
Originally Posted by -=Sniper=-
will do later on though my suggested locations would be the auto edits
Hi Sniper, that would be great
I'm also struggling with that stuff, because I'm everythin but a coder :knockedout:

Thanks for your advice :-)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:53.

Layout Options | Width: Wide Color: