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)

redlabour 09-22-2006 10:02 PM

Love it - somebody out there who can make German Icons ?

Muellmann 09-22-2006 11:12 PM

[S]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[/S]

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

Quote:

Originally Posted by Calibre_k
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

Quote:

Originally Posted by -=Sniper=-
Exitilus; it should work on any page which uses the navbar template. I have it on my forums, works in the gallery, arcade etc.

thank you

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

On my main page, the Mood just doesn't even display.

NeutralizeR 09-23-2006 01:02 AM

Quote:

Originally Posted by Lionel
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

Quote:

Originally Posted by eNforce
step 3 in the instructions

Yep I've done that but it doesnt show.

NeutralizeR 09-23-2006 01:58 AM

Quote:

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

On my main page, the Mood just doesn't even display.

I think the problem is Plugins > [Mood Manager] - Make Drop Down Menu:
Quote:

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

Quote:

On my main page, the Mood just doesn't even display.
Templates > quick_mood_change_by_sniper:
Quote:

<img src="images/mood/$bbuserinfo[mood].gif" border="0" />
replace it with:
Quote:

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


All times are GMT. The time now is 12:49 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.01348 seconds
  • Memory Usage 1,745KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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