SimpleWikisimplewiki.co.uk (http://simplewiki.co.uk)
Last week I decided I'd finally get around to writing a wiki intergration for SMF as none have ever seemed to get very far.
Current features:
- Page create and editting
- Page protection - none, no guests, wiki admins, forum admins
- Namespace:
These seem to have stopped working upon moving to my web server, I'm not sure why though. The only thing which relies on namespaces is the category system (as the user namespace isn't functioning) - Page History - view full history including username and IP (shown for guests, for users only to admins)
- Page deletion - marks page as deleted without actually deleting it (basically it doesn't show up)
- Categories - this is apparently a major feature so I added it, categories have there own namespace
but as with the rest of the namespace system it's stopped working properly
Current tasks:
- Permission 'Overhaul'
- Admin cpanel with some general settings
I've attatched my current mod version of SimpleWiki, upon installation I advise going to your wiki and create the Main Page, then navigate to index.php?action=wiki;sa=create;p=Wiki:Menu
Changelog27/6/2010 - categories namespace working, fixed some language strings, added search
7/8/2010 - User Namespace added, partially working; colright and colleft BBCodes added; categories BBCode should not show up in wiki pages.
26/10/2010 - Reworked the namespace system to use seperate files for easier development.
GREAT!!
I was looking for this!!
Quote from: Yoshi2889 on June 27, 2010, 02:49:35 PM
GREAT!!
I was looking for this!!
It's only a beta at the moment, and has a fairly long way to go, if you find any bugs please report them :)
Well there are already two (and a third one on another site) Wiki mods for SMF that are all in ALPHA/BETA, hopefully this one will get further - don't give up ;)
I'll be tracking it, looks good so far.
Quote from: Liam. on June 27, 2010, 03:42:46 PM
Well there are already two (and a third one on another site) Wiki mods for SMF that are all in ALPHA/BETA, hopefully this one will get further - don't give up ;)
I'll be tracking it, looks good so far.
I followed Sangwe11's wiki mod (and still do) as it went along quite well until he stopped due to school work.
I'm aiming to be the first Wiki mod on the mod site (just need to clean up a few things first)
I'm about to upload a slight revision (added search with search bar, and the language strings for the delete permission)
As a matter of interest, would "strstr('Category:Sorck', ':', true);" return "Category"? It's just I can't seem to get it to work :-\
afaik you should not use strstr as it has problems with utf encoding
I think you need a way to search or type in the name of a page to go to it.
Quote from: Jntg4 on June 27, 2010, 05:35:55 PM
I think you need a way to search or type in the name of a page to go to it.
I've written that, just haven't uploaded it (wait a few minutes and i will :))
Uploaded Beta 1.01 :)
is it a full wiki mod or jus integration for wikimedia?
Great! Bookmarked! Can't wait to download! (I'm in bed on my phone will download in next day or two...)
Quote from: flapjack on June 27, 2010, 06:34:51 PM
is it a full wiki mod or jus integration for wikimedia?
Full wiki mod - I don't find mediawiki easy to use, and even more difficult to modify :P
Quote from: Colonel Sorck on June 28, 2010, 02:57:21 AM
Quote from: flapjack on June 27, 2010, 06:34:51 PM
is it a full wiki mod or jus integration for wikimedia?
Full wiki mod - I don't find mediawiki easy to use, and even more difficult to modify :P
Oh my god yes...
I tried installing MediaWiki and it won't let me install it on my XAMPP localhost site...
This works pretty well on XAMPP and my co.cc site.
Gonna download the new release to see what changed :D
Quote from: Yoshi2889 on June 28, 2010, 06:28:53 AM
Quote from: Colonel Sorck on June 28, 2010, 02:57:21 AM
Quote from: flapjack on June 27, 2010, 06:34:51 PM
is it a full wiki mod or jus integration for wikimedia?
Full wiki mod - I don't find mediawiki easy to use, and even more difficult to modify :P
Oh my god yes...
I tried installing MediaWiki and it won't let me install it on my XAMPP localhost site...
This works pretty well on XAMPP and my co.cc site.
Gonna download the new release to see what changed :D
Quote from: Colonel Sorck on June 27, 2010, 02:47:06 PM
27/6/2010 - categories namespace working, fixed some language strings, added search
I'm working on a little overhaul of the permissions as well (ie wikiAllowedTo instead of allowedTo in order to let wiki admins do everything)
Can't wait for some feedback/feature suggestions :)
Maybe add a tab with all pages, and the option to create a new one?
Quote from: Yoshi2889 on June 28, 2010, 12:34:04 PM
Maybe add a tab with all pages, and the option to create a new one?
Like http://simplewiki.co.uk/index.php?action=wiki;sa=v_all for the all pages?
The create one could be managed through search ie you search 'Frog' it say 'Page does not exist, woulld you like to ' (or if it exists says '[url]This page exists]create this page[/ul]' (or if it exists says '[url]This page exists (http://create%20this%20page[/ul)')
Create tab'll will be added shortly :)
Great!
since I'm interested in competitors and looked how this mod does things. I have warning for potential users, there is due to improper input validation it's possible to insert unwanted things like javascript into pages. not going into specifics to prevent abuse.
Quote from: Niko on June 30, 2010, 02:08:24 PM
since I'm interested in competitors and looked how this mod does things. I have warning for potential users, there is due to improper input validation it's possible to insert unwanted things like javascript into pages. not going into specifics to prevent abuse.
Thanks for the info Niko - I'll test to see where I've missed some validation (I could sware I'd covered pages with htmlspecialchars but I'll check over)
I've looked through every input and all html characters are removed before being displayed to the end user AFAIK, If you would care to ellaborate upon an example of where it would be greatly appreciated (by PM to prevent abuse) :)
Quote from: Colonel Sorck on June 30, 2010, 04:34:32 PM
Quote from: Niko on June 30, 2010, 02:08:24 PM
since I'm interested in competitors and looked how this mod does things. I have warning for potential users, there is due to improper input validation it's possible to insert unwanted things like javascript into pages. not going into specifics to prevent abuse.
Thanks for the info Niko - I'll test to see where I've missed some validation (I could sware I'd covered pages with htmlspecialchars but I'll check over)
I've looked through every input and all html characters are removed before being displayed to the end user AFAIK, If you would care to ellaborate upon an example of where it would be greatly appreciated (by PM to prevent abuse) :)
I had plan to send pm but didn't have time to send.
Niko, you have competition!
yes, and the OP is fixing when you add a category it shows the bbcode style markup, hope fixed soon!
Quote from: Kcmartz on July 02, 2010, 03:46:51 PM
Niko, you have competition!
yes, and the OP is fixing when you add a category it shows the bbcode style markup, hope fixed soon!
Unfortunatley I've had no free time over the last few days because of schoolwork and a catastrophe at tau online so I've not repackaged the mod as of yet.
How are you doing on this now?
New suggestion!!!!
When a page is locked, put in this icon:
http://www.kcmartz.com/images/wiki/lock.png
This is from www.famfamfam.com, so it is free to use!
Quote from: Kcmartz on July 09, 2010, 06:01:47 PM
How are you doing on this now?
I've finally got some free time, I'm uploading it to the 1st post in a minute :)
Quote from: Kcmartz on July 09, 2010, 06:16:45 PM
New suggestion!!!!
When a page is locked, put in this icon:
http://www.kcmartz.com/images/wiki/lock.png
This is from www.famfamfam.com, so it is free to use!
Looks quite good, where would you suggest the icon be added?
Sorry SMF password reset email came late (forgot password)
Yes, instead of "protect page" do a lock/unlock image.
for history: a paper with some text on it, from same image pack (http://famfamfam.com/lab/icons/silk/)
for edit: a pen image (same package http://famfamfam.com/lab/icons/silk/)
Quote from: Kcmartz on July 17, 2010, 05:33:01 PM
Sorry SMF password reset email came late (forgot password)
Yes, instead of "protect page" do a lock/unlock image.
for history: a paper with some text on it, from same image pack (http://famfamfam.com/lab/icons/silk/)
for edit: a pen image (same package http://famfamfam.com/lab/icons/silk/)
Like the button bar on posts I assume? This could make adding buttons easier in some respects :)
I'll look into it tommorrow/when I'm next free :)
Ok, I will test it if you wish!
ive put nitify on for when first good version comes out
I have ANY topic i reply to notify me by default
Posting to save this to my unread topics list.
This looks interesting. Hope you can get namespaces working again.
It's really good modification.
This is what I was looking for!!!!! Thanks!!
I'll help you in the testing!! ;)
Quote from: Eliana Tamerin on July 24, 2010, 09:00:51 AM
Posting to save this to my unread topics list.
This looks interesting. Hope you can get namespaces working again.
The category namespace works, it shows a list of all pages in the category :)
I'm working on a wiki ban system at the moment, it will either be IP or User ID based. Bans will not affect wiki/forum admins (ie immunity for them) and bans will only stop editting and creating of pages so banned users can still view the wiki.
Great!! ;)
Can't wait to see this progress further. It looks great as of now. Keep up the good work!
Labradoodle-360
Quote from: Colonel Sorck on July 24, 2010, 05:45:04 PM
Quote from: Eliana Tamerin on July 24, 2010, 09:00:51 AM
Posting to save this to my unread topics list.
This looks interesting. Hope you can get namespaces working again.
The category namespace works, it shows a list of all pages in the category :)
I'm working on a wiki ban system at the moment, it will either be IP or User ID based. Bans will not affect wiki/forum admins (ie immunity for them) and bans will only stop editting and creating of pages so banned users can still view the wiki.
Why not simply hook into SMF's existing ban system? Admins can ban users from posting, registering and logging in, shy of a full ban, why not add 'Cannot access wiki' to that? Then you can take advantage of SMF's IP, user, email and even hostnode bans.
^^^^^
c. s.: i agree with the above said
I see the merrits of looking into the existing ban system, I'll have a look into that at some point :)
I'm currerntly fixing a few bugs with JS injections (still forgetting to htmlspecialchar everything), the current development version can be viewed at secondsphere.org/?action=wiki and the 'stable' version at simplewiki.co.uk/?action=wiki
Quote from: Colonel Sorck on July 25, 2010, 06:08:27 PM
... the current development version can be viewed at secondsphere.org/?action=wiki ...
Database error
Please try again. If you come back to this error screen, report the error to an administrator.:(
Quote from: MultiformeIngegno on July 25, 2010, 06:18:50 PM
Quote from: Colonel Sorck on July 25, 2010, 06:08:27 PM
... the current development version can be viewed at secondsphere.org/?action=wiki ...
Database error
Please try again. If you come back to this error screen, report the error to an administrator.
:(
Fixed, I forgot to add the {db_prefix}wiki_bans table to the installation package which I used.
still has the "[categories]" error
Quote from: Kcmartz on July 26, 2010, 12:12:31 AM
still has the "[categories]" error
That's fixed in my current version of the script - I'm trying to fix quite a bit before I release it again as a beta :)
Ok. if you want I will test, test, test it. I don't like no categories!!
After a little time I've got a new little package ready, see the first post. :)
It covers a few little bugs, and auto-installs the "Main Page" and "Wiki:Menu" into the wiki database if they don't allready exist. The user namespace is slowly being created, accessed by page "User:USERNAME", eg for me it would be the page "User:Colonel Sorck"
BBC Changes:
"colright" added, creates a right floated box
"colleft" added, creates a left floated box
"categories" modified, should no longer appear in wiki posts
Great!! I'll try it when I go back home! :)
installing!
INSTALL ERROR:
It installed correctly but for this:
Unknown column 'id' in 'where clause'
File: /home/content/k/c/m/kcm93/html/Sources/wiki.php
Line: 546
Quote from: Kcmartz on August 07, 2010, 05:55:33 PM
INSTALL ERROR:
It installed correctly but for this:
Unknown column 'id' in 'where clause'
File: /home/content/k/c/m/kcm93/html/Sources/wiki.php
Line: 546
I neglected to add the latest wiki.php file. :(
Anyhow, SimpleWiki 1.0 Beta 0.07 now up (just a bug fix)
Thanks, this should fix that?
I get this when a page is correctly made:
The database value you're trying to insert does not exist: page
It still shows the page, but the error shows up.
Quote from: Kcmartz on August 08, 2010, 11:06:18 PM
I get this when a page is correctly made:
The database value you're trying to insert does not exist: page
It still shows the page, but the error shows up.
:-\
Could you see what appears in the error log? If there's anymore info it would be helpful. :) I've looked through all of the database queries and can't see where there'd be an error.
I will look now. I am replying in Steam Alien Swarm, waiting for friends... (a browser in the game)
CS:
I have lots of suggestions posted on your forum most have no reply, and are slow to post here. You spending 24/7 coding it?
Quote from: Kcmartz on August 18, 2010, 06:22:44 PM
CS:
I have lots of suggestions posted on your forum most have no reply, and are slow to post here. You spending 24/7 coding it?
I've been doing a lot of work on a particular site and have been spending vast amounts of time away from home latley so have had limitted time to work on this. Next week I should be able to catch up on a few features. :)
Ok can't wait! (Make a email list and I will join!)
Quote from: Kcmartz on August 18, 2010, 06:35:53 PM
Ok can't wait! (Make a email list and I will join!)
:)
For the last few weeks I've been trying to code:
simpleWiki
a custom content management system
private chat
karmalog with delete karma functionality
and a very special forum to forum topic copying function, basically we've got a new forum with new member accounts and we needed to transfer a few topics over with original posters. This was quite a challenge with multi-database joins, thankfully we didn't have to use multiple servers!
Quote from: Colonel Sorck on August 18, 2010, 06:42:58 PM
Quote from: Kcmartz on August 18, 2010, 06:35:53 PM
Ok can't wait! (Make a email list and I will join!)
:)
For the last few weeks I've been trying to code:
simpleWiki
a custom content management system
private chat
karmalog with delete karma functionality
Haha!
Quote from: Colonel Sorck on August 18, 2010, 06:42:58 PM
and a very special forum to forum topic copying function, basically we've got a new forum with new member accounts and we needed to transfer a few topics over with original posters. This was quite a challenge with multi-database joins, thankfully we didn't have to use multiple servers!
Could you please explain that clearly?
It is outta my reach of knowledge :( :P
Quote from: Colonel Sorck on August 18, 2010, 06:42:58 PM
and a very special forum to forum topic copying function, basically we've got a new forum with new member accounts and we needed to transfer a few topics over with original posters. This was quite a challenge with multi-database joins, thankfully we didn't have to use multiple servers!
Could you please explain that clearly?
It is outta my reach of knowledge :( :P
[/quote]
i don't think it is realy important. especially having a look at the topic. also there is everything said to explain what he has done.
Well I'll be putting some time down for SimpleWiki next week, I'll try and catch up on a few more features and hopefully simplewiki.co.uk will stay online (the server is quite unpredictable :P).
Feature requests would be helpful so that I miss out as little as possible. :)
Quote from: chilly on August 21, 2010, 07:29:37 PMQuote from: Yoshi2889 on August 21, 2010, 06:25:45 PM
Quote from: Colonel Sorck on August 18, 2010, 06:42:58 PM
and a very special forum to forum topic copying function, basically we've got a new forum with new member accounts and we needed to transfer a few topics over with original posters. This was quite a challenge with multi-database joins, thankfully we didn't have to use multiple servers!
Could you please explain that clearly?
It is outta my reach of knowledge :( :P
i don't think it is realy important. especially having a look at the topic. also there is everything said to explain what he has done.
Yep, I can't really say any more without giving you the code. Plus I was only stating why I've not been here for a few days.
Cannot wait for the update!
C.S.: I have helped another user use SimpleWiki! Join if you want to talk Star Trek (http://www.star-trek-geek.co.uk). It is a friendly star trek geek community.
Can't wait for update, still!
Gonna install this.
I just refreshed my theme and sources folders so I guess nothing can go wrong!
he hasnt installed SimpleWiki.
anyway, hows the next update coming??
Quote from: Kcmartz on September 01, 2010, 01:56:40 AM
he hasnt installed SimpleWiki.
anyway, hows the next update coming??
I've been caught up again, I'm now focussed on spending a few hours coding today. :)
I'm going to add 'Reason for edit' and the Talk namespace which will be a form of topic, you could call it lite topic, so users can't go and edit everyones messages if you're not allowed.
Nice! Any timeframe when I can download it?
Too bad this wasn't completed a year ago. I could really have used it.
**bump**
groundup:
i agree.
maybe hes just busy with real life?
sorry i dont understand what u mean with that picture
Kcmartz, you said you try to eliminate spam, somewhere, I believe...yet I see that post as spam and nothing else?
Its my mad emote.
what are you mad about? the dev here seems to have been busy with real life, it happens to all of us (im still at work for example)
Quote from: Oya on September 27, 2010, 01:38:43 PM
what are you mad about? the dev here seems to have been busy with real life, it happens to all of us (im still at work for example)
I've been trying to find some time but it's a rare commodity these days.
I will try and get some more work put in at some point soon, I'll just get some members of my other site to try and motivate me. :)
...if i knew any php besides echo, include, and variables, i would help code it...
I know your busy with real life. This hasn't been Bumped in a while.
SO: BUMP!
I've got a revised package I am uploading now, it should have fixed a few of the bugs which have cropped up and it makes it easier for people to add their own namespaces.
I've also updated SimpleWiki.co.uk with a copy of the latest beta, 1.08.04 :)
Thanks! Updating!
When will this have support for RC4? I am waiting until my main modifications (the important ones) have RC4 support before I upgrade. This is holding me back.
I will post this on your official website as well..
Kcmartz, it most likely will work with RC4. - Depending on what it changes, and I'm not sure what it does off the top of my head.
Did you consider trying Version Emulate? You shouldn't have any problems...
Yes, I just wanted to update without, if possible.
EDIT:
Worked perfect, BUT had to emulate SMF 2.0 RC3
Quote from: Kcmartz on September 01, 2010, 01:56:40 AM
he hasnt installed SimpleWiki.
anyway, hows the next update coming??
'cus it failed to install..
Can you update this for 2.0 RC4?
Quote from: Yoshi2889 on November 06, 2010, 04:50:32 AM
Quote from: Kcmartz on September 01, 2010, 01:56:40 AM
he hasnt installed SimpleWiki.
anyway, hows the next update coming??
'cus it failed to install..
Can you update this for 2.0 RC4?
It is currently 2.0 RC4 compatible, in the package manage click on 'Advanced' at the bottom right of the page, then it the "Emulate Version" box make sure that it says 'SMF 2.0 RC3'. (then click apply) :)
I will update the package as well so that it can be installed without version emulation.
Quote from: Colonel Sorck on November 06, 2010, 11:25:53 AM
Quote from: Yoshi2889 on November 06, 2010, 04:50:32 AM
Quote from: Kcmartz on September 01, 2010, 01:56:40 AM
he hasnt installed SimpleWiki.
anyway, hows the next update coming??
'cus it failed to install..
Can you update this for 2.0 RC4?
It is currently 2.0 RC4 compatible, in the package manage click on 'Advanced' at the bottom right of the page, then it the "Emulate Version" box make sure that it says 'SMF 2.0 RC3'. (then click apply) :)
I will update the package as well so that it can be installed without version emulation.
Ah thanks. I thought it was incompatible :)
any news about this mod? :)
Any update on RC5? I think this is the best Wiki mod for SMF. Please update it!!
Isn't it the only Wiki Mod, Kenson? And why for RC5? 2.0 final is coming out soon?
NO, there is "SMF Wiki" that's pretty much stopped as well...
Sorry about the complete lack of activity - I'm involved in far too many projects. ::)
I've updated the package for SMF 2.0.1 and it has now been relicensed under the BSD 3 clause license - like SMF 2 is.
Quote from: Sorck on October 29, 2011, 06:19:08 AM
Sorry about the complete lack of activity - I'm involved in far too many projects. ::)
I've updated the package for SMF 2.0.1 and it has now been relicensed under the BSD 3 clause license - like SMF 2 is.
Nice mod, work fine in smf 2.0.2.
Any intention of update??
Hasn't been touched in over a year...
It's BSD. O:) (well, just posting to remember it exists :P)
Quote from: Kindred on October 16, 2012, 11:34:35 AM
Hasn't been touched in over a year...
Was updated to work with SMF 2.02 in July.
I might update it in the future but it depends upon me having the time and feeling in the mood to clean up some disorganised code of mine. :P I rewrote a bit of this in OO for smCore a few months back. Unfortunately, that isn't easy to port over to SMF 2. And the smCore version doesn't work at the moment as smCore had some structural changes.
Quote from: emanuele on October 17, 2012, 05:56:22 AM
It's BSD. O:) (well, just posting to remember it exists :P)
Yep, it is BSD if anyone wants to use the code behind it.