vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Mood Manager - with AJAX mood update. (https://vborg.vbsupport.ru/showthread.php?t=127220)

connkid25 10-14-2007 04:49 AM

Quote:

Originally Posted by vitrag24 (Post 1359077)
Then i don't think it is worth to change..
as below pm is cool for me.
:)
Do you have added more gifs/moods which i can use in same version installed earlier??

Its not an update to the mod itself. All its doing is changing the location of the dropdown and placing it on a seperate page with forum permissions. Since I have hundreds of pages outside of the forums directory, this was the best solution. Im just adding it here in case anyone else wants to move the dropdown like I did.

As for new images, I dont see why you would need more.. The ones included are pretty much all you need. You could always make your own using photoshop.

Kadi 10-14-2007 06:52 AM

Hi,

I'd like to use this mod. Are there mood images without english text?

deezelpope 10-14-2007 11:50 AM

Quote:

Originally Posted by connkid25 (Post 1359511)

As for new images, I dont see why you would need more.. The ones included are pretty much all you need. You could always make your own using photoshop.

Animation Shop works, too.:)

vitrag24 10-14-2007 05:56 PM

Quote:

Originally Posted by connkid25 (Post 1359511)
Its not an update to the mod itself. All its doing is changing the location of the dropdown and placing it on a seperate page with forum permissions. Since I have hundreds of pages outside of the forums directory, this was the best solution. Im just adding it here in case anyone else wants to move the dropdown like I did.

As for new images, I dont see why you would need more.. The ones included are pretty much all you need. You could always make your own using photoshop.

cool.
Well i'm not gfx expert and not used to photoshop so can't make myself.
asked if you have included more images. :)

jarod1981? 10-16-2007 10:20 AM

Hi Guys


I wanted to ask if you could add the tag "title" at all images, type:

When the mouse passes over the image aggressive ...
TAG = Username is aggressive

Is possibile add this?
Thanks and compliments for this Mod :)

:up:

GoTTi 10-16-2007 05:14 PM

this doesnt work fully with 3.6.8 does it?

the auto insert for memberinfo isnt working.

and the icons arent showing on the dropdown even though its enabled.

any ideas?

connkid25 10-17-2007 12:25 AM

Quote:

Originally Posted by GoTTi (Post 1361699)
this doesnt work fully with 3.6.8 does it?

the auto insert for memberinfo isnt working.

and the icons arent showing on the dropdown even though its enabled.

any ideas?

I have it on 3.6.8 and it works fine with the auto insert. The images in the dropdown only seem to show on firefox. Im guessing your using IE?

djbaxter 10-17-2007 01:25 PM

Quote:

Originally Posted by GoTTi (Post 1361699)
this doesnt work fully with 3.6.8 does it? the auto insert for memberinfo isnt working. and the icons arent showing on the dropdown even though its enabled.

Quote:

Originally Posted by connkid25 (Post 1361949)
I have it on 3.6.8 and it works fine with the auto insert. The images in the dropdown only seem to show on firefox. Im guessing your using IE?

It works fine with 3.6.8 and with IE.

Chcek to ensure that you have uploaded the images to the correct place and that the mood titles match the filenames.

mamashid 10-17-2007 01:27 PM

i'm using IE and its working fine for me!

connkid25 10-17-2007 02:35 PM

Both of you are using IE 7? I could never get the images to show in the dropdown other than in FF. Everything else works so the names are correct. P.S. The image shows after you click the mood in the dropdown..

connkid25 10-17-2007 02:38 PM

Quote:

Originally Posted by vitrag24 (Post 1359918)
cool.
Well i'm not gfx expert and not used to photoshop so can't make myself.
asked if you have included more images. :)

If you provide the smilies or images you want in the new moods, I can make some for you. I wont have the time to make a whole new set though..

djbaxter 10-17-2007 04:04 PM

Quote:

Originally Posted by connkid25 (Post 1362352)
Both of you are using IE 7? I could never get the images to show in the dropdown other than in FF. Everything else works so the names are correct. P.S. The image shows after you click the mood in the dropdown..

Yes. Works in IE7 and IE6.

If you're having problems in IE7, flush the cache. Also note that IE7 still doesn't handle animations as well as it should, even with all updates, so you might want to ensure that all mood images are static.

If you've adjusted any of the settings in IE7, try restoring all the default settings and see if that helps. Then, one at a time alter the settings back to the way you want them until something breaks.

rwilkins108 10-17-2007 04:05 PM

Quote:

Originally Posted by connkid25 (Post 1362352)
Both of you are using IE 7? I could never get the images to show in the dropdown other than in FF. Everything else works so the names are correct. P.S. The image shows after you click the mood in the dropdown..


You're right, IE doesn't display pictures b/c the method being used isn't supported in IE itself. IE doesn't allow pictures in a drop down. See this:
http://jan.moesen.nu/code/html-css/d...wn-image-list/

rwilkins108 10-17-2007 04:07 PM

Quote:

Originally Posted by djbaxter (Post 1362410)
Yes. Works in IE7 and IE6.

If you're having problems in IE7, flush the cache. Also note that IE7 still doesn't handle animations as well as it should, even with all updates, so you might want to ensure that all mood images are static.


you're saying when you click the drop down, you see all the moods pictures displayed in the list? hmm, don't know how you're doing that...

djbaxter 10-17-2007 04:33 PM

Quote:

Originally Posted by rwilkins108 (Post 1362413)
You're right, IE doesn't display pictures b/c the method being used isn't supported in IE itself. IE doesn't allow pictures in a drop down. See this:
http://jan.moesen.nu/code/html-css/d...wn-image-list/

That's incorrect. I see the drop down images just fine. I know personally that this works in IE7, and I have members using IE6 who are able to use the system - no one has complained that they can't see the images, regardless of the browser.

Quote:

Originally Posted by rwilkins108 (Post 1362415)
you're saying when you click the drop down, you see all the moods pictures displayed in the list? hmm, don't know how you're doing that...

That's exactly what I'm saying. See my post above: Try fussing your IE cache.

connkid25 10-17-2007 05:01 PM

Quote:

Originally Posted by djbaxter (Post 1362440)
Try fussing your IE cache.

I use evidence eliminator so its not a cache issue.

connkid25 10-17-2007 05:20 PM

Quote:

Originally Posted by djbaxter (Post 1362440)
That's incorrect. I see the drop down images just fine.

Could you upload a screen shot so we can see this working in IE?

rwilkins108 10-17-2007 05:20 PM

Quote:

Originally Posted by djbaxter (Post 1362440)
That's incorrect. I see the drop down images just fine. I know personally that this works in IE7, and I have members using IE6 who are able to use the system - no one has complained that they can't see the images, regardless of the browser.



That's exactly what I'm saying. See my post above: Try fussing your IE cache.

Hmm, I just don't know how that could be, the code in the plugin specifically states to NOT put in the graphic if using IE...

PHP Code:

if (!$vbulletin->options['moodmanagerimages'] || eregi("MSIE"$_SERVER['HTTP_USER_AGENT']))   {         
   
$vbmoods['mood'] .= '<option value="' .$mood'"' .$selectedmood'>' .$mood'</option>';     
}     
else  {         
   
$vbmoods['mood'] .= '<optgroup style="background-image: url(images/mood/' .$mood'.gif); height: 15px; width: 72px;"><option value="' .$mood'"' .$selectedmood'></option></optgroup>';     


that code states that if the mood manager images in the admincp is set to NO OR if the user is using Internet Explorer, just use the mood name, else, if any other browser, use images...

djbaxter 10-17-2007 05:36 PM

My apologies. Brain lapse of some sort.

I could have sworn that the images did display but I just went to get the requested screen shot and you are correct - only the mood names are shown in the dropdown in IE7. :o

connkid25 10-17-2007 06:46 PM

Quote:

Originally Posted by djbaxter (Post 1362501)
My apologies. Brain lapse of some sort.

I could have sworn that the images did display but I just went to get the requested screen shot and you are correct - only the mood names are shown in the dropdown in IE7. :o

I wasnt trying to prove you wrong but I figured maybe you found a way for this to work in IE. We all have those days!

GoTTi 10-18-2007 02:21 AM

hmm...i cant see the icons in IE. i am on vista...

i switched to FF and i saw the icons in there, but i noticed a blank icon. when i clicked it, the mood went away and now i cant select the drop down in FF

cykelmyggen 10-27-2007 03:03 PM

Thanks for this great add-on.
I have a slight problem: moods shows two times - where did I go wrong...?

deezelpope 10-27-2007 03:25 PM

<i>It looks like you did the template edit manually, besides the automatic edit.</i>

cykelmyggen 10-27-2007 03:35 PM

Hmmm... I just followed the install-info provided step 1-7...?

deezelpope 10-27-2007 03:38 PM

Did you do the template edit? If so, undo it, then you will have just the one mood instance showing.:)

djbaxter 10-27-2007 03:43 PM

Quote:

Originally Posted by cykelmyggen (Post 1369765)
Thanks for this great add-on.
I have a slight problem: moods shows two times - where did I go wrong...?

Quote:

Originally Posted by deezelpope (Post 1369782)
It looks like you did the template edit manually, besides the automatic edit.

deezelpope is right - I made the same mistake. Importing the product makes the changes automatically on most forums. But the instructions are confusing. They make it sound like you must do those edits when in fact you only need to do them manually if the automatic edits don't work for some reason.

deezelpope 10-27-2007 03:48 PM

Same thing happened to me when I upgraded, cuz I'd already done the manual edits. But it's easily fixed.:D

cykelmyggen 10-27-2007 03:51 PM

Quote:

Originally Posted by deezelpope (Post 1369793)
Did you do the template edit? If so, undo it, then you will have just the one mood instance showing.:)

This worked out fine - thanks for very fast support:)

deezelpope 10-27-2007 03:59 PM

Quote:

Originally Posted by cykelmyggen (Post 1369804)
This worked out fine - thanks for very fast support:)

Oh good! Glad to help!:)

KW802 10-30-2007 05:35 PM

Quote:

Originally Posted by yoyoyoyo (Post 1342643)
Sniper - I dug through the error logs and raw access logs and discovered that the error described above happens when someone activates the mood manager via the navbar while on the vbadvanced index page, so I would appreciate it if you would fix that so people with vbadvanced can use it.

Quote:

Originally Posted by vnairp11 (Post 1342980)
However, images and moods disappearing int he pull down box when you are the vbadvancedpage, gallery, arcade etc is annoying does it have some hook system.

Quote:

Originally Posted by yoyoyoyo (Post 1343021)
I did the manual edits, but that is not compliant with vbadvanced. to be compliant with vbadvanced it needs to be:


however, that fix still does not fix the issue regarding this hack looking for the ajax.php outside the forum directory - that needs to be fixed in the plugin. If you don't believe me try looking at your server's error log - I bet you will see a lot of errors there about the ajax.php not being found (while using this hack)

I have the latest version (1.2.5 as of today) working with fully qualified file paths over at Cool Sci-Fi so that it works correctly in vBadvanced CMPS, vBGallery, vBadvanced Links, vBArcade, etcetera; basically any script that doesn't run in the /forums folder.

Attached is an XML file of the product with the modified template & plugins to have all of the file paths fully qualified. There are no other changes to it, just the file paths qualified so that it works as described above. Download the zip file from the first post as normal but use this version of the XML file instead of the XML in the zip file and you should be good to go. :)

rwilkins108 10-30-2007 06:40 PM

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..

KW802 10-30-2007 07:20 PM

Quote:

Originally Posted by rwilkins108 (Post 1372187)
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. :)

dethfire 10-30-2007 08:04 PM

has anyone added more moods?

Greenwoodi 10-31-2007 09:53 AM

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.

rwilkins108 10-31-2007 12:17 PM

Quote:

Originally Posted by dethfire (Post 1372245)
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

vitrag24 10-31-2007 03:51 PM

Quote:

Originally Posted by rwilkins108 (Post 1372699)

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.

oldengine 11-08-2007 02:48 PM

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).

silvermerc 11-08-2007 03:52 PM

Yeh my site has added a new mood,Not sure how though !

oldengine 11-08-2007 07:01 PM

[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;
        }
}


yoyoyoyo 11-08-2007 07:09 PM

thanks for the updated xml kevin


All times are GMT. The time now is 06:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02187 seconds
  • Memory Usage 1,860KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete