| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
|
Currently if you goto YouTube or other websites with your mobile browser it will automatically redirect you to a subdomain of the site where they have mobile support. Is there a way to do the same with IndexU? Now that we have a mobi template, I would like to create a subdomain and have it attach to the same database. Then, if it detects its a mobile browser, automatically forward them to the subdomain.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
|
I knew someone would ask that as soon as the .mobi template was available! You can find a complete script to do this at Andy Moore Blog Archive PHP to detect mobile phones You can also look at the following http://www.brainhandles.com/2007/10/...bile-browsers/ Lightweight device-detection in PHP | mobiForge
__________________ |
| ||||
|
Bruce... If I used the "Lightweight device detection in PHP" code, where would I put the code?? In header.html? I also downloaded Andy Moore's php script, but I'm also unaware on how I would integrate that into my site.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
|
So would it be a "include" statement I would want to use in Application.php?? Or maybe a 'call' statement? Maybe the programmers might know?
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| |||
|
Why not make it a plugin? I can't make it because I can't test it. I don't have a phone with mobile access. Any ideas? Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com Last edited by mpdaddy; 10-18-2008 at 04:39 PM. |
| ||||
| Code: Content visible to License Owner only. If you can create it... I can test it for you! Let me know
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| |||
|
I will work on it today after I get off work and let you know when I have something to test. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| ||||
| Code: Content visible to License Owner only.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| |||
|
Sorry for the delay. I am starting a new Ebay business and my merchandise came in. I have been getting everything ready for that. I will find time tomorrow to get started on this plugin. Frank, I will let you know if/when I need it tested. I do not have the template, so you will need to test it on your domain. I will contact you by email tomorrow. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| ||||
|
No Problem mpdaddy! Let me know when you have something for me to test
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| |||
|
For anyone who is wondering. I have finished the plugin and I sent it ti FSGDAG to test it. I will give updates if needed and release it as soon as it is working 100%. If you have the mobi template for IndexU and you have access to test with an Iphone, Ipod, or other mobile device with a browser, and would like to test it, I can send the plugin to you. I would not recommend testing it on a live site, you should have a test site set up for testing purposes. Contact me at my email address in my signature if you are interested. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| ||||
|
Ok... Question.... I'm getting ready to test this out.. Tell me if I'm off base here: - I'm going to do a new install on the root of a domain.. We'll call it www.testdomain.com - Then I'm going to create a subdomain called m.testdomain.com - I'll then upload all the files to the subdomain, but application.php will have all the settings of the one in the root domain. This way they will share the same DB. - I'll install the plugin and start testing with my mobile browsers Here's the question: m.testdomain.com will have the mobi template in it. Will I have to rename the directory of that template to match the name of the root domains template name?!?! I'm assuming I'll have to seeings that information is in the DB.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mobile Mod | Rockyuk | Blocks and Modification | 3 | 02-22-2008 10:51 AM |
| Mobile Directory??? | FSGDAG | Customer Reviews | 11 | 01-18-2008 12:40 AM |
| Mobile / Cell Phones Specifications Database - vol.2 - NEW and UPDATED | soundofvtec | Buy, Sell or Trade | 0 | 10-12-2007 07:47 AM |
| Mobile Phones Specifications Database with all details | soundofvtec | Buy, Sell or Trade | 0 | 07-28-2007 03:56 AM |