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?


All times are GMT. The time now is 07:26 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.02024 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_code_printable
  • (1)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