HOME TIPS FORUMS DOWNLOADS
   »»  Tips Archive |
Tricks/Tools : Log In Twice - Revisits
Posted by tl001 on 2005/3/29 18:52:23 (3282 reads)
Tricks/Tools

Previously, we suggested two solutions for solving logging in twice problems:

http://xoops-tips.com/news-article.storyid-65.htm

First solution is "being consistent" in referring your URL. What about incorrect listing of your URL by third parties?

Read More... | 2 comments
Tricks/Tools : Using gzip to Speed Up Web Rendering
Posted by tl001 on 2005/3/22 20:28:22 (3835 reads)
Tricks/Tools

Xoops gzip does not work. ackbarr posted a TIP long time ago in the Xoops forums.

If you have missed it, here it is again. Simple and effective!

Quote:


if you want to ensure that your pages are gzip encoded you can disable the "Use gzip compression" setting in System -> Preferences -> General Settings

add the following to XOOPS_ROOT/.htaccess

php_flag zlib.output_compression on
php_value zlib.output_compression_level 5


zlib.output_compression_level can be from 1 to 9, with 9 being the highest compression. Normal settings are usually between 3 and 6.

Please note that your host must be using Apache and has to allow you to create .htaccess files for this workaround to function.


You can do a http header test to see if it is working:

TEST YOUR HTTP Header



9 comments
Tricks/Tools : renderNav() Usage and Search Engines
Posted by tl001 on 2005/3/15 8:03:25 (1547 reads)
Tricks/Tools

Xoops provides a page navigation tool/function. You can call the function (assigning smarty variable) directly with something like the following:

$xoopsTpl->assign('pagenav', $pagenav->renderNav());

Read More... | 9 comments
Tricks/Tools : how to run shorturl on php5
Posted by dasdan on 2005/3/9 12:10:00 (2022 reads)
Tricks/Tools

change line 29 to 31 [loadpage.php]

//su_debug("Loader Phpself: $PHP_SELF"); edited by dasdan
su_debug("Loader Phpself:" . $_SERVER['PHP_SELF']);
su_debug("Loader Script name: " . $HTTP_SERVER_VARS['SCRIPT_NAME']);
//$script_path = preg_replace("/(.*)\/loadpage.php/i", "\\1", $PHP_SELF); edited by dasdan
$script_path = preg_replace("/(.*)\/loadpage.php/i", "\\1", $_SERVER['PHP_SELF']);

Comments?
Tricks/Tools : Add more Smilies means layout disaster - a fix to the Smilies
Posted by luckylin on 2005/3/8 18:40:00 (2228 reads)
Tricks/Tools

When you reply a post or add new comment, you like to use smiley, right? The standard smiley in the Xoops is a 9-icon row plus [more...] format, now you want more smilies.

Yes I always love the smilies, but when I added more, I immediately found the input form(s) got pushed wider and wider because of the codes that holds smiley does not have a space "in-between" icons, this is a very simple issue but there are TWO files need to modify so you got a clean, auto-wrap smilies page according to your layout/table width, modify two files fit to all forms.

Read More... | Comments?
« 1 2 3 4 5 (6) 7 8 9 10 11 ... 22 »