Quote:
Originally Posted by Lynne
You've used some modification to output that information onto that page. You need to ask this question in that modification thread - they will tell you how the feed is formatted and where you should go to edit it.
|
Thats just an RSS feed reader. I know for sure that the output context is in the "/forums/external.php" part of VB im just trying to figure out the formatting (PHP Noob here) Im pretty sure its this line though"
Quote:
$output = '';
$headers = array();
if ($vbulletin->GPC['type'] == 'JS')
{ // javascript output
$output = "
function thread(threadid, title, poster, threaddate, threadtime)
{
this.threadid = threadid;
this.title = title;
this.poster = poster;
this.threaddate = threaddate;
this.threadtime = threadtime;
}
";
$output .= "var threads = new Array(" . sizeof ($threadcache) . ");\r\n";
if (!empty($threadcache))
{
foreach ($threadcache AS $threadnum => $thread)
{
$thread['title'] = addslashes_js(htmlspecialchars_uni($thread['prefix_plain']) . $thread['title']);
$thread['poster'] = addslashes_js($thread['postusername']);
$output .= "\tthreads[$threadnum] = new thread($thread[threadid], '$thread[title]', '$thread[poster]', '" . addslashes_js(vbdate($vbulletin->options['dateformat'], $thread['dateline'])) . "', '" . addslashes_js(vbdate($vbulletin->options['timeformat'], $thread['dateline'])) . "');\r\n";
}
|
I just need to figure out how to add HTML context to that <b></b> and <br>'s