Actually, there's no "internal linking" system as of now. You'll have to create your own BBCode to solve that. I don't know exactly how to proceed since I want to throw out TinyMCE as the main editor (I don't have the required skills (JavaScript) to add appropriate features) yet stay away from vBulletin's (It's too basic).
Edit: ...or you could - rather than using BBCode - let your users simply add hardcore HTML links between pages through TinyMCE.
Custom URLs is something you usually see a lot on wikis, often in the shape of example.com/wiki/Article_Name rather than example.com/wiki.php?page=Article_Name.
The idea is to let you decide how the URLs created by the wiki looks, but changing the default setting may (and will, most likely) require you to set up either Ionic Rewriter (IIS 6.0) or Mod Rewrite rules (Apache).
The options available for modding are (these will be changed in 1.4):
//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.
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
//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
Quote:
Originally Posted by mhackl
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.
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
Another thing I realised; make sure that it isn't your rewrite rule (URL thingie) that is messing with you.
Quote:
Originally Posted by mantoi
any one can edit it
i want only admin can edit it
help plz
At the moment the only ways to restrict users from editing pages is to add them to the Locked Pages list in your AdminCP and/or ban the users (add them to the Banned Users list), but the second method might not be appropriate for only allowing admins. We'll be implementing further wiki usage permissions in a future release.