vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Tweak] Link To Profile From Name Display (https://vborg.vbsupport.ru/showthread.php?t=86061)

Tony G 01-20-2003 10:00 PM

[Tweak] Link To Profile From Name Display
 
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?


All times are GMT. The time now is 03:26 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
  • Page Generation 0.01364 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete