Support > English Support

Wap

(1/1)

Aw06:
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.

Eliana Tamerin:
Yes, there will be a fix in the next version I think LHVWB can explain a fix if he finds this topic.

Nathaniel:
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: --- require_once($sourcedir . '/Subs-SPortal.php');

if(!empty($_REQUEST['sa']) && $_REQUEST['sa'] == 'addarticle') {
--- End code ---
Replace with this code:

--- 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') {
--- End code ---

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?

Aw06:
change applied ...


--- Quote from: LHVWB on September 10, 2008, 07:23:42 PM ---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?

--- End quote ---

Sounds like a plan  :applause:

Navigation

[0] Message Index

Go to full version