Welcome, Guest. Please Login or Register.
November 28, 2024, 08:52:28 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  |  [Done 1.5.2] Ultimate Shoutbox v.1.3 « previous next »
Pages: [1] 2 3 ... 5 Reply Ignore Print
Author Topic: [Done 1.5.2] Ultimate Shoutbox v.1.3  (Read 12660 times)
haase
Full Member
***
Posts: 224


Do you feel lucky?

[Done 1.5.2] Ultimate Shoutbox v.1.3
« on: May 05, 2003, 01:41:06 AM »
Reply with quote

***if you downloaded Version 1.3 before May 21st, there is an updated shout.php.  You can download that file HERE

Okay.  This update includes a bunch of suggestions from people here at PfaBB as well as over at YaBB SE.  Most noticible of course is the shout archive, and the admin delete functions that go with it...  but enough of my rambling...  here's some info from the mod file:
Version 1.3:
1. Fixed this boardmod file
2. added SSI (only tested in php version)
3. Fixed shout validation
4. Fixed shout redirect for folders other than $boarddir



There is an upgrade file for those who are currently running v.1.1

The files are available for download Here.  Click the downloads link and look for mods.

[edit]
One thing I did *not* remove was the temp table.  I conducted a series of tests and found that the impact on page create times was around 0.004 seconds.  See the old thread for more info.
[/edit]
« Last Edit: May 22, 2003, 12:09:25 AM by greghaase » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #1 on: May 05, 2003, 02:07:06 AM »
Reply with quote

*feels REALLY bad...*

Dude, I didn't mean anything by the temporary variables thing.  It's just something most programmers do that I've never understood - I didn't mean anything.  I'm sorry.

-[Unknown]
Logged
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #2 on: May 05, 2003, 02:16:54 AM »
Reply with quote

Dude...  don't worry about it.  In a way, it was a really good thing because it made me take a much closer look at it, run a bunch of tests.  I feel infinitely better about it now  ;)
Logged
oldiesmann
YaBB God
*****
Posts: 577


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

oldiesmann@oldiesmann.us WWW
Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #3 on: May 05, 2003, 03:03:27 AM »
Reply with quote

Uh... Where's the text in ModSettings? I even changed everything from $shoutbox[number] to $shoutbox['number'] because that's how you have it in the code that you add to modsettings, but it isn't showing up... Try changing everything to $txt['shoutboxnumber']...
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)
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #4 on: May 05, 2003, 03:10:47 AM »
Reply with quote

I just updated the file.  You need to add $shoutbox to the globals in modsettings, and I accidently left that one out of the mod.
Logged
GauGau
Noobie
*
Posts: 18


Klugscheisserei grood recht!

WWW
Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #5 on: May 05, 2003, 08:22:33 AM »
Reply with quote

German translation (with colloquial translation "Labern" for "Shout"):
//text for Ultimate Shoutbox
$shoutbox[0] = 'Laberbox';
$shoutbox[1] = 'Laberbox-Archiv';
$shoutbox[2] = 'Lösche Gelaber, das älter ist als:';
$shoutbox[3] = 'Tage';
$shoutbox[4] = 'Lösche alles Gelaber, das Dein derzeitiges Limit übersteigt:';
$shoutbox[5] = 'Löschen';
$shoutbox[6] = 'Name';
$shoutbox[7] = 'Email';
$shoutbox[8] = 'Dein Gelaber';
$shoutbox[9] = 'los!';
$shoutbox[10] = 'Leider musst Du als Gast sowohl Deinen Namen als auch Deine Email-Adresse eintragen';
$shoutbox[11] = 'Uups, scheinbar hast Du vergessen, eines der Laberbox-Felder auszufüllen. Versuche es bitte nochmal.';
$shoutbox[12] = 'Sorry, aber Du musst als Gast eine gültige Email-Adressse eintragen, wenn Du die Laberbox benutzt.';
$shoutbox[13] = 'Sorry, aber Du hast nicht die benötigten Berechtigungen, um das zu löschen.';
$shoutbox[14] = 'Wer kann die Laberbox benutzen?';
$shoutbox[15] = 'Jeder';
$shoutbox[16] = 'Nur Mitglieder';
$shoutbox[17] = 'Nur Admins';
$shoutbox[18] = 'Laber-Richtung';
$shoutbox[19] = 'Aufsteigend';
$shoutbox[20] = 'Absteigend';
$shoutbox[21] = 'Laber-Trennzeichen';
$shoutbox[22] = 'Labern von der Archiv-Seite aus erlauben?';
$shoutbox[23] = 'Anzahl der anzuzeigenden Shouts';
$shoutbox[24] = 'Maximale Anzahl der Zeichen pro Zeile';
$shoutbox[25] = 'Zeichenanzahl, bei der lange Wörter umgebrochen werden sollen (normalerweise 3 weniger als Max.)';
$shoutbox[26] = 'Scrolling ermöglichen';
$shoutbox[27] = 'Die folgenden Optionen sind nur verfügbar, wenn Scrolling aktiviert wurde:';
$shoutbox[28] = 'Scroll-Box Breite (in Pixel)';
$shoutbox[29] = 'Scroll-Box Höhe (in Pixel)';
$shoutbox[30] = 'Scrolling-Geschwindigkeit';
$shoutbox[31] = 'am langsamsten';
$shoutbox[32] = 'langsamer';
$shoutbox[33] = 'mittel';
$shoutbox[34] = 'schneller';
$shoutbox[35] = 'am schnellsten';
$shoutbox[36] = 'Scrolling-Richtung';
$shoutbox[37] = 'hoch';
$shoutbox[38] = 'runter';
$shoutbox[39] = 'links';
$shoutbox[40] = 'rechts';
$shoutbox[41] = 'Scroll-Verzögerung (Millisekunden - normal ist 60)';
$shoutbox[42] = 'Lösch-Optionen';
$shoutbox[43] = 'Alle anzeigen';


The Mod works great!
Any plans for integration into SSI.php?

GauGau

P.S. in shoutbox_v1_2_upgrade.mod it should be
<search for>
               'shoutdir',
               'shoutlimit',
               'shoutmaxchr',
               'shoutsplitchr',
               'shoutscrollwidth',
               'shoutscrollheight',
               'shoutscrollspeed',
               'shoutscrolldir',
               'shoutscrolldelay',
               'enablescrollshout',
               'shoutallow',
</search for>

<replace>
               'shoutdir',
               'shoutlimit',
               'enablearchiveshout',
               'shoutsep',
               'shoutmaxchr',
               'shoutsplitchr',
               'shoutscrollwidth',
               'shoutscrollheight',
               'shoutscrollspeed',
               'shoutscrolldir',
               'shoutscrolldelay',
               'enablescrollshout',
               'shoutallow',
</replace>

instead of
<search for>
               'shoutdir',
               'shoutlimit',
               'shoutmaxchr',
               'shoutsplitchr',
               'shoutscrollwidth',
               'shoutscrollheight',
               'shoutscrollspeed',
               'shoutscrolldir',
               'shoutscrolldelay',
               'enablescrollshout',
               'shoutallow',
</search for>

<add after>
               'shoutdir',
               'shoutlimit',
               'enablearchiveshout',
               'shoutsep',
               'shoutmaxchr',
               'shoutsplitchr',
               'shoutscrollwidth',
               'shoutscrollheight',
               'shoutscrollspeed',
               'shoutscrolldir',
               'shoutscrolldelay',
               'enablescrollshout',
               'shoutallow',
</add after>
« Last Edit: May 05, 2003, 08:24:34 AM by GauGau » Logged
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #6 on: May 05, 2003, 12:44:28 PM »
Reply with quote

Ooops!   :o  Thanks for posting that fix.

And thanks for the quick translation!

I'll look at SSI, but that's all new territory for me, so It'll be a while at best.  I don't use the SSI...  I was trying to get it to work one day and it was buggy at best for me, so I just installed the portal (PfaBB).
Logged
oldiesmann
YaBB God
*****
Posts: 577


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

oldiesmann@oldiesmann.us WWW
Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #7 on: May 05, 2003, 12:55:28 PM »
Reply with quote

Ah... I knew there was some reason the text wasn't showing up in the mod settings area... I'll fix it later. I'm updating the version on my Lycos board (still using the other shoutbox for my main board - I like that one better because it's not as "in the way" as this one is).
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.5.2] Ultimate Shoutbox v.1.2
« Reply #8 on: May 05, 2003, 01:36:08 PM »
Reply with quote

Ok. Fixed that, but now it doesn't seem to care what I put in the "shout seperator" box, it just keeps the shout seperator as the horizontal rule, even if I put something like <br> in the box.
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)
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #9 on: May 05, 2003, 01:48:09 PM »
Reply with quote

Is that in the box or on the archive page.  The archive page is static on the horizontal rule, because if someone put non-breaking characters as a separator (for a linear shoutbox) it would look really aweful in the archive page.

Also, you did upload the latest version of shout.php?
Logged
oldiesmann
YaBB God
*****
Posts: 577


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

oldiesmann@oldiesmann.us WWW
Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #10 on: May 05, 2003, 02:01:19 PM »
Reply with quote

Ah... I uploaded the latest version of shout.php, but I put it in the wrong folder. I put it in the main folder and not the sources folder... Problem fixed!
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.5.2] Ultimate Shoutbox v.1.2
« Reply #11 on: May 05, 2003, 02:03:47 PM »
Reply with quote

Well, I just discovered yet another problem! Now all of the dates are "January 01, 1970"!
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)
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #12 on: May 05, 2003, 02:06:50 PM »
Reply with quote

Yes... that one I know about.  It's because I had to change the date format in the database.  Because all your old shouts are in the old date format, they all come up wrong.  I'm going to be working on another dbmod that will fix that tonight.  In the meantime, your new shouts should be fine.
Logged
oldiesmann
YaBB God
*****
Posts: 577


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

oldiesmann@oldiesmann.us WWW
Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #13 on: May 05, 2003, 02:08:52 PM »
Reply with quote

Ok. Glad you know about that... I set the shouts to scroll up now because I don't have to deal with that kinda annoying horizontal rule anymore... I also like how it stops scrolling if you move your mouse cursor over it... Nice use of code there... ;)
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)
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:[Done 1.5.2] Ultimate Shoutbox v.1.2
« Reply #14 on: May 05, 2003, 02:17:50 PM »
Reply with quote

You can thank Josh Darnell for the Marquee stuff  ;)

I personally thought that you would be the guy to try using a pipe " | " for the separator, then having the shouts scroll horizontally.  It should look good if you choose ascending, and then scroll direction left.  Set the height to something like 20, and make the width like 500.
Logged
Pages: [1] 2 3 ... 5 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Ultimate Shoutbox v.1.3 « 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.035 seconds with 20 queries.