11
mrjingles
How Can I Tell If My Site Is Running Slowly?
  • 2005/6/22 15:34

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi, I've been running my site based on XOOPS for about 6 months now.

The site is Paddy's World.

I am not sure how well the site performs in terms of speed. I am able to see how the pages load on my PC and sometimes they take about a second to load and at other times they can sometimes take 10 to 15 seconds.

I have reviewed and searched these forums and implemented some of the recommendations I have found (cacheing of modules and blocks being the main one).

However, I have made quite a few changes to the themes and templates used on the site (in a lot of places, so that the use of other XOOPS themes is almost redundant).

Although the site has 'quite a lot' of graphics, I have optimised them to reduce their size and therefore their download time.

The site is primarily a humour site with a massive amount of downloads, and the download speed seems to be very good for the large attachments that are there.

So my main request is for some feedback if possible....

Could you take a look at the site at Paddy's World and

a) Let me know whether you consider the site to be slow, quite slow, OK, quite fast or fast.

b) List any improvements that you think I could implement.

and

c) Identify whether you think the problem may lie with my hosts.

I've spent quite a bit of time developing the site and will certainly stay with XOOPS as the system has 'blown me away' with how good it is, but I struggle to identify how to get any constructive feedback on how the site could be improved.

Many thanks for any help or feedback that could be given to me!!



12
mrjingles
Re: Can I use different themes for different pages?
  • 2005/6/5 18:15

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Thanks for all the response!!

This has certinaly helped me and for the moment I'll use the solution by ladon but am looking forward to the next release of Xoops!

Thanks again!



13
mrjingles
Re: Can I use different themes for different pages?
  • 2005/6/5 12:24

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Thanks for the link. It has certainly helped me a little.

However, I may need a little further help. I can now successfully create different themes for different modules.

What I am trying to do is create a different theme for one page within a module. i.e. Theme1 is used for all of the site. When someone opens a link (i.e. http://mysite.com/modules/amodule/thispage.php) I want only this page to be displayed using theme2 and not any other pages for the module.

Here is part of the code for changing the theme for a particular module (taken from the link):
<{php}>
    
$mod $GLOBALS['xoopsModule'];
    
$dirname = (isset($mod) ? $mod->getVar('dirname') :'system');
if (
$dirname == 'amodule') {
   
$theme='theme2';
  } else {
   
$theme='theme1';
}


I am unsure how to change this code to enable it to run for a specific page within a module.

Any ideas or help would be appreciated. Thanks in advance.



14
mrjingles
Can I use different themes for different pages?
  • 2005/6/1 23:05

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi,

I am wondering if it is possible to create pages that do not use the default theme set up for my site?

For example, let's say that 99% of my site fits into the template I have designed but when visitors click a particular link it opens a new window that does not include my logo and navigation sections (i.e. it shows just the content on the page and that's it).

Any help would be greatly appreciated

Cheers



15
mrjingles
My First Xoops Site
  • 2005/1/2 14:48

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi,

I've had my site for a couple of years now, but finally decided to convert the entire thing to Xoops.

Paddy's World is a humour site with a large collection of all the funny and humourous things you receive in your e-mails.

I'm still working on the design of the site, but it's now up and running and I'd be really grateful for any feedback that you would care to share!

Thanks

Paddy



16
mrjingles
Re:download module and .mov, mpg, quicktime player
  • 2004/12/28 16:29

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi,

Does anyone have any ideas or should I just give up?

Thanks in advance,

Mr Jingles



17
mrjingles
Re:download module and .mov, mpg, quicktime player
  • 2004/12/12 15:08

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi, I also have the same problem with my site.

Does anyone have any idea how this can be solved (I see that todd has moved to the wfdownloads module, but I do not want to do this) ?

If you want to see the issue then go to : http://www.paddysworld.co.uk/modules/mydownloads/viewcat.php?cid=43

and try to download an avi or mpeg file. They will not open in the media player but just a load of rubbish appears on the screen. If you open a .wmv file though there is not a problem.

Any ideas ?

Thanks in advance!!



18
mrjingles
A myDownloads Summary Block?
  • 2004/11/24 0:36

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi, I have been developing my website over the last weeks using XOOPS and I am starting to get to grips with the different modules, themes, templates and blocks.

However, I have a problem and have been unable to find a solution.

I have the mydownloads module installed 5 times. I cloned the original and now have a myvideos, myprograms, mysounds, mygames and a myjokes module for my website. I also have the myalbum module installed for pictures.

Each of these has subcategories and I have over 3000 different files uploaded across these sections. Everything is functioning extremely well and I am pleased with the results.

However, here is what I want to do :

Have a block that details how many files I have in each of these modules so that I can display to my visitors :

Videos : 600 files
Programs : 185 files
Jokes : 215 files
Pictures : 1200
Sounds : 235
Games : 325

Any ideas on how I can do this? Is there a module or block out there that is easy to re-apply.

My php skills are not too good, but I have played around with a php script that returns a value in the Smarty Debug Screen for each of these values but I have no idea how to incorporate this into XOOPS where I would like it to go (tried a php Custom Block with no luck). Here is the code (fogive me if it is c**p) I used to return these values when my php page was loaded :

list($numvids)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("mydownloads_downloads")." WHERE status>0"));
$xoopsTpl->assign('totalvids'$numvids);

list(
$numprogs)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("myprograms_downloads")." WHERE status>0"));
$xoopsTpl->assign('totalprogs'$numprogs);

list(
$numgames)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("mygames_downloads")." WHERE status>0"));
$xoopsTpl->assign('totalgames'$numgames);

list(
$numsounds)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("mysounds_downloads")." WHERE status>0"));
$xoopsTpl->assign('totalsounds'$numsounds);

list(
$numjokes)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("myjokes_downloads")." WHERE status>0"));
$xoopsTpl->assign('totaljokes'$numjokes);

list(
$numpics)=$xoopsDB->fetchRow($xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("myalbum_photos")." WHERE status>0"));
$xoopsTpl->assign('totalpics'$numpics);


Thanks in advance for any help!!



19
mrjingles
Can I clone the 'mydownloads' module?
  • 2004/11/17 2:12

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi,

I've set up the mydownloads module for my site and would now like to clone it.

Is this possible and what steps do I need to take?

Is there an easy way to do this?

Thanks in advance for any help!!!



20
mrjingles
Re: MyDownloads Template to display 3 columns
  • 2004/11/11 11:40

  • mrjingles

  • Just popping in

  • Posts: 22

  • Since: 2004/11/10


Hi, Just thought I'd let you know that I managed to work out the code. Here it is for those who are interested.

<table width="100%" cellspacing="0" cellpadding="10" border="0">
<
tr>
<{
counter assign=totalfiles start=print=false}>
<{
section name=i loop=$file}>
<
td><{include file="db:mydownloads_download.html" down=$file[i]}>td>
<{
counter}>
<{if 
$totalfiles is div by 3}>
tr><tr>
<{/if}>
<{/
section}>
tr>
table>


Thanks!




TopTop
« 1 (2) 3 »



Login

Who's Online

180 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

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

Latest GitHub Commits