Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Quick Mood Changer - addon Details »»
Quick Mood Changer - addon
Version: 1.2, by -=Sniper=- -=Sniper=- is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 12-04-2005 Last Update: 07-23-2007 Installs: 108
Uses Plugins Template Edits
 
No support by the author.


############################################
##############--Bought to you by--###############

Talk Coding - Programming Forums

##########--Free / Premium vBulletin Solutions--#########
############################################

First you need to have this mod installed, as the moods are from there.

https://vborg.vbsupport.ru/showthread.php?p=840285

This will allow the user to change the hack from the top navbar area, under private messages (see attachment).

Install instruction in the .zip file!

UPDATE 14/02/2006
~~~~~~~~~~~~~~~~~
- Version 1.2
- Is now installed as a product
- Now you can add ***NEW MOODS*** to the dropdown menu from the admincp
- No need to edit the plugin for the mood field number, its in the admincp
- Added Message "Whats with the mood swing?" when user changes his/her mood

UPDATE 03/01/2006
~~~~~~~~~~~~~~~~~
- Version 1.0
- Updated all the moods I think

UPDATE 11/12/2005
~~~~~~~~~~~~~~~~~
- Version Unknown
- Added "No Mood" to mood list
- Changed the template coding

UPDATE 05/12/2005
~~~~~~~~~~~~~~~~~
- Version Unknown
- Fixed spelling for "cheerful"
- Fixed no mood option not working
- Changed "In_Love" mood to "In Love" removed the underscore

3.5.0 hIBEES; Ok for those who cant get it to work simply replace the 3.5.0 adminfunctions_template.php with the 3.5.2 version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-06-2005, 10:39 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible for either you or the orginal creator to full phrase this? I know the images will be the same, but it'd be a GREAT thing to be able to do in multiple languages.
Reply With Quote
  #33  
Old 12-06-2005, 02:12 PM
dboogie2288 dboogie2288 is offline
 
Join Date: Jan 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I checked the old PM blinking icon install that I did way back when, but that was from VB 3.0.5, and I never installed it with 3.5

I think that since this is an add on for a mod that is written for 3.5.0, then the add-on should certainly support it. I dont particularly have time to update the system everytime that VB changes a line of code, and I REALLY want this hack to work...oh well, onto another day I suppose.
Reply With Quote
  #34  
Old 12-06-2005, 03:26 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to edit the navbar template I get this error:
Code:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/*******/public_html/includes/adminfunctions_template.php(3519) : eval()'d code on line 265 
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.
Reply With Quote
  #35  
Old 12-06-2005, 03:40 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really don't know why it doesnt work correctly in 3.5.0 but it does in 3.5.1 so I suggest upgrading to see it fixes the problem.
Reply With Quote
  #36  
Old 12-06-2005, 04:13 PM
dano dano is offline
 
Join Date: May 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dai-kun
thanks, worked perfectly!

I was able to change it to show up in postbits ^^
Can you please post the instructions as to how you did this? I would love to have this in postbits.
Reply With Quote
  #37  
Old 12-06-2005, 06:53 PM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OPEN postbit/postbit_legacy:

FIND:

Code:
				<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
				<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
			</div>
BELOW, ADD:

Code:
                                <!-- mood hack display start -->
				<br /><if condition="$post[fieldX] != ''"><div class="smallfont">
				Current Mood: <img src="images/mood/$post[fieldX].gif" title="$post[fieldX]" align="center">
				</div></if>
                                <!-- mood hack display end -->
FIND:

Code:
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
BELOW, ADD:

Code:
<br />
My Mood: 
<!-- / dropdown mood select by sniper -->
<if condition="$post[userid] == $bbuserinfo[userid]">
<form action="index.php" method="post" id="moodform">
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="do" value="newmood" />
	<input type="hidden" name="userid" value="$bbuserinfo[userid]" />
		<select name="mood" onchange="this.form.submit();">		
			<option value=" " <if condition="$bbuserinfo[FIELDXX] == ''">selected</if>>No Mood</option>
			<option value="Aggressive" <if condition="$bbuserinfo[FIELDXX] == Aggressive">selected</if>>Aggressive</option>
			<option value="Amazed" <if condition="$bbuserinfo[FIELDXX] == Amazed">selected</if>>Amazed</option>
			<option value="Amused" <if condition="$bbuserinfo[FIELDXX] == Amused">selected</if>>Amused</option>
			<option value="Angelic" <if condition="$bbuserinfo[FIELDXX] == Angelic">selected</if>>Angelic</option>
			<option value="Angry" <if condition="$bbuserinfo[FIELDXX] == Angry">selected</if>>Angry</option>
			<option value="Asleep" <if condition="$bbuserinfo[FIELDXX] == Asleep">selected</if>>Asleep</option>
			<option value="+++++y" <if condition="$bbuserinfo[FIELDXX] == +++++y">selected</if>>+++++y</option>
			<option value="Blah" <if condition="$bbuserinfo[FIELDXX] == Blah">selected</if>>Blah</option>
			<option value="Bored" <if condition="$bbuserinfo[FIELDXX] == Bored">selected</if>>Bored</option>
			<option value="Breezy" <if condition="$bbuserinfo[FIELDXX] == Breezy">selected</if>>Breezy</option>
			<option value="Brooding" <if condition="$bbuserinfo[FIELDXX] == Brooding">selected</if>>Brooding</option>
			<option value="Busy" <if condition="$bbuserinfo[FIELDXX] == Busy">selected</if>>Busy</option>
			<option value="Buzzed" <if condition="$bbuserinfo[FIELDXX] == Buzzed">selected</if>>Buzzed</option>
			<option value="Cheeky" <if condition="$bbuserinfo[FIELDXX] == Cheeky">selected</if>>Cheeky</option>
			<option value="Cheerful" <if condition="$bbuserinfo[FIELDXX] == Cheerful">selected</if>>Cheerful</option>
			<option value="Cold" <if condition="$bbuserinfo[FIELDXX] == Cold">selected</if>>Cold</option>
			<option value="Confused" <if condition="$bbuserinfo[FIELDXX] == Confused">selected</if>>Confused</option>
			<option value="Cool" <if condition="$bbuserinfo[FIELDXX] == Cool">selected</if>>Cool</option>
			<option value="Daring" <if condition="$bbuserinfo[FIELDXX] == Daring">selected</if>>Daring</option>
			<option value="Dead" <if condition="$bbuserinfo[FIELDXX] == Dead">selected</if>>Dead</option>
			<option value="Devilish" <if condition="$bbuserinfo[FIELDXX] == Devilish">selected</if>>Devilish</option>
			<option value="Fine" <if condition="$bbuserinfo[FIELDXX] == Fine">selected</if>>Fine</option>
			<option value="Goofy" <if condition="$bbuserinfo[FIELDXX] == Goofy">selected</if>>Goofy</option>
			<option value="Grumpy" <if condition="$bbuserinfo[FIELDXX] == Grumpy">selected</if>>Grumpy</option>
			<option value="Happy" <if condition="$bbuserinfo[FIELDXX] == Happy">selected</if>>Happy</option>
			<option value="Hot" <if condition="$bbuserinfo[FIELDXX] == Hot">selected</if>>Hot</option>
			<option value="In Love" <if condition="$bbuserinfo[FIELDXX] == 'In Love'">selected</if>>In Love</option>
			<option value="Innocent" <if condition="$bbuserinfo[FIELDXX] == Innocent">selected</if>>Innocent</option>
			<option value="Inspired" <if condition="$bbuserinfo[FIELDXX] == Inspired">selected</if>>Inspired</option>
			<option value="Lonely" <if condition="$bbuserinfo[FIELDXX] == Lonely">selected</if>>Lonely</option>
			<option value="Lurking" <if condition="$bbuserinfo[FIELDXX] == Lurking">selected</if>>Lurking</option>
			<option value="Mellow" <if condition="$bbuserinfo[FIELDXX] == Mellow">selected</if>>Mellow</option>
			<option value="Pensive" <if condition="$bbuserinfo[FIELDXX] == Pensive">selected</if>>Pensive</option>
			<option value="Psychadelic" <if condition="$bbuserinfo[FIELDXX] == Psychadelic">selected</if>>Psychadelic</option>
			<option value="Relaxed" <if condition="$bbuserinfo[FIELDXX] == Relaxed">selected</if>>Relaxed</option>
			<option value="Sad" <if condition="$bbuserinfo[FIELDXX] == Sad">selected</if>>Sad</option>
			<option value="Scared" <if condition="$bbuserinfo[FIELDXX] == Scared">selected</if>>Scared</option>
			<option value="Shocked" <if condition="$bbuserinfo[FIELDXX] == Shocked">selected</if>>Shocked</option>
			<option value="Sick" <if condition="$bbuserinfo[FIELDXX] == Sick">selected</if>>Sick</option>
			<option value="Sneaky" <if condition="$bbuserinfo[FIELDXX] == Sneaky">selected</if>>Sneaky</option>
      			<option value="Tired" <if condition="$bbuserinfo[FIELDXX] == Tired">selected</if>>Tired</option>
		</select>
	</form></if>
<!-- / dropdown mood select by sniper -->
Remember to change ur fieldx to ur mood field.
You will get an error if you're admin.
Regular members seem to work fine though.
Reply With Quote
  #38  
Old 12-06-2005, 07:02 PM
funinthesun funinthesun is offline
 
Join Date: Oct 2005
Posts: 460
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the only option to upgrade to 3.5.1?
Reply With Quote
  #39  
Old 12-06-2005, 10:08 PM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea i dont want to have to upgrade to 3.5.1,as my forum is running sweet 3.5.0,there has to be a fix for this problem,as the original mood hack is for 3.5.0,and this add on is 3.5.1
Reply With Quote
  #40  
Old 12-06-2005, 10:41 PM
dboogie2288 dboogie2288 is offline
 
Join Date: Jan 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rickie3
yea i dont want to have to upgrade to 3.5.1,as my forum is running sweet 3.5.0,there has to be a fix for this problem,as the original mood hack is for 3.5.0,and this add on is 3.5.1
Thats where I was coming from...

The postbit hack doesnt work either.
Reply With Quote
  #41  
Old 12-07-2005, 01:27 PM
poprulz poprulz is offline
 
Join Date: Oct 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/psa/home/vhosts/mallupride.com/httpdocs/forums/includes/adminfunctions_template.php(3519) : eval()'d code on line 163

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.
and b4 that when i was installing it as a product.. it said it not a product..rather a plugin. so i copy pasted the php code and made it a plugin.

maybe its not compatible with 3.5.0

and did anyone try the postbit hack for 3.5.0? does it really work?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04856 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete