vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - THS Wiki - Lightweight wiki for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=213853)

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

Quote:

Originally Posted by profanitytalker (Post 1891189)
reserved

ditto

mhackl 10-17-2009 04:36 AM

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.

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

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.

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

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

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 (Post 1901609)
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

Quote:

Originally Posted by geeklands (Post 1931556)
-better menu system (administration, static pages)

Ya it sucks, I know. :(
Quote:

Originally Posted by geeklands (Post 1931556)
-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!
Quote:

Originally Posted by geeklands (Post 1931556)
-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

Quote:

Originally Posted by Deimos (Post 1975942)
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: ;)



Quote:

Originally Posted by lycheepassion (Post 1983489)
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

Quote:

Originally Posted by Junkie (Post 1812614)
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:


Quote:

Originally Posted by Cip (Post 1812655)
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..!?



Quote:

Originally Posted by MoH672 (Post 1839182)
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:
Quote:

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

Quote:

Originally Posted by Gamelobby (Post 2007775)
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

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

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

Quote:

Originally Posted by Gamelobby (Post 2008292)
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.


All times are GMT. The time now is 09:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01374 seconds
  • Memory Usage 1,820KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete