1
mudikins
Re: News 1.44 RSS bug?
  • 2005/12/19 19:17

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


I fixed this by changing this:
Quote:
$tpl->xoops_setCaching(some number here);
$tpl->xoops_setCacheTime(some number here);


to this:
Quote:
$tpl->xoops_setCaching(0);
$tpl->xoops_setCacheTime(0);


It works, but I don't like it for obvious reasons. Any better way to do it?



2
mudikins
News 1.44 RSS bug?
  • 2005/12/19 19:09

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


Looks like template caching or something is messing up the News 1.44 RSS feed... if I open an RSS feed from one category, then within a certain amount of time open an RSS feed from a different category, it will open the cached version of the first (wrong) category.

I hope I described this correctly.

I tried disabling caching in backendt.php, but what I did didn't work... any suggestions? Bugfixes? Whatever?



3
mudikins
Re: mod_rewrite incompatibility...
  • 2005/12/19 8:53

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


OK, nevermind, I got it working by hacking kernel/module.php. I adapted it from an post on the forums that appears to target 2.0 series XOOPS, because the code was in a completely different place, but I got it working.



4
mudikins
mod_rewrite incompatibility...
  • 2005/12/19 8:31

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


I used mod_rewrite to direct /sports to /modules/news/index.php set to a certain category. This mostly works, but it is not loading the language file. After extensive tracing, I found out that kernel/module.php loads the language file for 'system' rather than 'news' when accessed through /sports. The PHP code through here is fairly dense, and I have not been able to find the problem in an initial run-through of the code, so I am hoping someone has an answer already :)

Thanks.

XOOPS 2.2.3 and News 1.44, by the way.



5
mudikins
Re: HTML in Block title?
  • 2005/12/18 8:25

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


OK, thanks... I don't suppose there's already a hack out there that does something similar that I can adapt, or will I have to go hack it myself?

Now at least I have found the problem source, thanks for helping with that.



Nevermind, I hacked it myself by adding a case check for 'H' to the getVar function that allows HTML to pass through. Again, thanks for your help!



6
mudikins
HTML in Block title?
  • 2005/12/18 7:23

  • mudikins

  • Just popping in

  • Posts: 7

  • Since: 2005/11/29


Hi, I would like to put some HTML formatting in the title of a block. Since it is by default sanitized of HTML code,

1) Is it safe to do this? I can't think of a security problem if only admins can do it, and they can easily put HTML code in the content of the block itself.

2) Which file will I need to edit to remove the text sanitization of the block title? I've looked around and can't find it.

Thanks in advance!




TopTop



Login

Who's Online

272 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 272


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