Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 x_forumdisplay_thread_gotounread not working
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: x_forumdisplay_thread_gotounread not working
It's probably possible to create duplicate templates in MyBB because it doesn't enforce any form of constraint on the templates table.

Code:
ALTER TABLE mybb_templates ADD UNIQUE KEY (sid,title)

^ The above query should stop duplicate templates from occurring. (might also make the templates load slightly quicker perhaps?)


My Blog
(This post was last modified: 07-07-2012 08:33 AM by ZiNgA BuRgA.)
07-07-2012 08:28 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: x_forumdisplay_thread_gotounread not working - ZiNgA BuRgA - 07-07-2012 08:28 AM

 Standard Tools
Forum Jump: