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)

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:56 AM.

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.01948 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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