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.


All times are GMT. The time now is 10:08 AM.

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.01238 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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