Is there any Css for mobile Only where pc user cannot view sit

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Anthony
    replied
    lol How easy it was to visit that site using my PC see the attach image


    Click image for larger version

Name:	wapday.png
Views:	1
Size:	138.7 KB
ID:	110000

    Leave a comment:


  • metulj
    replied
    Originally posted by joban111 View Post
    Metulj u might be using some kind of scripting to get into that link or something out of our brains or this world but the guy who posted this thread just asked for normal innocent help. we all know normal visitors are not so smart that they can view that site from pc as u can. he just asked for some coding for that. now see subzero as a real moderator provided him some sort of coding and tried to help him as he can instead of just insulting users. i suggest u if u cant help someone than please bro better dont reply to that post. u r super mod of this site so this does not mean that u can be rude to anyone. i saw u many times just doing bully on users instead of try to help them. totally unfair behaviour by a moderator. DONT BAN ME FOR THIS POST.
    poster has been told many times that blocking PC is nearly impossible,
    yet, he is persistant to get code... and btw he must be superlazy as
    redirection code been posted here many many times !
    but i haven't insult him, not even once !
    on the other hand, he insulted here in general(FIRST LINE)!
    so feel free to NOT post bollox !!!
    Last edited by metulj; 10.08.11, 11:21.

    Leave a comment:


  • joban111
    replied
    Metulj u might be using some kind of scripting to get into that link or something out of our brains or this world but the guy who posted this thread just asked for normal innocent help. we all know normal visitors are not so smart that they can view that site from pc as u can. he just asked for some coding for that. now see subzero as a real moderator provided him some sort of coding and tried to help him as he can instead of just insulting users. i suggest u if u cant help someone than please bro better dont reply to that post. u r super mod of this site so this does not mean that u can be rude to anyone. i saw u many times just doing bully on users instead of try to help them. totally unfair behaviour by a moderator. DONT BAN ME FOR THIS POST.

    Leave a comment:


  • metulj
    replied
    Originally posted by subzero View Post
    You can block pc browsers

    i coded this long but ago

    CHAT SERVICE!
    You can only view it thou mobile phone and im using opera
    Sorry
    HTTP request was interrupted by the host!
    i get this from mobile even :P

    Added after 6 minutes:

    Originally posted by kolkatawap View Post
    Haha it means all you are master stupid Try to open www.wapday.com 4m your pc and say what was it?is that site owner stupid or in reality u are his foot step in php coding

    Thanks bro subzero you are realy a master brain but some are now a day doing small paste and saying themselves master example here infront of u

    Added after 2 minutes:

    www.wapday.com is a site that cannot be viewed 4m pc it accese Only Mobile Metuji and creative u gven long lecture saying me stupid now do justify
    dont ever again call anyone here stupid, else i will ban you for sure !
    now... look at the attached screen,
    and explain to me which mobile phone has such screen resolution ???
    better STFU
    Attached Files
    Last edited by metulj; 10.08.11, 09:52.

    Leave a comment:


  • subzero
    replied
    Here the code you can play around with

    if($mobile_only == "1")
    {
    $u_agent = $_SERVER['HTTP_USER_AGENT'];
    function get_user_browser($u_agent) {
    $ub = '';if(preg_match('/MSIE/i',$u_agent)){$ub = "ie";}elseif(preg_match('/Firefox/i',$u_agent))
    {$ub = "firefox";}elseif(preg_match('/Safari/i',$u_agent)){$ub = "safari";}
    elseif(preg_match('/Chrome/i',$u_agent)) {$ub = "chrome";} elseif(preg_match('/Flock/i',$u_agent))
    {$ub = "flock";}{$ub = "opera";}return $ub; }
    $notallowd = array("ie","opera","firefox", "chrome","flock","safari");
    $browser = get_user_browser("$u_agent");
    foreach($notallowd as $blocked) {
    $blacked=str_replace('*', '', $blocked);
    $len=strlen($blacked);
    if ($browser==$blacked || substr($browser, 0, $len)==$blacked) {
    $_banned_i=true; }}
    if($_banned_i==true){
    echo "<div class=\"header\"><img src=\"img/site/logo.png\" alt=\"Logo\"/><br/></div>";
    echo "<div class=\"rekl\"><a href=\"$ads_link\">$ads_code</a><br/></div>";
    echo "<div class=\"menu\">";
    echo "<div>You can access this page only with your mobile phone!</div>";
    echo "</div>";
    echo "<div class=\"rekl\"><a href=\"$ads_link\">$ads_code</a><br/></div>";
    echo "<div class=\"footer\">Design by <a href=\"http://wapdiz.ru\">inferno</a></div>";
    exit(0);
    }
    }else{
    }

    Leave a comment:


  • subzero
    replied
    You can block pc browsers

    i coded this long but ago

    CHAT SERVICE!

    You can only view it thou mobile phone and im using opera

    Leave a comment:


  • kolkatawap
    replied
    Haha it means all you are master stupid Try to open www.wapday.com 4m your pc and say what was it?is that site owner stupid or in reality u are his foot step in php coding

    Thanks bro subzero you are realy a master brain but some are now a day doing small paste and saying themselves master example here infront of u

    Added after 2 minutes:

    www.wapday.com is a site that cannot be viewed 4m pc it accese Only Mobile Metuji and creative u gven long lecture saying me stupid now do justify
    Last edited by metulj; 10.08.11, 09:49.

    Leave a comment:


  • ReazulIqbal
    replied
    Yeah, you can not block pc browses. There are some plugins that can switch user agents for pc browsers. By using that anyone can browse your mobile site with out any problems.

    Leave a comment:


  • CreativityKills
    replied
    I will say what metulj is trying to say in straight english: its stupid, dumb, damned near impossible...not to mention, a waste of time (that could be better spent staring at the sky waiting for a comet to pass by) trying to stop PC users from viewing ur mobile site. The best thing you can do is create a PC version for ur site. Personally you should let the sleeping dog lie. If u really crave knwledge, expand ur knwledge on PHP this underated site can help :-) if after all i typed u still want to do this "wild goose chase" thing ur beyond help.

    Leave a comment:


  • metulj
    replied
    Originally posted by kolkatawap View Post
    Gaining knowledge is good metuji plz i hope you are right human being to help me i want my site to view only 4m mobile and if pc user cums msg raise to cum 4m mobile can u do dis 4 me plz i shall gv u my hosting cpenal pas just do it 4 me my email=rishigupta651@gmail.com
    i dont need your cpanel,
    and once again,
    you cant block pc users to view your aka mobile site !
    it is that simple

    Leave a comment:


  • kolkatawap
    replied
    Gaining knowledge is good metuji plz i hope you are right human being to help me i want my site to view only 4m mobile and if pc user cums msg raise to cum 4m mobile can u do dis 4 me plz i shall gv u my hosting cpenal pas just do it 4 me my email=rishigupta651@gmail.com

    Leave a comment:


  • metulj
    replied
    Originally posted by kolkatawap View Post
    It is coding talk anyone can ask for help ok metuji dont mind i am just enhancing my knowledge
    then why you are suggesting to others to search google ??

    Leave a comment:


  • kolkatawap
    replied
    It is coding talk anyone can ask for help ok metuji dont mind i am just enhancing my knowledge

    Leave a comment:


  • metulj
    replied
    Originally posted by kolkatawap View Post
    Plz upload at zip i want it
    i've told you once,
    you cannot block PC user/browser !
    how many times you need to be told ??
    beside... like you said your self
    Originally posted by kolkatawap
    Search google best place ever
    !

    Leave a comment:


  • atef
    replied
    Download this script then and upload it at ur site

    and add this code at all ur pages
    PHP Code:
    require_once('mobile_device_detect.php'); 
    mobile_device_detect
    (true,true,true,true,true,true,true,false,'http://Error page link'); 
    change error page link to where should pc users redirect, pc theme, error page whatever u want

    Leave a comment:

Working...
X