Welcome, Guest. Please Login or Register.
March 29, 2024, 10:50:16 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.3 Final] UltraSweet Im Sound Mod « previous next »
Pages: [1] 2 3 ... 7 Reply Ignore Print
Author Topic: [Beta 1.5.3 Final] UltraSweet Im Sound Mod  (Read 73286 times)
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
[Beta 1.5.3 Final] UltraSweet Im Sound Mod
« on: April 19, 2003, 12:04:29 AM »
Reply with quote

Okay I threw this mod together really fast this afternoon. So it is rough, please be gentle on me.  ;)

This mod will give a user a choice of 15 sounds that can be played when they receive a new Instant Message.

They can select the sounds via their Instant Message preferences.

(Warning, some sounds may not be suitable for young ears.)

Next version I will fix some of the hardcode text, and any bugs. (Like I said, I threw this together really fast.)

http://www.gamerzalliance.com/distributions/im_sound_1.5.3.zip
« Last Edit: June 06, 2003, 08:49:48 AM by Nemesis » Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #1 on: April 19, 2003, 12:15:12 AM »
Reply with quote

After I take a nap, I'll put in somce codes to preview the sounds from the selection portion.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #2 on: April 19, 2003, 12:21:43 AM »
Reply with quote

Is this like the one that was released for yabb perl all those many years ago? I remember it well!  ;D
Logged

PHPNews has been released!!! Download it now!!!
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #3 on: April 19, 2003, 02:49:46 AM »
Reply with quote

I just did a search at boardmod site. Was done by Robert Winslow, all thou the one he has is for gold, and I had the hack before gold, but the mod list don't go that far back anymore. Well just used his sounds anyways. I see his last version has more sounds, I might have to make two versions of this.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
fratze
Jr. Member
**
Posts: 91


I'm a llama!

Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #4 on: April 19, 2003, 04:34:23 AM »
Reply with quote

Hi,
When I save the preferences I become a error message :

You have an error in your SQL syntax near 'WHERE ID_MEMBER=1' at line 1
Datei: /usr/local/httpd/htdocs/kunden/web1/html/board/Sources/InstantMessage.php
Zeile: 1108

This is the line :

$request = mysql_query("UPDATE {$db_prefix}members SET im_ignore_list='$ignorelist',im_email_notify=$notify,im_email_sound=$imsound WHERE ID_MEMBER=$ID_MEMBER") or database_error(__FILE__, __LINE__);

Any Idea ? Thx.

MfG,
Fratze
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #5 on: April 19, 2003, 05:30:03 AM »
Reply with quote

did you run the database file?
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Fizzy
Full Member
***
Posts: 214


Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #6 on: April 19, 2003, 08:12:21 AM »
Reply with quote

Hi there Nemesis,

This looks like exactly what I was asking for :)

Would it be possible to read the list of a sound files in the directory and compile the list of sounds from that ?
Logged
Fizzy
Full Member
***
Posts: 214


Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #7 on: April 19, 2003, 08:26:26 AM »
Reply with quote

Found a small problem with a missing </search> tag at the end of

<search for>
         $yyim = "$txt[152] <a href=\"$cgi;action=im\">$mnum $txt[471]</a>$txt[newmessages4] $munred $isare $txt[newmessages2].";
      else
         $yyim = "$txt[152] <a href=\"$cgi;action=im\">$mnum $txt[153]</a>$txt[newmessages4] $munred $isare $txt[newmessages2].";
</search for>

Lines 2, 4 and 6 won't run on mine.
Must be clashing with a previous mod ? ?
I think it's the InstantMessage.php version for teh advanced IM mod from Gobalopper
« Last Edit: April 19, 2003, 08:39:15 AM by Fizzy » Logged
fratze
Jr. Member
**
Posts: 91


I'm a llama!

Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #8 on: April 19, 2003, 09:49:00 AM »
Reply with quote

Yes, I run the database file! It says all OK !
Logged
Tomahawk
Noobie
*
Posts: 22


I'm a llama!

Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #9 on: April 19, 2003, 12:01:27 PM »
Reply with quote

Quote from: fratze on April 19, 2003, 04:34:23 AM
Hi,
When I save the preferences I become a error message :

You have an error in your SQL syntax near 'WHERE ID_MEMBER=1' at line 1
Datei: /usr/local/httpd/htdocs/kunden/web1/html/board/Sources/InstantMessage.php
Zeile: 1108

This is the line :

$request = mysql_query("UPDATE {$db_prefix}members SET im_ignore_list='$ignorelist',im_email_notify=$notify,im_email_sound=$imsound WHERE ID_MEMBER=$ID_MEMBER") or database_error(__FILE__, __LINE__);

Any Idea ? Thx.

MfG,
Fratze

I get same error.  :(
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #10 on: April 19, 2003, 12:25:10 PM »
Reply with quote

Run imsound_dbchanges.php
Logged
Tomahawk
Noobie
*
Posts: 22


I'm a llama!

Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #11 on: April 19, 2003, 12:30:13 PM »
Reply with quote

Quote from: Angel Skin on April 19, 2003, 12:25:10 PM
Run imsound_dbchanges.php

We have and the adds in the tables are made:
"im_email_sound" is in Members table.

:(
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #12 on: April 19, 2003, 12:41:50 PM »
Reply with quote

OK, I see what you mean, I have that error it comes up after selecting the sound.

I've removed the whole thing for the time being as I can't see the error at the moment.
Logged
Tomahawk
Noobie
*
Posts: 22


I'm a llama!

Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #13 on: April 19, 2003, 12:49:05 PM »
Reply with quote

Oh, i think i know the problem.

The variable "im_email_sound" is tinytext-type in MySQL.

So you have to set the im_email_sound in ' ' and it works.  ;D

It should look like this in code:

$request = mysql_query("UPDATE {$db_prefix}members SET im_ignore_list='$ignorelist',im_email_notify=$notify,im_email_sound='$imsound' WHERE ID_MEMBER=$ID_MEMBER") or database_error(__FILE__, __LINE__);

Tom   

But selecting a sound don't still work.  :(

« Last Edit: April 19, 2003, 12:51:44 PM by Tomahawk » Logged
multikon
Sr. Member
****
Posts: 401


ICQ - 116573999
Re:[Beta 1.5.1 Final] Nemesis UltraSweet Im Sound Mod
« Reply #14 on: April 19, 2003, 02:50:27 PM »
Reply with quote

Hi

BoardMod 2.53 ... Yabb SE Final

----------------------------------------------------------------------

now installing: Nemesis - IM Sound Mod 1.0 BETA (im_sound_1.5.1.mod)

--------------------------------------------------------------------------------



Step 1 ... ok

Step 2 ... ok

Step 3 ... ok

Step 4 ... failed - ERR(1): Search string could not be found

Step 5 ... ok

Step 6 ... failed - ERR(1): Search string could not be found



> modifications failed! 2 errors occured. No files will be modified. Please see readme for help on the
error messages.
Logged

MULTIMEDIA-KONSOLEN
BEI FRAGEN ODER PROBLEMEN MIT KONSOLEN, COMPUTERN & MOBILFUNK
Pages: [1] 2 3 ... 7 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.3 Final] UltraSweet Im Sound Mod « 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.017 seconds with 19 queries.