Quote:
Originally Posted by monstergamer
hi there Brent, i had the same problem so i did a little edit in the TOPIC file
find
PHP Code:
if ((!$thread['visible'] OR $thread['isdeleted']) AND !can_moderate($thread['forumid']))
{
archive_output('Invalid thread!');
}
and take it up and upload again, tell me if that works for you like it did for me
|
I must be missing something. I can get the listings, and I can get the threads in the index. I did the change to keep private forums from listing - But, when I click on the "(Click here to view the original thread with full colors/images)" in the thread in the index, instead of it taking me to the forum thread, it leaves off my forum directory so I get a 404. I.e.: my forum is at hxxy: // site.com/Forums/ (long story, but yeah - that's a capital F) - The link leaves off the /Forums/ subdirectory.
I tried the above but it didn't work. What am I doing wrong?? Does this (about line 60)
PHP Code:
$forumbits .= '<li /><a href="' . $archive_options['archiveurl'] . '/forum/' . $forum['forumid'] . '-1.html">' . $forum['title'] . '</a>';
in index.php have anythng to do with it?
What do you mean by "and take it up"? Do you mean delete it?
*************
EDIT ADD:
In the 'topic' file, about line 86 I replaced:
PHP Code:
<a href=\"$forumurl/showthread.php?threadid=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a>
with
PHP Code:
<a href=\"showthread.php?threadid=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a>
That change solved my problem of linking to the forum thread via the "(Click here to view the original thread with full colors/images)" link.
FYI - Im the config file I have:
PHP Code:
// Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)
$archive_options['forumurl'] = 'http://Elsmar.com/Forums';
// Archive URL - The location of these scripts (NO TRAILING SLASH!)
$archive_options['archiveurl'] = 'http://Elsmar.com/Forums/index';