PDA

View Full Version : Add-On Releases - THS Wiki - Lightweight wiki for vBulletin


Cip
05-15-2009, 10:00 PM
THS Wiki is a lightweight wiki for vBulletin which we (http://triplehead.net) built when there were none that integrated smoothly with vBulletin.

What it does

Uses forum for storage (threads => articles, posts => revisions)
TinyMCE editor
Script, object and embed tag suppression
BBCode
User banning
Custom URL formats
Search within the wiki


Things it does not do

Templates (the wiki kind, not the vBulletin one)
Namespaces


Demo (http://tp.cip.nu/wiki.php)

Bugs, questions, feedback? Let us know!

powerful_rogue
05-16-2009, 03:49 PM
Looks interesting!

Do you have a demo at all?

I notice your last wiki ended up in the graveyard. Im presuming that problems been sorted now?

*Tagged*

Cip
05-16-2009, 03:54 PM
Updated the first post with link to demo.

Our previous thread was dumped because I placed the download offshore to watch the downloads go up via our own site :p

Lynne
05-16-2009, 04:18 PM
Thanks! I'll be checking this out on my test site.

OK, installed.

Questions..
- is there supposed to be a link in the navbar to the wiki? (My navbar is modified, so maybe it's me.)
- I'm guessing it is suggested for the forum settings to set them to Forum is Active' > No and Forum is Open > No ? Otherwise people can go in and just create threads and screw things up (I would think).
- How do you create a new page? Perhaps there should be a link on the side bar to do this?
- That's quite an editor. :) Is there an easy way to get rid of some of that stuff - a file to edit? It seems to take a while to load and I'm not sure we really need all of that.
- I notice there is a Banned Users list in the Configuration. What about users in the Banned Usergroup? Are they automatically banned from editing?

This looks like something fun to try out. Thanks!

pein87
05-16-2009, 04:28 PM
will give it a look the demo want very good.

Cip
05-16-2009, 04:52 PM
- is there supposed to be a link in the navbar to the wiki? (My navbar is modified, so maybe it's me.)
No, that's something you'll have to modify yourself ;-)
To be honest I wasn't sure how to modify already existing templates :p
- I'm guessing it is suggested for the forum settings to set them to Forum is Active' > No and Forum is Open > No ? Otherwise people can go in and just create threads and screw things up (I would think).
Ya they don't need to be able to see/post in the forum that you use for the wiki.
- How do you create a new page? Perhaps there should be a link on the side bar to do this?
Oh. Forgot about that when we added the search box, it used to go directly to wiki.php?page=%page% which in turn would ask you if you wanted to create the page. I'll make sure to fix that in 1.3

- That's quite an editor. :) Is there an easy way to get rid of some of that stuff - a file to edit? It seems to take a while to load and I'm not sure we really need all of that.
You can edit the function tinemce_init() in wiki.php to suit your needs, I should move that to the config in AdminCP..

- I notice there is a Banned Users list in the Configuration. What about users in the Banned Usergroup? Are they automatically banned from editing?
No, but that's definitely something it should do in the future!

EagleNick
05-16-2009, 04:52 PM
This is definitely something I've got tagged to watch. ;)

troll2
05-16-2009, 05:50 PM
Installed and tested, it does have some great potentials, espesially with its powerful joomla editor integrated with vBulletin. A number of features are needed to make this really useful;

a) Adding an interface to add pages
b) Being able to add sub pages to menu without manually editing the left navbar in admin panel
c) Chose between vBulletin or tinyMCE editor
d) Being able to turn html off in editor if needed
e) Integration with vBulletin search would be nice
f) The system should use the existing usergroup functions for security, does it inherent the forum section security?

iJoe
05-16-2009, 07:23 PM
Looks pretty good, I've got it installed but something to ad pages better, maybe something to show a random page and something to show the number of pages created?

Looks pretty good anyway :D

steven s
05-16-2009, 07:51 PM
Oh joy! I can't wait to install this.:)

Cip
05-16-2009, 11:14 PM
a) Adding an interface to add pages
b) Being able to add sub pages to menu without manually editing the left navbar in admin panel
c) Chose between vBulletin or tinyMCE editor
d) Being able to turn html off in editor if needed
e) Integration with vBulletin search would be nice
f) The system should use the existing usergroup functions for security, does it inherent the forum section security?
a) In 1.3 you will be asked whether you want to create the page or not when you search for a page which is not an exact match to an already existing one.
b)That would require using templates, something that I'm not sure how to mimic.
c)I'm not completely sure how to properly call the vBulletin editor, but I'll surely give it a try in a future version
d)Well, until we implement vBEditor that'll be a tough nut to crack, since TinyMCE was made for HTML :p
e)We'll do some brainstorming and see if we can come up with a nice implementation of that
f)It ignores user permissions (such as whether you're allowed to post in that forum or not) beyond what is configurable. But banned users will be banned from the wiki as well in 1.3
Looks pretty good, I've got it installed but something to add pages better, maybe something to show a random page and something to show the number of pages created?
Statistics and random pages, aye aye capt'n!


Thanks for your feedback everyone! :-)

Flowsion
05-17-2009, 01:03 AM
Sweet, looks awesome, awaiting 1.3.

TheLastSuperman
05-17-2009, 01:20 AM
Sweet, looks awesome, awaiting 1.3.

Same here, *Tagged for now - Keep up the good work ;)

NFLfbJunkie
05-17-2009, 01:24 AM
I have this installed but can't seem to figure out how to get the wiki page to show in the forum I designate it to be in, meaning, I can't get it to look like your one attachment.

GhoHan
05-17-2009, 01:46 AM
i will waiting for next update :)
:up: Good job, already in my bookmark.

SocialNetworkBuzz
05-17-2009, 06:11 AM
Tagged, looks good. Any ETA on 1.3?

Spinball
05-17-2009, 07:44 AM
Tagged. Looks exciting. Plenty of potential.
I have signed up and created some articles.
I think we need:

Report article facility which works the same as the Report Post facility
Storage of edit versions of articles the same as vB currently stores the edits of posts. We'd need this in case an important article was vandalised. We could then restore it.
Ability to lock articles. Particularly your Wiki main page which we would certainly not want people to edit.

Cip
05-17-2009, 10:41 AM
I have this installed but can't seem to figure out how to get the wiki page to show in the forum I designate it to be in, meaning, I can't get it to look like your one attachment.
The forum you select is only the storage container where we store data, the actual wiki can be found when you browse to www.yourforum.com/wiki.php, it doesn't add any links to your navbar so that's something you'll have to do by yourself.
Tagged, looks good. Any ETA on 1.3?
Monday, possibly Tuesday. A bit busy today, unfortunately.

Report article facility which works the same as the Report Post facility
Storage of edit versions of articles the same as vB currently stores the edits of posts. We'd need this in case an important article was vandalised. We could then restore it.
Ability to lock articles. Particularly your Wiki main page which we would certainly not want people to edit.

1 & 2) Since we store articles in threads and every revision of an article is a new post in that thread we basically have #2 in your list. Implementing revision browsing through the wiki in a future version (until then you, as a moderator, can simply browse older revisions by finding the thread in your wiki forum). And because of this architecture, it shouldn't be that hard to mimic vBulletin's report system.
3) Aye, I've been missing this too. I'll try to cram it into 1.3

steven s
05-17-2009, 11:33 AM
Looking forward to seeing this develop.

A table of contents would be nice.
So far I see it as each page needs to be created.
Manually add to the nav box.

Also needs a last edited by or some form of edit history.

EDIT: Need 'edit' to display only for usergroups with permission to edit.
I suppose we could use the permissions of the chosen wiki forum to set wiki rights.

Spinball
05-17-2009, 01:23 PM
Interesting. So if each article is a thread with all changes saving the displayed article as the latest post, what happens when two people edit an article at the same time and click save at the same time? The one whose update hits the database first is going to be confused to see his changes have not been updated.
How does it work on Wikipedia?

iJoe
05-17-2009, 01:33 PM
Categories might be an idea too :) And featured content (Just went on wikipedia and getting some ideas)

Looking forward to 1.3 :)

NFLfbJunkie
05-17-2009, 09:43 PM
I still can't get this to work. When I click on the "create" link from the "The page does not exist, would you like to create it?", I get the following:

Not Found

The requested URL /wiki.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Cip
05-17-2009, 11:13 PM
A table of contents would be nice.
We're adding a "special page" index with some features like that. We're still in the process of beating eachother over which implementation of the concept would work best, so we'll see how it turns out :)
Interesting. So if each article is a thread with all changes saving the displayed article as the latest post, what happens when two people edit an article at the same time and click save at the same time? The one whose update hits the database first is going to be confused to see his changes have not been updated.
How does it work on Wikipedia?
I think it works the same way on Wikipedia as on THS Wiki; The person who hits Submit last is the one who gets his article published, although the guy before him will still have his post submitted (just in an older revision). We'll implement revision-browsing in a future version, so that you can see how a page looked earlier, and revert it if you'd like.
Categories might be an idea too :) And featured content
Categories is pretty much namespaces, something that THS Wiki does not do. It's easy to mimic as a user though; just name your page Category:Articlename (replace category with whatever you want, obviously :p).

As for featured content; that'd require templates, something which we're not sure if we want to implement (that's a lot of work :().
I still can't get this to work. When I click on the "create" link from the "The page does not exist, would you like to create it?", I get the following:

Not Found

The requested URL /wiki.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
From what I understand you are not running your forum directly on your domain, and the default settings in the wiki is to link to www.yoursitehere.com/wiki.php, but if you run your wiki under www.yoursitehere.com/forum/wiki.php you will want to change /wiki.php?page=%page% to /forum/wiki.php?page=%page%

NFLfbJunkie
05-18-2009, 04:01 PM
I finally got this working on my test forum. Thanks for the help CIP. But now I have a new problem. After I uploaded the files and installed the product on a message board I run, hitting the two control panel options (configuration & update), I get white screens. The PHP version of the server where this message board resides on is version 4.3.9; my test board has version 5.2.8. Is a certain version of PHP required to run this Wiki?

Cip
05-18-2009, 06:13 PM
I'd recommend PHP 5, but if you can turn on error-output on your PHP 4 site and let me know what it says I may be able to create a workaround.

NFLfbJunkie
05-18-2009, 06:15 PM
Turning on the error-output on the PHP 4 site, is that something the server administrator would need to do? If so, then I'm at a stand still until he replies back to my email requests.

Cip
05-18-2009, 06:55 PM
I'm afraid that's something your administrator will have to change, unless you're running your site on Apache (through a module, not CGI), in which case you may be able to add the following lines to your .htaccess file:
php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting 2047
After that the page shouldn't be as much white as white with error text on it :-P

NFLfbJunkie
05-18-2009, 06:59 PM
I added the code to the .htaccess file, selected configuration and got the following:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/html/forums/includes/class_thswiki.php on line 26

Cip
05-18-2009, 07:29 PM
Eeek. That doesn't seem like something I'll be able to create a workaround for. I should probably throw in a dependancy for PHP5 in the product.xml

Sorry :(

NFLfbJunkie
05-18-2009, 07:32 PM
Thanks for the help. I will just need to wait for the server administrator to take care of some long awaited updates.

dvsDave
05-20-2009, 06:57 PM
Looks quite nice!

I would need two features before I could install it.

1) Auto-Linking (terms in the forums are auto-linked to the wiki entries)
2) Table of Contents to display a list of terms (preferably tabulated by first letter of the term)

Other than that, it looks great!

Trek
05-20-2009, 08:29 PM
Installed without a single problem, nice work.

My primary concern is access control more than anything. I'll be the first to admit I'm not all that familiar with Wikis, but some of my users have requested one for various reasons so it thought I'd give this a shot.

In any case, it looks like a good start and I'll keep updating. =)

Trek
05-20-2009, 08:37 PM
One thing I just noticed is that this adds to the unread post count. Any way to make that not happen?

Black Tiger
05-20-2009, 10:25 PM
Great idea. I'll tag this for now and got the same question as Trek.;)

lostgirl815
05-23-2009, 08:40 AM
Your demo page isn't working, in case you didn't know.

pooker
05-25-2009, 12:17 PM
It is not giving me an option to create a page like it does with your demo.

An example would be if I search for vbulletin. Under your demo it says "vbulletin does not exist, would you like to create it?"

It says this nowhere on mine.

mattpist
05-27-2009, 08:32 AM
ive been going crazy trying to find a wiki with a decent wysiwyg editor... vaultwiki is incredibly hard to get installed and working properly, and they're wysiwyg editor is an eyesore, and namespaces are too complicated. so far i like your wiki plugin because it's simple, but id like request a few features:

1. vb editor instead of tinymce - would greatly help minimize confusion between the wiki and forum.
2. allow plugins to scan wiki pages. like the ame video plugin that automatically turns video urls into embed code.
3. there's no "create a new page" button/link anywhere. that would eliminate some confusion as to how to create a new page.
4. allow pagest to be edited without filling out the "reason for editing" field.

other than that, it's looking like it's going in the right direction! looking forward to updates!

lostgirl815
05-27-2009, 09:01 AM
Well hell, I was going to try vaultwiki. Is anyone still supporting this wiki? I don't need all the extra features everyone's asking for, I just need for it to be supported.

Cip
05-28-2009, 04:36 AM
Hey guys, I've been kind of busy lately so the whole 1.3 release last Tuesday got blown away :p

1) Auto-Linking (terms in the forums are auto-linked to the wiki entries)
2) Table of Contents to display a list of terms (preferably tabulated by first letter of the term)
1) You could add a [wiki] BBCode tag that links to wiki.php?page=*insert page here*
2) There will be an index of all existing wiki pages in our 'special pages' section.

One thing I just noticed is that this adds to the unread post count. Any way to make that not happen?
Exclude your designated wiki-forum from searches, that should fix it. Alternatively, disallow your members from accessing that board (which hides new posts in there from them).

Your demo page isn't working, in case you didn't know.
We've had troubles with our ISP this last week, we're trying to come up with a solution.

It is not giving me an option to create a page like it does with your demo.

An example would be if I search for vbulletin. Under your demo it says "vbulletin does not exist, would you like to create it?"

It says this nowhere on mine.
Our demo is also where I debug the latest version, which is currently 1.3, so all of the functionality there may not be available in the package on vBulletin.org all the time.

Maybe I should like.. add a footer or something that displays which version of the wiki someone's running. What do ya think?

id like request a few features:

1. vb editor instead of tinymce - would greatly help minimize confusion between the wiki and forum.
2. allow plugins to scan wiki pages. like the ame video plugin that automatically turns video urls into embed code.
3. there's no "create a new page" button/link anywhere. that would eliminate some confusion as to how to create a new page.
4. allow pagest to be edited without filling out the "reason for editing" field.

other than that, it's looking like it's going in the right direction! looking forward to updates!
1. It's been requested before and at the moment I have no idea how to implement that properly, I tried once and that didn't work for all users so until I've read through the guide on vBEditor that I saw here somewhere that'll have to wait. I hate reading guides... :(
2. I guess we could emulate the postbit hook or whatever that plugin uses, but that might look messy. I'll look into it once we've released 1.3
3. In 1.3 the search page will suggest that you create the page if an exact match doesn't exist already. Before we added the search feature in 1.1 the box just took you to the exact page you entered, which then asked you to create it, but we overlooked that part when we added the search functionality.
4. I guess we could make that an option for the AdminCP, personally I want my users to fill in a reason so you can later look back and see why someone thought a particular edit was necessary.

Well hell, I was going to try vaultwiki. Is anyone still supporting this wiki? I don't need all the extra features everyone's asking for, I just need for it to be supported.
Ya but I have a life beyond this so I may not give you real-time support all the time :p


Here's what's happened on 1.3 so far:
1.3
/product-thswiki.xml
/upload/wiki.php
/upload/admincp/thswiki.php
/upload/includes/class_thswiki.php

*Search now suggests you create a page
*Search now only shows latest revision from each article
*Search title bugfix
*Banned usergroups are now banned
*Locked Pages in AdminCP
*Random Page functionality
*Dependancy for PHP 5
Before releasing we're also going to:

Add statistics
Add article index
Move search, random and statistics to articles named Special:-feature here-
Try to figure out how to emulate page reporting, alternatively do our own report system

lostgirl815
05-28-2009, 05:40 AM
Ya but I have a life beyond this so I may not give you real-time support all the time
Thanks for the reply! I just wanted to be sure it wasn't a case where the author took off and will never come back. :)

accludetuner
06-21-2009, 06:17 AM
Any ETA on 1.3? I just installed 1.2 and love the work so far. I don't want to see such an awesome and project with so much potential to come to a stop. I've got your paypal in my adminCP now so expect a donation as soon as I install 1.3 ;)

EDIT: one more feature I would love to see is the ability to limit members with at least X amount of posts to be able to edit the wiki. Kind of a little extra effort to keep the information valid without the wiki getting destroyed or defaced by a punk who registers to the site just to mutilate the wiki

profanitytalker
06-22-2009, 05:31 AM
reserved thanks. :)

alqloob alsahya
06-22-2009, 02:56 PM
thank"s nice

Cip
06-26-2009, 01:04 PM
Any ETA on 1.3? I just installed 1.2 and love the work so far. I don't want to see such an awesome and project with so much potential to come to a stop. I've got your paypal in my adminCP now so expect a donation as soon as I install 1.3 ;)

EDIT: one more feature I would love to see is the ability to limit members with at least X amount of posts to be able to edit the wiki. Kind of a little extra effort to keep the information valid without the wiki getting destroyed or defaced by a punk who registers to the site just to mutilate the wiki
I'm away on work for at least two more weeks and then we'll see how things go. From what I remember I'm close to done on the update so it shouldn't take too long once I get home.

Morrus
06-28-2009, 09:52 PM
I can't for the life of me figure out how to add a new page. I realise a link to do so will be added in the next version, but in the meantime, how do I do it? Right now all I have is a main page!

MoH672
06-28-2009, 10:50 PM
Just type in the name of the page you want to create in your browser window.

EXAMPLE:

wiki.php?page=My_New_Page

And it will say:

The page does not exist, would you like to create it?

Click create and you're all set.

MoH672
06-28-2009, 10:51 PM
Is there a way to limit who can edit the entries?

Thanks.

Cip
06-30-2009, 02:58 PM
Not at the moment, but there's more people who's asked for a limitation based on the amount of posts a user has, and I'm thinking you should be able to choose whether you want to completely prohibit such users from editing the wiki or just moderate their edits.

Davidspl
07-12-2009, 09:11 PM
Will install 1.3 if got control over who can edit, good job cip!

MoH672
07-12-2009, 09:24 PM
Indeed, nice job so far. Looking forward to 1.3. Any word on it's release?

Cip
07-13-2009, 11:34 AM
It seems like I'm coming home for a few days later on this week, I hope that I'll be able to roll out the next version then.

Cip
07-17-2009, 01:42 PM
I've spent a few hours getting reaquainted with the code and have been tinkering with it for the 1.3 update which will include:
*Search now suggests you create a page
*Search now only shows latest revision from each article
*Search title bugfix
*Banned usergroups are now banned
*Locked Pages in AdminCP
*Dependancy for PHP 5
*Config page is now divided into sections, for easier navigation
*Special page functionality
*Random, Recently Changed, Index, and Stats special pages
*AdminCP Update page now tells you your installed version
I have dinnerreservations, so I'll have to do the Report Article feature when I get back, then I'll roll out the update.
Meanwhile, feel free to test the front-end at http://tp.cip.nu/wiki.php?page=Special:Index

accludetuner
07-17-2009, 10:27 PM
*Banned usergroups are now banned
The biggest change I would like to see is limiting users with less than X amount of posts to be able to edit any wiki pages. Does this statement mean that I can create a new usergroup that new members are assigned to. That usergroup does not get wiki editing privileges. When they reach X amount of posts, they get promoted to a new usergroup that grants them wiki editing privileges. Or does this statement just mean that the "Banned" usergroup is simply banned from all wiki access period, no exceptions.

EDIT:
I also tried installing Cyb's - Advanced Forum Permissions Based On Post Count
https://vborg.vbsupport.ru/showthread.php?t=201285
but the settings for the wiki forum do not take effect. I set it to 50 posts minimum to create or reply to threads for that forum, which has no effect in the wiki.php page :(

crkgb
07-17-2009, 10:27 PM
I installed the current version and cannot find where the settings are. The XML file doesn't have any. Is this an error, or is it just me?

accludetuner
07-17-2009, 10:32 PM
It should add a new section to the adminCP navbar called "THS Wiki". Try refreshing your adminCP and make sure you have uploaded all the files. If all else fails, try reinstalling allowing overwrite.

Cip
07-19-2009, 11:07 AM
The biggest change I would like to see is limiting users with less than X amount of posts to be able to edit any wiki pages. Does this statement mean that I can create a new usergroup that new members are assigned to. That usergroup does not get wiki editing privileges. When they reach X amount of posts, they get promoted to a new usergroup that grants them wiki editing privileges. Or does this statement just mean that the "Banned" usergroup is simply banned from all wiki access period, no exceptions.

EDIT:
I also tried installing Cyb's - Advanced Forum Permissions Based On Post Count
https://vborg.vbsupport.ru/showthread.php?t=201285
but the settings for the wiki forum do not take effect. I set it to 50 posts minimum to create or reply to threads for that forum, which has no effect in the wiki.php page :(
THS Wiki ignores the permissions set for the forum you are using for storage, the only prohibited users in 1.3 will be users that have been banned from the forum.

More "limitations" will be introduced in 1.4, such as allowing users based on post count, join date, etc.

accludetuner
07-19-2009, 09:16 PM
More "limitations" will be introduced in 1.4, such as allowing users based on post count, join date, etc.
Sweet! ETA? Anything I can do to help speed it up?

Cip
07-19-2009, 09:44 PM
1.3 has been released, download it from here or from http://triplehead.net/index.php/products/ths-wiki/

Morrus
08-13-2009, 08:52 AM
I have it working perfectly on a test board.

My live board has mediawiki plus a bridge installed, and there's a lot of content on it. Is there any way to import the pages from the mediawiki installation?

Cip
08-14-2009, 09:17 AM
Your best bet would be to run a database script that exports content from the MediaWiki tables into the vBulletin post and thread tables, unfortunately I cant really help you out with that one :(

Morsolo
08-26-2009, 09:28 AM
Just bumping up, any developments?

I want to release a Wiki site for some friends, but I really like the sound of version 1.4.

arbfuture
08-26-2009, 09:30 AM
good work thx alot

Jaxel
08-26-2009, 08:14 PM
Any chance of this ever being programmed with Wiki Templates? I need templates for my Wiki... as well as parser functions...

{{ Move List Start }}

{{ Move List Row
| atk = Swift Espada
| cmd = [[Image:A.gif]][[Image:A.gif]]
| lvl = [[Image:H.gif]][[Image:H.gif]]
| dmg = 17
| imp = 13
| grd = -14
| hit = -5
| cnt = -5
| scr = 42
| nts = NC
}}

{{ Move List End }}

{| border="1" cellpadding="2" cellspacing="0" width="100%" bgcolor="#EEEEEE" style="text-align: center" class="sortable"
! bgcolor="#DDDDDD" | <small><strong>Attack Name</strong></small>
! bgcolor="#DDDDDD" | <small><strong>Command</strong></small>
! bgcolor="#DDDDDD" | <small><strong>Level</strong></small>
! bgcolor="#DDDDDD" | <small><strong>IMP</strong></small>
! bgcolor="#DDDDDD" | <small><strong>DMG</strong></small>
! bgcolor="#DDDDDD" | <small><strong>GRD</strong></small>
! bgcolor="#DDDDDD" | <small><strong>HIT</strong></small>
! bgcolor="#DDDDDD" | <small><strong>CH</strong></small>
! bgcolor="#DDDDDD" | <small><strong>SC</strong></small>
! bgcolor="#DDDDDD" | <small><strong>NOTES</strong></small>

|-
| nowrap="nowrap" | <small> {{{atk}}} </small>
| nowrap="nowrap" | <small> {{{cmd}}} </small>
| nowrap="nowrap" | <small> {{{lvl}}} </small>
| <small> {{{imp}}} </small>
| <small> {{{dmg}}} </small>
| bgcolor="#FFFFCC" {{ #ifeq: {{{grd}}} | 0 | bgcolor="#CCFFCC"}} {{ #ifexpr: {{{grd}}} > 0 | bgcolor="#CCCCFF"}} {{ #ifexpr: {{{grd}}} < 0 | bgcolor="#FFCCCC"}} | <small> {{{grd}}} </small>
| bgcolor="#FFFFCC" {{ #ifeq: {{{hit}}} | 0 | bgcolor="#CCFFCC"}} {{ #ifexpr: {{{hit}}} > 0 | bgcolor="#CCCCFF"}} {{ #ifexpr: {{{hit}}} < 0 | bgcolor="#FFCCCC"}} | <small> {{{hit}}} </small>
| bgcolor="#FFFFCC" {{ #ifeq: {{{cnt}}} | 0 | bgcolor="#CCFFCC"}} {{ #ifexpr: {{{cnt}}} > 0 | bgcolor="#CCCCFF"}} {{ #ifexpr: {{{cnt}}} < 0 | bgcolor="#FFCCCC"}} | <small> {{{cnt}}} </small>
| <small> {{{scr}}} </small>
| align="right" style="padding-right:5px" | <small> {{{nts}}} </small>

|- class="sortbottom"
! bgcolor="#DDDDDD" | <small><strong>Attack Name</strong></small>
! bgcolor="#DDDDDD" | <small><strong>Command</strong></small>
! bgcolor="#DDDDDD" | <small><strong>Level</strong></small>
! bgcolor="#DDDDDD" | <small><strong>IMP</strong></small>
! bgcolor="#DDDDDD" | <small><strong>DMG</strong></small>
! bgcolor="#DDDDDD" | <small><strong>GRD</strong></small>
! bgcolor="#DDDDDD" | <small><strong>HIT</strong></small>
! bgcolor="#DDDDDD" | <small><strong>CH</strong></small>
! bgcolor="#DDDDDD" | <small><strong>SC</strong></small>
! bgcolor="#DDDDDD" | <small><strong>NOTES</strong></small>
|}

Cip
08-27-2009, 05:48 PM
Just bumping up, any developments?

I want to release a Wiki site for some friends, but I really like the sound of version 1.4.
At the moment the development of 1.4 has been halted to allow for us to focus on other products. 1.3 seems to run fine though, download it and have a look at the changelog to see if it could possibly serve as a neat substitute for it's future upgrade :)

Any chance of this ever being programmed with Wiki Templates? I need templates for my Wiki... as well as parser functions...

We've been brainstorming around templates and related features; We will at some point create a mimic of the templating done by MediaWiki, though only for compability reasons with the most common templates, I'm afraid a more intelligent system (such as doing calculations and whatnot) is out of the question.

craigecc
08-28-2009, 05:10 PM
This is the perfect mod we have been looking for. Our ony problem is we run php 4.4.9, I am a total newbie at this, is there any chance of a version for ours?

Cip
08-29-2009, 06:33 AM
I'm afraid that we would need to re-do a lot of the code to make it compatible with PHP 4, I suggest you grab a fiveiron and tell your administrator to upgrade to PHP 5, or else! ;)

dbigras
09-01-2009, 06:11 AM
After installing the mod, I get these errors:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/includes/class_thswiki.php on line 240

Morsolo
09-02-2009, 04:55 AM
At the moment the development of 1.4 has been halted to allow for us to focus on other products. 1.3 seems to run fine though, download it and have a look at the changelog to see if it could possibly serve as a neat substitute for it's future upgrade :)

Oh yes, 1.3 does run fine. I'm running the site in Alpha at the moment, trying to scope it all out and version 1.3 is great. I'm just saying I could really do with some of those features on the 1.4 list :)

Cip
09-02-2009, 01:57 PM
After installing the mod, I get these errors:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/includes/class_thswiki.php on line 240
What PHP version are you running? (AdminCP -> Maintenance -> View PHP Info)
Oh yes, 1.3 does run fine. I'm running the site in Alpha at the moment, trying to scope it all out and version 1.3 is great. I'm just saying I could really do with some of those features on the 1.4 list :)
I'm fairly busy with another project at the moment, but I'll try to come back to this one ASAP :)

dbigras
09-02-2009, 11:11 PM
What PHP version are you running? (AdminCP -> Maintenance -> View PHP Info)

PHP Version 5.2.6-1+lenny3

Cip
09-03-2009, 01:01 PM
PHP Version 5.2.6-1+lenny3
Hmm, that's odd. I wonder if the query throws a silent error. I'm kind of... flimsy at the moment, so I'm gonna have to get back to you on this one.

Until then I suggest that you run all queries in the Product Installation Code thingies manually to make sure that all tables exist (or simply look it up through MySQL command line/UI). If you don't know how you'll have to wait until I sober up :p

dbigras
09-03-2009, 10:58 PM
The tables exist with the appropriate fields.

thswikisettings with rowid, setting, value
thswikireports with reportid, userid, article, reason, status

But the thswikisettings table had no fields.

I uninstalled and reinstalled it. The fields are now created.

dbigras
09-03-2009, 11:13 PM
One day I might get it to work.. *sigh*

When I create articles, it creates it in the forum I selected. Nobody can access that forum. But I cannot see the article in the Wiki.

saltedm8
09-04-2009, 09:29 AM
Hi, We have this installed and think it looks great.

One thing we would like to see is the addition of categories so that we can group content logically for those users who wish to browse rather than search.

One idea would be to use forums as the categories.
Parent forum => wiki
child forums => categories
threads => posts
posts => revisions

Do you think this would be possible improvement for version 1.3.1 ??

Jaxel
09-04-2009, 04:26 PM
We've been brainstorming around templates and related features; We will at some point create a mimic of the templating done by MediaWiki, though only for compability reasons with the most common templates, I'm afraid a more intelligent system (such as doing calculations and whatnot) is out of the question.

Sweet... the moment you guys add templates, I plan on using this... until then... its a no-go for me. I can do without parser functions and calculations... but templates are a MUST for any decent Wiki. Also... categories are a must...

How does this wiki work? Does it actually work as a wiki? Or does it work more like VaultWiki where forums=categories and threads=articles?

Cip
09-05-2009, 01:48 AM
One day I might get it to work.. *sigh*

When I create articles, it creates it in the forum I selected. Nobody can access that forum. But I cannot see the article in the Wiki.
Sounds like there would be something wrong with the naming..
What's the article named (title) in the forum, what's the (relative) URL to the wiki article?

Hi, We have this installed and think it looks great.

One thing we would like to see is the addition of categories so that we can group content logically for those users who wish to browse rather than search.

One idea would be to use forums as the categories.
Parent forum => wiki
child forums => categories
threads => posts
posts => revisions

Do you think this would be possible improvement for version 1.3.1 ??
At the moment THS Wiki does not do Namespaces, you can easily mimic this feature by naming your articles Categoryname:Articlename and then create an article index named just Categoryname. I'm not sure whether we will implement namespaces (categories) or not, we'll see. ;-)


Sweet... the moment you guys add templates, I plan on using this... until then... its a no-go for me. I can do without parser functions and calculations... but templates are a MUST for any decent Wiki. Also... categories are a must...

How does this wiki work? Does it actually work as a wiki? Or does it work more like VaultWiki where forums=categories and threads=articles?
At the moment there's no cateogries, but all articles are stored in a forum, and a thread is used for each article. Every post in that thread is a revision of the article.

Jaxel
09-05-2009, 04:45 AM
Cip... couldn't you do categories/namespaces simply through the tagging system? And then simply parse through the tags in that forum only?

Any word when templates are coming? I've had it up to here with MediaWiki's shitty performance... ready to move asap.

Also... THS Wiki runs under a SINGLE forum ID? Or does it use multiple forums?

Cip
09-06-2009, 05:02 PM
Cip... couldn't you do categories/namespaces simply through the tagging system? And then simply parse through the tags in that forum only?
Tagging might be a bit overkill, but thread prefixes as namespaces/categories is actually a really good idea. (Why didn't I think of that?!)
Any word when templates are coming? I've had it up to here with MediaWiki's shitty performance... ready to move asap.
Unfortunately not, I've got a fairly major project underway for a concrete facility, so there's not a lot of time for personal projects right now.
Also... THS Wiki runs under a SINGLE forum ID? Or does it use multiple forums?
Single forum ID. (Why would you want to use more than one? That just clutters your forum list in AdminCP! :))

profanitytalker
09-27-2009, 05:39 AM
reserved

masons
09-29-2009, 07:41 AM
I think this is great! and I got it installed!
But, I have no idea how to use this.

If I have a mainpage, and I add a keyword in the text I would assume it links to the article related to this keyword, but how?

A quick and dirty manual would be great, also for the users!

Cip
09-29-2009, 03:31 PM
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.

jahshaka
10-11-2009, 06:29 PM
its says in the intro '# Custom URL formats'

any info on this?

Cip
10-12-2009, 05:32 AM
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):

Article URL (default: /wiki.php?page=%page%)
Edit append (default: &edit)
Search append (default: &search)

WEBDosser
10-12-2009, 05:51 AM
reserved

ditto

mhackl
10-17-2009, 04:36 AM
VbSEO Custom Rewrite Rule for THS Wiki articles

//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.

mhackl
10-17-2009, 05:22 AM
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

Neomega
10-17-2009, 08:06 AM
Thanks, was looking for a wiki I need something like this for my community site www.gamescrim.com, looks like a great mod thanks a lot!

Cip
10-18-2009, 08:43 AM
VbSEO Custom Rewrite Rule for THS Wiki articles

//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

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.

mantoi
10-18-2009, 08:56 AM
any one can edit it :(
i want only admin can edit it

help plz

Cip
10-19-2009, 04:22 PM
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.
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.

TheMeanBish
12-07-2009, 05:08 PM
This is a very nice Add on. This actually is better than having a bridged media wiki and its quite convenient this way integrated with the forums. Thanks.

Installed

geeklands
12-16-2009, 06:43 AM
Hiya,

This works great. However my few suggestions.

-better menu system (administration, static pages)
-restore and view revisions, ability for admins to remove revisions/recent edits.
-integrated permissions.
-vbulletin editor options

Cip
12-17-2009, 07:55 PM
-better menu system (administration, static pages)
Ya it sucks, I know. :(
-restore and view revisions, ability for admins to remove revisions/recent edits.
That's simple! Allow your admins access to the forum where all wiki pages are stored, soft delete the posts (revisions) that you don't like, and voila!
-vbulletin editor options
At the moment that's not really an option as tables and such wont be possible. Sure, it could be done through BBCode but that'd mean it would be available all over your forum, and people messing with tables in ordinary threads might get a bit... messy. :p

we_are_borg
12-20-2009, 08:12 AM
Cip will this addon be converted to vBulletin 4.0 realy like it but we wanna run it under 4.0

Cip
12-21-2009, 10:25 AM
I originally wrote this addon for myself, and I'll still be in need of a wiki for vB after I've upped my board to 4.0, so yes. Though, it might look a bit different since I'll be rewriting most of the code from scratch. (Don't worry, it would still be able to read old wiki data ;))

dvsDave
12-21-2009, 07:28 PM
Hey Cip,

While you are rewriting it, could you look into having the terms be autolinked from the forums? NuWiki had this and this is the only remaining reason I haven't switched to using THS Wiki.

When the term shows up in a post, it links over to the entry.

Please let me know if there is anything I can do to help! I will be waiting eagerly for the THS Wiki 4.0 release!

Deimos
02-06-2010, 10:17 AM
I Get the same php errors at the top of the wiki.php page.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/includes/class_thswiki.php on line 240

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/includes/class_thswiki.php on line 240

PHP Version 5.2.11

Editing the main page and saving doesn't work either
I put in the content, click submit and it says it's saved it
But then the index page says "The page does not exist, would you like to create it?"

lycheepassion
02-16-2010, 02:42 AM
I don't really get what this looks like or how it would function, any demos? Thanks!

Gamelobby
03-21-2010, 08:22 PM
I Get the same php errors at the top of the wiki.php page.

Editing the main page and saving doesn't work either
I put in the content, click submit and it says it's saved it
But then the index page says "The page does not exist, would you like to create it?"
I get a lot of the same errors..
Also for some reason it adds an extra "/forums" to the url on some links, but not others, & if i remove "forums" from the path it doesn't work on some..!?
Either way you're going to get "Page does not exist" on some pages/links

Love the idea, but i just dont see it working at all..
Maybe you guys should lay off the coke. :erm: ;)



I don't really get what this looks like or how it would function, any demos? Thanks!a DEMO link is in the description.

Gamelobby
03-21-2010, 09:04 PM
I still can't get this to work. When I click on the "create" link from the "The page does not exist, would you like to create it?", I get the following:

Not Found
The requested URL /wiki.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Ditto.. :erm:



From what I understand you are not running your forum directly on your domain, and the default settings in the wiki is to link to www.yoursitehere.com/wiki.php, but if you run your wiki under www.yoursitehere.com/forum/wiki.php you will want to change /wiki.php?page=%page% to /forum/wiki.php?page=%page%And if you add "forums" to the path it adds it twice to the "create" link..!?



Just type in the name of the page you want to create in your browser window.

EXAMPLE:
wiki.php?page=My_New_Page

And it will say:
The page does not exist, would you like to create it?

Click create and you're all set.

If i click on "Create" the link has double "forums" in the path.?
forums/forums/wiki.php?page=%page%

Gamelobby
03-21-2010, 09:15 PM
Never mind.. i fixed it..

Under URL Formats the Example says:
This should be the path to your wiki from the root directory. Example: /wiki.php?page=%page%But it's that forward slash "/" that screws it all up, no need to add forums to the path.!!



But now i have another issue. lol
when i get to the "create" page, all i see is a window to enter text, & a red x which is just the button to enter the information you posted in the window, but i can't seem to find the buttons url path.!?

Is it supposed to be a default vB image, or did i not upload something somewhere or..?

Thanks

Gamelobby
03-22-2010, 06:32 PM
when i get to the "create" page, all i see is a window to enter text, & a red x which is just the button to enter the information you posted in the window, but i can't seem to find the buttons url path.!?

Is it supposed to be a default vB image, or did i not upload something somewhere or..?

ThanksTo add to that last issue..

The images on the wiki aren't working & its the path that is all f*ckud up:
example.com/forums/wiki.php/images/misc/navbits_finallink_ltr.gif

Why would it add that into the path.?

Largo .//npc
06-01-2010, 01:11 PM
I'd love to see this for vB4 soon. I've tried using other Wiki solutions but they don't quite do it like THS Wiki does.

JesterP
07-20-2010, 01:22 AM
To add to that last issue..

The images on the wiki aren't working & its the path that is all f*ckud up:
example.com/forums/wiki.php/images/misc/navbits_finallink_ltr.gif

Why would it add that into the path.?

Same issue, the red x is for a tinymce error. I have an error in the lower left of ie "tinyMCE is undefined".

I fixed the path error by using ../forums/wiki.php?page=%page% though I still have:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/includes/class_thswiki.php on line 240

Update

Ok, fixed red x "../forums/tiny_mce"

After some debugging, I found the mysql_num_rows error is due to my "thread" table being Innodb. I will not be converting back to myisam, so I'm guessing this is it for me.

Does anyone know the correct argument to use in the php to allow innodb? I would like to use this mod.

Dunhamzzz
08-24-2010, 08:42 AM
Went to use this plugin again and it's not working, I even got the rewrite rules right so my forum was in /forum and the wiki in /wiki, but the plugin itself hasn't been updated and there are parts of it that just don't work properly and that are "coming in the next update".

Considered Dead.

BirdOPrey5
09-14-2010, 01:21 AM
It's a shame development seems to be dead on this... It installed and seems to work just fine for me luckily... Had to know what settings to set correctly for having forums in the /forums/ directory... Also noticed the editor isn't fully compatible with Google Chrome 6- for example the font size doesn't change but it works fine in IE8... Also that "editor" wow, there were like 600 files that needed to be uploaded just for the editor-I don't know how this can be called "light weight" when it was second only to vBulletin itself in the time it took to upload, versus any other mod I've ever used.

I basically agree with what has been said, this is a very good free product but it could be much better if the vbulletin editor could be used and if the user restrictions mentioned for the "1.4" release are ever implemented.

Also why bother to have a "Statistics" link if they haven't been implemented yet? Just seems like it would have been easy to not include that in the release rather than make everyone edit it out.

But overall a nice product... hope someone works on it again soon.

BlackThorn
09-19-2010, 09:19 PM
Nice job thanks installed but this is very danger mod because HTML code right in when posting an article. HTML codes very risk how to I do close HTML code permission to users? And stats and updates not working.

BlackThorn
09-19-2010, 10:11 PM
Bump! I've get an error on article urls turkish char problem... :/ Whatever, never mind.

ManuelW
12-11-2012, 01:41 PM
Hmm,
can't view created Pages. The created Pages are stored in the Board but the Wiki Page is empty.
What's wrong with this.