51
pegasus00321
Re: Opera 8 license for free - act fast

Thanks for the tip!

Opera uses Gecko right?
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



52
pegasus00321
Re: A new name for Mambo : Joomla!

Wait, so Mambos Dev team split off from Mambo and started their own CMS? Or are they just continuing to build on Mambo?
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



53
pegasus00321
Re: SMF bridge

Just wondering, it this in the works? or just an idea?
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



54
pegasus00321
Re: Members area of a web site

Well, when you go to Admin > Groups, you can select the modules that only members can see and prevent the public from viewing certain modules.

Also, you can create a custom block with links and have it show for only members.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



55
pegasus00321
Re: XOOPS scalability for large site?

XOOPS needs work in terms of speed and load especially when the amount of visitors increase.

I have a site that gets around 1M pageviews a month and I've done a lot of work on the backend to speed it up and minimize server resources.
Something that I saw as a big saving is putting the menus in your theme. If you dont install modules very often, it works just fine.

<{if $xoops_isuser}>
<
div class="blockTitle">My Account</div>
<
div class="blockContent">
<
table cellspacing="0">
<
tr>
<
td id="usermenu">
<
class="menuTop" href="<{$xoops_url}>/user.php">Account</a>
<
a href="<{$xoops_url}>/notifications.php">Notifications</a>
<{
php}>
GLOBAL 
$xoopsUser;
$pm_handler =& xoops_gethandler('privmessage');
$uid $xoopsUser->getVar('uid');
$criteria = new CriteriaCompo(new Criteria('read_msg'0));
$criteria->add(new Criteria('to_userid'$uid));
$msgcount $pm_handler->getCount($criteria);
$GLOBALS['xoopsTpl']->assign('msgcount'$msgcount);
<{/
php}>
<{if 
$msgcount 0}>
<
class="highlight" href="<{$xoops_url}>/viewpmsg.php">Inbox (<span style="color:#ff0000; font-weight: bold;"><{$msgcount}></span>)</a>
<{else}>
<
a href="<{$xoops_url}>/viewpmsg.php">Inbox</a>
<{/if}>
<{if 
$xoops_isadmin}>
<
a href="<{$xoops_url}>/admin.php">Admin CP</a>
<{/if}>
</
td></tr></table></div>
<{else}>
<
div class="blockTitle">Login</div>
<
div class="blockContent">
<
form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
Username<br />
<
input type="text" name="uname" size="12" value="<{$unamevalue}>" maxlength="25" /><br />
Password<br />
<
input type="password" name="pass" size="12" maxlength="32" /><br />
<
input type="checkbox" name="rememberme" value="On" class ="formButton" checked />remember me<br />
<
input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
<
input type="hidden" name="op" value="login" />
<
input type="submit" value="Login" /><br />
</
form>
<
br />
<
a href="<{$xoops_url}>/user.php#lost">Lost Password?</a><br />
<
a href="<{$xoops_url}>/register.php">Register now!</a>
</
div>
<{/if}>
<{foreach 
item=block from=$xoops_lblocks}>
<
div class="blockTitle"><{$block.title}></div>
<
div class="blockContent"><{$block.content}></div>
<{/foreach}>
<
div class="blockTitle">Main</div>
<
div class="blockContent"><table width="100%" cellspacing="0" cellpadding="0">
<
tr>
<
td id="mainmenu">
<
class="menuTop" href="<{$xoops_url}>">Home</a>
<
class="menuTop" href="<{$xoops_url}>">Blah</a>
<{if 
$cmodule == 'blah'}>
<
class="menuSub" href="blah2url">Blah Sub</a>
<
class="menuSub" href="blah2url">Blah Sub</a>
<{/if}>
</
td>
</
tr>
</
table>
</
div>


Then to detect which module it is,
stick this in header.php
$cmodule = isset($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('dirname') : "system";
$xoopsTpl->assign('cmodule'$cmodule);

If you have caching enabled for a module, it wont work, but to get around that.
Put $xoopsTpl->assign('cmodule', 'modname'); in the actual files for the module.

I foudn this as good way to speed up XOOPS
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



56
pegasus00321
Re: My Xoops and CPU problem..(Very Big Problem)

You HAVE to enable caching in XOOPS in order to reduce load and queries.
Installing the plugin by Brash will show you how long its taking to generate pages and how many queries.

If a page is using 50 queries, thats WAY to much.
I would say 30 is pretty common and that 20 or less is preferable.
I've hacked my XOOPS sites enough that my Query count is at or around 10.

Enabling Blocks Cache and Module Cache intelligently will help to reduce server loads.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



57
pegasus00321
Re: XOOPS Config in File and Not MySQL DB

It sounds like you have a better implementation of this but when is it gonna be done?

I'm basically looking for a "quick fix" to this.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



58
pegasus00321
Re: XOOPS Config in File and Not MySQL DB

I'd be willing to try and make this work.

Where is the XOOPS config handler located in?
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



59
pegasus00321
Re: a deeper sitemap...

You need to have other sites link to your site. More links, more spiders. Preferably popular sites (check their Alexa Rank)
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc



60
pegasus00321
Re: XOOPS Config in File and Not MySQL DB

Seriously, taking away 5 queries for config is saving quite a bit in terms of queries and thats a good bit of speed up.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 26 »



Login

Who's Online

220 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits