collapse collapse

* User Info

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

* Who's Online

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

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • ♦ 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
  • phantomm: they say it for over 3 weeks now..
    October 21, 2016, 03:43:52 PM
Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Recent Posts

Pages: [1] 2 3 ... 10
1
Feature Requests / Re: Bring Shoutbox "html" BBCode handling in line with SMF
« Last post by Chen Zhen on October 17, 2018, 11:58:02 PM »
The filter is the regex condition to trigger the callback function.
The callback function is to change the shout text.. with that example I used preg_replace.
$m is the array containing the data for the callback..
in this case $m[0] is the entire shout line that was entered by the member.
2
Feature Requests / Re: Bring Shoutbox "html" BBCode handling in line with SMF
« Last post by aegersz on October 17, 2018, 12:35:46 PM »
thank you and yes, i am aware and use the 'enable/disable specific bbcodes' menu option.

I decided to keep my regex filter and use your regex callback (but had no idea what that was and despite reading up on, still have no clue but i'm certainly going to use yours).

I want my Shoutbox to support all/most bbcodes but haven't added any icons for them as I want keep them hidden.
3
Feature Requests / Re: Bring Shoutbox "html" BBCode handling in line with SMF
« Last post by Chen Zhen on October 16, 2018, 11:29:41 PM »

There are settings within each shoutbox to enable/disable specific bbcodes.
You can simply disable the html bbcode that you are talking about by ensuring it is not highlighted from that list.

Unless you want admins to use it in the shoutbox but no one else.

You can try this:

regex filter:
Code: [Select]
<html[^>]+?[^>]+>|</html>

regex callback:
Code: [Select]
preg_replace('/<html[^>]+?[^>]+>|</html>/i','',$m[0])
5
There you go! Glad it worked then :D

We'll definitely need to fix that permission thing in a future release anyway, don't think it's intended.
6
Feature Requests / Re: Bring Shoutbox "html" BBCode handling in line with SMF
« Last post by aegersz on October 15, 2018, 02:10:23 PM »
simple when you find the cheat sheets  :)

1. Exempt Admins [ticked]

2. Regex Filter is (array('#<html>#m','#</html>#m'),array(' ',' ')

thanks for your help, Ninja !

EDIT: added 'm' (for multiple) as I originally omitted from the <html> start tag accidentally.
7
Feature Requests / Re: Bring Shoutbox "html" BBCode handling in line with SMF
« Last post by aegersz on October 15, 2018, 01:32:13 AM »
of course, you did mention that. tbh, regex filters look daunting but i am about to deploy one that i found - it strips the HTML from a URL link and just leaves the link's string but doesn't accommodate spaces in the file name yet.

a work in progress.

i will try that filter or adapt it and delve deeper into Regular Expressions.

stay tuned :P



8
Should be the regex filter itself, and filter <html> tags by stripping the <>. Haven't used it in ages so I'd have to test it :P

As for
where can i find it and I politely ask why didn't you interrogate and conform to SMF's settings (as it is more logical to do so) ?
Like I said probably an oversight... But I'm not a dev so there's that ;D
9
Feature Requests / Re: Bring Shoutbox "html" BBCode handling in line with SMF
« Last post by aegersz on October 14, 2018, 11:48:41 PM »
i have version 1.70 of that mod and i can't see it in Permissions or the SP Config.

where can i find it and I politely ask why didn't you interrogate and conform to SMF's settings (as it is more logical to do so) ?

no matter ... i must be missing something or is this unique to Version 1.71 ?

thanks again, sorry to bother.
10
Blocks and Modifications / Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Last post by aegersz on October 14, 2018, 07:12:12 PM »
cool. i have the 1.70 version so i will see if that works. thanks.
Pages: [1] 2 3 ... 10