Register Members List Search Today's Posts Mark Forums Read

Article Options
Alert and redirect mobile devices
Join Date: Sep 2008
Posts: 196

by Shamil. Shamil. is offline 27 Dec 2010

You can make your forum produce an unobtrusive javascript alert whenever your community members view your site from a mobile device, such as an Apple iPhone/iPod, Android-based device or Symbian-based device by entering a little javascript in your forum's header or footer template.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you are placing this in the footer, place it just before the </body> closing tag. In the header, place it just before the <body> tag. For site speed and optimisation, I recommend you place the code in the footer.

Replace the message with whatever message you want your forum members to see, and replace the URL to the resource you want them to see when they click ok on the mobile device.

Last edited by Princeton; 28 Dec 2010 at 19:32..
Views: 5361
Reply With Quote
Old 24 Mar 2013, 17:58
matrex722's Avatar
matrex722 matrex722 is offline
Join Date: Jan 2007
it will help in my site
becuse its for mobile stuf
and most users are visiting it from mobile
Reply With Quote

Similar Article
Article Author Type Replies Last Post
Forum Style Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) dartho vBulletin 4.x Styles 1133 17 Sep 2019 04:49

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 14:07.

Layout Options | Width: Wide Color: