The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Username Linked In Posts.
Is it possible to create a mod where when a members username is typed, once posted the username will be linked to their profile?
This would be soo much easier than hyperlinking every time. |
#2
|
|||
|
|||
Possible yes. But how do you picture this? Just type the members name, or do you want to use a BB-code for it?
|
#3
|
|||
|
|||
Just when typed
|
#4
|
||||
|
||||
vB.org has a "BB Code Implementation" of this.
[name]Dismounted[/name] [name]Dismounted[/name] |
#5
|
|||
|
|||
Just when typed would be a performence killer i think. It would need to split each post up by words, then check for each word if it is maybe a membername (1 query for each word in the post). And it would not work with membernames that contain spaces or such.
|
#6
|
|||
|
|||
Ah ok - didn't think of the performance aspect of this request. Where can I find the BB Code Implementation of this Dismounted?
|
#7
|
|||
|
|||
You can use the standard buildin BB-Code "[ name]":
This: "Hello [name]smooth-c[/name]" Will result in: Hello [name]smooth-c[/name] |
#8
|
|||
|
|||
Hmm actually this is not a default BB-code.
But you can easily create one with the following replacement text: Code:
<a href="member.php?action=getinfo&username={param}">{param}</a> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|