collapse collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 80
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM
  • phantomm: and from what I see only patch is broken, full install package is fine
    October 21, 2016, 03:44:44 PM

* Recent Posts

Re: v 2.3.3 to v2.3.7 by ♦ Ninja ZX-10RR ♦
[December 11, 2018, 04:14:48 PM]


v 2.3.3 to v2.3.7 by rollingrock
[December 11, 2018, 09:36:20 AM]


[Block] Help with editing few lines on Simpleportal by Wallen
[December 09, 2018, 05:10:34 AM]


Re: LinkTree by Chen Zhen
[November 15, 2018, 02:24:51 PM]


Re: blocks showing user avatars by hulapyk
[November 15, 2018, 01:47:11 PM]

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]  (Read 75014 times)

0 Members and 1 Guest are viewing this topic.

Offline Darkflame

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #140 on: June 11, 2010, 08:39:57 AM »
Currently having scroll issues with mine (anyone have any idea why the block refuses to scroll all the way down to the bottom?)

Also, how do i reverse the chat so it goes upwards instead of downwards?
« Last Edit: June 11, 2010, 08:43:48 AM by Darkflame »

Offline Deezel

  • Jr. Member
  • **
  • Posts: 54
  • Gender: Male
  • It Is What It Is
    • Owner/Admin
  • SMF Version: 2.0.4
  • SP Version: 2.3.5
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #141 on: August 11, 2010, 11:28:05 PM »
Can anyone get this to work with SMFPacks shoutbox mod?
Code: [Select]
http://custom.simplemachines.org/mods/index.php?mod=1295

Offline lakechurch

  • Semi Newbie
  • *
  • Posts: 6
  • SMF Version: None
  • SP Version: None
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #142 on: September 30, 2010, 11:50:29 AM »
Can anyone get this to work with SMFPacks shoutbox mod?
Code: [Select]
http://custom.simplemachines.org/mods/index.php?mod=1295

I don't know which versions you got. I got smf 2.0RC3  and SP 2.3.2. I didn't put it in a block but just changed the parameters of the shoutbox.
In the shoutbox settings just add a page where to view the shoutbox. I added "sportal_main" and it works fine.

Offline aliceaod

  • Semi Newbie
  • *
  • Posts: 7
    • Joy of Weaving
  • SMF Version: None
  • SP Version: None
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #143 on: January 07, 2011, 08:18:18 PM »
I am using only the code for the AjaxChat (no interested in the shoutbox as SP comes with one).

Block code in OP is not working with SMF 1.1.12, SP2.3.3 Here's the code that I'm putting into the "Top" PHP Block:
Code: [Select]
<?php
global $txt,$context,$boarddir;

//Ajax Chat | belongs to Smart Shoutbox Detection Block for Simple Portal <> by Blue @ Chrome!
if (file_exists($boarddir '/chat/lib/'))
{
   if (
allowedTo('shout_access')){
      echo
'
         <div id="ShoutBox">
            '
getShoutBoxContent() ,'
         </div>'
;
   }
}
?>

Is there something else I should be doing?  AjaxChat works fine stand-alone but I'd love to have it in a block that appears where ever I want...

Works a treat on the forums as a "top" box when put into an iframe using an html block but it gets squashed on the portal page due to the width limit of the center column. I'd love to be able to use this on the portal page...any help appreciated.

iframe code:
Code: [Select]
<iframe src="./chat/index.php" width="100%" height="300"> </iframe>
« Last Edit: January 07, 2011, 08:39:03 PM by aliceaod »
SMF 2.0 RC5 SP 2.3.3

wiecher

  • Guest
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #144 on: April 09, 2011, 06:57:18 PM »
Not working fine here.

wiecher

  • Guest
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #145 on: April 10, 2011, 08:28:12 AM »
Hey,
I have a problem with my shoutboxblock using ajax chat integration.
The block has no scroll bar. That means if i write something in to the chat the block keeps getting bigger and bigger. But I want to scroll through the chat and not such a big block. So whats the problem?

This might help...

http://www.simplemachines.org/community/index.php?topic=257973.msg2105662#msg2105662

I did that but it don`t work.
Please help me

Offline tombillings

  • Semi Newbie
  • *
  • Posts: 30
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #146 on: April 22, 2011, 03:23:45 PM »
Okay, i love this block, and the ajax chat, my issue is so plain...i just want the thing to not display on my index (forum home) page, i have it in a block and it's fine, i just need it off my forum home page because it's tacky having it littered throughout.

SMF 2.0 RC 4 - SP 2.3.3

Offline tombillings

  • Semi Newbie
  • *
  • Posts: 30
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #147 on: April 23, 2011, 11:11:16 PM »
nevermind sorted my own issue

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #148 on: June 29, 2011, 01:19:52 PM »
Not working fine here.

For the top/bottom block, you don't have to change or replace any source files. But for side block you need to replace shoutbox.html from (boarddir/chat/lib/template) for the one attached in the first post.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline crash_8675

  • Just Registered
  • Posts: 1
  • SMF Version: 2.0.6
  • SP Version: None
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #149 on: November 14, 2013, 06:51:39 PM »
Hi, the smart block code doesn't work for me, I'm using SMF 2.0.6 and SimplePortal 2.3.5.
This is the error when I try to use code in PHP Block:

 Fatal error: Call to undefined function getShoutBoxContent()



Mi solution for view Ajax Chat in Portal was using a iframe in a HTML BLOCK:

<iframe src="./chat/index.php" frameborder="0" marginwidth="50" width="100%" height="400" scrolling="auto"> </iframe>

I don't know why that error, sorry for my english.