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)

jononline 11-08-2007 09:50 PM

I installed it brand new i never had it before and it shows up and i can set it but when i post it displays 2 TIMES the image one above the other

duplicate

any ideas?

djbaxter 11-09-2007 12:18 AM

Quote:

Originally Posted by jononline (Post 1378684)
I installed it brand new i never had it before and it shows up and i can set it but when i post it displays 2 TIMES the image one above the other

duplicate

any ideas?

Yes. The instructions are confusing. You are instructed to make some manual edits. It does not say "if importing the product doesn't make those edits automatically", which is what it should say.

In your case, as with me and several others, the product import worked and you also made the manual edits, so the mood shows up twice.

Go back to the unstructions and undo the manual edits. It will work properly then.

oldengine 11-10-2007 04:47 PM

For W3C compliance, see template quick_mood_change_by_sniper and add an "alt" statement to the end of the image link.
Code:

$vbphrase[my_mood]: <a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img src="http://www.smokstak.com/forum/images/mood/$bbuserinfo[mood].gif" border="0" alt="moody" />
And in Product Mood Manager postbit_display_complete
Code:

<div><span style=\\"vertical-align: middle;\\">$vbphrase[my_mood]:</span> <img style=\\"vertical-align: middle;\\" src=\\"images/mood/$post[mood].gif\\" border=\\"0\\" alt=\\"moody\\" /></div>

blinblin 11-12-2007 05:17 AM

Thanks for the excellent add on!!

adnan2007 11-19-2007 05:52 AM

Any idea this thing doesn't work for me in 3.6.8

I'm pretty sure I followed all the steps in the txt file but nothing shows on my forum.

thx in advance.

SNATCH3R 11-19-2007 11:14 AM

I too wanted to knw...will this work with 3.6.8

thanks

nyunyu 11-21-2007 02:44 PM

Some says it works in 3.5 but my installation didnt works. Can anyone help me making this hack works? or perhaps telling me is this hack compatible with 3.5.4?

Thanks

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', '[Mood Manager] - Ajax Update', 'ajax_start', 'if ($_POST[\'do\'] == \'insertmood\')\r\n{\r\n        $vbulletin->input->clean_array_gpc(\'p\',  array(\'mood\' => TYPE_NOHTML));\r\n\r\n        $usermood =& datamanager_init(\'User\', $vbulletin, ERRTYPE_STANDARD);\r\n    $usermood->set_existing($vbulletin->userinfo);\r\n        $usermood->set(\'mood\', htmlspecialchars_uni(convert_urlencoded_unicode($vbulletin->GPC[\'mood\'])));\r\n        $usermood->save();\r\n        $new_mood = convert_urlencoded_unicode($vbulletin->GPC[\'mood\']);\r\n\r\n    if ($new_mood)\r\n    {\r\n        die(\"<img style=\\\"vertical-align: middle;\\\" src=\\\"images/mood/\" . $new_mood. \".gif\\\" border=\\\"0\\\" />\");\r\n    }\r\n    else\r\n    {\r\n        die($vbphrase[change_mood]);\r\n    }\r\n}', 'moodmanager');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Thursday, November 22nd 2007 @ 12:42:54 AM
Script      : http://nyunyu.info/animeproject/admincp/plugin.php
Referrer    : http://nyunyu.info/animeproject/admincp/plugin.php?do=productadd
IP Address  : xxx.xxx.xxx.xxx
Username    : nyunyu
Classname    : vb_database


Rajdeep 11-21-2007 04:28 PM

this is in my header template of hexcell fluid theme.where shld i place this

##############
### Step 4 ###
##############

n the navbar template

Find
~~~~

$vbphrase[private_messages_nav]

Under it Add
~~~~~~~~~~~~

<br />$usermoods

nyunyu 11-21-2007 05:01 PM

Rajdeep, what are you trying to do here? I dont understand...
Can you tell me how to install this hack into 3.5.4?

doogie1775 11-23-2007 05:49 AM

I am interested in this mod, but it appears as though the .zip download is corrupt. Anyone else having this issue?

djbaxter 11-23-2007 12:49 PM

Yes, it works fine in 3.6.8.

@doogie1775: Try downloading it again. My zip file was fine.

thepub 11-24-2007 03:42 AM

this works fine on my forum index page but not on my homepage, is there comething I need to do for CMPS?

D|ver 11-26-2007 07:06 AM

same problem here
is there any solution?

ringleader 11-26-2007 11:56 AM

Quote:

Originally Posted by thepub (Post 1388434)
this works fine on my forum index page but not on my homepage, is there comething I need to do for CMPS?

Yep.
In CMPS -> Default Settings -> Portal Output Global Variables
Add the following
Code:

usermoods
vbmoods

and then the navbar template edits will work on the portal.

thepub 11-26-2007 04:47 PM

I have Global Settings not "portal output global variables", are they the same thing?

ringleader 11-27-2007 06:34 AM

Quote:

Originally Posted by thepub (Post 1389758)
I have Global Settings not "portal output global variables", are they the same thing?

Ah, you've the newer CMPS I take it.

The 'Portal Output Global Variables' box is under 'Main Options'.

thepub 11-27-2007 06:11 PM

thanks so much!

Julie 11-28-2007 07:54 AM

Cute little addition, thanks :)

Vinyljunky 11-28-2007 11:01 AM

Thank you

VinylJunky

Vinyljunky 11-28-2007 11:18 AM

Quote:

Originally Posted by oldengine (Post 1379836)
For W3C compliance, see template quick_mood_change_by_sniper and add an "alt" statement to the end of the image link.
Code:

$vbphrase[my_mood]: <a href="#" id="moods"><if condition="!empty($bbuserinfo[mood])"><img src="http://www.smokstak.com/forum/images/mood/$bbuserinfo[mood].gif" border="0" alt="moody" />
And in Product Mood Manager postbit_display_complete
Code:

<div><span style=\\"vertical-align: middle;\\">$vbphrase[my_mood]:</span> <img style=\\"vertical-align: middle;\\" src=\\"images/mood/$post[mood].gif\\" border=\\"0\\" alt=\\"moody\\" /></div>

Im not sure "where Product Mood Manager postbit_display_complete" is it a template?

Thanks

VinylJunky

christian8a 12-04-2007 08:05 AM

Nice hack!

How could I make it work like in the navbar but in the memberinfo? so they will be able to change it throug their profile page also

Thanx

Mike08 12-08-2007 02:30 PM

Quote:

Originally Posted by sinn3d (Post 1356750)
Hi,

First thankyou for this great mod.

I have a problem though.

When selecting the none image mood, it disable the mood and i cant do anything to turn it back on. I had to reinstall the plugin before it works again, How can i fix current problem (Look at attached image thanks)

Quote:

Originally Posted by yoyoyoyo (Post 1341323)
Great mod, however I am getting a weird error - the "In Love" mood does not show up in the dropdown:

http://img249.imageshack.us/img249/7822/errorqi8.jpg

and I have the file uploaded:

http://img296.imageshack.us/img296/3696/errorxf3.jpg

and if I go to: mysite.com/forum/images/mood/In_Love.gif in my browser I can see that the image is there:

http://img244.imageshack.us/img244/320/errorpo9.jpg

and I have the settings in the ACP set correctly:

http://img470.imageshack.us/img470/1379/errorqk2.jpg

As you can see I have the file named In_Love.gif and the option in the ACP set to In_Love also.

Any ideas? My solution was to simply remove that "mood" from my forum, but I don;t want ot deny someone who is in love the option to express that emotion to the world :D

I had the same problem. Look carefully the name in admincp/myMood. Here the name of this mood is "In_Love", in my server this archive name is InLove.gif. Change the name in admincp for the same name of gif InLove.gif. Delete this symbol "_" and write in the same way InLove :up:
Sorry for my english :D

Rajdeep 12-08-2007 07:01 PM

i m using hexcell fluid theme.where shld i place this

##############
### Step 4 ###
##############

n the navbar template

Find
~~~~

$vbphrase[private_messages_nav]

Under it Add
~~~~~~~~~~~~

<br />$usermoods

i cnt find it in nav_bar template.it must be in header but where to place this so tht it will work.

Shazz 12-08-2007 08:40 PM

Congrats on your 1000th installation -=Sniper=-
:)

deezelpope 12-08-2007 08:57 PM

WOW! Congrats on 1000, Sniper! That's awesome!:up:

Nice eye, Shazz!:up:

Ultimate Killer 12-09-2007 09:59 PM

I'm confused. If I was to install it, would I be the only one to see it? Or do the others get to see it too?

-=Sniper=- 12-10-2007 10:18 PM

thanks guys

Ultimate Killer: you and everyone on the forums get to see it.

dbirosel 12-11-2007 02:29 PM

I want to create my own mood icons. Do you guys have the .psd files to the icons?

UltraFanatics 12-13-2007 06:39 PM

I LOVE this mod, its awesome!!

As said above change in_love to inlove and it all works GREAT!

Vman 12-14-2007 08:45 PM

I see my members who is using the "My Mood" in forums or threads, there is 2 of "My Mood" one on top of the other, both with the exact mood icon...

Help! How to fix..

Thanks

deezelpope 12-14-2007 08:57 PM

<i>Did you do the template edit manually? This mod does the edit automatically, so you need to undo the manual edit.</i>

Vman 12-14-2007 09:07 PM

Great!... Ok... thanks! And that was a VERY QUICK RESPONSE!!!!!!

deezelpope 12-14-2007 09:11 PM

You're very welcome, Vman!:) I have all the mods I use marked "installed," and whenever someone posts in them, I see if I can help if someone needs it. I know being a newbie isn't easy.;) Glad I could help you.:)

Ultimate Killer 12-15-2007 11:13 AM

Quote:

Originally Posted by -=Sniper=- (Post 1398829)
thanks guys

Ultimate Killer: you and everyone on the forums get to see it.

Thanks for replying.
Where do I find the postbit_legacy template?

deezelpope 12-15-2007 11:33 AM

In your AdminCP>Styles & Templates>Style Manager>Edit Templates>Postbit Templates>Postbit_Legacy.:)

dbirosel 12-17-2007 03:38 AM

Is there a .psd available to create our own mood icons???

Vman 12-17-2007 03:52 AM

Quote:

Originally Posted by dbirosel (Post 1402609)
Is there a .psd available to create our own mood icons???

I have members asking if there are going to be more moods to add to the list?:up:

dbirosel 12-17-2007 04:32 AM

If I get a .psd file to help me create new moods, I will. How can I make them myself? Anyone got a simple tutorial?

deezelpope 12-17-2007 10:19 AM

<i>There should be a blank in the upload images file, called 'nomood'...at least there used to be. I used Animation Shop to make my own moods...pretty easy.</i>

paris83 12-17-2007 05:20 PM

Just upgraded from version 1.2.3 to the very latest version and went into my forum and the new moods are not listed. Any ideas?


All times are GMT. The time now is 01:33 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.02075 seconds
  • Memory Usage 1,825KB
  • 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
  • (6)bbcode_code_printable
  • (8)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