Jump to the post that solved this thread.
Solved: 2 Years, 6 Months, 3 Weeks ago Prefixselect in the selected forum
#1
Solved: 2 Years, 6 Months, 3 Weeks ago
Hello,
I don't know how could I add {$prefixselect} in the selected forum (only where is prefix used or selected fid)
Now I have prefixselect on every forum, but this is superfluous when i dont have any prefix in other forum.

[Image: 9941dde9a6d742f4a38b831591ac335c.png]
Reply
#2
Solved: 2 Years, 6 Months, 3 Weeks ago
Open forumdisplay.php and search for

$prefixselect = build_forum_prefix_select($fid, $tprefix);

change to

$dbresult = $db->query("SELECT *
		FROM ".TABLE_PREFIX."threadprefixes
	");
	$row = $db->num_rows($dbresult);
	if($row)
	{
		$prefixselect = build_forum_prefix_select($fid, $tprefix);
	}
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)