vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Local links to titles (https://vborg.vbsupport.ru/showthread.php?t=69077)

amykhar 12-28-2004 03:17 PM

Quote:

Originally Posted by Sebastian
this hack has more bugs than windows 95,98,2000 and xp combined. ;)

well, then help fix them for heaven's sake. The author contributed his idea and work for free. It's a jumping off point for us to use and not a chance to snipe at him because it has glitches.

Hack authors share their work to be nice. If you all continue to whine and complain rather than chip in and make improvements, nobody's going to share their code anymore. It's too much like a job with a micromanaging boss and really bad pay.

amykhar 12-28-2004 06:33 PM

Question - to save queries, why not do the coversion at the time the user posts the link either as a new post or when editing an existing post?

If I understand the way it now works, it's going through when the thread is displayed and changing it at that point. I just glanced at the code though, so I may be wrong.

Amy

Sebastian 12-29-2004 03:42 AM

yea.. you're right.. it process the urls when they are displayed along with the post.. so if a user post 2 links to a thread it will perform 2 queries.. the idea of changing the urls before posting would seem a lot more logical.. i'll look into redoing this hack since i had plans to do this even before i saw this hack.

my only gripe with hacks like these is they belong in the beta section..

MajorFm.com 10-18-2005 02:55 PM

great hack, i have subscribed to this thread and look forward to a version that takes out the query


All times are GMT. The time now is 06:21 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.04493 seconds
  • Memory Usage 1,716KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete