[ABD] WAP Browser Style

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
soundboy
Registered User
Posts: 117
Joined: Wed May 30, 2007 5:25 am
Location: Australia
Contact:

Re: [DEV] WAP Browser Style

Post by soundboy »

Ok.. ive been working on it :D

Check out the demo for changes..
- It now supports Startrekguide's Shoutbox (As An Extra Included)
- You can now post TOPICS and not just reply to them
- Added user info and whos online
- Added quick register

Looking at a release in the next week or so.. :)
Please donate to keep me modding at phpbb.com for free... Paypal: payment@broadcastingworld.net
Thanks
-Soundboy 8-)
Broadcasting World
Forum For Shoutcast Users, Online DJ's, Broadcasters And Podcasters!
Come Join!

mahdi22
Registered User
Posts: 69
Joined: Thu Mar 06, 2008 11:33 pm
Contact:

Re: [DEV] WAP Browser Style

Post by mahdi22 »

i love what you have do i waiting this

thanks

Frold
Registered User
Posts: 447
Joined: Sat Nov 02, 2002 8:19 am

Re: [DEV] WAP Browser Style

Post by Frold »

soundboy wrote:Ok.. ive been working on it :D
Does it detect if you are using:

Code: Select all

('acs-','alav','alca','amoi','audi','aste','avan','benq','bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno','ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','opwv','palm','pana','pant','pdxg','phil','play','pluc','port','prox','qtek','qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','w3c ','wap-','wapa','wapi','wapp','wapr','webc','winw','winw','xda','xda-');
and then automaticly redirecting you to the PDA friendly template.....

SithLord666
Registered User
Posts: 38
Joined: Thu Feb 09, 2006 11:42 pm
Contact:

Re: [DEV] WAP Browser Style

Post by SithLord666 »

How is this coming along?
BTW you should make it Samsung BlackJack 2 Compatible
I have Internet Explorer On My PDA

User avatar
bagravi
Registered User
Posts: 27
Joined: Mon Nov 05, 2007 4:09 pm

Re: [DEV] WAP Browser Style

Post by bagravi »

keep it up soundboy

waiting for your mod :P

php script

if you use a mobile with your site name

you are redirected to the wap link

this is the script

make a file called index.php

paste this code and save

upload the file to your root

Code: Select all

<?php
//Description
//Configuration
global $userBrowser;

// Your wapsite
//enter the link you want user to be redirected in case of WML browser
$wmllink = "http://wap.site.com";

// Your website
//enter the link you want user to be redirected in case of PC browser
$htmllink = "./index.html";

//There is no need to edit any information from this point on
//however in case if you want to contribute please do so
//please be sure to let me know about the changes
//Detect the browser
$userBrowser = $_SERVER['HTTP_USER_AGENT'];

//Remove the below // qutoes.
//It helps to check if there is any error when editing
//If everything is all right it will display the browser information
//please remember to put // back after testing or no redirection will occur
//echo $userBrowser;

//Check for Mozilla
if(stristr($userBrowser, 'Mozilla'))
{
  $ub="PC";
}
//Check for Mozilla
elseif(stristr($userBrowser, 'gecko'))
{
  $ub="PC";
}
//Check for opera
elseif(stristr($userBrowser, 'opera'))
{
  $ub="PC";
}
//Check for omniweb
elseif(stristr($userBrowser, 'omniweb'))
{
  $ub="PC";
}
//Check for msie
elseif(stristr($userBrowser, 'msie'))
{
  $ub="PC";
}
//Check for konqueror
elseif(stristr($userBrowser, 'konqueror'))
{
  $ub="PC";
}
//Check for safari
elseif(stristr($userBrowser, 'safari'))
{
  $ub="PC";
}
//Check for netpositive
elseif(stristr($userBrowser, 'netpositive'))
{
  $ub="PC";
}
//Check for lynx
elseif(stristr($userBrowser, 'lynx'))
{
  $ub="PC";
}
//Check for elinks
elseif(stristr($userBrowser, 'elinks'))
{
  $ub="PC";
}
//Check for Mozilla
elseif(stristr($userBrowser, 'Mozilla'))
{
  $ub="PC";
}
//Check for links
elseif(stristr($userBrowser, 'links'))
{
  $ub="PC";
}
//Check for w3m
elseif(stristr($userBrowser, 'w3m'))
{
  $ub="PC";
}
//Check for webtv
elseif(stristr($userBrowser, 'webtv'))
{
  $ub="PC";
}
//Check for amaya
elseif(stristr($userBrowser, 'amaya'))
{
  $ub="PC";
}
//Check for dillo
elseif(stristr($userBrowser, 'dillo'))
{
  $ub="PC";
}
//Check for ibrowse
elseif(stristr($userBrowser, 'ibrowse'))
{
  $ub="PC";
}
//Check for icab
elseif(stristr($userBrowser, 'icab'))
{
  $ub="PC";
}
//Check for crazy browser
elseif(stristr($userBrowser, 'crazy browser'))
{
  $ub="PC";
}
//Check for IE
elseif(stristr($userBrowser, 'internet explorer'))
{
  $ub="PC";
}
//If it's not any of the above browsers
//Then it gotta be a WML or very unpopular browser
else
{
  $ub="WML";
  }
//Code for redirecting based upon the results
if($ub == "PC") {
    header("Location: ".$htmllink);
    exit;
    }
    else
    {
    header("Location: ".$wmllink);
    exit;
    }

?>

XxXYonIXxX
Registered User
Posts: 38
Joined: Sun Apr 13, 2008 9:59 am

Re: [DEV] WAP Browser Style

Post by XxXYonIXxX »

Great mod!
make permissibility to users(who can send a message, watch on some forum, go to ACP and so on)

Thxx..
;)

Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [DEV] WAP Browser Style

Post by Xabi »

I'll donate to this mod as soon as it's released :D

User avatar
MultiMatt
Registered User
Posts: 67
Joined: Fri Dec 05, 2003 6:09 pm
Location: Louisville KY
Contact:

Re: [DEV] WAP Browser Style

Post by MultiMatt »

Ditto on the donation! Will gladly support your effort! I used to have a ChangeStyle MOD on version 2 of the forum and my mobile forum was VERY popular with viewers. I miss it bad and so do the viewers!

Thanks in advance for your hard work and providing a viable mobile solution!

Matt
WindowsMobileLouisville

lifehacker
Registered User
Posts: 67
Joined: Mon Mar 27, 2006 1:42 am

Re: [DEV] WAP Browser Style

Post by lifehacker »

Will donate as well as soon as mod released.

User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [DEV] WAP Browser Style

Post by ^[GS]^ »

Very interesting mod, i hope to be published soon ;)

Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [DEV] WAP Browser Style

Post by Xabi »

soundboy · Sat Jun 07, 2008 7:53 am wrote: Looking at a release in the next week or so.. :)

...

User avatar
AHTEPO
Registered User
Posts: 37
Joined: Fri Feb 08, 2008 7:00 pm
Location: Russia, KRD

Re: [DEV] WAP Browser Style

Post by AHTEPO »

soundboy
any news? :roll:

User avatar
soundboy
Registered User
Posts: 117
Joined: Wed May 30, 2007 5:25 am
Location: Australia
Contact:

Re: [DEV] WAP Browser Style

Post by soundboy »

Not much news. Been a bit busy, have a few assignments this weekend.
I can release it quickly without the detection if you like :)

But im still trying out the detection thing :)
Broadcasting World
Forum For Shoutcast Users, Online DJ's, Broadcasters And Podcasters!
Come Join!

User avatar
NeoID
Registered User
Posts: 406
Joined: Mon Jun 06, 2005 10:12 pm
Location: Norway
Contact:

Re: [DEV] WAP Browser Style

Post by NeoID »

soundboy wrote:Not much news. Been a bit busy, have a few assignments this weekend.
I can release it quickly without the detection if you like :)

But im still trying out the detection thing :)
Would be nice if you did... :)
Norsk Anime Forum
http://www.AnimeNord.com

User avatar
MultiMatt
Registered User
Posts: 67
Joined: Fri Dec 05, 2003 6:09 pm
Location: Louisville KY
Contact:

Re: [DEV] WAP Browser Style

Post by MultiMatt »

I'm hip to installing the MOD without the detection, then upgrading it once you have time to add that feature.
If it's ready otherwise, my vote is to let us give it a whirl! :)

Matt

Locked

Return to “[3.0.x] Abandoned MODs”