46
Thanks for taking the time to answer, Rowd. Turns out that about the same time you were posting I was editing my post, so you missed my addition. I think my problem has to do with using 1.3RC2 (a mistake I'm not likely to repeat in the future; final releases only for me from now on).
Here's what I said.
Quote:
My biggest problem is that I can't find the "$sql" thingy where it's supposed to be, so I can't add the topic_title call. I've been trying to get my mind around this, so the rest is beginning to make sense to me.
The $sql calls are in nine files:
ratenews.php
xoopsversion.php
upgrade.php
class.newsstory.php
class.newstopic.php
class.sfiles.php
functions.php (include folder)
notification.inc.php
search.inc.php
Logic rules a few of those out, but I'm still stuck.
For interests sake, here's the start of the b_news_top_show function in the new news_top.php:
function b_news_top_show($options) {
global $xoopsConfig;
include_once XOOPS_ROOT_PATH.'/modules/news/include/functions.php';
$myts =& MyTextSanitizer::getInstance();
$block = array();
$displayname=getmoduleoption('displayname');
if (file_exists(XOOPS_ROOT_PATH.'/modules/news/language/'.$xoopsConfig['language'].'/main.php')) {
include_once XOOPS_ROOT_PATH.'/modules/news/language/'.$xoopsConfig['language'].'/main.php';
} else {
include_once XOOPS_ROOT_PATH.'/modules/news/language/english/main.php';
}
$block['displayview']=$options[8];
$restricted=getmoduleoption('restrictindex');
$dateformat=getmoduleoption('dateformat');
$infotips=getmoduleoption('infotips');
$newsrating=getmoduleoption('ratenews');
Any thoughts on what to do?