![]() |
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. |
Possible yes. But how do you picture this? Just type the members name, or do you want to use a BB-code for it?
|
Just when typed :)
|
vB.org has a "BB Code Implementation" of this.
[name]Dismounted[/name] [name]Dismounted[/name] |
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.
|
Ah ok - didn't think of the performance aspect of this request. Where can I find the BB Code Implementation of this Dismounted?
|
You can use the standard buildin BB-Code "[ name]":
This: "Hello [name]smooth-c[/name]" Will result in: Hello [name]smooth-c[/name] |
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> |
All times are GMT. The time now is 01:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|