News:

Wondering if this will always be free?  See why free is better.

Main Menu

Ultimate Shoutbox

Started by Grudge, March 28, 2004, 09:11:20 AM

Previous topic - Next topic

jerm

#460
k , i like this.. good job on making it
and sorry if this has already been asked, but going through 31 pages of posts to see if this has already been asked would take ages :|
in IE it only loads the small box that you set it to.. but in firefox it loads everything.. so your page basicly becomes very large for the spilt second it takes to load the page, then the "shoutbox" becomes the size that you set it to.. is this something that can't be fixed?
do you understand what im asking?

-edit-
cause of that, the page doesn't open smoothly in firefox as it does in IE
-end edit-

Grudge

electrohome88,

I'm guessing this is due to not having some size constraint on the bounding box? I'm not sure what HTML you are surrounding the shoutbox call with - but maybe you could try forcing the enclosing td/div to a certain width? The other option is to play with shout.template.php but I think surrounding it would be easier?

PS - I'm on holiday in a few hours so don't expect any more replies from me for a while :P
I'm only a half geek really...

StormLrd

Quote from: Grudge on June 14, 2005, 07:18:56 AM
stormLyd - you can use SSI to include it ANYWHERE on your website. Simply search for SSI here. I've mentioned a lot in this topic to check out ssi_examples.php which is in your forums directory - that shows how to use the shoutbox in SSI mode.

the require installed and when i try to use the "ssi_shout();" i get

Fatal error: Call to undefined function: allowedto() in /home/stormlrd/public_html/rhcforum/Sources/shout.php on line 31

trying some of the others gets the following:

for : "ssi_logOnline();"

Fatal error: Call to undefined function: writelog() in /home/stormlrd/public_html/rhcforum/SSI.php on line 624

for : "ssi_recentPosts();"

Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :


This is the themes.php on my cpg and the vars in question are commented out
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
// CVS version: $Id: theme.php,v 1.8 2004/07/24 15:04:20 gaugau Exp $
// ------------------------------------------------------------------------- //
require("/home/stormlrd/public_html/rhcforum/SSI.php");
define('THEME_HAS_RATING_GRAPHICS'1);
//$online = ssi_logOnline();
//$recent1 = ssi_recentPosts();
//$shout = ssi_shout(); 
// HTML template for main menu
$template_main_menu1 = <<<EOT
                                                |
<!-- BEGIN my_gallery -->
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> |
<!-- END my_gallery -->

---------.......--------

$template_main_menu2 = <<<EOT

<table width="90%"  border="2" align="center">
  <tr>
    
     this is where i was putting the call to the vars in their own columns.
  </tr>
</table>




                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                        <td class="top_menu_left_bttn">

.....



Any suggestions?

Yngwiedis

Can someone please tell me how i can use the module for Mambo made by rjoe_brandon ?
Every time i click on the shout button it redirect me to the forum boardindex page and nothing is posted in the shoutbox.
Also i cant open the link on rjoe_brandon's post. I download the module from mamboforge.net.
Thank you in advance for any help
AmityHost.com - The Affordable Host

PiRoX

I am getting this error when installing ultimate shoutbox  >:( >:(

2: copy(/home/haris/public_html/forums/Themes/default/languages/Modifications.english.php~): failed to open stream: Permission denied
File: /home/haris/public_html/forums/Sources/Subs-Package.php
Line: 1307

[Unknown]

Please make Themes/default/languages writable.  How do I use chmod?

-[Unknown]

dtm.exe

Quote from: PiRoX on June 24, 2005, 08:29:04 PM
I am getting this error when installing ultimate shoutbox  >:( >:(

2: copy(/home/haris/public_html/forums/Themes/default/languages/Modifications.english.php~): failed to open stream: Permission denied
File: /home/haris/public_html/forums/Sources/Subs-Package.php
Line: 1307

Quote from: [Unknown] on June 25, 2005, 01:21:16 AM
Please make Themes/default/languages writable.  How do I use chmod?

-[Unknown]

Posts merged with the appropriate topic.

-Dan The Man

Yngwiedis

Any help for my previous post in page 31 in this topic ?
AmityHost.com - The Affordable Host

Yngwiedis

I have also another problem.

I create a blank php page with this code :

<?php require("/home/hellasd/public_html/yngwiedis/forum/SSI.php"); ?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?php ssi_shout(); ?>
</body>
</html>


I upload that page to my site's root.
I go to that page and i post some test shouts.
OK with that. Then i click on the X to delete a shout and is redirecting me to my forum boardindex.
I try several times but every time its the same.
I upload the page to my forum's root too.
Same problem...
I dont know if this helping with my other problem too but i think is good to post it.
AmityHost.com - The Affordable Host

jerm

when someone is banned from the boards, but only banned for posting, the person can still post in the shoutbox, think thats fixable?

Evolution-8

Hey, how can I change the shout box's scroll?  I don't want it to move on its own and I want it to use scroll bars instead.  I have been working on it but I am not the best when it comes to PHP.

jerm

flood control would also be a nice addition

Sheepy

#472
Quote from: Evolution-8 on June 26, 2005, 04:34:06 PM
Hey, how can I change the shout box's scroll?  I don't want it to move on its own and I want it to use scroll bars instead.  I have been working on it but I am not the best when it comes to PHP.
If you know HTML & CSS, you can use a div with overflow: scroll instead of marquee.  You can easily change it from shout.template.php

Sheepy

#473
I was looking for ways to reduce number of queries in my forum (like disabling avatar download count...).  I managed to eliminate the need for a temporary table when you show the shoutbox in ascending order.  It's a use of MySQL's UNION ordering feature:

Just replace
"SELECT * FROM {$db_prefix}tempsb ORDER BY ID_SHOUT ASC"

with
"(SELECT * FROM {$db_prefix}shoutbox
ORDER BY ID_SHOUT DESC LIMIT ".$modSettings['shoutlimit']. ")
UNION
(SELECT * FROM {$db_prefix}shoutbox LIMIT 0)
ORDER BY ID_SHOUT ASC"

And remove the temporary table above & below, and that's two less queries and one less table.

Enjoy.  ;) Too bad it can't help me since I'm using decending order.  :-\

P.S. I haven't tested, but I believe this should be a bit faster since there are less overhead - most complications are handled internally by MySQL, with less interprocess communication, php function calls and status check.

MichiganMinis

Any updates for 1.1beta 3?

Grudge

I'm only a half geek really...

Grudge

Actually, I lied. It appears the update didn't work with 1.1 Beta 3 - it does now :)

Also, I've updated this to 1.3.1 which includes the following improvements:

  • Option to not require email addresses of guests
  • Option to enable autorefreshing of the shoutbox through xml (Will increase server load)
  • A few speed improvements (As Sheepy posted), although 1.3 already had them - from page 22(ish) :)
I'm only a half geek really...

Itch™

Quote from: Grudge on July 01, 2005, 04:53:57 PM
Actually, I lied. It appears the update didn't work with 1.1 Beta 3 - it does now :)

Also, I've updated this to 1.3.1 which includes the following improvements:

  • Option to not require email addresses of guests
  • Option to enable autorefreshing of the shoutbox through xml (Will increase server load)
  • A few speed improvements (As Sheepy posted), although 1.3 already had them - from page 22(ish) :)

And it also works with Nesiastyles' Simpleportal running on 1.1 Beta 3!

YM

MichiganMinis

Thanks I think I was the 2nd download for the new version.

Itch™


Advertisement: