The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

24.05.13 at 10:05:36, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 3 
[UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4! (Read 9718 times)
Xonder
Hacker God
*****
Offline

Spittal, Kärnten, Austria
Posts: 612



22.12.04 at 20:17:34  
Hello

-----------------------------------------------
S h o u t B o x - S P 1.3.1 / 1.3.2 / 1.4!
V e r s i o n - 1.0b5
-----------------------------------------------


Ronnie wrote on 26.11.04 at 10:39:13:
There are numerous bugs in this mod but at the moment I don't have the time to sort them out. If anyone wishes to take over the mod and release a fixed version, please feel free.

OK .... here is the released and fixed version Wink
.... testet on clear SP 1.3.2 and SP 1.4! boards.

In the ZIP-file you find four mod-files

a) shoutbox.mod
b) shoutbox_right.mod
c) shoutbox_resent_user_list.mod
d) shoutbox_in_resent_user_list.mod
and a german-language-mod

Whats new in this version?
  • Added ShoutBox ON/OFF function
  • Added display function of ShoutBox (Header or Info Center)
  • Added Auto-Refresh ON/OFF function
  • Standard CSS style of shoutbox_template.html looks like SP1.3.2 and SP1.4!
  • Added new placeholder at shoutbox_template.html
    <!-- REFRESH -->
  • Added new meta-tags at shoutbox_template.html
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="pragma" content="no-cache">
  • Added smilies pack use by Shoutbox
  • Fixed any bugs

Screenshots:

- ShoutBox @Header display (all mod-versions)
...


- ShoutBox @Info Center display (shoutbox.mod)
...


- ShoutBox @Info Center display (shoutbox_right.mod)
...


- ShoutBox @Info Center display  (shoutbox_resent_user_list.mod)
- For boards which have install the mod "resent_user_list"
...


- ShoutBox @Info Center display  (shoutbox_in_resent_user_list.mod)
- For boards which have install many Info Center Mods and the mod "resent_user_list"
[No Screenshot] ... use the following link to see it in action ...
http://www.xonder.com/cgi-bin/yabbserver/foren/F_0001/YaBB.cgi#shoutbox


- ShoutBox Admin-settings
...

History:
Changes in v1.0b5 by XTC

- Added ShoutBox ON/OFF function
- Added display function of ShoutBox (Header or Info Center)
- Added Auto-Refresh ON/OFF function
- Standard CSS style of shoutbox_template.html looks like SP1.3.2 and SP1.4!
- Fixed any bugs


Changes in v1.0b4: by Ronnie

- Added SSI and <yabb shoutbox> support. More details below.
- Fixed the guest access error where the whole page was shown in the shoutbox after logging out.
- Removed the hard-coded CSS from the submit, refresh and wipe buttons, so they now take their appearance from the main board stylesheet.
- Fixed a little HTML error on the boardindex.


lg XTC
« Last Edit: 23.12.04 at 20:43:30 by Xonder »  
IP Logged
 

shoutbox_1_b5.zip (32 KB | 98 )

  • YaBB-Server 1.3.2 by XTC
    ...
  • Romplayer
    Fulltime Hacker
    ***
    Offline

    Posts: 216



    Reply #1 - 22.12.04 at 22:16:04  
    Okay, here's again my suggestion for shoutbox.mod and shoutbox_right.mod.

    In the "Forum Statistics" part put the right column below the left one.
    The effect of this is, that there are not so many free lines and there is more width space for the shoutbox.

    So... well? Roll Eyes
     
    IP Logged
     
    Carlos
    Fulltime Hacker
    ***
    Offline

    Posts: 219



    Reply #2 - 22.12.04 at 22:31:38  
    I agree Romplayer. Not really an issue for me, because I don't have the shoutbox in the info centre, but most will. It's even more critical for those with a screen resolution of 800x600. The right column can easily be moved by anyone though.

    I'll see if I can get to this tomorrow, and play around with it.
     
    IP Logged
     
    DelaMn
    Fulltime Hacker
    ***
    Offline

    Posts: 136



    Reply #3 - 22.12.04 at 23:59:49  
    Xonder wrote on 22.12.04 at 20:17:34:
    Hello

    -----------------------------------------------
    S h o u t B o x - S P 1.3.1 / 1.3.2 / 1.4!
    -----------------------------------------------


    1.3.1 ??? Are you sure? who test it? the original versión does work with 1,3,1 but if you want to tell this one "S P 1.3.1 / 1.3.2 / 1.4" must be sure it works for 1.3.1  Wink


    Plus:

    Suggestion... YABBC tag is not necesarily needed + more smilies option could be interesting.
     
    IP Logged
     
    Xonder
    Hacker God
    *****
    Offline

    Spittal, Kärnten, Austria
    Posts: 612



    Reply #4 - 23.12.04 at 05:36:35  
    Hi

    Romplayer wrote on 22.12.04 at 22:16:04:
    In the "Forum Statistics" part put the right column below the left one.
    The effect of this is, that there are not so many free lines and there is more width space for the shoutbox.

    Sorry @Romplayer .... my testboard Server is down at this time ..... so i have not test this code ...

    Take this one ....

    Code:
    <edit file>
    Sources/BoardIndex.pl
    </edit file>

    <search for>
    <table width="98%" cellpadding="3" align="center">
    <tr>
    <td valign="top" align="left" width="60%"><font size="1">
    $txt{'490'} <B>$totalt</B> &nbsp; - &nbsp; $txt{'489'} <B>$totalm</B>
    ~;
    if($Show_RecentBar) {
    require "$sourcedir/Recent.pl";
    &LastPost;
    }
    $yymain .= qq~
    </font></td>
    <td valign="top" align="left" width="40%"><font size="1">
    $txt{'488'} <a href="$scripturl?action=mlall"><B>$memcount</B></a>
    ~;
    if ($showlatestmember) {
    &LoadUser($latestmember);
    $yymain .= qq~<BR>$txt{'201'}: <a href="$scripturl?action=viewprofile;username=$useraccount{$latestmember}" rel="nofollow"><b>$userprofile{$latestmember}->[1]</b></a>~;
    }
    $yymain .= qq~
    $ims
    </font></td>
    </tr>
    </table>
    </search for>

    <replace>
    <table width="98%" cellpadding="3" align="center">
    <tr>
    <td valign="top" align="left" width="100%"><font size="1">
    $txt{'490'} <B>$totalt</B> &nbsp; - &nbsp; $txt{'489'} <B>$totalm</B>
    ~;
    if($Show_RecentBar) {
    require "$sourcedir/Recent.pl";
    &LastPost;
    }
    $yymain .= qq~
    </font><br><font size="1"><HR class="hr" size="1">
    $txt{'488'} <a href="$scripturl?action=mlall"><B>$memcount</B></a>
    ~;
    if ($showlatestmember) {
    &LoadUser($latestmember);
    $yymain .= qq~<BR>$txt{'201'}: <a href="$scripturl?action=viewprofile;username=$useraccount{$latestmember}" rel="nofollow"><b>$userprofile{$latestmember}->[1]</b></a>~;
    }
    $yymain .= qq~
    $ims
    </font></td>
    </tr>
    </table>
    </replace>


    DelaMn wrote on 22.12.04 at 23:59:49:
    1.3.1 ??? Are you sure? who test it? the original versión does work with 1,3,1 but if you want to tell this one "S P 1.3.1 / 1.3.2 / 1.4" must be sure it works for 1.3.1  Wink

    Yes i am sure  Wink

    Ronnies version 1.0b4 is testet on SP 1.3.1 .... and my version have not more code points ....

    Quote:
    Suggestion... YABBC tag is not necesarily needed +

    This is not a new feature .... i have only at "click buttons" and "javascript code" Wink

    Quote:
    more smilies option could be interesting.

    Will take a look of it  Smiley

    lg XTC

    « Last Edit: 23.12.04 at 10:25:33 by Xonder »  
    IP Logged
     

  • YaBB-Server 1.3.2 by XTC
    ...
  • DelaMn
    Fulltime Hacker
    ***
    Offline

    Posts: 136



    Reply #5 - 23.12.04 at 11:57:21  
    I mean: make available a version without the "yabb tag" bar  Wink
     
    IP Logged
     
    Xonder
    Hacker God
    *****
    Offline

    Spittal, Kärnten, Austria
    Posts: 612



    Reply #6 - 23.12.04 at 12:18:14  
    Hi

    DelaMn wrote on 23.12.04 at 11:57:21:
    I mean: make available a version without the "yabb tag" bar  Wink

    If you dont want to display the tag_buttons .... change this code (Shoutbox.pl)

    Seach for ...

    Code:
    	if ($shout_header == 1) {$shout_output .= qq~
    <td>
    <table cellpadding="4" cellspacing="1" border="0" width="100%">
    $shout_outputadds
    ~;
    } else { $shout_output .= qq~$shout_outputadds~;}

    and replace with this code ....

    Code:
    	if ($shout_header == 1) {$shout_output .= qq~
    <td>
    <table cellpadding="4" cellspacing="1" border="0" width="100%">
    ~;
    } else { $shout_output .= "";}


    lg XTC
     
    IP Logged
     

  • YaBB-Server 1.3.2 by XTC
    ...
  • Romplayer
    Fulltime Hacker
    ***
    Offline

    Posts: 216



    Reply #7 - 23.12.04 at 13:12:42  
    Is it possible to insert a <br> after the date and username in the shoutbox?
    Because there isn't so much space after the name, and so it looks a bit stupid if one word is in the first line and the rest in the second.

    Instead of
    Quote:
    18:42: Forum Admin: Hello
    everybody, how are you?

    make this:
    Quote:
    18:42: Forum Admin:
    Hello everybody, how are you?
     
    IP Logged
     
    Xonder
    Hacker God
    *****
    Offline

    Spittal, Kärnten, Austria
    Posts: 612



    Reply #8 - 23.12.04 at 13:36:19  
    Hi

    @Romplayer

    You can add a "<br>" yourself!

    Go in the Shoutbox setting .... and edit the first setting field ....

    This one ...
    <tr><td class="BGCOLOR"><b>TIME: NAME</b>: SHOUT</td></tr>

    To this code ...
    <tr><td class="BGCOLOR"><b>TIME: NAME</b>:<br>SHOUT</td></tr>

    lg XTC
     
    IP Logged
     

  • YaBB-Server 1.3.2 by XTC
    ...
  • DelaMn
    Fulltime Hacker
    ***
    Offline

    Posts: 136



    Reply #9 - 23.12.04 at 19:33:20  
    Danke xonder  Roll Eyes
     
    IP Logged
     
    Xonder
    Hacker God
    *****
    Offline

    Spittal, Kärnten, Austria
    Posts: 612



    Reply #10 - 25.12.04 at 15:25:30  
    Hallo

    No bugs or problems @ [UPDATED] Shoutbox for SP 1.3.1/1.3.2/1.4! ?

    Can it get "final"!?  Cheesy

    lg XTC
     
    IP Logged
     

  • YaBB-Server 1.3.2 by XTC
    ...
  • Romplayer
    Fulltime Hacker
    ***
    Offline

    Posts: 216



    Reply #11 - 26.12.04 at 14:04:59  
    If you put it final, put the possible modifications you wrote in this thread into the mod file.
     
    IP Logged
     
    Dam Yankee
    Hacker God
    *****
    Offline

    Maryville, Tennessee, USA
    Posts: 1538



    Reply #12 - 01.01.05 at 18:15:18  
    Hi Xonder! Happy New Year, everyone!

    I've just installed this mod on my test board and found a couple of things. There is an error in Shoutbox.pl which causes the shoutbox to be blank when it is viewed for the first time on a page visit. I originally reported the problem  here. The solution is posted here.

    Currently, Shoutbox.pl has this Code:
    	$iframe = ($shout_add_to_top) ? qq~<iframe src="" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~ : qq~<iframe src="$cgi;action=shoutboxdisplay" onload="window.chatout.scrollTo(0,99999);" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~; 
    
    


    When it should be this Code:
    	$iframe = ($shout_add_to_top) ? qq~<iframe src="$cgi;action=shoutboxdisplay" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~ : qq~<iframe src="$cgi;action=shoutboxdisplay" onload="window.chatout.scrollTo(0,99999);" name="chatout" width="100%" height="$shout_box_height" align="center" border="0" frameborder="0" leftmargin="0" topmargin="0" marginwidth="2" marginheight="2" scrolling="$scrolling"><font size="2" face="Verdana">Your browser does not support inline frames or is currently configured not to display inline frames.</font></iframe>~; 
    
    


    After adding Code:
    $cgi;action=shoutboxdisplay 
    
    
    to the first iframe src, the shoutbox displays immediately on a page view without needing to refresh.


    Another thing... When using SSI, the standard smiles do not appear in the text field when you click on them (vulcan and lol do appear). The standard smileys do appear when using the shoutbox displayed on the board index.
     
    IP Logged
     
    Xonder
    Hacker God
    *****
    Offline

    Spittal, Kärnten, Austria
    Posts: 612



    Reply #13 - 08.01.05 at 15:45:47  
    Hi Dam Yankee

    Sorry for my late answer ....
    .... but at this time i work on many "YaBB Server Updates + AddOns".  Wink

    Thank you .... for your feedback @Shoutbox  Wink ... i will take a look of it and bring a update soon.

    lg XTC

     
    IP Logged
     

  • YaBB-Server 1.3.2 by XTC
    ...
  • Carlos
    Fulltime Hacker
    ***
    Offline

    Posts: 219



    Reply #14 - 15.01.05 at 02:39:36  
    Dam Yankee wrote on 01.01.05 at 18:15:18:
    Another thing... When using SSI, the standard smiles do not appear in the text field when you click on them (vulcan and lol do appear). The standard smileys do appear when using the shoutbox displayed on the board index.


    I haven't had a chance to get to this till now.

    DamYankee, this fault is also in the original by Ronnie. This is one of the reasons I was looking forward to this version.

    In Ronnies version, the first two smilies work, but the rest work intermittantly. I've looked at the code, and I can see no syntax differences between the smilies in the origianl version. What could cause intermittant bugs like this?

    Xonder, I'll try and install this over the weekend, and tell you how I get on. I take it it still has the shoutbox tag? Well, I'll soon find out I suppose.
     
    IP Logged
     
    Pages: 1 2 3 
    © 2000-2012 by - All rights reserved.

    Project website hosting proudly sponsored and provided by UK2 Hosting
     The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum