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)

Wheemer 10-07-2006 04:34 AM

Quote:

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

Quote:

Originally Posted by Wheemer
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?

ravi 10-08-2006 04:02 PM

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

ravi 10-08-2006 06:31 PM

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

Quote:

Originally Posted by ravi
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.


All times are GMT. The time now is 11:28 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.01638 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_html_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