11
przemeks
News module cache and page title
  • 2006/8/27 11:29

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello,

I use News 1.44, every news item have in <{$xoops_pagetitle}> have its news title but after I turn on caching News module the <{$xoops_pagetitle}> have only "News" for every news item which was cached.

Could anyone help me with this problem? How can I put news item title in <{$xoops_pagetitle}> when it is cached.



12
przemeks
Re: Problem with XOOPS & Mod_Rewrite: cant find modules
  • 2006/8/27 11:01

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello,

I had the same problem on XOOPS 2.0.14.

You must change one line in includes/common.php, from:

$xoopsRequestUri $_SERVER'REQUEST_URI' ]; // Deprecated (use the corrected $_SERVER variable now)


to:

$xoopsRequestUri $_SERVER'SCRIPT_NAME' ];


After this modyfication mod_rewrite on my XOOPS work correctly.



13
przemeks
Re: Different problem Slow download of index.php
  • 2006/8/26 21:55

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


My host told me that i have bad optimised queries to SQL and "slow queries" and they have limits of SQL queries per user, when my accont create to many queries SQL for me is disabled or work very slow.

My admin told me:

"If Your script generate more than 10 queries in one time, which every of this query have about 15 seconds acces to next queries is blocked.

If problems exist it means that You reached maximum number of queries dedicated for one user.

If You actually don't have members on-line it doesn't meen that you don't have queries on pconnect used".

Soryy for my english



14
przemeks
Re: Different problem Slow download of index.php
  • 2006/8/26 12:14

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello,

no no, cv.czytelnia.net don't work onn XOOPS, it is

url removed at posters request - Davidl2



15
przemeks
Different problem Slow download of index.php
  • 2006/8/17 14:54

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys,

I had installed XOOPS 2.0.14 on my host with modules: news 1.44, protector 2.57, theme changer 2, filemanager 3 and Spotlight news 1.4.

My XOOPS site work very well, usually I wait about 2-3 seconds for servers response and less than 1 second to dowlonad index.php or any page of my site.

But sometimes (few times per day) my XOOPS work very slow, I wait more than 10 seconds for servers response. After 10 minutes my XOOPS work fine. Downloading XOOPS page is very fast, but I must wait much time for servers response.

When my XOOPS work such slow, index.php or other pages sometimes return blank page, after refresh XOOPS return normal page.

My host's admin told me that this situation is only on my accont, any other client don't informed them about simillar situation. Admin told me also that this might byby bad optimised SQL queries, because on his site all looks good.

I don't know what is wrong, my hosting company is very solid firm, all of my pages work fine.

When this situation starts (it takes about 10 minutes) I can't acces my databases by PMA, I wait for servers response very long.

My site in this momment use cache for all blocks and I think is very goos optimised.

Had Had anyone simillar problem ?

# This problem isn't only on my PC, my friends also have problem with my page few times per day

# I will come back 28th of august, sory if I can't post any other informations.



16
przemeks
Re: General Page Navigation
  • 2006/8/13 23:41

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello,

i don't need such complicated module.

I create a simply module called "Navigator" and block related with file calles navigator.php, look at my code:

$block['content'] ="<a href="".XOOPS_URL."/index.php" >main page</a> &rsaquo; ";

$block['content'] .= "<a href="".XOOPS_URL."/modules/".$xoopsModule->getVar('dirname')."">".$xoopsModule->getVar('name')."</a>  &rsaquo; ";


This simply code enable me to display menu like:

main page > module name

But I have problems with title of page...

Could anyone tell how to put the content of <{$xoops_title}> in this block ?

I don't have any ideas...



17
przemeks
General Page Navigation
  • 2006/8/13 13:42

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys,

i want to have general page navigation on top of my site like this:

main page > module name > module's page name

Can I find any block/module for this ?



18
przemeks
Re: News module +keywords
  • 2006/6/17 21:12

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys,

I use News 1.44 and this hack doesn't work, i don't know what is wrong.

My query to database (example):

SELECT FROM xoops_stories WHERE MATCH (keywordsAGAINST ('xoops, cms, php') AND storyid != '2'


I add fulltext to 'keywords' row.

The code:

$number mysql_numrows($wykonaj);
echo 
$number;


always return '0'

I think that this query is wrong...

I don't have any other ideas...

Could anyone help me ?

----edit-----

I removed from query

AND storyid != '$id'


and this query return the same story. Something of this query must be wrong.

----edit-----

I check several queries and I know what the problem is. This query search stories which include all of those keywords in row 'keywords' not one...

Any ideas ?

----

I work on XOOPS 2.0.13.2 - in this version something must blocks this query.



19
przemeks
Making NewBB SEO friendly
  • 2006/6/16 19:59

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys,

I'm searching hack for SEO friendly URLs in NewBB.

Had been realized any hack for this forum ?

Thanks



20
przemeks
Quick comment and simply comment view
  • 2006/6/14 15:33

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys,

could You tell me how to modify news module ot get a Quick comment form and simply comment list like on:

http://devteam.xoops.org/devlog/xoops.php?url=archives/2-What-devs-should-use-or-not-use-in-2.2.html&serendipity[cview]=linear#comments




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

160 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 160


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