News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF Shoutbox

Started by Deep, March 15, 2006, 08:09:52 AM

Previous topic - Next topic

Forte

For some reason it's telling me there's a server error, although I know there's no problem with anything else on my site. Anyone have any information about this?

DarkAngel612

what file wa the last you altered and uploaded? look to it for typos
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

wildcat_j

hi there, this is a great mod..

my only question..  how do i delete the contents of the shoutbox - cos at the moment, every "shout" since i installed it is there.. meaning it is taking space on my server......  or, if i clear the history.html does this do the same thing?

desibollywood

HI I NEED HELP..PLEASE HELP ME..I HAVE DOWNLOADED THE SHOUTBOX AND TRYING TO INSTALL IT SAYS THAT MAY BE THE PACK IS CURRUPTED?????

WHY IT IS LIKE THIS..??I AM TRYING TO INSTALL IT ON SMF 1.1.4 PLEASE HELP ME...

I AM WAITING FOR HELPFUL ANSWER

DannyTMurphy

Same issue here! Corrupted once I upgraded to 1.1.4  :(

DarkAngel612

usually if you get that with any software it is becasue it isn't compatible with the verion you ae running.

since the smf software has just been updated the mod creators probably haven't had time to update theri stuff yet...I would contact the maker of the shoutbox and ask him for help.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

TrueSatan

The SMF preferred way to handle version problems is to use:

Put ;emulate_version=1.1.2 at the end of the Package Manager URL

Change the 1.1.2 to whatever was the most recent version of SMF that the mod did support...as the mod isn't made for the version you are using it on it's always use at your own risk but if you do a backup of your database and files prior to adding or removing mods or themes (as you should anyhow) you should have no problems.

Con

Placing it on a custom theme, I got some problems with the 'catagory bar'.

The bar comes above the info center, while the shoutbox itself appears below it. (see screenshot)
The php file I edited is "BoardIndex.template.php"

Could someone point out where I need to add the code for it to look normal?

DarkAngel612

@con:

Here is where we put it on one of the sites I admin at with no portal used. It will be just above the news fader.

approximately line 71 Find:

// List all the lines of the news for display.
               var smfFadeContent = new Array(
                  "', implode('",
                  "', $context['fader_news_lines']), '"
               );
            // ]]></script>
            <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>
         </td>
      </tr>
   </table>
</div>';
   }


immediately after it add:

// display shoutbox
  if (function_exists('sbox')) sbox();


hope that helps
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

Con

Quote from: DarkAngel612 on September 28, 2007, 10:07:40 PM
@con:

Here is where we put it on one of the sites I admin at with no portal used. It will be just above the news fader.

approximately line 71 Find:

// List all the lines of the news for display.
               var smfFadeContent = new Array(
                  "', implode('",
                  "', $context['fader_news_lines']), '"
               );
            // ]]></script>
            <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>
         </td>
      </tr>
   </table>
</div>';
   }


immediately after it add:

// display shoutbox
  if (function_exists('sbox')) sbox();


hope that helps
Heh.. That's the point, I dont want it at the top, but at the bottom. I managed to get it on the 'who's online' page correctly, but it just wont work on board index..

fous

Anyone figure out how to use this in 1.1.4 yet??

DarkAngel612

try the index.template.php file instead, maybe that will work...I found that not all the themes have that boardindex file either so we had to use the index one for some themes

just remember if there is a line where you insert it that starts with <script> then make sure you find the close tag </script> for it and then add your info so it wont be cut in two
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

DarkAngel612

Quote from: fous on September 29, 2007, 02:49:41 PM
Anyone figure out how to use this in 1.1.4 yet??

Have you tried contacting the maker of it yet?
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

Kuraj

Quote from: anshar on April 24, 2007, 10:11:01 AMmy forum is using iso-8859-2 charset (for polish language), everything works fine untill users trying to use special characters, instead of them I'm getting some ugly chars. Is there any solution? Those ugly chars are only in shoutbox, everything else is working very well.

[...]

this helped
"ok, open up sboxdb.php in your forum directory, under "sources". Open up that file, go to line 181.. and look for this "      $result .= htmlentities($s, ENT_NOQUOTES, $context['character_set']);
    } else {"

remove it save and upload the file to server.

What if i don't even have this in my SboxDB.php?
hxxp:images13.fotosik.pl/117/614b6f05c354a5ee.jpg [nonactive]

My board is under hxxp:www.fallenheroes.ovh.org/forum/index.php [nonactive]. How do i fix this? ???

DarkAngel612

#1214
I took a look at the one we have and this is what I found but NOT on the line mentioned to look at---the code I found...not exactly like the one you were told about and is on about line 94.

The line is about line 83 on this file in SBox v1.6 upload:


// END: BORROWED FROM http://de2.php.net/manual/en/function.flock.php

function missinghtmlentities($text) {
  global $context;
  // entitify missing characters, ignore entities already there (Unicode / UTF8) (hopefully in &#123;-notation)
  $split = preg_split('/(&#[\d]+;)/', $text, -1, PREG_SPLIT_DELIM_CAPTURE);
  $result = '';
  foreach ($split as $s) {
    if (substr($s, 0, 2) != '&#' || substr($s, -1, 1) != ';') {
      // filter out "ANSI_X3.4-1968" charset, which just means plain old ASCII ... replace by UTF-8
      if (strpos($context['character_set'], 'ANSI_') !== false) $charset = 'UTF-8'; else $charset = $context['character_set'];
     $result .= @htmlentities($s, ENT_NOQUOTES, $charset);
    } else {
      $result .= $s;
    }
  }
  return $result;
}

Fantasy Attic ::  Fantasies Realm Market :: SMF 2.1.4 with various mods and TinyPortal

ftvguy

i am getting this error
Warning: main(/home/kin/public_html/forums/Sources/home/kin/public_html/forums/Sources/QueryString.php) [function.main]: failed to open stream: No such file or directory in /home/kin/public_html/forums/SSI.php on line 57

Fatal error: main() [function.require]: Failed opening required '/home/kin/public_html/forums/Sources/home/kin/public_html/forums/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kin/public_html/forums/SSI.php on line 57

installed the latest shoutbox.

samaticon

#1216
nm, got it working :D

rongsak

how can i chang to thailanguage on display board
amazon kindle [nofollow]:ben 10 toys [nofollow]:adidas porsche schuhe [nofollow]: Vtecsociety Clubs [nofollow]:Men's Bikes Shop [nofollow]:Miss Sixty Fashion [nofollow]

Assistance

sbox.history.html can be seen by guest
~playing poker~

Green Hornet

it works! thanks :)

is Shoutbox integrated in SSI functions?

Advertisement: