PDA

View Full Version : [Tweak] Link To Profile From Name Display


Tony G
01-20-2003, 10:00 PM
Description: Makes the name display of the person who posted in the postbit a link to their profile also.

Been requested many times, just released this simple mod. I did a quick search and never found this released so if it is please tell me.

Attached below. Enjoy. :)

Cypher720
01-21-2003, 03:18 AM
hasnt this been done before? but well done!

Tony G
01-21-2003, 04:17 AM
Thats what I thought until I couldn't find it anywhere.

o_O

Cypher720
01-21-2003, 04:24 AM
really...who knew!

Tony G
01-21-2003, 04:29 AM
Not me, of course. :p

Sanctum
01-21-2003, 09:38 AM
It specifically wasnt done but there is a postbit mod with it....Im trying to remember the name of it

Sanctum
01-21-2003, 09:43 AM
Installed. Something else I didnt think of doing on my post bit heheh

Tony G
01-21-2003, 09:52 AM
Feel free to use it in any postbit release. :)

Sanctum
01-21-2003, 10:17 AM
I didnt add it to mine Tony so you know. Just put it on my boards hon hehe :)

Tony G
01-21-2003, 10:43 AM
Yes, but for future reference. :)

Sephiroth32
01-21-2003, 10:53 AM
I did this and it got closed

I think you closed it acuallyt 0_o

Tony G
01-21-2003, 10:57 AM
Like I said I couldn't find any link so could you post it? Thanks.

alkatraz
01-24-2003, 05:03 AM
Sorry to bust into your thread here, but would it be a pain in the *** to make something that would hyperlink everytime that a Members Name shows up in a post. (haha, that probably the first time you've seen the word hyperlink in a while!) It would link to the members profile of course.

It would work similar to bbcode, but the only problem I could see is that if it's dynamic it would add a big load to the server to query each word to see if it was a member. (especialy on LARGE boards)

Maybe it could be done as a static thing, a modification to the "convert urls to linked urls" part of posting... So it would make add the link only once, when a post was created and then it would be saved as bbcode in the post. Thus eliminating the need for dynamic linking. Of course you would have to add a maintnance function to covert old posts so the bbcode was added into the post.

SOrry for not posting this as a request, it's really just a suggestion. =)

Tony G
01-24-2003, 05:19 AM
Queries? I used HTML, adding a link does not create queries. Code in phpinclude and file hacking create queries. Adding a HTML code link doesn't affect your server.

And it's just the name in the author column, nothing more. (Like vBT)

filburt1
01-24-2003, 02:06 PM
Making hyperlinks automatically generate based on the template output would be extremely cool but I'd have no idea how you could do it. The only way I can think of is fetching the entire user table, but that would be extremely intensive when scanning the page for every single username.

Tony G
01-24-2003, 10:14 PM
Yeah, I don't think thats template material for now. :-/

imported_Jester
01-25-2003, 04:00 PM
No Screen Shot?

Tony G
01-25-2003, 10:49 PM
I'm going to screenshot a link?