collapse

* User Info

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

* Who's Online

  • Dot Guests: 139
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • 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
  • aegersz: SMF say that bug fix 2.0.13 is coming soon ...
    October 19, 2016, 06:46:12 pm
  • Chen Zhen: check that thread at a later date as that file is not a final fix
    October 10, 2016, 03:09:18 pm
  • [DFg]DJF-1975: Thanks for the shoutbox fix file!
    October 10, 2016, 09:17:19 am
  • * Burke Knight Lurks
    October 02, 2016, 09:17:45 pm
  • [DFg]DJF-1975: Not to shoutbox spam, but I use this portal daily and I wanted to say thank you. It's been too long since I last thanked you all!
    October 02, 2016, 11:52:06 am
  • [DFg]DJF-1975: Is this project or for that matter anyone here still active?
    October 02, 2016, 11:48:04 am
  • ♦ Ninja ZX-10RR ♦: Hey :)
    September 30, 2016, 11:34:37 pm
  • aegersz: Hello SimplePortal people !
    September 30, 2016, 05:10:53 am
  • Jade Elizabeth: It's GREAT to see you too Sinan!! :D
    July 06, 2016, 02:33:26 am
  • [SiNaN]: Hey Jade! It's great to see you around! Jade!
    July 03, 2016, 06:51:31 am
  • Jade Elizabeth: Oops, sorry I mean HEY SINAN! ;)
    July 01, 2016, 11:07:13 am

* Recent Posts

Re: Shoutbox Problem After SMF Minor Upgrade by ♦ Ninja ZX-10RR ♦
[November 27, 2016, 10:38:24 pm]


Re: Shoutbox Problem After SMF Minor Upgrade by D.Va
[November 27, 2016, 10:30:27 pm]


Re: Shoutbox Problem After SMF Minor Upgrade by KathyL
[November 27, 2016, 03:05:12 am]


Re: Shoutbox Problem After SMF Minor Upgrade by D.Va
[November 26, 2016, 12:04:56 pm]


Re: Shoutbox does not load shouts in SMF 2.0.12 by newtoallthis
[November 25, 2016, 04:25:09 pm]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Shoutbox Code  (Read 2040 times)

0 Members and 1 Guest are viewing this topic.

Offline stanyy

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 2.0.2
  • SP Version: 2.3.4
Shoutbox Code
« on: December 26, 2012, 02:07:24 pm »
Hello SP. I would like to display a shoutbox in wap version. To do this, I need to obtain the full php shoutbox code. I would have called it up in a php block but blocks or pages dont work in wap2.

Before someone drops the "it's not possible" bomb on me, I can access and use the shoutbox with my mobile phone and several other old mobiles and they work perfectly (via the 'go to full version' link). The code does not need to be altered, all I need to do is enclose the shoutbox in my wap theme.

So if someone can point me to where to get the full shoutbox code i'd be grateful. Thanks

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4873
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Code
« Reply #1 on: March 11, 2013, 03:07:29 pm »
Welcome to Simple Portal.
The full shoutbox code is available.

The issue is that the portal disables itself off if SMF detects WAP2.
And, with the portal shut off, the shoutbox cannot be displayed.

In Subs-Portal.php, in function sportal_init, you will find
   if (WIRELESS || ($standalone && (isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']))) || !empty($settings['disable_sp']) || empty($modSettings['sp_portal_mode']) || (!empty($maintenance) && !allowedTo('admin_forum')) || isset($_GET['debug']) || (empty($modSettings['allow_guestAccess']) && $context['user']['is_guest']))


This is the part of the code you need to carefully consider for WAP, WAP2, and imode (smart) phones.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline stanyy

  • Semi Newbie
  • *
  • Posts: 17
  • SMF Version: 2.0.2
  • SP Version: 2.3.4
Re: Shoutbox Code
« Reply #2 on: July 19, 2013, 06:58:14 am »
Whoa.. finally, a reply after over 2 months, lol. Anyway, I really appreciate this reply and I think it may be useful to me in future.

As for the requested, I solved it by some other means and i'm glad I did. SimplePortal is very dynamic and I consider it to be one of the best Smf mods.

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4873
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox Code
« Reply #3 on: August 02, 2013, 12:31:38 pm »
Glad you solved it.  If you can, please share your solution.  It may help others.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?