collapse

* User Info

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

* Who's Online

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

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • [DFg]DJF-1975: Thanks again for this awesome place!
    September 05, 2017, 07:12:24 PM
  • ♦ Ninja ZX-10RR ♦: An announcement will come soon™ about this issue. Sorry for the inconvenience.
    September 04, 2017, 04:32:08 PM
  • Black Tiger: Site is back but with an old backup it seems.
    September 04, 2017, 10:04:29 AM
  • aegersz: YAY ! the site is back. I was getting so worried.
    September 02, 2017, 11:55:42 PM
  • [DFg]DJF-1975: 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
  • [DFg]DJF-1975: 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
  • [DFg]DJF-1975: 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

* Recent Posts

Re: Regarding the Recent Downtime by thepitster
[September 18, 2017, 11:40:51 PM]


Re: Posts deleted / dissapeared? by ♦ Ninja ZX-10RR ♦
[September 16, 2017, 06:25:39 PM]


Re: Regarding the Recent Downtime by kim
[September 15, 2017, 04:22:30 PM]


Regarding the Recent Downtime by Eliana Tamerin
[September 15, 2017, 05:24:58 AM]


Re: [Block] Scrolling/Scrollbar recent topics by thepitster
[September 06, 2017, 11:30:04 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: [Plugin] SP - Extra Shoutbox Permissions/Options  (Read 51275 times)

0 Members and 1 Guest are viewing this topic.

Offline Yahmez

  • Semi Newbie
  • *
  • Posts: 20
  • Gender: Male
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #60 on: October 13, 2015, 12:53:34 PM »
Yahmez,

Thanks for posting that, I am sure Chen Zhen will look into it when he logs in ;)

Regards

Actually I wonder if this is more of a SP shoutbox issue than a plugin issue. Adding the plugin just made it more obvious and easy to catch because we have members all over the globe and edit times seemed to all be based off of the person's time offset that edited their post.

Offline Chen Zhen

  • The Underdog
  • Support
  • *
  • Posts: 1277
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.0.14
  • SP Version: 2.3.6
  • Elkarte Version: None
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #61 on: October 16, 2015, 04:07:04 PM »
Yahmez,

  I can't say that I will use your specific edit but I do understand that the time should be recorded as GMT and then converted to the viewers offset. I actually noticed this issue in the past but forgot to include a fix in the latest release. This will be adjusted when I have time to do another update.

  Thank you for the report.

Regards.

Offline Killerfisk

  • Just Registered
  • Posts: 1
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Use of undefined constant ENT_XHTML
« Reply #62 on: November 07, 2015, 12:13:26 PM »
So basically I'm getting lots of these errors

78.69.???.232<??action=portal;sa=shoutbox;shoutbox_id=1;time=1444403468;xml<?8: Use of undefined constant ENT_XHTML - assumed 'ENT_XHTML'e82dd91550b8946538641227373f5f59undefined_vars 1/usr/share/nginx/html/sfr/Sources/Subs-Portal.phpÇ????ú?ØYÙV%?
78.69.???.232<??action=portal;sa=shoutbox;shoutbox_id=1;time=1444403468;xml<?8: Use of undefined constant ENT_XHTML - assumed 'ENT_XHTML'e82dd91550b8946538641227373f5f59undefined_vars 1/usr/share/nginx/html/sfr/Sources/Subs-Portal.phpÛ????ú?ØYÙV%?
78.69.???.232<??action=portal;sa=shoutbox;shoutbox_id=1;time=1444403468;xml<?8: Use of undefined constant ENT_XHTML - assumed 'ENT_XHTML'e82dd91550b8946538641227373f5f59undefined_vars 1/usr/share/nginx/html/sfr/Sources/Subs-Portal.phpÈ????ú?   ØYÙV%?

mostly those, some of these

151.80.??.115&㄀?action=profile;area=statistics;u=2246<㄀8: Use of undefined constant ENT_XHTML - assumed 'ENT_XHTML'92ca47db04d174ed1a97bdffa29aa35dundefined_vars 1/usr/share/nginx/html/sfr/Sources/Subs-Portal.phpÛ㄀㄀á ㄀ [ƒº´&V
151.80.??.115&㄀?action=profile;area=statistics;u=2246<㄀8: Use of undefined constant ENT_XHTML - assumed 'ENT_XHTML'92ca47db04d174ed1a97bdffa29aa35dundefined_vars 1/usr/share/nginx/html/sfr/Sources/Subs-Portal.phpÂ㄀㄀á ㄀ [ƒº´&V
151.80.??.115&㄀?action=profile;area=statistics;u=2246<㄀8: Use of undefined constant ENT_XHTML - assumed 'ENT_XHTML'92ca47db04d174ed1a97bdffa29aa35dundefined_vars 1/usr/share/nginx/html/sfr/Sources/Subs-Portal.phpÛ㄀㄀á ㄀

and variations thereof.

I'm completely illiterate when it comes to things like these, so not sure how to approach this. I'm currently also running this mod http://simpleportal.net/index.php?topic=11714.0 which could potentially be causing it?

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1161
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: Use of undefined constant ENT_XHTML
« Reply #63 on: November 07, 2015, 01:16:41 PM »
Hi Killerfisk and welcome to SimplePortal.

I approved and then merged your topic into that one because you rightfully mentioned that mod. You have 2 options:
1) Update your PHP version to at least 5.4 (suggested is latest stable 5.6 but 5.4 will work anyway).
or
2) http://simpleportal.net/index.php?topic=11714.msg69895#msg69895

Regards
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline aegersz

  • Semi Newbie
  • *
  • Posts: 42
  • Gender: Male
  • SMF Bulletin Board / Forum Fanatic
    • dopetalk
  • SMF Version: 2.0.14
  • SP Version: 2.3.6
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #64 on: September 12, 2016, 05:33:53 AM »
this wont install into my 2.3.6 system:

Replace   ./Themes/default/PortalShoutbox.template.php   Test failed:

Code: [Select]
<li class="smalltext">', !$shout['is_me'] ? '<strong>' . $shout['author']['link'] . ':</strong> ' : '', $shout['text'], '<br />', !empty($shout['delete_link_js']) ? '<span class="shoutbox_delete">' . $shout['delete_link_js'] . '</span>' : '' , '<span class="smalltext shoutbox_time">', $shout['time'], '</span></li>';
I downloaded V 1.6, is that the latest version of this mod or else, how can i get this to fit ? I have another error buts it's only an alignment issue.
« Last Edit: September 12, 2016, 05:58:34 AM by aegersz2 »
"mods" junkie (SMF 2.0) with 130+ mods (Full List is at http://forum.drugs-and-users.org/index.php/topic,3301

Offline aegersz

  • Semi Newbie
  • *
  • Posts: 42
  • Gender: Male
  • SMF Bulletin Board / Forum Fanatic
    • dopetalk
  • SMF Version: 2.0.14
  • SP Version: 2.3.6
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #65 on: September 12, 2016, 08:00:40 AM »
I tested it on a vanilla system and it installs fine: I have these mods on:

4.   Staff Permissions For Simple Portal   1.2   September 06, 2016, 01:46:55 AM.   [ Uninstall ]
9.   Shoutbox PM button - SimplePortal 2.3.5   1.0   August 22, 2016, 12:34:13 PM.   [ Uninstall ]
10.   SP-Shoutbox Sounds   1.1   August 22, 2016, 11:30:05 AM.   [ Uninstall ]
11.   Shoutbox Color Selector - SimplePortal 2.3.5   1.1a   August 22, 2016, 11:29:29 AM.   [ Uninstall ]

There is conflict somewhere, can you help please ?
"mods" junkie (SMF 2.0) with 130+ mods (Full List is at http://forum.drugs-and-users.org/index.php/topic,3301

Offline andy

  • On Leave
  • *
  • Posts: 859
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
  • Elkarte Version: None
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #66 on: September 13, 2016, 09:54:22 AM »
Quote
There is conflict somewhere, can you help please ?

First you could try testing yourself. Install one by one and test for  your ' conflict' point.

Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline andy

  • On Leave
  • *
  • Posts: 859
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
  • Elkarte Version: None
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #67 on: September 18, 2016, 02:36:48 PM »
Quote
Uninstalling them has also not going as well as I had hoped as I am getting errors.


There is your basic answer - the more you change the code, the more problems you will get. It is not a plugin system.
You yourself decide houw much trouble you are happy to deal with ad how much time you spend on these problems. I do not use modifications that require manual changes to code.

You can uninstall mods simple if you do so in the opposite order they were installed (except if manual changes were made). The order of install is given in the backup folder as each modification adds the time to the zip backup of files. You need to use a file manager from in your host management system, or get a file backup downloaded and look in that.
« Last Edit: September 18, 2016, 02:39:15 PM by andy »
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline aegersz

  • Semi Newbie
  • *
  • Posts: 42
  • Gender: Male
  • SMF Bulletin Board / Forum Fanatic
    • dopetalk
  • SMF Version: 2.0.14
  • SP Version: 2.3.6
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #68 on: October 09, 2016, 11:39:33 PM »
Thanks andy !

I FOUND the mods that were causing this, it was the Shoutbox PM button - SimplePortal 2.3.5 and SP-Shoutbox Sounds that introduced this conflict.

I tried leaving the Sounds mod on and it required an easy manual change but that rendered the Permissions mod uninstallable ! no idea why but your advice on avoiding manual changes is solid.

Anyway, removing those two, this mod can be installed and uninstalled without issue. It's too awkward to retro-fix the Sounds mod without better skills on my part.

BTW, I can use the PM function by enabling "whispering (http://simpleportal.net/index.php?topic=3568.0)" in Permissions
« Last Edit: October 10, 2016, 12:35:35 PM by aegersz »
"mods" junkie (SMF 2.0) with 130+ mods (Full List is at http://forum.drugs-and-users.org/index.php/topic,3301

Offline thepitster

  • Semi Newbie
  • *
  • Posts: 8
  • Gender: Male
    • ALLRiPPED
  • SMF Version: 2.0.14
  • SP Version: 2.3.7
Re: [Plugin] SP - Extra Shoutbox Permissions/Options
« Reply #69 on: September 04, 2017, 09:04:27 PM »
Sorry I was warned the topic was old, I do apologize for this.

since SP 2.3.7  this is the error I get when trying to install SP Extra Shoutbox Options v1.7.
when editing/modifying ./Themes/default/PortalShoutbox.template.php, it errors looking for this:
Code: (PortalShoutbox.template.php) [Select]
<timeclean>', htmlspecialchars(strip_tags($shout['time'])), '</timeclean>which has changed to his:
Code: (PortalShoutbox.template.php) [Select]
<timeclean>', $smcFunc['htmlspecialchars'](strip_tags($shout['time'])), '</timeclean> and the second error same file looking for this:
Code: (PortalShoutbox.template.php) [Select]
<content>', htmlspecialchars($shout['text']), '</content>which has changed to this:
Code: (PortalShoutbox.template.php) [Select]
<content>', $smcFunc['htmlspecialchars']($shout['text']), '</content>
just thought I would bring them up once you have time to get things sorted as I can see web-dev.ca has been having issues as well, so no rush on this, just handle your important stuff first and keep up the good work.

PiTTy
Proud User and Supporter of SimplePortal v2.3.7