Jump to the post that solved this thread.
Solved: 5 Years, 2 Months, 4 Weeks ago Set A Default Prefix For one forum
#1
Solved: 5 Years, 2 Months, 4 Weeks ago
Hi

How can I set a default prefix for one forum.

Thanks
Reply
#2
Solved: 5 Years, 2 Months, 4 Weeks ago
you might need a core edit for this... edit this part of newthread.php file to something like below...

if(!$mybb->get_input('threadprefix', MyBB::INPUT_INT))
if ($forum['fid'] == X)
	{
		$mybb->input['threadprefix'] = Y;
	}
else
	{
		$mybb->input['threadprefix'] = 0;
	}


where X is the forum id (fid) of that forum wher you want a default prefix and Y is the id (pid) of the prefix which you want as default..
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Solved: 5 Years, 2 Months, 4 Weeks ago
http://community.mybb.com/mods.php?action=view&pid=462
My Plugins

PM only paid support
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)