View Full Version : Profile Enhancements - Mood Manager - with AJAX mood update.
-=Sniper=-
09-21-2006, 10:00 PM
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 https://vborg.vbsupport.ru/external/2007/07/1.php?attachmentid=53735
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.
projectego
09-21-2006, 10:51 PM
Looks awesome. Thanks! ;)
basilrath
09-21-2006, 10:54 PM
this is all you need..........moods etc
-=Sniper=-
09-21-2006, 10:59 PM
thanks I added them :)
Kihon Kata
09-21-2006, 11:19 PM
I use your OLD "Quick Mood Changer By Sniper" in my navbar. Once I added this update, it didn't work. I noticed there wasn't any changes to my navbar.
Any ideas?
-=Sniper=-
09-21-2006, 11:27 PM
remove the old hack fully, this hack makes the edit when loading the page, the only edit you need to make is in the postbit. (also make sure you ENABLE the hack in the admincp)
go though the old install file and undo it, then uninstall the product.
read the install file.
Lionel
09-21-2006, 11:31 PM
This is very nicely done. Unfortunately one drawback with those auto-installs, they don't take into account the other hacks. For example those of us who use the myspace profile do not use $customfields and if everyone starts placing things under the pm messages we will have a navbar that is half a page in length
-=Sniper=-
09-21-2006, 11:34 PM
I will update it so you can select your own location and disable the auto-install by default.
btw: which other hack adds something under the PM area? (just wondering :))
Lionel
09-21-2006, 11:45 PM
Thank you. In my navbar, I have Paul's M hack for number of unread posts, auto added; then the Pager hack, then Psionic Vision invites and comment alert. I still had to relocate the welcome username
-=Sniper=-
09-22-2006, 12:21 AM
ok, I have updated it, please check the install file and report any problems here.
Gripemaster
09-22-2006, 12:24 AM
Very nice... the old one was cool but this is very cool. *INSTALLED*
Lionel
09-22-2006, 12:42 AM
that works nice, thank you. And thank you also for your other hack clickable fields that I just found
glorify
09-22-2006, 01:20 AM
Backwards compatable to 3.5?
Comalies
09-22-2006, 01:40 AM
When you disable it, people's moods still show. :-/
Roxie
09-22-2006, 02:22 AM
Anyway to have a NO MOOD option, so that if the users change their minds and what no image to appear in the postbit, they could use that option?
Lionel
09-22-2006, 02:35 AM
make a transparent image
Hornstar
09-22-2006, 03:06 AM
Can you select which moods to allow for your members?
for example I want to enable it so, there are: away, busy, dinner, lunch, on phone, online, offline etc, kinda like how msn has done it. and when they go offline, there mood goes to offline automatically, and when they come online, they can not set it to offline (usergroup permissions set, only admins can make themselves appear offline.)
These few extra features would be awesome.
Thanks.
Thanks.
newbe_haselina
09-22-2006, 04:42 AM
Thats a great hack ... thanks for that.
But anyway, I have a newbe question. What does this auto-install do? I selected autoinstall, but nothing happend. From your install-file I don't understand what I have to change in which template.
Can somebody please help me :confused:
Exitilus
09-22-2006, 04:53 AM
Auto-Installs usually work by looking for a specific code and it's programmed to insert it's own code "after" or "before" what it was looking for.
Obviously if you customized the template that code could be changed / gone. So it can't auto-install. That means you have to manually put the code there which is provided.
Kihon Kata
09-22-2006, 05:03 AM
welp, I unstalled the old one completely and this NEW one doesn't work :(
edit: I fixed it, I h ad to manually add my moods back.
Any more ideas on this version?
Cyb, PM me if you want.
aycan555
09-22-2006, 09:30 AM
Verry nice hack, thank you...
Roxie
09-22-2006, 10:58 AM
make a transparent image
The transparent image will still show "Mood: "
I think we'd like it to disappear completely from the postbit.
-=Sniper=-
09-22-2006, 11:09 AM
Comalies; do mean they show in the postbit? I will make it so its disabled there is well.
Roxie; I will add the "no mood" option"
Plus I will make the install file a bit more clear.
Ricsca
09-22-2006, 01:31 PM
Thanks :)
Kihon Kata
09-22-2006, 02:03 PM
Cyb, Imma need some assistance with setting this up.(If you can) My board has over 600,000 posts and my members love this.
I currently use your old version on my 3.6.1 board.
PM me if you can :(
-=Sniper=-
09-22-2006, 02:53 PM
Kihon Kata; PM me with access to admincp and I will do it later as I have to go work in a few mins.
hornstar1337; that would require different hack.
Hack Updated
- Simply Import the product and make sure you select "allow overwrite"
Looks awesome. Thanks!
your brother MSA
Muellmann
09-22-2006, 03:56 PM
doesn't work, the drop-down box doesnt appear only the Text "My Mood: Change Mood"
I guess the Script works not with Mozilla Firefox, cause the Drop-down appears in the source of my website, it's only keep invisible. the "display:none" style is permanent active.
TheBlackPoet
09-22-2006, 04:07 PM
this is soooo much better... i was testing where i wanted the $usermoods tag to go.. when i put it where i thought i wanted it to go.. i didnt like it, so took it out... WHY IS THE DAMN THING STILL THERE EVEN THOUGH THE TAG IS GONE?
i deleted the product.. and deleted the tag... but it is still there....
any ideas why??
steadicamop
09-22-2006, 04:53 PM
Great hack love the AJAX idea works well, but how do I remove the extra line between the mood and my new posts/threads?
Pic attached to show.
Jason
Exitilus
09-22-2006, 05:33 PM
I'm wondering if perhaps this product can be made using the [forumhome] setup. I run my forum at http://forums.houseofcrazed.com ... but anytime someone is visiting my gallery (gallery.houseofcrazed.com) or main page (www.houseofcrazed.com) the Mood Hack doesn't work. :(
Gripemaster
09-22-2006, 05:34 PM
Thanks for the update!!! ;)
doesn't work, the drop-down box doesnt appear only the Text "My Mood: Change Mood"
I guess the Script works not with Mozilla Firefox, cause the Drop-down appears in the source of my website, it's only keep invisible. the "display:none" style is permanent active.
This one looks fun! I may install this only once confirmed FF compatible. Running Linux myself and pretty much only use FF browser as do alot of my members. Hopefully this can be confirmed/updated so I can install as well.
eNforce
09-22-2006, 08:26 PM
The drop down is working fine for me running the latest Firefox.
areyouserios.com if you want to check it out.
username: guest
password: guest
The drop down is working fine for me running the latest Firefox.
areyouserios.com if you want to check it out.
username: guest
password: guest
thank you for confirmation, How did you get system specs drop down in user profile? Nice addition to a PC help site like mine...
FYI, Yehaw, hung over, paranoid, in love, inspired, stressed and Worried do not display your images..
eNforce
09-22-2006, 08:37 PM
thank you for confirmation, How did you get system specs drop down in user profile? Nice addition to a PC help site like mine...
FYI, Yehaw, hung over, paranoid, in love, inspired, stressed and Worried do not display your images..
It's a modified version of this hack
https://vborg.vbsupport.ru/showthread.php?t=123253&highlight=extra
look on the right of the page for Add-Ons for the drop down
Calibre_k
09-22-2006, 08:38 PM
Where is the mood suppose to be?
Its on top of forum...
Mine shows over New Thread Image...
How can I get the mood to:
Calibre_k
Member
Join Date: Mar 2006
Posts: 40
Style: Smooth Blue
MOOD HERE
eNforce
09-22-2006, 08:43 PM
thank you for confirmation, How did you get system specs drop down in user profile? Nice addition to a PC help site like mine...
FYI, Yehaw, hung over, paranoid, in love, inspired, stressed and Worried do not display your images..
Oh, I looked into the moods;
Yeehaw is spelled incorrectly in the AdminCP I fixed that. (it was Yehaw)
The hung over image is not included in the package
In Love image is named incorrectly in the images dir, or vice versa, just have to match the names.
Inspired is working for me
Worried is also missing from the packages
Easy fixes for anyone who installs this mod
Gizmo5h1t3
09-22-2006, 08:46 PM
got this running sweet on 3.5...nice hack!!
-=Sniper=-
09-22-2006, 09:49 PM
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
redlabour
09-22-2006, 10:02 PM
Love it - somebody out there who can make German Icons ?
Muellmann
09-22-2006, 11:12 PM
Doesn't work in Firefox :(
If I remove the style "Display: none" it works and shows a Box, but a very long Box with Text
It works now fine. I removed all my old Firefox-Settings and uninstalled Firefox and reinstalled with the new 1.507.
now i figured out in what the problem is. if i anonymize my firefox and i make useragent.override then the ajax-script doesn't work.
I uninstalled it again
Lionel
09-23-2006, 12:18 AM
This is a real nice module, specially that now we can place the changer anywhere.
Is it hard to do a module for vbadvanced? The best place for me to display it would be in certain pages as the first right item
Calibre_k
09-23-2006, 12:24 AM
How will Users know what my mood is?
You know where on the left people have there avatar how can I have my moods there so other users can view my mood?
Gread mod I must say, Thank you.
eNforce
09-23-2006, 12:37 AM
How will Users know what my mood is?
You know where on the left people have there avatar how can I have my moods there so other users can view my mood?
Gread mod I must say, Thank you.
step 3 in the instructions
Lionel
09-23-2006, 12:40 AM
Perfect. The vbadvanced module was the easiest one ever for me to make.
Exitilus
09-23-2006, 12:57 AM
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.
NeutralizeR
09-23-2006, 01:02 AM
Perfect. The vbadvanced module was the easiest one ever for me to make.
How did you do it?
Calibre_k
09-23-2006, 01:26 AM
step 3 in the instructions
Yep I've done that but it doesnt show.
NeutralizeR
09-23-2006, 01:58 AM
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...
Calibre_k
09-23-2006, 02:04 AM
Guys its working now Thank You.
steadicamop
09-23-2006, 06:22 AM
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 - https://vborg.vbsupport.ru/showpost.php?p=1080778&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
-=Sniper=-
09-23-2006, 06:58 AM
steadicamop; try disabling the auto edit and do it manually.
NeutralizeR; does it work with the full path then?
Gizmo5h1t3
09-23-2006, 08:35 AM
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??
NeutralizeR
09-23-2006, 11:15 AM
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...
-=Sniper=-
09-23-2006, 03:41 PM
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
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"?
-=Sniper=-
09-23-2006, 04:14 PM
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 :)
newbe_haselina
09-23-2006, 04:17 PM
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 :-)
NeutralizeR
09-23-2006, 09:20 PM
I think it looks better this way (at least for my own style):
Download mymood.gif below: (Right click and "Save as...")
https://vborg.vbsupport.ru/
Upload mymood.gif to /forum/images/mood/ folder...
Open your quick_mood_change_by_sniper template:
Replace:
$vbphrase[my_mood]:
with the code below:
<img src="images/mood/mymood.gif" width="72" height="15" border="0" />
Replace:
<script type="text/javascript"> vbmenu_register("moods"); </script>
with the code below: (if you don't want the arrow icon)
<script type="text/javascript">vbmenu_register("moods" ,1);</script>
Result:
http://img230.imageshack.us/img230/6974/snap4qm1.png
For the postbit_legacy template:
Replace:
<if condition="!empty($post[mood])">
<div>
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
</div>
</if>
with the code below:
<if condition="!empty($post[mood])">
<div><img src="images/mood/mymood.gif" width="72" height="15" border="0" /> <img src="images/mood/$post[mood].gif" border="0" />
</div>
</if>
Result:
http://img235.imageshack.us/img235/4030/snap3sf2.png
NeutralizeR
09-23-2006, 09:39 PM
steadicamop; try disabling the auto edit and do it manually.
NeutralizeR; does it work with the full path then?
Yes, i've solved the vBadvanced CMPS problem...
Add vbmoods to Portal Output Global Variables list.
If you use vBadvanced and the index of it is not located in the same directory with your forum e.g. http://www.msxlabs.org/index.php (my vbadvanced page), http://www.msxlabs.org/forum/ (my forums), you have to edit these template and the plugins:
quick_mood_change_by_sniper template:
Add the bold text:
<img src="http://www.yourdomain.com/forum/images/mood/$bbuserinfo[mood].gif" border="0" />
Plugin Manager > [Mood Manager] - Ajax Update:
die("<img src=\"http://www.yourdomain.com/forum/images/mood/" . $new_mood. ".gif\" border=\"0\" />");
Plugin Manager > [Mood Manager] - Make Drop Down Menu:
ajax_mood.send(\'../forum/ajax.php\', \'do=insertmood&mood=\' + PHP.urlencode(mood));
Thanks for the hack
Emanet-Kaos
09-23-2006, 10:29 PM
thanks very much, cool hack :O)
Lionel
09-24-2006, 02:56 PM
How did you do it?
create a template adv_portal_mymood
<tr>
<td>$usermoods</td></tr>
here is the module (basically the same as hack. Only this line is added : eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_mymood') . '";');
)
<?php
if ($vbulletin->options['moodmanageronoff'])
{
$vbulletin->templatecache['header'] .= '<script type=\"text/javascript\">
<!--
function update_mood()
{
fetch_object(\'mood_box\').innerHTML = \'Updating...\';
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(\'/forums/ajax.php\', \'do=insertmood&mood=\' + PHP.urlencode(mood));
}
//-->
</script>';
$moods = explode("\n", $vbulletin->options['moodmanagermoods']);
foreach ($moods AS $mood)
{
$mood = trim($mood);
if ($mood == $vbulletin->userinfo[mood]) { $selected = ' Selected'; }
$moods[mood] .= '<option value="' .$mood. '"' .$selected. '>' .$mood. '</option>';
$moods[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('adv_portal_quick_mood_change_by_sn iper') . '";');
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_mymood') . '";');
}
}
?>
use shell module
NeutralizeR
09-24-2006, 03:20 PM
create a template adv_portal_mymood
<tr>
<td>$usermoods</td></tr>
here is the module (basically the same as hack. Only this line is added : eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_mymood') . '";');
)
<?php
if ($vbulletin->options['moodmanageronoff'])
{
$vbulletin->templatecache['header'] .= '<script type=\"text/javascript\">
<!--
function update_mood()
{
fetch_object(\'mood_box\').innerHTML = \'Updating...\';
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(\'/forums/ajax.php\', \'do=insertmood&mood=\' + PHP.urlencode(mood));
}
//-->
</script>';
$moods = explode("\n", $vbulletin->options['moodmanagermoods']);
foreach ($moods AS $mood)
{
$mood = trim($mood);
if ($mood == $vbulletin->userinfo[mood]) { $selected = ' Selected'; }
$moods[mood] .= '<option value="' .$mood. '"' .$selected. '>' .$mood. '</option>';
$moods[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('adv_portal_quick_mood_change_by_sn iper') . '";');
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_mymood') . '";');
}
}
?>
use shell module
Thanks for the reply... I've found an alternative way as i have many non-vbulletin pages in different folders integrated to forum database.
Exitilus
09-24-2006, 09:33 PM
Yes, i've solved the vBadvanced CMPS problem...
Add vbmoods to Portal Output Global Variables list.
If you use vBadvanced and the index of it is not located in the same directory with your forum e.g. http://www.msxlabs.org/index.php (my vbadvanced page), http://www.msxlabs.org/forum/ (my forums), you have to edit these template and the plugins:
quick_mood_change_by_sniper template:
Add the bold text:
Plugin Manager > [Mood Manager] - Ajax Update:
Plugin Manager > [Mood Manager] - Make Drop Down Menu:
Thanks for the hack
I also had to add usermoods to the Global Output for vBadvanced to get it working.
Though I'm still having a problem with the final edit. the ../forums/ajax.php\
If I set that it will work on the vbAdvanced Page. But will not work in the main forums. Though what I really need to do is specify a exact path. I have two different folders, gallery and forums. So obviously when I'm in gallery folder the mod doesn't work because of the directory. if I can define the exact location or url .. then it woudl work. Just dunno how :|
NeutralizeR
09-24-2006, 11:14 PM
I also had to add usermoods to the Global Output for vBadvanced to get it working.
Though I'm still having a problem with the final edit. the ../forums/ajax.php\
If I set that it will work on the vbAdvanced Page. But will not work in the main forums. Though what I really need to do is specify a exact path. I have two different folders, gallery and forums. So obviously when I'm in gallery folder the mod doesn't work because of the directory. if I can define the exact location or url .. then it woudl work. Just dunno how :|
Did you try /forums/ajax.php ?
****
Can you type all of the custom folders you have?
Exitilus
09-25-2006, 12:13 AM
In my public_html directory I have gallery and forums directories.
But I use them in such a way as forums.houseofcrazed.com and gallery.houseofcrazed.com
if I try /forums/ajax.php it will only work on my vbadvanced page.
Morrus
09-25-2006, 12:27 AM
Seems to work fine. Even got it displaying in my blog area.
However, I can't seem to get it to show up in the postbit. Wherever I place it, nothing happens. Any ideas?
I addition, if the user has not slected a mood, I get a broken image. Right-clicking indicates it's trying to find an image with no name (images/moods/.gif).
Adrian Schneider
09-25-2006, 12:36 AM
Cool hack... may add it to one of my sites.
Morrus
09-25-2006, 12:49 AM
How will Users know what my mood is?
You know where on the left people have there avatar how can I have my moods there so other users can view my mood?
Gread mod I must say, Thank you.
Same problme here - doing the postbit edit in the install instructions has no effect. Did you manage to solve it?
Kihon Kata
09-25-2006, 02:39 AM
Sniper, question.
The table seems to be extra tall where and opens up a kinda large space where the hack goes. LOok at my forums here (http://www.makeuptalk.com/forums) and you'll see what I'm talking about
icemanic
09-25-2006, 07:02 AM
hey, this is weird, my mods and admins can see it, the drop down ajax mod, and can change moods, but the drop down ajax mood menu box is missing from registered users, how do i get this to be there?
murrtex
09-25-2006, 07:20 AM
love,yehaw,worried,stressed,phsciadelic,paranoid,h ungover gifs are absent in the gif pack.
have you ??
-=Sniper=-
09-25-2006, 09:09 AM
Anyone, If you have the OLD "Quick Mood Changer By Sniper" installed, uninstall it.
I'll update it so users have the need to change the image patch can do so though the admincp, rather than edit the plugin and the update on the instructions.
Morrus; it should display nothing if the user has "no mood" selected, make sure the user has a mood selected for it to disaply in the postbit.
Kihon Kata; I'm gona look at that later on, I'm starting last year at uni this weekm so not had as much time.
icemanic; it should display for all members, are you using the auto edit or you edited the templates your self?
murrtex; some mood images are there but the mood names do not match, I'm gona fix that, other than that you will have find some more moods, as I don't have any more.
Kihon Kata
09-25-2006, 12:31 PM
Kihon Kata; I'm gona look at that later on, I'm starting last year at uni this weekm so not had as much time.
Thanks very much Sniper. I've included a snapshot to better show you :)
Morrus
09-25-2006, 02:17 PM
Morrus; it should display nothing if the user has "no mood" selected, make sure the user has a mood selected for it to disaply in the postbit.
Gimme some credit! :)
I had a mood selected, and the moods are displaying just fine in the profile. It's the postbit only where the problem is arising.
icemanic
09-25-2006, 03:10 PM
SNIPER: I am using auto-edit, i have logged in as admin and i see mood dropbox and change moods, if i log in as a regular user, i see no mood dropbox and cannot change moods i have even reverted templates fully for the navbar to try to see what may go wrong but problem persists
-=Sniper=-
09-25-2006, 10:31 PM
ok, I think a manual edit might help, I will update tomorrow after uni with a suggested location.
Morrus; PM admin access to have a look so I can see whats going wrong.
Exitilus
09-25-2006, 11:17 PM
Meh .... I guess there is no way to specify the actual path to ajax.php ? (Either with URL or Web Folder). Been trying to figure it out but no luck :|
-=Sniper=-
09-25-2006, 11:19 PM
Exitilus; I would need admin access so I can try and fix the problem but I won't be able to until later on, on sunday.
I will update the hack, I've fixed a template issue on another users site, just need to update the hack now.
icemanic
09-26-2006, 12:00 AM
i tried a manual edit of templates but cannot get $usermoods to show up in navbar, all i get is a bold "My Mood" to the right of private message total #
there is no ajax code or programming or menu dropbox.........
but on the other hand, the postbit edit seems to display a mood that was previously set
what must i do?
also, ihave PM's off for regular users, if this may be a conflict.......
BellyBelly
09-26-2006, 12:36 AM
I hope this hasn't already been mentioned, I am lost - but its all gone in well and I want to know how I can make it so that you can see someone's mood without going into their profile - e.g. having it with their user details next to the posts? Have I done something wrong?
Also something further down the track perhaps, am I able to change the images for just text, to save the load on the busier forums?
ETA: Some people can see the moods in the posts and most can't? Weird...
Exitilus
09-26-2006, 01:28 AM
Exitilus; I would need admin access so I can try and fix the problem but I won't be able to until later on, on sunday.
I will update the hack, I've fixed a template issue on another users site, just need to update the hack now.
I'll send you a PM with some Information.
hotwheels
09-26-2006, 01:31 AM
Thanks sniper, another fine job.
BellyBelly
09-26-2006, 03:57 AM
Update - I have most working but some people you still cant see their mood - when you go into their profile, it says, 'my mood' but theres a white box with a red cross. If you check the properties it is referencing the file: .gif - no filename just extention. Any ideas?
Throtex
09-26-2006, 12:17 PM
I think it looks better this way (at least for my own style):
Download mymood.gif below: (Right click and "Save as...")
http://img63.imageshack.us/img63/4379/mymoodtl6.gif
God, some of you people make me wish I graduated past crayons :D Your postbits look phenomenal, NeutralizeR!
This hack was an instant hit on my board ... thank you, Sniper!
One quick question -- the variable you stick in the navbar to get the mood selector to show up doesn't appear to be in scope on the navbar if using vbAdvanced. Anybody know off-hand how to bring it into scope?
-=Sniper=-
09-26-2006, 04:40 PM
icemanic; yes that can be a problem, do the manual edit instead.
Throtex; thanks, but not quite sure what you mean?
Throtex
09-26-2006, 05:06 PM
Throtex; thanks, but not quite sure what you mean?
It's nothing to do with your hack, really ... but to use with vbAdvanced you can add the "usermoods" variable to the global variable list ... but then the image path is off (relative path) and images will be broken (it looks in /images/mood rather than /forums/images/mood). I'll just have to go in and hard-code my path. :)
icemanic
09-26-2006, 10:34 PM
i tried to do a manual edit, but like i mentioned, all i get is a boldfaced "My Mood" where there should be the drop down menu ajax box but.... and no drop down menu/etc
FSFwebmaster
09-27-2006, 03:26 AM
where do i stick steps 4 & 5 to make this work. anywhere is just no working for me :P just want it to show up like in the demo picture. can you give me a more specific place please
GrendelKhan{TSU
09-27-2006, 10:59 AM
how many queries does this add to the boards? is there any issue with server load or with big boards?
looks great :)
-=Sniper=-
09-27-2006, 02:11 PM
icemanic; have you disabled the auto edit is well?
FSFwebmaster; just enable the auto edits in the admincp, thats what the demo uses.
GrendelKhan{TSU; it uses the datamanager to update the user mood, you will have NO server load issues.
StarshipTrooper
09-27-2006, 04:59 PM
Exitilus; it should work on any page which uses the navbar template. I have it on my forums, works in the gallery, arcade etc.
Hi,
This is an awesome hack. It runs well on my forums, but is there a way to get it to work with vbPortal? vbPortal uses "P_block_navbar" instead of "navbar".
Regards,
Nathan
Webmaster@BattlestarGalacticaClub.com
-=Sniper=-
09-28-2006, 10:11 PM
you will need the asks the guys over at vbPortal for help.
I will issue the next update during the weekend.
FSFwebmaster
09-29-2006, 08:09 AM
how do i turn on the auto edit?
GlitterKill
09-29-2006, 01:47 PM
I went through and remade the missing smilies as well as added a new "Pimpin" one. :) Here they are. (Like already stated in this thread... some are not missing, just mispelled in the options such as In Love, Psychadelic and Yeehaw). Maybe we can get others to share their new mood/icons as well? :)
StarshipTrooper
09-29-2006, 03:19 PM
you will need the asks the guys over at vbPortal for help.
Hi,
Okay, will do. I'll post a link here if they manage to get it up and running with vbPortal. GlitterKill, thanks for posting the new moods. Just added them to my forums!
Regards,
Nathan
Throtex
09-29-2006, 06:36 PM
I went through and remade the missing smilies as well as added a new "Pimpin" one. :) Here they are. (Like already stated in this thread... some are not missing, just mispelled in the options such as In Love, Psychadelic and Yeehaw). Maybe we can get others to share their new mood/icons as well? :)
Awesome!
oberheimhaven
09-29-2006, 08:21 PM
Awesome another great hack with zero issues on install 3.6.0
Thxs
MarkAnthony
davelacey
09-29-2006, 09:37 PM
Sweet hack. *clicks install*
Thankyou.
And nicely done, GlitterKill. Thanks to you also. :)
oberheimhaven
10-01-2006, 12:36 AM
One minor question where do i put the mood file for cmps? Is this compat thanks other than that I had no problem at all thxs again!
frosch68
10-05-2006, 06:01 AM
i would like to have the mood icons in the detail of whosonline
what should i insert there ?
thanks !!
TheBlackPoet
10-05-2006, 07:24 AM
yeah i completed deleted the mood hack and the made sure it was out of the code... and its majic.... still there.... like a 3 day old house guest..
i like the hack, i just want to move to another location.... but it must like the spot it got..
TVNettet
10-05-2006, 07:45 AM
Nice one thx!!
paul41598
10-05-2006, 03:38 PM
Database error in vBulletin 3.6.1:
Invalid SQL:
UPDATE user SET
mood = 'Angelic'
WHERE userid = 1;
MySQL Error : Unknown column 'mood' in 'field list'
Error Number : 1054
transitbus
10-05-2006, 07:27 PM
Well had to reinstall it to get it working but it works now :/
One more thing, the option to turn off and on is too confusing. Can you make it an off or on radio button instead of yes/no? As it stands it asks if you want the ability to turn it off/on and the answers are yes/no but which is off and which is on?
WESH(UK)
10-06-2006, 02:12 AM
Just installed this in 5 minutes flat and works a treat!!!
Nice easy instructions..
This is why vBulletin rocks! Thanks dude...:laugh:
paul41598
10-06-2006, 11:20 AM
Id like to see the dropdown to change a mood in your postbit rather the navbar. Any way?
adonfun
10-06-2006, 12:20 PM
Great Hack! :) Going to install in on 3.6.2 :)
Wheemer
10-07-2006, 04:34 AM
Id like to see the dropdown to change a mood in your postbit rather the navbar. Any way?
That option is already built in...
This is a nice mod, I love how it makes the template edits automatically, this should be the standard method of making mods.
paul41598
10-08-2006, 12:35 AM
That option is already built in...
This is a nice mod, I love how it makes the template edits automatically, this should be the standard method of making mods.
um, no..
the mood is displayed in the postbit, but not the actual dropdown selection
Aclikyano
10-08-2006, 04:42 AM
some reason my server load SKYROCKETED after install...
nice hack tho.
Shazz
10-08-2006, 04:51 AM
I get this Red X if they haven't chosen a mood :(
Kanustep
10-08-2006, 11:48 AM
Great Sniper, what software you use to capture the animation?
Sniper thanks for this nice hack. Everything is great except for users who has not set their mood, a red x shows in internet explorer.
One more thing I noticed is somehow after I installed this hack on Vb 3.6.1, only post count of userid = 1 has become zero. I rebuilt user post counters and I cannot recreate it again.
-=Sniper=-
10-08-2006, 05:09 PM
HACK UPDATED
ravi; Shazz; it should be fixed in the latest version, upgrade and let me know
Kanustep; screenflash
Aclikyano; the hack uses ZERO queries when displaying the mood, and uses the datamanager to update the mood, so I can't say what could be causing your server load.
paul41598; yes its possible, you can use this 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> <script type="text/javascript"> vbmenu_register("moods"); </script> but you will need to add conditions, so only the logged in user can see the option and others see his/her normal mood.
I have installed this update . Works nice with following issues.
After we change the mood the small inverted triangle icon disappears untill page is refreshed(same in IE and Firefox)
After we change mood the dropdown menu does not disappear in Firefox untill we click the mouse somewhere on the page. Please see the image below.
http://img15.imgspot.com/u/06/280/15/moodchange1160335263.gif
I have tried to upgrade and also uninstall and install same results. In template memberinfo , adding mood manager code under $customfields doesn't display user mood in profile view, but if we put the same code elsewhere it shows up.
Thank you
Shazz
10-08-2006, 06:41 PM
Thax ill try it out now :)
-=Sniper=-
10-08-2006, 06:55 PM
ravi; please download the new zip it contains the updated template, as I made it without the little triangle, should not be there.
After we change the mood the small inverted triangle icon disappears untill page is refreshed(same in IE and Firefox)
After we change mood the dropdown menu does not disappear in Firefox untill we click the mouse somewhere on the page. Please see the image below.thats the way the vbulletin menus work, I can't change it.
Shazz
10-08-2006, 06:56 PM
*Re downloads the zip again...
Shazz
10-08-2006, 07:00 PM
That fixed the triangle problem ! :)
oberheimhaven
10-08-2006, 07:32 PM
Will this work VBcmps? where so I load image files for vbcmps?
thxs
MarkAnthony
-=Sniper=-
10-08-2006, 08:09 PM
you can try but I will only provide support for the vbulletin only version, sorry.
Kaleem
10-08-2006, 10:05 PM
Working fine thanks for the Update :)
adonfun
10-08-2006, 10:38 PM
You did a good job wih the mood menu! 100% Good :)
Dragonsfury
10-09-2006, 12:32 AM
How could I make it display a users mood under thier avatar.. I know it's a template edit but what would the code be
Dragonsfury
10-09-2006, 12:46 AM
ok I'm lame.. I found in the readme of all places.... sheesh who woulda thunk it..
paul41598
10-09-2006, 05:26 PM
paul41598; yes its possible, you can use this 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> <script type="text/javascript"> vbmenu_register("moods"); </script> but you will need to add conditions, so only the logged in user can see the option and others see his/her normal mood.
Dont think that works too well sniper :(
category
10-09-2006, 06:22 PM
does it only work in the navbar? becuase my navbar is in my forumhome will it work?
oberheimhaven
10-09-2006, 06:57 PM
Where would I put the images? For vbcmps???? Its showing up minus images where do i put them anyone
' Thxs
hotwheels
10-09-2006, 11:33 PM
Hey sniper, if you want, i have a mood image file with about 120 different moods.....
I am not able to post the file here for some reason........
hotwheels
10-10-2006, 10:58 AM
For those that want a bunch of moods per some of the email request's i recieved.....there are about 120 moods in this zip and i added them to the .xml file also, which is inside the zip file, but it doesn't seem to change the settings.......If you use these mood images here....
goto your admincp, after you uploaded the images, then vbulletin options, and locate sniper's mood menu, delete all of his mood image name's and then just copy and paste this list in it's place: (This list here is censored, if you go into the xml and copy the list from in there, you won't have the censored words)
Aggressive
Amazed
Amused
Angelic
Angry
Apprehensive
Approved
+++++++
Asleep
Bahahaha
Bashful
+++++ed
+++++y
Blah
Blowme
Bookworm
Bored
Breezy
Brooding
Busy
Buzzed
Chatty
Cheeky
Cheerful
Cloud_9
Cold
Confused
Cool
Crackhead
Crappy
Curmudgeon
Cynical
Daring
Dead
Depressed
Devilish
Disapprove
Doh
Doubtful
Drunk
Dunce
Errrrrr
Fine
Flirty
FootMouth
++++you
Gay
Gloomy
Goofy
Grumpy
Hacker
HaHa
Hangover
Happy
Horny
Hot
Hotflash
Hungover
Hungry
IDB
In Love
Innocent
Inpain
Inspired
In_Love
joker
Lonely
Loser
Love
Lurking
Mad
Mellow
Nerdy
Onphone
Ornery
Paranoid
Party
Persnickety
Pensive
Pimp
Pissedoff
Psychadelic
Question
Relaxed
Roflol
Sad
Sassy
Scared
Shh
Shocked
Sick
Sleepy
Smokin
Sneaky
Starving
Stoned
Stressed
Stuck
Studly
sunshine
Suspicious
Talkative
Tell
Thinking
Tolerant
Tired
Torn
Twisted
Vilified
Volatile
Wasted
Where
Wicked
Woot
Worried
Yeehaw
Then click save...........and you will have all of these moods to choose from.....
If there is a mood you don't want in the list, then just delete it from this list in snipers menu and click save.
GrendelKhan{TSU
10-10-2006, 01:44 PM
doh! just installed newest version.. 1.2.3
but now the moods display NEXT to the private messges. :/ yikes!
how do I fix that? or can you make a quick check/fix update?
see here: http://www.clantsu.org/forums/index.php
hotwheels
10-10-2006, 02:25 PM
Looks like you may have forgotten the <br /> , go back into your navbar templates, and locate $vbphrase[private_messages_nav] then place the <br />$usermoods underneath the above code.......
engager
10-10-2006, 02:48 PM
Well done, hotwheels, on your contribution! Greatly appreciated, m8! Thanks also to, -=Sniper=- , for this great hack! :) A super addition to the forum!
Br.
GrendelKhan{TSU
10-10-2006, 03:17 PM
Looks like you may have forgotten the <br /> , go back into your navbar templates, and locate $vbphrase[private_messages_nav] then place the <br />$usermoods underneath the above code.......
cool thanks!
(interestingly..I didn't "do" anything. just imported new versoin of product and overwrote :/ ::confused: dunno.) anyway all better..thanks! :)
hotwheels
10-10-2006, 03:28 PM
not a problem, glad to offer help.......
category
10-10-2006, 06:51 PM
so can anyone tell me will this hack works if i put it in my forumhome?
hotwheels
10-10-2006, 08:03 PM
It gives your user a chance to show what kind of mood they are in......grumpy, happy, hungry, etc. Just put's up a little gif in the user's postbit showing such.....
-=Sniper=-
10-10-2006, 10:05 PM
so can anyone tell me will this hack works if i put it in my forumhome?it should do but I can't say for sure...
Kuimera
10-11-2006, 03:33 AM
Tks for the update -=Sniper=- *
category
10-11-2006, 05:59 PM
ahh doesnt work for me :( guess i have to unistall it
hotwheels
10-11-2006, 11:53 PM
What's it doin category?
category
10-12-2006, 05:51 PM
just doesnt loads at all
johnstires
10-13-2006, 08:53 PM
How can I set this up so it is just text, rather than an image. I want to add a ton of moods but would like it to be just text.
I added a text entry to test, but it just showed up blank.
Great Hack!
-=Sniper=-
10-13-2006, 09:05 PM
How can I set this up so it is just text, rather than an image. I want to add a ton of moods but would like it to be just text.
I added a text entry to test, but it just showed up blank.
Great Hack!
thats what I have on my site, text only. Will post it during the weekend sometime if I get the time.
johnstires
10-13-2006, 09:21 PM
I think by adding and choosing a text option I broke it. I tried deleting the text option but that didn't fix it. I also tried uploading an image but that didn't work either. My mood is just blank.
is there a way to refresh?
My other members have it working. But thier profile pages shows a duplicate mood. One at the top of the custom fields, another at the bottom. <edit> I figured the duplication out, I had the auto file edits on and did the edits manually myself.
Invalid ID
10-14-2006, 12:34 AM
Good, it's nice :)
Is it possible to display it with all the posts ... under Join Date?
Invalid ID
10-14-2006, 01:09 AM
I think by editing postbit you mean to display it on the posts as well, but it's not working.
It's showing the mood only in the profiles.
Invalid ID
10-14-2006, 11:34 AM
Done.. it's working.. Thanks :)
Aclikyano
10-14-2006, 09:04 PM
:) ...
KevNJ
10-14-2006, 10:14 PM
* clicks install *
* current mood - cool *
pretty neat thanks!
edit i tried the edit in post 62
https://vborg.vbsupport.ru/showpost.php?p=1081814&postcount=62
cause im using vba cmps and this doesnt show up. but that doesnt work. any help ?
Ophelia
10-15-2006, 02:46 AM
How would I get this to show up when we go to our Photopost? In the Welcome ... username, it says "My Mood:" but doesn't show the graphic.
johnstires
10-15-2006, 03:50 AM
How would I get this to show up when we go to our Photopost? In the Welcome ... username, it says "My Mood:" but doesn't show the graphic.
Try this, it worked for vba cmps:
https://vborg.vbsupport.ru/showpost.php?p=1081814&postcount=62
Ophelia
10-15-2006, 04:22 AM
Try this, it worked for vba cmps:
https://vborg.vbsupport.ru/showpost.php?p=1081814&postcount=62
Is this just specific to CMPS, or you suppose it will work for Photopost too?
KevNJ
10-15-2006, 04:26 AM
Try this, it worked for vba cmps:
https://vborg.vbsupport.ru/showpost.php?p=1081814&postcount=62
Tried that as stated above.. didnt work.
edit: was missing the " ;" guess i deleted it earlier.. works now :)
KevNJ
10-15-2006, 04:32 AM
Is this just specific to CMPS, or you suppose it will work for Photopost too?
im using vb gallery and photopost and vbgallery run pretty much off the exact settings... so this should work without problems.
Ophelia
10-15-2006, 02:36 PM
Editing, I found what I was looking for.
KevNJ
10-16-2006, 08:55 PM
For those that want a bunch of moods per some of the email request's i recieved.....there are about 120 moods in this zip and i added them to the .xml file also, which is inside the zip file, but it doesn't seem to change the settings.......If you use these mood images here....
goto your admincp, after you uploaded the images, then vbulletin options, and locate sniper's mood menu, delete all of his mood image name's and then just copy and paste this list in it's place: (This list here is censored, if you go into the xml and copy the list from in there, you won't have the censored words)
Then click save...........and you will have all of these moods to choose from.....
If there is a mood you don't want in the list, then just delete it from this list in snipers menu and click save.
Works great thanks!!
hotwheels
10-17-2006, 06:28 PM
you are very welcome..........
johnstires
10-17-2006, 11:17 PM
thats what I have on my site, text only. Will post it during the weekend sometime if I get the time.
Hey Sniper, have you been able to get around to this?
Greek76
10-18-2006, 05:44 PM
For some reason in a members profile the mood is shown twice, once on top and once in the bottom... Is their a way to fix this? Thanks.. Great mod by the way..
johnstires
10-18-2006, 08:29 PM
For some reason in a members profile the mood is shown twice, once on top and once in the bottom... Is their a way to fix this? Thanks.. Great mod by the way..
I had this same problem. Go to vBulletin Options > [Sniper] Mood Manager > Auto Edit Member Info
and set to No.
Right now you have added the code twice. Once here and once with the manual edt to the template.
category
10-18-2006, 08:39 PM
hey anybody can help me add the quick mood to forumhome?
FleaBag
10-18-2006, 10:30 PM
Fabulous hack - worked right out of the box for me. Thank you! :)
dimeola
10-21-2006, 04:58 PM
thank youuuu :D
Carmen27
10-22-2006, 02:13 AM
This works great on my forum but not on my CMPS (vbadvance)
Any suggestions or am I doing something wrong. It's just showing blank and I can't see the graphics but I can see them in the forum..
http://www.hispanicmilitarywives.com
Carmen27
10-22-2006, 02:37 AM
I read all the threads in this board and did the changes to the Global, but i still can't change my mood from the vbadvanced portal. I can't change either from the Arcade and Gallery. But it's fine on the forum. Does anyone have any know how to make it work? Carmen
teenhut
10-22-2006, 06:30 AM
I added postbit legacy code.
The mood does not show up in the post bit.
Is it only for default template?
please see : - www.teenhut.net/forums.php
Or this link : - http://www.teenhut.net/showpost.php?p=37946&postcount=1992
Please help me!
nabeelaejaz
10-22-2006, 09:06 AM
There is a background color specified in Ajax ToolTip file, how do i change that. Its overwriting the orginal color that I intended. please help. thank you.
abramelin
10-22-2006, 09:50 AM
where can i change the "updating..." phrase?
Works for me, very nice hack VB 3.6.2 :classic:
Now I only have to remake the images in Dutch :eek:
Thank you
Ooops, *click Install *
Greek76
10-22-2006, 11:55 PM
I have another problem with it , when a user chooses another mood, it gets stuck on update so you have to refresh your forum in order for the new mood to pop up any ideas? I had to disable temporarily until I can get that fixed. Also like the other user mentioned is their a way to get it for vbadvanced?
captainslater
10-23-2006, 05:09 PM
German phrases and images can be found on the official german hackforum (http://www.vbhacks-germany.org/showthread.php?t=5541).
Exitilus
10-24-2006, 08:30 PM
I've managed to come up with a fix for those of you whom are having trouble getting this working in seperate directories / folders than your forum directory. Simply edit this file and input your forum path and upload it.
I created a PHP file that just points to the forums ajax.php. Make sure you DO NOT UPLOAD THIS INTO YOUR FORUM DIRECTORY ...
You also need to add Portal Output Global Variables to your VB Advanced page of:
usermoods
vbmoods
erhanerhan_5
10-25-2006, 05:39 AM
hi all,
i have a question;
i installed this hack at the localhot. is working...
but i installed my forums not working. why??
oldengine
10-26-2006, 02:26 AM
Yes, i've solved the vBadvanced CMPS problem...
Add vbmoods to Portal Output Global Variables list.
If you use vBadvanced and the index of it is not located in the same directory with your forum e.g. http://www.msxlabs.org/index.php (my vbadvanced page), http://www.msxlabs.org/forum/ (my forums), you have to edit these template and the plugins:
quick_mood_change_by_sniper template:
Add the bold text:
Plugin Manager > [Mood Manager] - Ajax Update:
Plugin Manager > [Mood Manager] - Make Drop Down Menu:
I made the edits. I now have the image OK, but you cannot change moods in vBAdvanced Links or PPvBGallery.
Shazz
10-26-2006, 02:45 AM
in vBAdvanced yes you can
Carmen27
10-26-2006, 03:54 AM
I've managed to come up with a fix for those of you whom are having trouble getting this working in seperate directories / folders than your forum directory. Simply edit this file and input your forum path and upload it.
I created a PHP file that just points to the forums ajax.php. Make sure you DO NOT UPLOAD THIS INTO YOUR FORUM DIRECTORY ...
You also need to add Portal Output Global Variables to your VB Advanced page of:
usermoods
vbmoods
Nice, works great on the vbadvance..Thanks.. Carmen
Inferno Dragon
10-26-2006, 04:39 PM
I had a old version of this hack working fine on my 3.5.x forum, I just updated my forum to vb3.6.2 and installed this hack successfully (fresh install..after removing the old mod).
Now, the problem is whenever I try to change the mod from the navigationbar dropdown..it gives me the following error:
Parse error: syntax error, unexpected '<' in /home/illusion/public_html/ajax.php(44) : eval()'d code on line 1
EDIT: Sorry..this error was due to a old plugin..I just disable it and now it's working fine..great hack! :)
|oR|Greg
10-26-2006, 07:10 PM
I made a very minor update to this.
In the postbit_ template (whichever one you're using), I added to the IMG line:
alt="$post[mood]"
In the event that images aren't showing for some reason.
any ideas how i can get this to work with the groups hack (/groups)
johnstires
10-30-2006, 08:18 PM
I made a very minor update to this.
In the postbit_ template (whichever one you're using), I added to the IMG line:
alt="$post[mood]"
In the event that images aren't showing for some reason.
This works great for the postbit but how does this work for the navbar? Currently if the image doesn't show in the navbar the mood ajax is not accessible. I'd like to add moods without images, but currently images are required.
big dan
10-31-2006, 07:36 PM
Nice Mod, Thank you much! :)
Battle_Ring
11-05-2006, 03:26 AM
is there a way to make it so say you post wit ha mood of happy then you change it later to mad your old posts dont also change to mad
thepub
11-05-2006, 06:45 PM
I installed this and it worked wonderfully, then 3 minutes later it stopped working for me completely. Some members say it works for them but it isn't working for me at all. Any advice on what I can do???
iran.gs
11-06-2006, 01:06 PM
Re Installed l had ur old one and it was conflicting i remove
$vbphrase[qmc_my_mood]:
<!-- / 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 -->
and now everything works fine ............. 3.62
thenetbox
11-06-2006, 02:07 PM
Does this also show any sort of statistics like how many people have what moods?
Loxor
11-06-2006, 05:05 PM
works brilliantly a welcome addition thank you
rinkrat
11-07-2006, 01:54 AM
Works great. Good for the board ;)
Thanks for this!
Wheels
11-07-2006, 06:26 AM
Typo in Admin....
"Type in all the moods you wany here, press ENTER after each mood"
Shouldn't it be "Type in all the moods you want here....."
Great Plug-in though! :)
rinkrat
11-07-2006, 03:12 PM
Wht? No HORNY? THat is how I feel 90% of the day.
The Itchy One
11-07-2006, 09:09 PM
it worked for a while, now it just shows "My Mood:"
My mood = Disgruntled :(
tobybird
11-07-2006, 11:20 PM
Very sweet. One thing to note... The image Psychadelic.gif is spelled incorrectly. If you choose this option you will just get a blank mood and be unable to select another. Simply changing the spelling to Psychedelic.gif took care of the issue.
Clicked Install. Thanks for the great hack!
hotwheels
11-09-2006, 09:46 PM
Just for those that would like to try something a bit different, i have set up animated moodycons for this mod. You can find them located here (here).
So far, i there are over 50 people using the animated moodycons, but i do need to warn you that a few of them are ADULT rated......
Hotwheels
Romeos Tune
11-11-2006, 12:04 AM
Mine is working in the navbar but not from my vbadvanced portal page. The mood you've already selected is there but you can't change it. No moods show up in the dropdown. This was working before upgrading to 3.63. Any ideas?
gooberface
11-12-2006, 02:10 AM
http://i128.photobucket.com/albums/p166/openyoureyes7/example.gif
Can anybody help me get this to look like that? I don't mind the "Change Mood" box that shows up with the scroll down bar, and actually prefer it. But I would like the default "Change Mood / No Mood" to show as that "none.gif" image that is on top there in that example. I have saved the file and it's ready to go. Also, rather than the drop down simply have text in it, I'd like it to go ahead and show the images like it does in that picture above. But again, I don't mind the actual drop down menu, I don't need to change that.
I have tried tons of things, but couldn't figure it out. If someone understands exactly what to do without much trouble, could you please help me out? I really appreciate it. Thanks
amnesia623
11-13-2006, 04:23 AM
anyway to get the original graphics file for this so I can adjust the moods to my color scheme?
Kayden
11-13-2006, 03:18 PM
Installed. Thanks.
hotwheels
11-13-2006, 03:19 PM
if you use fireworks 8, you can change the color of the moods blocks........
InTeNsE-HuMoR
11-13-2006, 08:31 PM
Great mod! Finaly got it installed. Thanks :D
ubblite
11-18-2006, 07:56 AM
This hack doesn't work for me with vb3.6.3...
in admincp/vboptions/sniper - mood manager
every time I try to save the settings I get a "Page not found" message, so I can't enable this hack at all.
Cocko
11-19-2006, 03:17 PM
I've managed to come up with a fix for those of you whom are having trouble getting this working in seperate directories / folders than your forum directory. Simply edit this file and input your forum path and upload it.
I created a PHP file that just points to the forums ajax.php. Make sure you DO NOT UPLOAD THIS INTO YOUR FORUM DIRECTORY ...
You also need to add Portal Output Global Variables to your VB Advanced page of:
usermoods
vbmoods
added varables in vba cmps - ok. just went fine.
but there is noway for gallery (pp pro).
tried to find out your hint uploading that chdir php, changed
in plugin "make drop down menu" from ajax.php to chdir.php
no effect. changing mood in gallery says "updating.." thats it. :(
putting full url pointing to vb3 directory also fails.
somebody solved issue with different (sub) directories ?
Exitilus
11-19-2006, 08:25 PM
added varables in vba cmps - ok. just went fine.
but there is noway for gallery (pp pro).
tried to find out your hint uploading that chdir php, changed
in plugin "make drop down menu" from ajax.php to chdir.php
no effect. changing mood in gallery says "updating.." thats it. :(
putting full url pointing to vb3 directory also fails.
somebody solved issue with different (sub) directories ?
you keep the file called ajax.php ... all you do is change the forum path inside the file.
isanda
11-20-2006, 02:27 PM
I am having the problem with getting the mood to appear in the postbit.
<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="!empty($post[mood])">
<div>
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
</div>
</if>
This is what I have in the postbit?
Can anyone help???
Exitilus
11-20-2006, 08:20 PM
it looks right. Try re-importing the product.
mikeylikesitz
11-21-2006, 02:14 AM
i cant get this to show up in the navbar, am i missing something?
xfaethorx
11-28-2006, 03:20 PM
i found a little issue with the install which some others may have encountered.
the following moods DONT work and will cause your uses to NOT be able to change the mood and will display nothing in the navbar and on post bits.
hung over fails
in love fails
paranoid fails
worried fails
delete them from the user options in the admin cp as they DONT have a corresponding graphic (from what I can see).
if you need to reset a users mood
nip into the admin panel and if you have execute sql writes do the following
update user set mood = '' where username ='user-with-broken-mood'
that will set the mood back to none and they can select a working one again.
this is how i found out which ones weren't working for me.
hotwheels
11-28-2006, 08:06 PM
Try these moods: moodycons (moodycons)
isanda
12-02-2006, 08:01 PM
it looks right. Try re-importing the product.
Still can't get it to show in postbit after reinstall. anybody else have this problem??
ubblite
12-03-2006, 02:45 AM
Still can't get it to show in postbit after reinstall. anybody else have this problem??
I take it the image path is set correctly, correct?
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
isanda
12-03-2006, 05:11 PM
I take it the image path is set correctly, correct?
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
Yes the path is OK....It is working fine in the User CP page.
s0lidgr0und
12-05-2006, 08:45 PM
I didn't see this addressed anywhere in here, but I also only skimmed.
Say I want to add a few custom moods. After designing the mood buttons and adding their names into the admincp, how do I associate the new icon files with the words in the dropdown menu?
hotwheels
12-06-2006, 02:05 PM
Added some adult animated moodycons (moodycons)
hotwheels
12-06-2006, 06:57 PM
Still can't get it to show in postbit after reinstall. anybody else have this problem??
All you should have to do in order to get it to work in your postbit, is go to your admincp, click on Styles & Templates, then style manager. Now click on the [<< >>] and locate postbit templates, open it........now depending on if your have your postbit at the top, you would select "postbit", if you have your postbit on the side, you would select "postbit_legacy"..
With the correct one open, look for <div>
$vbphrase[posts]: $post[posts]
</div>
and directly under that code you put <if condition="!empty($post[mood])">
<div>
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
</div>
</if>
and that will put the moods in your post bit........
hotwheels
12-06-2006, 07:00 PM
I didn't see this addressed anywhere in here, but I also only skimmed.
Say I want to add a few custom moods. After designing the mood buttons and adding their names into the admincp, how do I associate the new icon files with the words in the dropdown menu?
After you make your buttons, they need to be .gif's......Make sure that the .gif you are going to upload, say smile.gif, will need to be Smile.gif and upload that gif to your /forums/images/mood file. Now go back to your admincp and where you put the name of your new mood, be sure it too begins with a capitol letter: Smilies
and that's should do it for ya. All the new moods should begin with capitol letters.....
hotwheels
s0lidgr0und
12-06-2006, 11:21 PM
Thank you.
hotwheels
12-07-2006, 12:46 PM
you are very welcome.......
Thanks for the easy to install hack
East_Side_Boyz7
12-14-2006, 03:22 PM
Is there any way to make this stuff show up outside of the navbar? I want to use it in my custom bars on the right where I display other information, but to no avail this isn't working.
eNtitY~
12-14-2006, 07:12 PM
Is there a way to make the moods appear on vBadadvanced too? The mood dropdown doesn't show on that page.
East_Side_Boyz7
12-14-2006, 07:43 PM
So, has no one at ALL had any problems using this outside of the navbit template? I cannot use it anywhere but in navbit, and that's more than frustrating.
eNtitY~
12-14-2006, 11:10 PM
My Psycadelic mood is broken, and when someones chooses it they can't switch off of it since the image link is broken. I'm trying to fix it though.
Exitilus
12-14-2006, 11:37 PM
Is there a way to make the moods appear on vBadadvanced too? The mood dropdown doesn't show on that page.
Yup. Works perfectly fine. You need to add the following Portal Global Output Variables:
vbmoods
usermoods
If your VBAdvanced is in a different directory than the forums then look for a file I posted earlier in this thread that will allow it to work.
My Psycadelic mood is broken, and when someones chooses it they can't switch off of it since the image link is broken. I'm trying to fix it though.
Need to make sure the Image & Name of the Mood are the same. If you don't have the image I do and I can post it :)
eNtitY~
12-14-2006, 11:49 PM
Could you be more specific? Sorry I'm pretty knew to most of this. Like a detailed sorta walkthrough to get it working on vBad would be sweet. :)
Also the XML file's Psychadelic read 'Psychadelic' and the file is Psychadelic.gif so thats why it wasn't working. Most of you would want to fix that before you upload it.
ACruz
12-15-2006, 01:26 AM
Installed a few days ago, originally was working on all members but now a handfull cnat change their mood its just a broken image regardless what mood they select. ?
eNtitY~
12-15-2006, 02:05 AM
Installed a few days ago, originally was working on all members but now a handfull cnat change their mood its just a broken image regardless what mood they select. ?
No it happens when they select the 'Psychadelic' mood. Their's an error in the XML file which causes it to mess up. Once it doesn't display an image the user then can't change his/her mood.
If you uninstall the Mood product by going to AdminCP -> Plug in's and Products -> manage products. Find where it says "[Sniper] - Mood Manager" and uninstall it. Then reupload this XML file
R-n-R
12-16-2006, 03:17 AM
About 50 to 60% of my Members can not get the Mood to select, they are saying once they select the Mood it stops doing any thing and then I have others that its working fine.
Any ideas as to what might be the issue, something I could look for to find the problem? Thanks.
soulface
12-16-2006, 05:49 PM
No it happens when they select the 'Psychadelic' mood. Their's an error in the XML file which causes it to mess up. Once it doesn't display an image the user then can't change his/her mood.
If you uninstall the Mood product by going to AdminCP -> Plug in's and Products -> manage products. Find where it says "[Sniper] - Mood Manager" and uninstall it. Then reupload this XML file
Thanks eNtitY. your product file working fine!
Mupetz
12-16-2006, 08:05 PM
The mod works fine , installed. Thanks
One single problem :
I use the Legacy (Vertical) Postbit Template, so the members info are left sided, if u know what i mean :)
The thing is : horizontal works ( the mood apears )
Vertical doesnt work :|
Please reply.
Thanks
East_Side_Boyz7
12-17-2006, 12:39 AM
I'm glad this mod is being properly supported. :(
Shazz
12-17-2006, 02:06 AM
I'm glad this mod is being properly supported. :(
Its not thats why there is no check there :)
Mupetz
12-17-2006, 03:44 PM
The mod works fine , installed. Thanks
One single problem :
I use the Legacy (Vertical) Postbit Template, so the members info are left sided, if u know what i mean :)
The thing is : horizontal works ( the mood apears )
Vertical doesnt work :|
Please reply.
Thanks
DOH, my wrong ; i had to add the code in postbit_legacy template not In the postbit template
Thank you :D
OziloZ
12-20-2006, 05:08 PM
Hi, in my board lots of users cannot change their moods.But some of users can change. How is this being? They were do all things but not worked. I apologize for my english if it's bad :)
tygersclaw
12-31-2006, 04:12 PM
Well, installed this on 2 boards and on both boards the Admins and Mods can see and select a mood, but not registered members.
I double checked to ensure I did not miss any steps and "Auto Edit Member Info" is selected.
Any ideas or assistance???
RaceJunkie
12-31-2006, 05:45 PM
Could you be more specific? Sorry I'm pretty knew to most of this. Like a detailed sorta walkthrough to get it working on vBad would be sweet. :)
AdminCp>>>>vBa CMPS>>>>Default Settings>>>>
Look for Portal Output Global Variables
Add in the box
vbmoods
usermoods
Click Save at bottom of the page..
Request:
Update for adding "Changing Mood" in Who's Online?
Right now WOL displays:
Unknown Location
/forums/images/mood/Psychedelic.gif
Also....The window doesn't close when a selection is made.
Otherwise it's working great in my vb3.6.4 setup...awesome hack!
Thanks!
AdminCp>>>>vBa CMPS>>>>Default Settings>>>>
Look for Portal Output Global Variables
Add in the box
vbmoods
usermoods
Click Save at bottom of the page..
This didn't work for me :cool:
I figured out that Plugin Based Template Cache will mess with this mod.
Disable that and this mod works pretty good :smoke:
TonicWater
01-01-2007, 09:17 AM
thx for the hack. i would love if the hack would save my current mod, when i write an post. so that everybody can see what was my mood when i wrote this post.
gunitman247
01-01-2007, 03:44 PM
I figured out that Plugin Based Template Cache will mess with this mod.
Disable that and this mod works pretty good :smoke:
Where do you disable that at?
Where do you disable that at?
Ok I take my post back. You don't necessarily have to keep the "Plugin Based Template Cache" (PBTC) disabled.
But to keep using the PBTC you need to do a few things. You have to disable the PBTC cache, delete the files it created (in directory forums/templates) then reload a page with the welcomebit on it.....I actually reloaded several times to be sure that the new welcomebit info got put into the DB cache.
Once you're pretty sure that the new DB cache is updated with this mod then turn back on the Plugin Based Template Cache.
It's working for me now :cool:
To turn on/off PBTC go to [vBulletin Options >> Plugin Based Template Cache].
gunitman247
01-01-2007, 04:59 PM
Ok I take my post back. You don't necessarily have to keep the "Plugin Based Template Cache" (PBTC) disabled.
But to keep using the PBTC you need to do a few things. You have to disable the PBTC cache, delete the files it created (in directory forums/templates) then reload a page with the welcomebit on it.....I actually reloaded several times to be sure that the new welcomebit info got put into the DB cache.
Once you're pretty sure that the new DB cache is updated with this mod then turn back on the Plugin Based Template Cache.
It's working for me now :cool:
To turn on/off PBTC go to [vBulletin Options >> Plugin Based Template Cache].
I dont have vBulletin Options >> Plugin Based Template Cache anywhere. wtf.
ThorstenA
01-01-2007, 05:18 PM
is it possible to save mood status in profile field of users? This way there would be no database changes.
I dont have vBulletin Options >> Plugin Based Template Cache anywhere. wtf.
I'm sorry...I didn't add the complete info :confused:
You can get the template cache system here:
https://vborg.vbsupport.ru/showthread.php?t=121876&highlight=plugin+based+template+system
gunitman247
01-01-2007, 06:11 PM
I'm sorry...I didn't add the complete info :confused:
You can get the template cache system here:
https://vborg.vbsupport.ru/showthread.php?t=121876&highlight=plugin+based+template+system
haha awesome. I thought i was crazy. Thanks man!
gunitman247
01-01-2007, 07:35 PM
well its still not working
i added that ajax thing.
usermoods
vbmoods in portal global whatevers
tried what brew said. what is goin on?
http://www.globalsigalliance.com
Exitilus
01-01-2007, 08:26 PM
You don't need the TEmplate Cache thing for this to work so you know. So if you installed that under the impression it was needed you can remove it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.