Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4206
Latest: jagwire
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 42718
Total Topics: 7443
Most Online Today: 60
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 38
Total: 38

Author Topic: [WIP] SMF Wiki for SMF 2.0.14  (Read 2628 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16204
    • View Profile
[WIP] SMF Wiki for SMF 2.0.14
« on: May 31, 2017, 10:49:05 pm »
Originally by niko updated for SMF 2.0.14 and some other bug fixes. Licensed BSD

Note: This is only for testing purposes, not recommended on live sites!

This version isn't feature complete as of yet

It's highly recommended to enable cache when using Wiki mod.

Please report all bugs either here or issue tracker (Feature request are welcome, too!).



Features

    Creating and Editing pages
    File Uploads


Syntax

This page contains information about Wiki Codes supported by SMF Wiki!
Quote
Code                                 Example                            Description                     
[ [Main_Page ] ]   Main Page   Basic link to another page. Remove spaces in the brackets
[ [Main_Page|My Title ] ]   My Title   Link to page using another title  Remove spaces in the brackets
{{Example}}   This is example template.   Include page "Example" from Template namespace
{{Example2|test}}   This is example template, you gave parameter test.   Include page "Example2" from Template namespace with numbered parameter
{{Example3|text=My Text}}   Parameter text was My Text   Include page "Example3" from Template namespace with named parameter
<*nowiki>{{Example}}<*/nowiki> (use without *)   {{Example}}   Disables parsing of BBC and Wiki code inside tags.


<nowiki> tag can be used to make sure code isn't parsed.
Code is parsed in every tag with exception of [nobbc],
Code: [Select]
and [php]. Wiki code is parsed in [html] tag. (as of rev195)





[i]Standalone mode[/i]

Standalone mode enables you to run wiki outside SMF install directory. It's required to enable Friendly URLS.

Provided by file "wikistandalone.php" which should be put in SMF directory for Friendly URLs and somewhere else if you want to just run outside SMF directory. (on latter case you need to edit path in file).

Example rule for .htaccess for friendly urls

[code[

    RewriteEngine On
    RewriteRule ^wiki/(.*)$ wikistandalone.php?page=$1 [NC,QSA]

Remember to configure links from admin.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
7594 Views
Last post October 07, 2006, 11:43:40 pm
by Nite
0 Replies
2466 Views
Last post July 13, 2018, 04:22:02 pm
by SMFHacks
0 Replies
2720 Views
Last post July 13, 2018, 04:23:01 pm
by SMFHacks
68 Replies
15590 Views
Last post July 29, 2022, 12:27:28 pm
by SMFHacks

+- Recent Topics

Feature to upload a photo straight when composing a message by SMFHacks
February 04, 2023, 08:13:46 am

Pretty URL's Pro rewriting URLs by [chrisB]
February 01, 2023, 05:18:47 pm

Question before purchase by SMFHacks
February 01, 2023, 03:53:33 pm

Unlimited ending time by Saftek
January 29, 2023, 10:06:26 pm

Converting from Aeva Media by ivanr
January 28, 2023, 10:09:42 am

[Mod] Post Scheduler by bayonetbrant
January 23, 2023, 02:24:09 pm

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
January 22, 2023, 10:50:23 pm

[Request] Future consideration by [chrisB]
January 18, 2023, 08:42:53 am

Pretty Urls extras by SMFHacks
January 16, 2023, 04:00:57 pm

I don't think its installed correctly by SMFHacks
January 10, 2023, 05:56:21 pm

Powered by EzPortal