1801
trabis
Re: redirecting url
  • 2008/1/24 21:25

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1





1802
trabis
Re: Site slow? Using news module? Read this!
  • 2008/1/24 13:23

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@avtx30: My version is 1.53 but doesn´t matter, it goes true every version. Hervet is looking into it so he will get a turn around, I´m sure.

@Christian: Yes I read the above link, is very helpful, but is not related with this issue.

My site has never been faster, I´m so glad I found this, and I´ll sure pay more atention to this kind of problems. Thank you all.



1803
trabis
Re: Site slow? Using news module? Read this!
  • 2008/1/23 21:13

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Yes I should, PM is on the way :)



1804
trabis
Site slow? Using news module? Read this!
  • 2008/1/23 20:42

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Here is the deal,
My site was becoming slower day by day so I change server.
Now after 3 months godaddy comes and says: "resolve your problem or buy dedicated server".

I was about to purchase a dedicated server but I had good news!
Your problem is in "modules/news/article.php" they said

So I went to see.

I put counters all over the code and I was able to isolate a function that took me 3 seconds to load.

That is the function responsible for showing previous and next link.

This function does a query without any limit to the database meaning that if you have 15.000 news and 100 users online as i do you will get in serious trouble (and it will get worse news by news as the query becomes longer).

So for thoose of you who might have the same problem I recomend to disable "Show Previous and Next link" in the news administration until we get a better way to get thoose links from the database.

That´s it!



1805
trabis
Re: Hacking multimenu for showing selected menus
  • 2008/1/22 14:07

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Hi Mowaffak, I´m glad you found it useful!
Please report bugs if any.
Thanks



1806
trabis
Re: Local backup: modules news, links & polls don't work
  • 2008/1/22 14:02

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Probably those modules are using $HTTP_POST_VARS instead of $_POST etc...



1807
trabis
Re: Quirky $_POST issues
  • 2008/1/20 18:39

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Yes that is good!

You can also use $db->prefix('names') instead of xoops_names,



1808
trabis
Re: BLOCK PREMISSION PROBLEM!
  • 2008/1/20 17:19

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Please turn the debugger on, I cannot imagine what is happening yet.



1809
trabis
Re: Hack the "recent comment block"
  • 2008/1/20 17:15

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Maybe you can make an extra block:

Go to modules/system/xoops_version.php

add this:

$modversion['blocks'][13]['file'] = "system_blocks.php";
$modversion['blocks'][13]['name'] = _MI_SYSTEM_BNAME11;
$modversion['blocks'][13]['description'] = "Shows most recent comments";
$modversion['blocks'][13]['show_func'] = "b_system_comments_show_2";
$modversion['blocks'][13]['options'] = "10";
$modversion['blocks'][13]['edit_func'] = "b_system_comments_edit_2";
$modversion['blocks'][13]['template'] = 'system_block_comments_2.html';


Then make your 'system_block_comments_2.html'

And in system_blocks.php make a clone of the functions and name them:
b_system_comments_show_2
b_system_comments_edit_2

Update your system module and clean templates_c



1810
trabis
Re: BLOCK PREMISSION PROBLEM!
  • 2008/1/20 15:35

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


And have you any other modules installed?
Check your database and repair damaged tables.




TopTop
« 1 ... 178 179 180 (181) 182 183 184 ... 190 »



Login

Who's Online

237 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 237


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