61
tl
Re: Hello Folks! :-)
  • 2004/10/31 19:04

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Reynaldo:
Is it possible to exclude modules/system in the following rendering codes?

global $PHP_SELF;
    
$current_path preg_replace("/(.*)/.*.php.*/i""\1/\2"$PHP_SELF);
//    $s .= "n<!-- current_path: $current_path -->n";
    
$dirs_list explode("/"$current_path);
    
$dirs_list implode("-"$dirs_list);
    
$dirs_list trim($dirs_list,"-");
    
$dirs_list .= "+";
    
$dirs_list eregi_replace("modules-""m-",$dirs_list);
//    $s .= "n<!-- dirs: $dirs_list -->n";


It seems that most of the ShortURL problems with standard modules are related to admin side. Many relative URL would just rendered as something like the following (just an example, this shows after click directly on System Admin with the javascript) :
/+admin+fct-blocksadmin-op-edit-bid-4.html

It was transformed without the module name.

tl



62
tl
Headline Module Cache
  • 2004/10/31 13:02

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Does anoyone know where does the headline module cache the sources?

Even the source's cache files were deleted, the headline module would continue to display the old items. This means the module is getting the info from itself, not from the source files. But I can't seem to find where. It is not in the cache directory.

Anyone? Thanks.



63
tl
Re: Can't make RSS feeds work..
  • 2004/10/31 12:53

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You may want to update your xml parser. You can download it from
http://www.myxoopsforge.de/dl/saxparser.zip

overwrites the saxparser in class/xml

Other than that, you will have to wait for someone (developer) to update the headline module.



64
tl
Re: Hello Folks! :-)
  • 2004/10/30 21:39

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:
i) I saw somewhere a version 0.7 for download, this shocked me as I don't remember releasing another version after 0.4, LOL . In fact, the last version I was working on, had a 0.5 on it.


Well, that is me and I put 0.7 version to it. I think I got the version number from this thread. I took the liberty of adding your most recent version of the files and make it available for download. I hope you are not annoyed by my doing that.

I used the hack for almost a month and then took it off. It worked with most of the standard XOOPS modules. As of glitches, majority of them are related to Admin side. A few modifications would make it work.

The reason of taking it off is not because it is not working, but that I got Google crawle my contents twice on the same contents, one by the ShortURL and one by regular URL (coming from a RSS feed). I am fraid that in long-term I might got penalized for 2 urls for same content, so I took it off.



65
tl
Re: Make real name a required field for user registration
  • 2004/10/28 19:59

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Mario:
Hope you don't mind of my posting your tip on XOOPS Tips.
http://xoops-tips.com/modules/news/article.php?storyid=59
Thanks.
tl



66
tl
Re: date without time
  • 2004/10/28 17:18

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Mith:
I have not tried yet. Just curious, why must be double quotes "s" not single quotes 's', or does it matter in case of the news module? I have been using 's' without any problem in some of my modules. Thanks.
tl



67
tl
Re: date without time
  • 2004/10/28 16:54

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You would need to make the following modification.

old version of news module
file: news/index.php
$story['posttime'] = formatTimestamp($sarray[$i]->published());

change to
$story['posttime'] = formatTimestamp($sarray[$i]->published(), 's');

New version of news module
file: news/class/class.newsstory.php

locate under function prepare2show()
$story['posttime'] = formatTimestamp($story['posttimestamp']);

change to
$story['posttime'] = formatTimestamp($story['posttimestamp'], 's');


Back up your file first before you edit the file. You could alway revert back the original file if you were to make a mistake.

[edit] well, I was a bit late in reply [/edit]



68
tl
Re:Blank page with
  • 2004/10/28 16:37

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Turn the debug on to see what errors you are getting.

If you are using the module downloaded from this site, you may want to download the newst version from
http://dev.xoops.org/modules/xfmod/project/?evennews

or a hacked version from XOOPS Tips



69
tl
Re: [Q] can install 2 xoops into 1 mysql database?
  • 2004/10/28 1:37

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


The answer is yes, as long as you use different prefix for each Xoops.



70
tl
Re: URL Rewrite Update: Google Indexing and Xoops
  • 2004/10/28 0:57

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Not sure if they are telling the truth. The followings are two most recent news crawled by Google. It had no problems with a more complex URL (second one).

Frenchman to stay on until 20081 hour ago
http
://soccernet.espn.go.com/headlinenews?id=314598&cc=3888

Richmond Times Dispatch 1 hour ago
http
://www.timesdispatch.com/servlet/Satellite?pagename=RTD%2FMGArticle%2FRTD_BasicArticle&c=MGArticle&cid=1031778787338&path=!weekend!music&s=1045855936364


But URL rewrite (as Xaraya has) would be great. Be able to rid of modules in the URL would be really nice.




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 78 »



Login

Who's Online

197 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

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

Latest GitHub Commits