News:

Wondering if this will always be free?  See why free is better.

Main Menu

Wiki Links

Started by [SiNaN], January 19, 2009, 10:55:05 AM

Previous topic - Next topic

[SiNaN]

Link to Mod

Wiki Links

This modification adds wiki style links to your forum. The following format is used:

everything => [[value]]
category => [[c|category:value]]
board => [[b|board:value]]
topic => [[t|topic:value]]
user => [[u|user:value]]
search => [[s|search:value]]

"value" can be the id or name.

-[SiNaN]
Former SMF Core Developer | My Mods | SimplePortal

Sudhakar Arjunan

Thanks for this good mod.

I will install and comment here.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

blondeamon

Always looking for the best

www.kamenos.gr  Greek Gaming Community

Minare

Nice mod, I wish it were also compatible with  1.1

thanks anyway

blondeamon

Ahhh its not compatible for 1.1.7?

Why not man?
Always looking for the best

www.kamenos.gr  Greek Gaming Community

blondeamon

bump..any answers from the author about adding it for 1.1.7 also? Its a cool mod.
Always looking for the best

www.kamenos.gr  Greek Gaming Community

[SiNaN]

I won't be backporting this mod to SMF 1.x versions. Mainly because I don't have enough time and believe that number of 2.0 users will greatly increase with SMF 2.0 RC1 Public release.
Former SMF Core Developer | My Mods | SimplePortal

PerryM

I'd like to use this but I need a little more documentation.  I've put many things in for the {value} and I get nothing.

Is there an example somewhere of how it looks?

Thanks
Perry

Marcus Forsberg

Swedish translaton:


// Wiki Links
$txt['wiki_links_category'] = 'Kategori';
$txt['error_wiki_links'] = 'Wiki-länkar saknas eller är duplicerade.';
$txt['error_wiki_links_missing'] = '%1s med namnet eller id-numret %2s existerar inte.';
$txt['error_wiki_links_duplicate'] = '%1s med namnet eller id-numret %2s: #%3s %4s';
// Wiki Links

ianus

Quote from: PerryM on January 25, 2009, 05:37:29 PM
I'd like to use this but I need a little more documentation.

Same request. I would appreciate a little bit more information.
The only result I get is
Topic with name or id of {7} does not exists.




[SiNaN]

PerryM:
ianus:

Braces are there to show that it is a variable. Some examples of how to use it:

+ Topic with the id of 32
[[t:32]]

+ Topic with the name "Wiki Links"
[[t:Wiki Links]]

+ User with the id of 345
[[u:345]]

+ User with the name "Blue Dream"
[[u:Blue Dream]]

... and the same for others.

We have a similar mod installed on this forum. So you can test it in Test Board if you want.

Nas:

Thanks for the translation.
Former SMF Core Developer | My Mods | SimplePortal

ianus

Greetings!

Thanks a lot! This makes things clear. Mod works great - since you have told me how to use it.
Finally the "old" snipped of [unknown] can be used from us ordinary users.

Very interesting mod and obviously great support, thanks for this.

[SiNaN]

Thanks for using my mod too.

But I couldn't understand what you mean here?

Quote from: ianus on January 31, 2009, 01:58:00 PM
Finally the "old" snipped of [unknown] can be used from us ordinary users.
Former SMF Core Developer | My Mods | SimplePortal

ianus

#13
Please don't get me wrong. Neither I  want to blame you nor want to say that this mod isn't your own work.

See, years ago [unknown] has written something that allow something very similar like this mod.
(At this time I have started my SMF board and try to find an option to use something like {mydomain}/community/index.php inside a post instead of an "real" url.)

He refused to make it public, but I kept some links and hoped that somebody revived the basic idea.
You may want to have a look:
http://www.simplemachines.org/community/index.php?topic=22827.0
http://www.simplemachines.org/community/index.php?topic=51826.0

So, I waited four years and finally I found your mod and you make me very happy.
Your work is very appreciated.

[SiNaN]

Ah, okay. That's where I came up with this idea actually.

Though I should note that, this mod is totally -coding wise- different from the one coded by [Unknown].
Former SMF Core Developer | My Mods | SimplePortal

dysloke


rii

Can some one show me the real example on the test board (above link) or guide me to the documentation. What do I suppose to insert in the message to see the action? [ [ t : 3 2 ] ] ?

I am getting error

"Some of the links in your post were not found or match more than one topic or member.
Please use the id instead.
"32": not found.

what outcome should I be seeing?

Thanks

[SiNaN]

Examples are here:

+ Topic with the id of 32
[[t:32]]

+ Topic with the name "Wiki Links"
[[t:Wiki Links]]

+ User with the id of 345
[[u:345]]

+ User with the name "Blue Dream"
[[u:Blue Dream]]

They will convert to links.
Former SMF Core Developer | My Mods | SimplePortal

rii

Thank you for response. I did see your examples earlier too but when I entered them in the forum post, I got the same text display the same output. I tried with all existing topic numbers too. I am not sure if I need do the permission reset or something. Don't you have any live forum that using it?

[SiNaN]

This forum uses a similar one. Try writing this in your post:

[[u:Blue Dream]]
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: