Quote:
Originally Posted by mhackl
(Post 1901201)
VbSEO Custom Rewrite Rule for THS Wiki articles
Code:
//THS Wiki
'^wiki\.php\?page=(.*)'=>'wiki/$1.html'
Two more rules need to be made for " Special:*" and " &edit=". This is the first time I've ever written a rule before so if someone knowledgeable wants to share how those rules need to be written, please do. Meanwhile I'll be doing the trial and error thing until I get it.
|
Actually, Special: doesn't need any further tweaking since it counts as a page. (just that it's reserved from editing and stuff). I'm going to remove &edit and &.... whatever the second one is, I forgot, instead it'll be either PageName:edit or Special:Edit:PageName. I guess time will tell :p
Quote:
Originally Posted by mhackl
(Post 1901214)
BBCode is showing when you go to the thread/post in the host forum but not in the wiki. Any ideas? .... and it would be nice to have at least the basic editor from vb
|
Make sure you didn't disable it in your THS Wiki settings, those settings are separate from the actual forum.
Worth mentioning:
The code defaults to not displaying BBCode, but when you first install the product it changes that setting in the database (which is then loaded into the code). So if your TABLE_PREFIX.'thswikisettings' table isn't properly set up (missing entries etc.) you may experience a situation where it defaults to very restrictive settings.
|