Welcome, Guest. Please Login or Register.
November 06, 2024, 05:31:38 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.51/1.52] YaBB Moods Mod UPDATED 5/20/03 « previous next »
Pages: [1] 2 3 Reply Ignore Print
Author Topic: [Done 1.51/1.52] YaBB Moods Mod UPDATED 5/20/03  (Read 5840 times)
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
[Done 1.51/1.52] YaBB Moods Mod UPDATED 5/20/03
« on: May 12, 2003, 07:01:40 PM »
Reply with quote

That's right! It's back! The mod you've all been waiting for - the ever popular Moods Mod. This mod is based on the Moods Mod for YaBB SE 1.4x by Jedi.

This mod is only for use with YaBB SE, YaPP and PfaBB. If you wish to use it for any other forum, you need to contact me first.

I have spent several hours testing this out to make sure everything works, so you shouldn't run into any problems. I won't go into detail about everything I did with this mod, but I will say that it is a big improvement over the other one. If you would like detailed information about what I changed/improved, just go to http://members.lycos.co.uk/oldiesmann/yabbse and look for the thread called "Mood Mod Technical Stuff" in the "General" topic.

You can also preview the mod from the user's viewpoint at that site... (Login: test | Password: YaBBSE). I am working on getting screenshots together for this mod.

For now, you can download this file by clicking here. I am working to get it attached to this thread.

Zip file attached (thanks David).
Enjoy! If you have any problems, just post here or send me a pm.

Ok. Everyone has been wanting screenshots, so I whipped a few up in Adobe Photoshop. Here they are:

Moods (visible on every page):


Add Moods (after clicking on link in Admin Center):


Edit Moods (after clicking on link in Admin Center):


User's Mood (in posts):


Version 1.4 - released 5/20/03

This version fixes a few bugs found in the first one and improves the overall usability of the mod. Moods are now displayed on one line instead of two, and users cannot change their mood to something that isn't installed in the database. I also fixed the problem with moods not getting updated in the posts, as well as added titles to the Add Moods and Edit Moods tables and improved the look of those tables.

Download - Moods Mod V1.4

(Visit my new mods site - http://oz.uc.edu/~eshommd

Admins/Global Mods, please remove the attachment from this post! Thanks!
« Last Edit: May 30, 2003, 01:34:59 PM by oldiesmann » Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
charlottezweb
Sr. Member
****
Posts: 446


charlottezweb.com

ICQ - 101387162 WWW
Re:[done 1.51/1.52] YaBB Moods Mod
« Reply #1 on: May 12, 2003, 08:10:31 PM »
Reply with quote

I posted this in your forum too...does anyone have this in production?  Does it basically look the same visually as the last version?

thanks for doing this -- I loved this mod back in the day!
Logged

"yabb-sense makes the heart grow fonder"
-----------------------------------------------------
Charlottezweb.com
Reliable, well-supported & affordable hosting and design.  Free Yabbse installs.
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[done 1.51/1.52] YaBB Moods Mod
« Reply #2 on: May 12, 2003, 11:52:23 PM »
Reply with quote

Yeah... The user's mood still shows up in the posts and on their profile, but it will say "Your mood" next to the mood you selected. One other thing I didn't mention - you will no longer get redirected back to the main board index when you change moods - All I had to do was remove a couple of lines telling it to include boardindex.php and run the boardindex function.
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
charlottezweb
Sr. Member
****
Posts: 446


charlottezweb.com

ICQ - 101387162 WWW
Re:[done 1.51/1.52] YaBB Moods Mod
« Reply #3 on: May 12, 2003, 11:55:22 PM »
Reply with quote

So it's still a mood tag that you can add anywhere in your template to display the selectable current mood?

Logged

"yabb-sense makes the heart grow fonder"
-----------------------------------------------------
Charlottezweb.com
Reliable, well-supported & affordable hosting and design.  Free Yabbse installs.
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[done 1.51/1.52] YaBB Moods Mod
« Reply #4 on: May 13, 2003, 12:19:05 AM »
Reply with quote

Yep. After installing it, just add <yabb mood> to your template someplace. One thing: If you're viewing a thread when you change moods, you will go back to the topic index... As soon as I figure out how to get it to stay in the same place, I'll update this...

Minor Update:
I forgot to set this up to put a space in between each mood, so right now they will appear to be smashed together sort of... Anyway, here's the fix:

In Subs.php
search for:
         echo '<a href="' . $cgi . ';action=changemood;mood=' . $mood[1] . ';mood_fn=' . $mood[2] . '"/><img src="' . $imagesdir . '/' . $mood[2] . '" alt=' . $mood[1] . ' border="0" /></a>';

replace with:
         echo '<a href="' . $cgi . ';action=changemood;mood=' . $mood[1] . ';mood_fn=' . $mood[2] . '"/><img src="' . $imagesdir . '/' . $mood[2] . '" alt=' . $mood[1] . ' border="0" /></a>&nbsp;';
« Last Edit: May 13, 2003, 04:14:50 PM by oldiesmann » Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #5 on: May 13, 2003, 07:24:58 PM »
Reply with quote

Ok. Just noticed that I forgot to fix a couple of things in the addmoods function in moods.php from when I was testing it. I originally had it set to add up to 10 moods at a time, but decided 5 would be best. Unfortunately, I forgot to delete the extra table rows. Also, I forgot to make $imagesdir a global variable. If you have already installed this mod, just click here and download Moods.php.zip. Then overwrite your copy of moods.php with this version.
« Last Edit: May 13, 2003, 07:51:58 PM by oldiesmann » Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #6 on: May 13, 2003, 07:29:51 PM »
Reply with quote

Don't work.
Logged

oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #7 on: May 13, 2003, 07:49:31 PM »
Reply with quote

Quote from: Daniel D. on May 13, 2003, 07:29:51 PM
Don't work.

Hmmm... I see... I'll fix it... Hang on...
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #8 on: May 16, 2003, 07:39:18 AM »
Reply with quote

One question :

I had this mod on an older version, and ofcourse it worked great, BUT :

normally you can choose a mood by clicking one of the smilies.  I had some users using the URL for this to get a mood that didn't show in the row of smilies.

To show you what I mean, I registered on your test-board as Webby, and use another .gif to get another mood :

http://members.lycos.co.uk/oldiesmann/yabbse/index.php?board=1;action=changemood;mood=Dreaming;mood_fn=new.gif

Could you do something about this by using javascript to change the mood or something ?  Or what about sessions ?

Not a big deal, but when there are BIG .gif's in the YaBBImages directory, it would get very annoying when people start using them ;)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #9 on: May 16, 2003, 03:27:18 PM »
Reply with quote

Well, I never really thought about that... I'll see what I can do as far as javascript. I'm not that familiar with it, but it shouldn't be too difficult to do. I see what you mean about users being able to set their own moods like that, and I will definitely try to do something to fix that...
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #10 on: May 16, 2003, 04:38:59 PM »
Reply with quote

Ok... I fixed the bug with the mood not being updated in the posts, but there are a few more things I want to do with this mod, so I will be releasing an updated version soon...
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #11 on: May 19, 2003, 04:40:17 PM »
Reply with quote

It kinda works for me. Doesnt show up on my 1st post though, but if i reply..shows up on the 2nd post?  ???
Logged
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.51/1.52] YaBB Moods Mod
« Reply #12 on: May 19, 2003, 07:16:59 PM »
Reply with quote

That's probably related to the same bug that's causing the moods to not be updated in the posts. I'm going to release an updated version of this mod in a little bit. That should fix it.
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:[Done 1.51/1.52] YaBB Moods Mod Updated 5/20/03
« Reply #13 on: May 20, 2003, 04:12:02 PM »
Reply with quote

New version released! See the link above to download! (I decided to use my "student homepage" for a mods download site - after checking with the university to make sure it was ok). Enjoy! I think I fixed all the bugs in this one, but as always, if you find any, let me know.
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Done 1.51/1.52] YaBB Moods Mod Updated 5/20/03
« Reply #14 on: May 20, 2003, 04:58:12 PM »
Reply with quote

Have got your moods mod (part of supermod). Will see if I can update it

my members have missed this mod!
Logged
Pages: [1] 2 3 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.51/1.52] YaBB Moods Mod UPDATED 5/20/03 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.206 seconds with 20 queries.