Welcome, Guest. Please Login or Register.
November 25, 2024, 11:49:01 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  |  [Beta 1.54/1.55] Moods Mod v2.0 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Beta 1.54/1.55] Moods Mod v2.0  (Read 7294 times)
oldiesmann
YaBB God
*****
Posts: 577


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

oldiesmann@oldiesmann.us WWW
[Beta 1.54/1.55] Moods Mod v2.0
« on: February 19, 2004, 09:54:43 PM »
Reply with quote

That's right! It's back! And better than ever!

After nearly 10 months, I finally figured out how to fix the problem with the edit moods functionality not working kind of by accident after using a similar function in the Referral Rewards mod I just made (I didn't think about it until the "update" function actually worked). I won't bore you here with the technical details.

So, what's new in this version (besides the fact that editing moods actually works now)?

Enable/disable the mod from "Installed 'Mods' Settings and Options"
Choose whether or not to display the mood in posts (same place)
New "x" link that allows users to un-set their mood easily.
Better display - the mood that the user has selected won't show up in the list of other moods (ie: Your mood: <yourmoodimage> Moods:<every other mood>)
Various code improvements

Download: click here

This zip file also includes instructions on how to update your board to the current version of the moods mod for those of you who have the old one installed.

Want more technical information on this?
Click here for techy details
« Last Edit: March 01, 2004, 01:22:13 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)
Maleveax
Noobie
*
Posts: 4


interex45331@hotmail.com WWW
Re:[Beta 1.54/1.55] Moods Mod v2.0
« Reply #1 on: February 22, 2004, 04:28:08 AM »
Reply with quote

Parse error: parse error, expecting `','' or `';'' in /usr/home/interex/public_html/yabbse/moodsinstaller.php on line 77
 uh oh i think i broked it =0X
Logged
oldiesmann
YaBB God
*****
Posts: 577


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

oldiesmann@oldiesmann.us WWW
Re:[Beta 1.54/1.55] Moods Mod v2.0
« Reply #2 on: February 22, 2004, 06:51:17 PM »
Reply with quote

Whooops! Forgot to escape the single quote marks in the error messages. Problem has been fixed. Just download it again and upload moodsinstaller.php to your server again.
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:[Beta 1.54/1.55] Moods Mod v2.0
« Reply #3 on: February 26, 2004, 07:58:09 PM »
Reply with quote

Found another couple of bugs:

in english.lng

Search for
$moodtxt[15] = 'Click if you don't want a mood';

Replace with
$moodtxt[15] = 'Click if you don\'t want a mood';

in profile.php:

Search for
   if($modSettings['enableMoods'] == '1')
   {
      $mood = $memsettings['mood'];
      $moodfile = $memsettings['moodfile']


Replace with:
   if($modSettings['enablemoods'] == '1')
   {
      $mood = $memsettings['mood'];
      $moodfile = $memsettings['mood_filename'];


in subs.php:

Search for:
      echo'<a href="' . $scripturl . '?action=changemood;id=0 . '" title="' . $moodtxt[15] . '">x</a>';

Replace with:
      echo'<a href="' . $scripturl . '?action=changemood;id=0" title="' . $moodtxt[15] . '">x</a>';
« Last Edit: February 26, 2004, 08:33:30 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)
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.54/1.55] Moods Mod v2.0 « 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.061 seconds with 21 queries.