Page Index Toggle Pages: [1] 2 3  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Member Moods for 2.6.1 (Read 11593 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Member Moods for 2.6.1
Sep 6th, 2014 at 4:28pm
Mark & QuoteQuote  
I'm working on it.

BUT it would be nice to turn the Language specific buttons into css styled ones. There are two ways to do this. (Or maybe three.  :Smiley )
  1. Have just the Smiley section show with the description in a title. The advantage for this is there would only be 200 or so images to worry about and the javascript for the user choice in Profile will work.
  2. Have a fully css button with the word showing (Just like the css buttons). The upside is it looks nice. Downside -I haven't figured out how to get the javascript to pull up the properly rendered image.  (This will use 600 tiny images)
  3. OR Have just the smiley show when choosing the mood and have the full css button show elsewhere.  (This will use 800 tiny images)


Edited:
And here it is - The words are pulled from Mood.lng which also created the javascript arrays tha allow the images to change when selected. The Admin can choose to show just the Mood smiley with a popup title or the whole formatted image with text.  The button gradients are css generated and the colors picked from the original gif buttons. The new images are .pngs.

One minor issue - changing Mood from the Memberlist appears to cause a cache reload in FireFox which sometimes makes the Avatar images not load in a timely manner.

Edited:
The German and German Du Mood.lng files - both have one new phrase added which is still in English.


Sep 13th, 2014 at 7:12pm New files - this one has the new css file.
Sep 14th, 2014 at 8:04pm Correction in folder name.
Jan 1st, 2015 at 3:17pm New zip - added Template file, some bug fixes
Jan 21st, 2015 at 3:48pm New zip - bug fixes.

Member Moods for YaBB 2.6.11
Version: 0.2

Description
-----------
Allows Members to select their Mood

Installation
------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload Mood.lng to Languages/English/Mods
4) Upload ChangeMood.pm to Sources/Mods.
5) Upload Mood.template to Templates/default/Mods.
6) Upload the Mood images folder to the ModImages directory in Binary mode.
7) Upload mood.css to yabbfiles/Templates/Forum

Files to edit
-------------
Admin/ModList.pm
Admin/NewSettings.pm
Admin/Settings_Main.pm
Sources/Display.pm
Sources/Load.pm
Sources/MemberList.pm
Sources/MyCenter.pm
Sources/Profile.pm
Sources/Subs.pm
Sources/SubList.pm
Sources/System.pm
Templates/default/Display.template
Templates/default/MyCenter.template
Templates/default/MyProfile.template

Version History
---------------
1.0 - First release by Derek Barnstorm - 5th August 2008
1.1 - Made new images, aligned text and image better, added more moods and added preview image in User CP - 1st October 2008
1.2 - Updated for YaBB 2.3 - 14th October 2008
1.3 - Updated for YaBB 2.3.1 - 4th January 2009
1.4 - Updated for YaBB 2.4 and added ability to change mood by clicking on the image (Martin_W) - 4th May 2009
1.5 - Added to Member List and fixed issue with some users receiving Form Spoofing message - 6th July 2009
1.6 - Updated for YaBB 2.5 - 13th January 2011
1.7 - Updated for YaBB 2.6.0 by Dandello - 13 July, 2014
1.7a - fixed typos.
1.8 - Updated for YaBB 2.6.1 by Dandello - 6 Sept, 2014
2.1 - Updated for YaBB 2.6.1 by Dandello (new css file) 21 Oct, 2014
2.6.11 v0.1 - Updated for YaBB 2.6.1 Dec 31, 2014
0.2 - bug fixes - Jan 21, 2014
« Last Edit: Jan 21st, 2015 at 3:51pm by Dandello » 
Reason: New Zip - bug fixes 

MemberMoods_2611_b.zip ( 684 KB | 139 Downloads )
Member_moods_German_files.zip ( 11 KB | 132 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Member Moods for 2.6.1
Reply #1 - Sep 6th, 2014 at 4:49pm
Mark & QuoteQuote  
The problem is how many images it has to render on single page load... More it has to, slower the page drawing gets...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #2 - Sep 6th, 2014 at 6:00pm
Mark & QuoteQuote  
For the static display there would be 3 images for the css with the inserted text coming from Mood.lng. (And the images are small - something like 8KB combined.) Currently for the 'change mood' with the image change (which works like the message icon drop-down in Post) it calls for the associated image, but I don't think it's pre-loaded.

Going with just Mood Smileys, each image will be about 4KB and the associated word can show up in a title just like the current Smileys. (And since I'm still mulling over which way to go, I don't have samples.)

This is one of those mods where the people who like it really like it and everybody else seems to go 'Huh?'.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Member Moods for 2.6.1
Reply #3 - Sep 6th, 2014 at 6:22pm
Mark & QuoteQuote  
The byte size of the images won't be the problem... it's the delay that it takes to fetch the images from either memory cache, disk cache or to request the images from the site hosting the forum, and calculate the dimensions of the images.

More images the page has, longer time it takes to render the page, because it has to calculate dimensions of all images before it can fully render the page.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #4 - Sep 6th, 2014 at 6:33pm
Mark & QuoteQuote  
My suspicion is that admins who already have this mod loaded or who want it aren't overly worried about load time.

This is the first one I got finished for testing. (The one with the word has 4 images - 3 as backgrounds in spans - but I'm wondering if a purely CSS solution for the background might work - in everything except MSIE.  Tongue )
  

Amazed.png ( 3 KB | 128 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Member Moods for 2.6.1
Reply #5 - Sep 6th, 2014 at 6:47pm
Mark & QuoteQuote  
Dandello wrote on Sep 6th, 2014 at 6:33pm:
This is the first one I got finished for testing. (The one with the word has 4 images - 3 as backgrounds in spans - but I'm wondering if a purely CSS solution for the background might work - in everything except MSIE.  Tongue )


That hurts... I have been IE beta tester since IE4...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #6 - Sep 6th, 2014 at 7:05pm
Mark & QuoteQuote  
Well, a pure css solution does work in MSIE 10 and up. Haven't got the smiley img to overhang the top of the background block - yet. :Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Member Moods for 2.6.1
Reply #7 - Sep 6th, 2014 at 7:12pm
Mark & QuoteQuote  
Dandello wrote on Sep 6th, 2014 at 7:05pm:
Well, a pure css solution does work in MSIE 10 and up. Haven't got the smiley img to overhang the top of the background block - yet. :Smiley


That shouldn't be hard... just use top padding on the background block and negative vertical offset on the smiley image...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #8 - Sep 6th, 2014 at 7:27pm
Mark & QuoteQuote  
Gaining on it.   Grin
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Member Moods for 2.6.1
Reply #9 - Sep 6th, 2014 at 7:42pm
Mark & QuoteQuote  
Reminds me of the song that was really icky when I was a lot younger...

Don't stop, never give up, hold your head high...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #10 - Sep 6th, 2014 at 7:54pm
Mark & QuoteQuote  
I think I prefer the Rubber tree song - 'Everybody knows an ant can't move a rubber tree plant...'  Grin
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Member Moods for 2.6.1
Reply #11 - Sep 6th, 2014 at 8:03pm
Mark & QuoteQuote  
Dandello wrote on Sep 6th, 2014 at 7:54pm:
I think I prefer the Rubber tree song - 'Everybody knows an ant can't move a rubber tree plant...'  Grin


I had enough with rubber things when I did hang around with a girl who had cats named Rubber and Duck... It was constant watching of Sesame Street, in bath tub...
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #12 - Sep 9th, 2014 at 9:08pm
Mark & QuoteQuote  
Member Moods is in testing here. The only graphic is the mood icon - everything else is CSS. Still working on cleaning up the javascript code as it's still pretty clunky.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #13 - Sep 10th, 2014 at 11:53pm
Mark & QuoteQuote  
Member Mood zip in first post. Here.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Member Moods for 2.6.1
Reply #14 - Sep 11th, 2014 at 1:24pm
Mark & QuoteQuote  
German language zips in first post.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Member Moods for 2.6.1

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry