phpBB Mood Swings

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27929
Joined: Sat Aug 16, 2003 7:36 am

phpBB Mood Swings

Post by Extensions Robot » Sun Apr 19, 2009 7:02 pm

Modification name: phpBB Mood Swings
Author: Xanta Media
Modification description: Adds the ability for users to set their current mood which is then displayed in viewtopic and profile page
Modification version: 1.0.2
Tested on phpBB version: 3.0.7-pl1

Download file: phpBB_Mood_Swings_1_0_2.zip
File size: 527.41 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 10 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25230
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

phpBB Mood Swings

Post by Paul » Sun Apr 19, 2009 7:02 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Xanta Media
Registered User
Posts: 213
Joined: Sat Dec 27, 2008 4:33 pm

phpBB Mood Swings

Post by Xanta Media » Sun Apr 19, 2009 7:02 pm

Please note: This topic is for support only! For feature requests please go to my forum.

Info: You have 3 options on how to display the moods:
  • Text: This option just displays the Mood as text.
  • Image: This option displays an image.
  • Both: This option displays the image followed by the text.
To change the options go into the Admin Panel and click on "Board Features" Scroll down and you will see a section called "Mood Swing Settings" Here you can also disable the Mod if you want.


Demo Board: http://demo.xantamedia.co.uk/mood/index.php

Read the post in the forum for login details.

FAQ

Can I use Automod to install this mod?
Yes! I have fully tested this with Automod and it works fine but if you use any style other than prosilver you will have to make the changes manually and you still have to run the installer.

Can I add my own Moods?
Yes, you can add as many Moods as you like.

Ok, So how do I add them?
Go into the Admin Panel and click on the "Users and Groups" tab. on the left you will see "phpBB Mood Swings" click that and you will see a page where you can add, edit and delete your moods.

Where do I put my own images?
You need to upload them using ftp to root/images/moods/

Can I delete the moods that was installed with the Mod?
Yes, They are only included as examples and can be deleted.

What is that umil folder that was uploaded with the mod?
That is part of the installer, it is a mod that has been made by the Mod team here. As it grows in popularity more authors will be using it. You can either delete it or leave it there.

I have a problem with the mood not showing properly in a subsilver based style!
This is a known bug and will be fixed in the next version. Take a look at this post for the fix: http://www.phpbb.com/community/viewtopi ... 5#p9353115 Credit to Primy for spotting it!
Last edited by Xanta Media on Tue Sep 01, 2009 5:19 am, edited 8 times in total.

Xtracker!
Registered User
Posts: 522
Joined: Sun Apr 05, 2009 10:36 pm
Location: Area 51

Re: phpBB Mood Swings

Post by Xtracker! » Sun Apr 19, 2009 10:56 pm

Sounds good, any demo or screenshot?
TeenReply.com - Teen Support | Teen Advice | Teen Forums :D :D

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: phpBB Mood Swings

Post by DoYouSpeakWak » Sun Apr 19, 2009 11:19 pm

Congrats with validation. :)
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
barryoneoff
Registered User
Posts: 248
Joined: Sat Mar 24, 2007 10:14 pm
Location: East London, England
Contact:

Re: phpBB Mood Swings

Post by barryoneoff » Sun Apr 19, 2009 11:42 pm

Can we add our own moods?
Image
Click above to support St. Josephs Hospice.
Barryoneoff's London. ... City of London walks.

User avatar
Eclipse2564
Registered User
Posts: 85
Joined: Thu Mar 20, 2008 2:28 am
Contact:

Re: phpBB Mood Swings

Post by Eclipse2564 » Mon Apr 20, 2009 1:36 am

Hi,

Cool mod, seems to be working perfectly.

Could you please explain how to add additional moods?

Also, can you explain the purpose of the "umil" folder?

P.S. Feature request: When changing mood in UCP, after you choose the mood from the drop-down, it would display the image next to it.

bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: phpBB Mood Swings

Post by bookboarder » Mon Apr 20, 2009 2:17 am

I got the following error after installing this:

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/swapp1/public_html/phpbb3/viewtopic.php on line 1473

Can anyone help me?

bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: phpBB Mood Swings

Post by bookboarder » Mon Apr 20, 2009 2:38 am

Here's what I have on line 1473

Code: Select all

'ONLINE_IMG'			=> ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->img('icon_user_online', 'ONLINE') : $user->img('icon_user_offline', 'OFFLINE')),
Can you tell me where a ')' would be expected?

User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: phpBB Mood Swings

Post by UseLess » Mon Apr 20, 2009 3:01 am

Greetings,

The error is not on that line check previous lines to make sure they are correct.
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles

bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: phpBB Mood Swings

Post by bookboarder » Mon Apr 20, 2009 3:02 am

I'm pretty new to this..... I'm not sure where to look, or what to look for.... :?

bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: phpBB Mood Swings

Post by bookboarder » Mon Apr 20, 2009 3:04 am

Here is the code that is closest to it...

Code: Select all

	//Begin: Mood Swing
		'POSTER_MOOD'		=> $user_cache[$poster_id]['mood'],
		//End: Mood Swing

// This value will be used as a parameter for JS insert_text() function, so we use addslashes to handle "special" usernames properly ;)
		'POSTER_QUOTE'		=> addslashes(get_username_string('username', $poster_id, $row['username'], $row['user_colour'], $row['post_username'])),

		'POST_DATE'			=> $user->format_date($row['post_time']),
		'POST_SUBJECT'		=> $row['post_subject'],
		'MESSAGE'			=> $message,
		'SIGNATURE'			=> ($row['enable_sig']) ? $user_cache[$poster_id]['sig'] : '',
		'EDITED_MESSAGE'	=> $l_edited_by,
		'EDIT_REASON'		=> $row['post_edit_reason'],
		'BUMPED_MESSAGE'	=> $l_bumped_by,

		'MINI_POST_IMG'			=> ($post_unread) ? $user->img('icon_post_target_unread', 'NEW_POST') : $user->img('icon_post_target', 'POST'),
		'POST_ICON_IMG'			=> ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['img'] : '',
		'POST_ICON_IMG_WIDTH'	=> ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['width'] : '',
		'POST_ICON_IMG_HEIGHT'	=> ($topic_data['enable_icons'] && !empty($row['icon_id'])) ? $icons[$row['icon_id']]['height'] : '',
		'ICQ_STATUS_IMG'		=> $user_cache[$poster_id]['icq_status_img'],'
		'ONLINE_IMG'			=> ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->img('icon_user_online', 'ONLINE') : $user->img('icon_user_offline', 'OFFLINE')),
		'S_ONLINE'				=> ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? false : (($user_cache[$poster_id]['online']) ? true : false),

bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: phpBB Mood Swings

Post by bookboarder » Mon Apr 20, 2009 3:16 am

I have no idea what to look for. :( No one can post on the forum as we all get the error.... :(

User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: phpBB Mood Swings

Post by UseLess » Mon Apr 20, 2009 3:47 am

Greetings,

This bit...

Code: Select all

'ICQ_STATUS_IMG'      => $user_cache[$poster_id]['icq_status_img'],'
should not have a ' at the end of the line... the end of the line should be the ,
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles

bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: phpBB Mood Swings

Post by bookboarder » Mon Apr 20, 2009 3:49 am

Oh, thank you, thank you, thank you!!!! I hope this fixes it! Off to check it out...

Locked

Return to “[3.0.x] MOD Database Releases”