forgot to mention,if u setup your browser to not go to ur isp proxy, above method shall only allow u to use your server locally, shall not use ISP proxy for local access, much secure.
I believe it is secure as it checks for IP of local user. Prevents IP spoofing...
// XOOPS Virtual Path (URL) // Virtual path to your main XOOPS directory WITHOUT trailing slash // Example: define('XOOPS_URL', 'http://localhost'); // auto change the host name for local or remote access
$itxx_local_host_ip = gethostbyname("FQDN"); // Use host name part only for win32 $itxx_user_ip = $_SERVER['REMOTE_ADDR'];
if ($itsl_is_local) { define('XOOPS_URL', 'http://local.i.p.x');// use local ip 192.168.x.x } else { define('XOOPS_URL', 'http://www.itslbd.com'); } ?>
Hope this helps, Note: this is originally from sourceforge.
I hv also modified original XOOPS to my likings and to make it a bit more secure. With all the hacks available, u can actually make it as secure as any cms can get!!
So, Now using original with all the hacks..works very good.
ne way, for userinfo there is hack for i believe v 2.0.13~2.0.16 that works, which version of core u'r using ?
for my 2.0.16 (latest stable) I have followed instructions from these below(visit following and can figure easily what u need to do),
The link is the same I'hv already posted(click the link posted)..it does not work...surely U did not check or I was banned ibdeeming site access!!
Frankly google did not help either, at least in this case!! no more download link show up other then creators site(ibdeeming) that does not work for me...
if you have the mod. Please e-mail me (if you cannot post). my email addy,
$xoopsOption['pagetype'] = "user"; include "mainfile.php"; include 'header.php';
// Doesn't matter GET or POST $email = isset($HTTP_GET_VARS['email']) ? trim($HTTP_GET_VARS['email']) : ''; $email = isset($HTTP_POST_VARS['email']) ? trim($HTTP_POST_VARS['email']) : $email;
// If $email is empty, show form for link resend if ($email == '') { echo <<< TOPET05
TOPET05; $email=''; // If $email is not empty, let's verify some things before sending the link }else{ $myts =& MyTextSanitizer::getInstance(); $member_handler =& xoops_gethandler('member'); // The line below returns an array with all the users registered with the given e-mail, in our case it'll be only the
New site looks like a blog and do not hv any download section or not ready yet.
Can anyone post the latest v0.60 here or in the forum..so that i can download this module. Even with my 0.45(downloaded from mod repository) It looks and feels great...can't wait to see how .60 performs
Tried many cms, but found out XOOPS is the best..installed it with all the suitable modules. just love XOOPS stuff...only problem is lot less module support and info.
It's time for me to contribute something to the XOOPS community.
I had similer problems, with most of the download modules.
Disable gzip compression in the XOOPS core i.e. in the systems module...i..e systems > general pref.> gzip "no"
But this really slows down if your host do not turn on gzip/zlib, to find out one can use the phpinfo() function..better yet, install XOOPS stat, and it will tell you in a nice format! if you got gzip turned on in php..
If not just add this line to your .htaccess file in the root folder of your site,
php_flag zlib.output_compression on
this is actually lot faster then XOOPS gzip..at least at my site ...http://www.itslbd.com/