Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] custom mycode question (wiki type links)
#9
Can you give this modification a shot:
In inc/class_datacache.php find:
		$query = $db->simple_select(TABLE_PREFIX."mycode", "regex, replacement", "active='yes'");
Replace with:
		$query = $db->simple_select(TABLE_PREFIX."mycode", "regex, replacement", "active='yes'", array('order_by' => 'LENGTH(regex)', 'order_dir' => 'DESC'));

Rebuild the mycode cache, and try it again.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net


Messages In This Thread
RE: custom mycode question (wiki type links) - by Dennis Tsang - 2006-12-20, 05:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)