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)

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

Quote:

Originally Posted by -=Sniper=-
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

Quote:

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

Quote:

Originally Posted by -=Sniper=-
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

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.

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

Quote:

Originally Posted by -=Sniper=-
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

Quote:

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

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 10:03 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.01965 seconds
  • Memory Usage 1,821KB
  • 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
  • (9)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