Mood Bobels V2.1

Started by Chaos Dragon, September 04, 2008, 04:29:13 PM

Previous topic - Next topic

Lamarck

This is not working in RC1 with the new profiletemplate.I can't select moods.

SA™

works fine in rc 1 you change the mood in forum profile
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SilverKnight

Can you make it so, when in a topic, you can click your own Bobel, and change it to something else? Like a scroller that shows all the images instead of the dropdown menu in your profile.

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Bec

I agree with SilverKnight, would be a great feature!

I am wondering if someone could help me with this code, my theme is setup so that every section (avatars etc) are featured in boxes - have attached a piccie. At the moment by mood bobel is just sitting off on his own and looking a little out of place and I would love to have him in a box like everything else...

This is the code used for some of the other boxes there:-

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div class="windowbg4">', $message['member']['avatar']['image'], '</div>';

// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
<div class="windowbg4">', $message['member']['title'], '</div>';

// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
<div class="windowbg4">', $message['member']['group'], '</div>';


Could someone please help me fit the mood bobel code into the same format, this is the code for the moods

// Did they select a mood?
if(isset($message['member']['options']['bobel']) && !empty($message['member']['options']['bobel']))
{
$bobel = MoodBobel();
echo '
', $txt['mood_bobel'], ':<br /> <img src="', $settings['default_theme_url'], '/images/moodbobels/', $message['member']['options']['bobel'], '.gif" alt="', $bobel[$message['member']['options']['bobel']], '" /><br /><br />';
}


Thanks in advance  :)

Bec

I am also wondering if its possible to get this working with the Ultimate profile mod? The option to view forum profile under your profile settings to make the changes are no longer there as it is now ultimate profile... any suggestions how I could incorporate the moods?

thanks :)

SA™

try this ill look into the other one

// Did they select a mood?
if(isset($message['member']['options']['bobel']) && !empty($message['member']['options']['bobel']))
{
$bobel = MoodBobel();
echo '
<div class="windowbg4">', $txt['mood_bobel'], ':<br /> <img src="', $settings['default_theme_url'], '/images/moodbobels/', $message['member']['options']['bobel'], '.gif" alt="', $bobel[$message['member']['options']['bobel']], '" /><br /><br /></div>';
}
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SilverKnight

Quote from: Bec on March 31, 2009, 12:15:03 PM
I am also wondering if its possible to get this working with the Ultimate profile mod? The option to view forum profile under your profile settings to make the changes are no longer there as it is now ultimate profile... any suggestions how I could incorporate the moods?

thanks :)

Yeah, that would be nice.. i wish all the profile mods supported ultimate profile mod, it's truely the best.

SA™

uninstall it an reinstall there is allready support for that?? no??
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Bec

MAD Coder,

thank you heaps, that code worked perfectly!! appreciate your help!! :)

and yeah the ultimate profile mod does support mood bobels, i just had a bad install hence why it wasnt showing!

thanks again!!

chrishicks

Question concerning this and the Ultimate Profile mod. I installed this on my test board and in UP only the text for the mood shows up. Is this how its supposed to be?


SA™

no it not how it supposed to be should show pics are the images in the default theme/images is that in ff or ie if ie right click and see where the image should be
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Chit-Chat ChatterBox Boss

How would I add to it says the name of the mood and also the picture. So it says like for sleepy this:

Mood: Sleepy



Right now its like this:

Mood:
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

SA™

use the updated package i just added or you can do one manual edit to display.template.php and PersonalMessage.template.php

find

', $txt['mood_bobel'], ':<br /> <img src="', $settings['default_theme_url'], '/images/moodbobels/', $message['member']['options']['bobel'], '.gif" alt="', $bobel[$message['member']['options']['bobel']], '" /><br /><br />';


replace with

<br />', $txt['mood_bobel'], ':', $bobel[$message['member']['options']['bobel']], ' <br /> <img src="', $settings['default_theme_url'], '/images/moodbobels/', $message['member']['options']['bobel'], '.gif" alt="', $bobel[$message['member']['options']['bobel']], '" /><br /><br />';


the same for both files





http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Chit-Chat ChatterBox Boss

#94
Alright sounds good bro I will go edit it now and let you know how it all pans out  ;D

~Edit
Works great thanks!
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

chrishicks

I figured I'd give this a run on my actual board but it's doing the same as my previous post above for Ultimate Profile. It's not a huge deal but I'm curious if I can get it fixed.



I tried in both FF and IE8 and I don't see anywhere that the image could be such as a red x box or anything.

machmanx

Quick Question:  Can this mod be turned on and off by individual users...or is there a "No Mood" default setting?

chrishicks

There is a blank that can be used for those who don't want to use it. It defaults that way on install(or at least it did for me). If no mood is selected nothing will be shown. So you won't see "Mood:" followed by nothing.

SA™

QuoteI tried in both FF and IE8 and I don't see anywhere that the image could be such as a red x box or anything.


the image isnt supposed to be there
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

LHW

Nice Mod, SA.  Cute critters, too.  :)


Advertisement: