Create an account


MyCode Plugin: Internal Linking
The MyCode Plugin: Internal Linking offers several MyCodes to easy and quick link to a forum, post, thread or user, only by knowing the related ID of the destination.

First possibility to create a link is, to specify the ID and the text, the link should have:
Code:
[forum=3]Link to Forum #3[/forum]
[post=15]Link to Post #15[/post]
[thread=42]Link to Thread #42[/thread]
[user=1]Link to User #1[/user]
As you can see, all 4 types of linking has the same style: [type=ID]Text[/type]. The four lines above will result in:
Link to Forum #3
Link to Post #15
Link to Thread #42
Link to User #1

Next to this version of using the text, you can leave away the Text and the [/type]-Tag, so that only the opening Tag with its ID is left over:
Code:
[forum=3]
[post=15]
[thread=42]
[user=1]
Instead of giving the link text, now the forum will look into the database and search for the name of the specified forum, post, thread or user and place it as link text. The given code will result in:
[Invalid Forum ID]
Amélie da Broussard
Erweiterung des Teams!
ZainlessBrombie

Using these shorter MyCodes to link to an not existing forum, post, thread or user by giving an invalid ID, there will be displayed an error message instead showing the link, for example:
[Invalid Thread ID]
© MyCode Plugin: Internal Linking von Zwoetzen
Forum software by © MyBB Theme © iAndrew 2016