collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 420
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {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

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

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

0 Members and 2 Guests are viewing this topic.

Offline roomeat

  • Jr. Member
  • **
  • Posts: 51
    • Ozsportsbikes
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #120 on: December 29, 2009, 08:03:30 PM »
Hmm.. I have read through this thread and a couple that are linked to in this thread.. but I must be simply overlooking where the actual fix is...

I have this block as a side block (working with SMF2.0 RC2 and Ajax Chat 3.2.2

When viewing in Opera.. the block looks OK as far as the width.. but it has no vertical scroll bat.. so each time someone posts a message it just gets larger and larger.

When viewing in IE8.. it has the same problem as above.. but it also does not fit in width.. it's too wide.

I seen mention of the smilies.. but from what I understand.. the code in the first post has been updated to correct this??

You can see it yourself at www.ozsuperbikes.com

Can anyone please tell me what I have missed??

Offline vyache

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Smart Shoutbox Detection | Error
« Reply #121 on: December 31, 2009, 07:30:51 PM »
Having trouble getting it to look exactly the way you have it shown in your topic blue. I used the same code you have.

Here is an example in my picture.

Offline Maarten

  • Jr. Member
  • **
  • Posts: 50
  • Gender: Male
  • My website has almost 3k members.
    • NHFans
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #122 on: January 11, 2010, 08:59:43 AM »
Doesn't work ?
Can't install install yShout on SMF 2.0 RC2?

Offline vyache

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #123 on: January 11, 2010, 09:04:28 AM »
Doesn't work ?
Can't install install yShout on SMF 2.0 RC2?

Can't get AjaxChat to work with SimplePortal... AjaxChat works stand alone.

Offline Maarten

  • Jr. Member
  • **
  • Posts: 50
  • Gender: Male
  • My website has almost 3k members.
    • NHFans
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #124 on: January 11, 2010, 11:56:33 AM »
Doesn't work ?
Can't install install yShout on SMF 2.0 RC2?

Can't get AjaxChat to work with SimplePortal... AjaxChat works stand alone.
Oh, amazing XD it's working.. but this plugin doesn't work...
Code: [Select]
Fatal error: Call to undefined function getShoutBoxContent() in /home/maarten/domains/[mywebsite].nl/public_html/beta/Sources/PortalBlocks.php(3272) : eval()'d code on line 10
« Last Edit: January 12, 2010, 11:29:39 AM by Maarten »

Offline pinoygroundz

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC1.2
  • SP Version: 2.2.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #125 on: January 30, 2010, 02:40:51 AM »
got problem with my simpleportal blocks for neo shoutbox its not working.. the message is not showing.. need help pls thanks! heres the picture take a look:
« Last Edit: January 30, 2010, 02:47:58 AM by pinoygroundz »

Offline vyache

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #126 on: January 30, 2010, 11:38:04 AM »
It works but, as you can see in my picture above, it doesn't look anything like the topic thread...

Anyone know why?

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #127 on: January 30, 2010, 01:16:27 PM »
got problem with my simpleportal blocks for neo shoutbox its not working.. the message is not showing.. need help pls thanks! heres the picture take a look:


Filipino eh?

You should really start your own thread since the original poster had their own issues with a different version of ajax chat.
Anyhow...

Give us a copy of the code you used (in a code block please).
And also attach a copy of your :
/ Themes / default / index.template.php

... I am guessing that the style coding (head code) for the shoutbox is installed in the file mentioned above and you are probably using a custom theme? I usually just edit out the style and initialize code from that file and apply it in the block itself, this way no matter what theme or side/top block is used, the shoutbox block will always work with a specific style for each instance (side or top/bottom).

Also tell which smf version you are using and if you edited any of the index.template.php and/or BoardIndex.template.php files from other themes with code from nneonneo shoutbox.

You can do it my way or just add the style (head) code to the index.template.php file of all your themes but these settings will be uniform throughout your site no matter where you place a shout block if you do it this way.

If you look at my forum you can see examples of the nneonneo shoutbox on the forum page (as a top block) and the arcade page (as a side block) where being able to adjust the style within the block itself comes into play. (You have to register to view it)

UD
« Last Edit: January 30, 2010, 01:27:53 PM by Underdog »

Offline pinoygroundz

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC1.2
  • SP Version: 2.2.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #128 on: February 01, 2010, 01:33:29 AM »

Filipino eh?

You should really start your own thread since the original poster had their own issues with a different version of ajax chat.
Anyhow...

Give us a copy of the code you used (in a code block please).
And also attach a copy of your :
/ Themes / default / index.template.php

... I am guessing that the style coding (head code) for the shoutbox is installed in the file mentioned above and you are probably using a custom theme? I usually just edit out the style and initialize code from that file and apply it in the block itself, this way no matter what theme or side/top block is used, the shoutbox block will always work with a specific style for each instance (side or top/bottom).

Also tell which smf version you are using and if you edited any of the index.template.php and/or BoardIndex.template.php files from other themes with code from nneonneo shoutbox.

You can do it my way or just add the style (head) code to the index.template.php file of all your themes but these settings will be uniform throughout your site no matter where you place a shout block if you do it this way.

If you look at my forum you can see examples of the nneonneo shoutbox on the forum page (as a top block) and the arcade page (as a side block) where being able to adjust the style within the block itself comes into play. (You have to register to view it)

UD

Yes Filipino here.., im using SMF 2.0 RC 1.2 i used the smart block code here
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>'
;
   }
}
//YSHOUT HERE | belongs to Smart Shoutbox Detection Block for Simple Portal <> by Blue @ Chrome!
if (file_exists($boarddir '/yshout/yshout.php'))
{
   if(
allowedTo('yshout_view'))
   {     
   echo 
'<div id="yshout">';
      include_once(
$boarddir.'/yshout/yshout.php');
      echo 
'</div>';
   }
   elseif(
$context['user']['is_guest'])
      echo 
$txt['yshout_no_guests'];
}
?>


index.template attached.. pm me your site let me have look on it
« Last Edit: February 01, 2010, 01:37:21 AM by pinoygroundz »

Offline vyache

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #129 on: February 02, 2010, 11:29:52 AM »
@Underdog

I was wondering if you had  the Ajax Chat code that would also work like YSHOUT ?

Thank You.

Offline Maarten

  • Jr. Member
  • **
  • Posts: 50
  • Gender: Male
  • My website has almost 3k members.
    • NHFans
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #130 on: February 03, 2010, 12:57:12 PM »
Does there is a Ajax Chat integration script for SMF 2.0 RC2
I can't find 1 :S:S:S

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #131 on: February 04, 2010, 12:46:00 AM »
@Underdog

I was wondering if you had  the Ajax Chat code that would also work like YSHOUT ?

Thank You.

Google is your friend!

Try this: CLICK HERE

UD

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #132 on: February 04, 2010, 12:48:49 AM »
Does there is a Ajax Chat integration script for SMF 2.0 RC2
I can't find 1 :S:S:S

nneonneo shoutbox will work with smf 2 rc2

CLICK HERE  to download nneonneo shoutbox (with smileys and command icons).

UD

Offline vyache

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #133 on: February 04, 2010, 01:21:08 AM »
Sorry I wasn't specific. I wanted the code for the block. The one that started the thread. I can't get it to look right in my block using Simple Portal.

I have Ajax Chat, installed...

Offline pinoygroundz

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC1.2
  • SP Version: 2.2.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #134 on: February 12, 2010, 07:32:10 AM »
i cant make the shoutbox work i used your php code block in my sp portal, custom php when i put it error message pops up

Offline pinoygroundz

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC1.2
  • SP Version: 2.2.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #135 on: February 12, 2010, 07:39:58 AM »


This Error what id got

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #136 on: February 12, 2010, 11:37:29 AM »


This Error what id got

Well, I could help you out further but I want to give you some advise from what I've experienced lately...

I have seen 2 forums that use free web hosting that tried to install nneonneo shoutbox and both times the javascript from the shoutbox somehow interfered with the 'free web hosts' advertising on their sites and they had their accounts terminated promptly.

I'm not positive but I gather that the whole point of the free web hosting is to push advertising on their clients sites to make their money. When something interferes with how they have those advertisements display on their clients web page, they have a low tolerance and will terminate their contract with said client.

If you use free web hosting as your images imply, I suggest trying a different shoutbox such as the pre-written one that comes with the latest simple portal version. Other variables may have been used that will perhaps not interfere with the ads.

If I'm in error regarding the free web hosting and you want to continue with nneonneo shoutbox...
It appears as though you are getting error messages from the shoutbox trying to write to file. You may possibly have to change the file permissions for read/write of the yshout folder from FTP access. It is also possible that you installed 2 different shoutboxes without uninstalling one of them properly (yshout) and it's trying to write to files that do not exist.
People get confused between the old yshout and nneonneo shoutbox.... nneonneo shoutbox used the old yshout code as a base but changed a lot of stuff (such as file names)... I have had to fix a few peoples forums because they install/uninstall both shoutboxes.
I found bits of code in your index file from both shoutboxes so this is why I say this.

If you decide the latter then I can assist you further but if you use free web hosting don't be surprised when what I mentioned occurs...

UD
 



 
« Last Edit: February 12, 2010, 01:53:12 PM by Underdog »

Offline pinoygroundz

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2 RC1.2
  • SP Version: 2.2.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #137 on: February 13, 2010, 01:31:54 AM »
its working anyway but maybe some codes doesnt work with it., maybe i need to remove something.. because in my wapversion my shoutbox working smoothly the neo shoutbox counterpart in wap mode

Offline Maarten

  • Jr. Member
  • **
  • Posts: 50
  • Gender: Male
  • My website has almost 3k members.
    • NHFans
  • SMF Version: 2 RC3
  • SP Version: 2.3.2

Offline avenger

  • Semi Newbie
  • *
  • Posts: 15
    • ethical designs
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Smart Shoutbox Detection: [Ajax Chat] & [nneonneo's Shoutbox]
« Reply #139 on: March 27, 2010, 12:02:20 PM »
I tried the code for an SMF 2 RC3 install.. it doesnt work!

if i install ajaxchat, can i display it as a block on the portal page?