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: 377
  • 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]

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

Author Topic: shoutbox @ fix not working on my site  (Read 4258 times)

0 Members and 1 Guest are viewing this topic.

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
shoutbox @ fix not working on my site
« on: March 10, 2010, 05:44:43 AM »
here's the problem:
http://simpleportal.net/index.php?topic=4168.msg26018#msg26018
or
http://simpleportal.net/index.php?topic=4126.msg25859#msg25859

here's the fix:
http://simpleportal.net/index.php?topic=4126.msg26219#msg26219

and here's my problem with the fix not working for me:
http://simpleportal.net/index.php?topic=4168.msg28682#msg28682


also before you all tell me to post in those topics etc:

please start a new topic in English Support board. Topics in Bugs board does not appear on our support topics list.

 8)

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #1 on: March 10, 2010, 05:56:10 AM »
Well, the problem is, I'm unable to reproduce the problem you are having. Any chance I can debug it myself? I will need a temporary FTP access only.
And slowly, you come to realize... It's all as it should be...

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #2 on: March 10, 2010, 06:04:45 AM »
could i not give you all the files you need but in .tar/.zip archive or something as i don't have ftp installed on my server

(i'm an scp man not and ftp man :P)

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #3 on: March 10, 2010, 06:07:28 AM »
Okay, all files in Sources and Themes directories + index.php would be enough.
And slowly, you come to realize... It's all as it should be...

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #4 on: March 10, 2010, 06:10:32 AM »
Okay, all files in Sources and Themes directories + index.php would be enough.

pm sent ;)

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #5 on: March 10, 2010, 06:20:03 AM »
Okay. I could reproduce it but will check it later. Need to do my homework first.
And slowly, you come to realize... It's all as it should be...

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #6 on: March 10, 2010, 06:26:03 AM »
ok thank you :applause:

Offline MultiformeIngegno

  • Full Member
  • ***
  • Posts: 127
  • Gender: Male
  • SMF Version: None
  • SP Version: None
Re: shoutbox @ fix not working on my site
« Reply #7 on: March 11, 2010, 08:52:47 AM »
any news on this..?

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #8 on: March 11, 2010, 06:03:59 PM »
Okay. I could reproduce it but will check it later. Need to do my homework first.

any news on this?

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #9 on: March 12, 2010, 10:40:04 PM »
come on guys i've been waiting over a month for a fix now... i understand that your busy but i need help with this!

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #10 on: March 14, 2010, 12:07:02 PM »
I'm sorry. This is one of few issues I can't offer a solution without examining the code.

I tried it again and now can't reproduce it even with your files. I'll let Nath check this one as well.

Also, are you sure that you correctly replaced your Subs.php file with this one and it didn't work?
And slowly, you come to realize... It's all as it should be...

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #11 on: March 14, 2010, 12:32:40 PM »
I'm sorry. This is one of few issues I can't offer a solution without examining the code.

I tried it again and now can't reproduce it even with your files. I'll let Nath check this one as well.

Also, are you sure that you correctly replaced your Subs.php file with this one and it didn't work?

VERY sure... i install ALL smf mods by hand and have done for years so i know how to make edits 8)

also is there not just an easy was to disable email addresses being posted in the shoutbox?

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #12 on: March 15, 2010, 02:32:25 PM »
I'm saying that because the original Subs.php file you attached had the first edit applied but not the second edit.

This issue is actually fixed with SMF 2.0 RC3. But to prevent e-mail address being parsed in shoutbox, this should be enough:

Code: (Find) [Select]
'text' => parse_bbc($row['body'], true, '', $bbc),
Code: (Replace) [Select]
'text' => parse_bbc(str_replace('@', '[at]', $row['body']), true, '', $bbc),
And slowly, you come to realize... It's all as it should be...

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #13 on: March 15, 2010, 05:10:48 PM »
I'm saying that because the original Subs.php file you attached had the first edit applied but not the second edit.

This issue is actually fixed with SMF 2.0 RC3. But to prevent e-mail address being parsed in shoutbox, this should be enough:

Code: (Find) [Select]
'text' => parse_bbc($row['body'], true, '', $bbc),
Code: (Replace) [Select]
'text' => parse_bbc(str_replace('@', '[at]', $row['body']), true, '', $bbc),

is that in subs.php as i don't want to disable them for the whole forum

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #14 on: March 16, 2010, 02:45:45 AM »
Opps, sorry. It's in Subs-Portal.php. It will only affect shouts in the shoutbox.
And slowly, you come to realize... It's all as it should be...

Offline steve51184

  • Jr. Member
  • **
  • Posts: 68
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: shoutbox @ fix not working on my site
« Reply #15 on: March 16, 2010, 03:50:20 AM »
perfect thank you :)

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #16 on: March 17, 2010, 01:31:21 PM »
Regarding this issue, to quote myself from Beta Development board:

Okay, I've found the issue. It was related to how SMF handles $disabled variable and how PHP handled static variables. Here is the fix:

Code: (Find) [Select]
$default_disabled = $disabled;
Code: (Replace) [Select]
$default_disabled = isset($disabled) ? $disabled : array();
When all tags are enabled, $disabed variable is not set by SMF, thus $default_disabed is not set until it reaches to shout parsing. At that point, $default_disabled is set according to shoutbox settings. I expected $disabled to throw out an error if it wasn't set, but looks like PHP initializes static variables as NULL, so it didn't cause an error, which made it quite difficult to find, especially if you don't allow all BBC tags.

Thanks goes to AngelinaBelle for detailed report on the issue and allowing me to investigate the issue on her forum.
And slowly, you come to realize... It's all as it should be...

Offline MultiformeIngegno

  • Full Member
  • ***
  • Posts: 127
  • Gender: Male
  • SMF Version: None
  • SP Version: None
Re: shoutbox @ fix not working on my site
« Reply #17 on: March 17, 2010, 04:48:54 PM »
Awesome news! Have you submitted it to mantis? :)

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: shoutbox @ fix not working on my site
« Reply #18 on: March 18, 2010, 09:05:21 AM »
It's already fixed in our latest dev package.
And slowly, you come to realize... It's all as it should be...

Offline MultiformeIngegno

  • Full Member
  • ***
  • Posts: 127
  • Gender: Male
  • SMF Version: None
  • SP Version: None
Re: shoutbox @ fix not working on my site
« Reply #19 on: March 18, 2010, 11:21:36 AM »
Yes yes.. I was only wondering if it was an smf or sp bug.. if is the first you can add it to the mantis tracker at sm.org