SimplePortal

Support => English Support => Topic started by: Aw06 on September 10, 2008, 01:51:58 PM

Title: Wap
Post by: Aw06 on September 10, 2008, 01:51:58 PM
im runing sp 2.0.4 when some users log on they do not get auto directed to the wap site. is there a fix.
Title: Re: Wap
Post by: Eliana Tamerin on September 10, 2008, 02:29:27 PM
Yes, there will be a fix in the next version I think LHVWB can explain a fix if he finds this topic.
Title: Re: Wap
Post by: Nathaniel on September 10, 2008, 07:23:42 PM
Found the topic. :P

@Aw06,
Basically the fix will redirect all wireless users to the normal wireless home page, instead of the portal.

Here is the edit, if you want to apply it now.
Find this code ('SPortal.php'):
Code: [Select]
require_once($sourcedir . '/Subs-SPortal.php');

if(!empty($_REQUEST['sa']) && $_REQUEST['sa'] == 'addarticle') {
Replace with this code:
Code: [Select]
// Are they trying to use wireless? We don't worry about that here. Go away! :P
if(WIRELESS)
redirectExit('action=forum');

require_once($sourcedir . '/Subs-SPortal.php');

if(!empty($_REQUEST['sa']) && $_REQUEST['sa'] == 'addarticle') {

I am also thinking about having a system that will show some of the blocks to the wireless users, in a very simple way. Do you think that that would be a good idea?
Title: Re: Wap
Post by: Aw06 on September 11, 2008, 12:02:46 AM
change applied ...

I am also thinking about having a system that will show some of the blocks to the wireless users, in a very simple way. Do you think that that would be a good idea?

Sounds like a plan  :applause:
SimplePortal 2.3.8 © 2008-2024, SimplePortal