Jump to content


* * * * * 1 votes

[Unsupported] (V23) Member Moods v1.0.5


  • Please log in to reply
70 replies to this topic

#61 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 01 January 2010 - 04:02 PM

View Postvisionz510, on Dec 31 2009, 12:42 PM, said:

From ACP > Look & Feel > All Template HTML > Global HTML > Member Bar


Thanks, I can not figure out where to change it. What, exactly would I change to make it not show in the index?

#62 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 05 January 2010 - 12:58 PM

Does anyone know how to instal this so the moods do not show on the forum index.  I want the moods to show in the personal and the posting profiles.

#63 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 05 January 2010 - 01:09 PM

Go into ACP -> Look & Feel --> All Template HTML -> All Global HTML --> member_bar
======
Find:
======

<!-- Member_Mood-->
<if="$this->ipsclass->member['id']"><if="$this->ipsclass->vars['mood_enable'] == '1'">
<br />My Current Mood: <img src="{$this->ipsclass->vars['board_url']}/images/mood/{$this->ipsclass->member['mood']}.png">
<br />Update Mood: <form name="mood" action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="CODE" value="mood" />
		<select name="moods">
			<option value='-1' selected='selected'>Select a Mood</option>
			<option value='none'>No Mood</option>
			  <option value='angelic'>Angelic</option>
			  <option value='angry'>Angry</option>
			  <option value='cheezy'>Cheesy</option>
			  <option value='demonic'>Demonic</option>
			  <option value='embarrased'>Embarrased</option>
			<option value='happy'>Happy</option>
			<option value='hyper'>Hyper</option
			  <option value='love'>In Love</option>
			  <option value='reliefed'>Reliefed</option>
			<option value='tired'>Tired</option>
			<option value='unhappy'>Unhappy</option>
			<option value='unsure'>Unsure</option>
			  <option value='woot'>Woot</option>
		</select>
	<input type="submit" class='button' value="Update Mood" />
</form></if></if>
<!--/Member_Mood-->

Delete!

If you want to place the code somewhere else, just copy, cut, and paste it where ever else you want it to show.
My Mood Pack for (V22) Member Moods

#64 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 05 January 2010 - 11:26 PM

Thanks,  will I want to place it in profile folder to have it show in the profile and post profile?  If I do, exactly where in that folder?

#65 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 05 January 2010 - 11:36 PM

Where do you want it to show in a members profile?
My Mood Pack for (V22) Member Moods

#66 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 06 January 2010 - 12:01 AM

The top of the profile page would be fine, in the post profile under the avatar would fine.

Edited by micmin, 06 January 2010 - 04:21 AM.


#67 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 08 January 2010 - 10:44 PM

Does anyone know?  Thanks

#68 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 08 January 2010 - 10:54 PM

Profile:

ACP > Look & Feel > Choose Skin > Edit HTML > Profile View > personal_portal_main

Find:
<!--We (?:c|sh)ould use CSS for this.-->

Add Below:
<!-- Member_Mood-->
<if="$this->ipsclass->member['id']"><if="$this->ipsclass->vars['mood_enable'] == '1'">
<br />My Current Mood: <img src="{$this->ipsclass->vars['board_url']}/images/mood/{$this->ipsclass->member['mood']}.png">
<br />Update Mood: <form name="mood" action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="CODE" value="mood" />
		<select name="moods">
			<option value='-1' selected='selected'>Select a Mood</option>
			<option value='none'>No Mood</option>
			  <option value='angelic'>Angelic</option>
			  <option value='angry'>Angry</option>
			  <option value='cheezy'>Cheesy</option>
			  <option value='demonic'>Demonic</option>
			  <option value='embarrased'>Embarrased</option>
			<option value='happy'>Happy</option>
			<option value='hyper'>Hyper</option
			  <option value='love'>In Love</option>
			  <option value='reliefed'>Reliefed</option>
			<option value='tired'>Tired</option>
			<option value='unhappy'>Unhappy</option>
			<option value='unsure'>Unsure</option>
			  <option value='woot'>Woot</option>
		</select>
	<input type="submit" class='button' value="Update Mood" />
</form></if></if>
<!--/Member_Mood-->

I wouldnt put the change mood selector under the avatar, because it probably wont look right, and it may screw up some other things for this mod to work.

Edited by visionz510, 08 January 2010 - 10:54 PM.

My Mood Pack for (V22) Member Moods

#69 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 09 January 2010 - 05:05 AM

That worked great for the profile,  thank you .  But, it didn't place it in the post profile.

Also when I change my mood, everyone elses mood changes with it, and the same when a member changes their mood, everyone else changes to that same mood.   lol

Edited by micmin, 09 January 2010 - 05:16 AM.


#70 micmin

micmin

    Novice

  • Members
  • PipPip
  • 17 posts
  • IPB Version:v2.3.x

Posted 12 January 2010 - 03:48 PM

Is there a fix for these problems?  Thanks

#71 Luser

Luser

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:v2.3.x

Posted 06 January 2012 - 11:59 PM

Fatal error: Call to undefined method usercp::mood_update() in .../sources/action_public/usercp.php on line 320
On line:
//-----------------------------------------
               // Mood Change
               //-----------------------------------------
319                case 'mood':
320                     $this->mood_update();
321                                      break;




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users