SimplePortal
Support => English Support => Topic started 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.
-
Yes, there will be a fix in the next version I think LHVWB can explain a fix if he finds this topic.
-
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'):
require_once($sourcedir . '/Subs-SPortal.php');
if(!empty($_REQUEST['sa']) && $_REQUEST['sa'] == 'addarticle') {
Replace with this code:
// 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?
-
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: