vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Quick Mood Changer - addon (https://vborg.vbsupport.ru/showthread.php?t=102270)

-=Sniper=- 12-07-2005 02:53 PM

it is a plugin, so you had to import it. There was no need to make a new plugin.

the postbit will work for normal users, but not correctly for admins or mods, since because of inline moderation you have forms inside an form which causes it not to work.

I'm don't see anything wrong with the conditions used, so I can't tell you why it doesnt work.

If you remove all but the first 8 moods from the html code it works in 3.5.0 but thats no use...

twincamfxd 12-08-2005 04:13 AM

I installed the quick mood changer and it is on the navbar, and works with the usercp change, but the one in the navbar just refreshes the screen. I beleive the problem is in the way I created the plug in. I am pretty new at this, so I will tell you what I did. I named the plug in "quick mood changer" and copied and pasted all of the plug in code into the plug in PHP code section. I have it set as active, so I am not quite sure what I did wrong. Thanks in advance,

Twincamfxd

-=Sniper=- 12-08-2005 08:07 AM

you need to use the global start hook, if you decide to add the plugin your self. Then again you can just import the plugin I have attached.

Rickie3 12-10-2005 12:48 AM

any news yet why this wont work in 3.5.0???

UDM 12-11-2005 04:28 AM

Thanks for the Mood Code. It works fine at the UserCP windows but when i implement it on the NAV bar. It does.

https://vborg.vbsupport.ru/external/2005/12/2.png
https://vborg.vbsupport.ru/external/2005/12/3.png

When i go and change the mood from the Nav bar it changes the mood but it still show "no mood" at the Nav bar. How can i fix it. Did i miss something when following the instruction. Can some one point me to the correct direction.
Thanks

-=Sniper=- 12-11-2005 09:47 PM

UDB try redoing the steps in the new install text file I have uploaded.

eNforce 12-11-2005 10:35 PM

Something is wrong with this line

PHP Code:

<option value="No Mood" <if condition="$bbuserinfo['field16'] == ''No Mood">selected</if>>No Mood</option

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_STRING in /home/areyous/public_html/includes/adminfunctions_template.php(3537) : eval()'d code on line 57

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

UDM 12-12-2005 02:44 AM

Thanks work great, I had to Fix a Typo in the mood line, Not a big deal, Can you update the TXT file, So it work great for every one. Thanks once again.

<option value="No Mood"<if condition="$bbuserinfo[field5] == 'No Mood'">selected</if>>No Mood</option>

-=Sniper=- 12-12-2005 09:06 AM

thanks updated

Rickie3 12-12-2005 09:52 AM

still no update on why this wont work for 3.5.0????ive been sifting through it but havent came up with anything yet :-(


All times are GMT. The time now is 09:52 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.01373 seconds
  • Memory Usage 1,735KB
  • 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_php_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
  • (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