Please, someone can suggest me how do prevent direct access to the forum? my forum is bridged and i would like tu prevent access like www.site.com/smf/index.php
i remember a 3d here, i tried to search it but i diden't find the post... thanks in advance...
joomla 1.0.13 jsmf bridge smf 1.1.4
« Last Edit: December 29, 2007, 07:22:27 AM by Marco »
<?php /********************************************************************************** * index.php * *********************************************************************************** * SMF: Simple Machines Forum * * Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) * * =============================================================================== * * Software Version: SMF 1.1.4 * * Software by: Simple Machines (http://www.simplemachines.org) * * Copyright 2006-2007 by: Simple Machines LLC (http://www.simplemachines.org) * * 2001-2006 by: Lewis Media (http://www.lewismedia.com) * * Support, News, Updates at: http://www.simplemachines.org * *********************************************************************************** * This program is free software; you may redistribute it and/or modify it under * * the terms of the provided license as published by Simple Machines LLC. * * * * This program is distributed in the hope that it is and will be useful, but * * WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY * * or FITNESS FOR A PARTICULAR PURPOSE. * * * * See the "license.txt" file for details of the Simple Machines license. * * The latest version can always be found at http://www.simplemachines.org. * **********************************************************************************/
/*This, as you have probably guessed, is the crux on which SMF functions. Everything should start here, so all the setup and security is done properly. The most interesting part of this file is the action array in the smf_main() function. It is formatted as so:
I just implemented this code and it works well on my site... a little too well! The wap functionality is now "broken". Trying to access the site via my mobile now attempts to load the forum in the wrapper. It makes sense of course, but is there a way to add code to make the exception for wap?
I just implemented this code and it works well on my site... a little too well! The wap functionality is now "broken". Trying to access the site via my mobile now attempts to load the forum in the wrapper. It makes sense of course, but is there a way to add code to make the exception for wap?
i dont't know if it is possibile but, i've seen a special component with a special template for mobile access on the joomla website.... you can try...
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use