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)
-   -   Geek AutoLinker 4.02 (https://vborg.vbsupport.ru/showthread.php?t=76054)

The Geek 02-10-2005 01:32 PM

Quote:

Originally Posted by Ghostsuit
Really nice hack. I notice you say it add's one queries is that no matter how many links are checked?

Yeas ghostsuit. It pulls all of the replacements in one go and then does one replacementcall using an array of the data from the one pull

Thanks ;)

OrangeFlea 02-10-2005 01:44 PM

About using the amazon.com referall program in association with this hack...

I have an amazon.com search thing on my forum, and when members use it to look for a book or a product, naturally I get the credit for it. However, I've also noticed -- and I don't know if this is FACT -- that when members browse amazon.com after making the initial search, they're still browsing under the referral system, as long as they don't reload Amazon.com or close their browser. Based on this theory, wouldn't it make sense, when using your hack, to hyperlink words with the URLs that have your referall id in them?

Am I making any sense?

ericgtr 02-10-2005 01:51 PM

This works great! I like how you've avoided anything to do with functions_bbcodeparse :D Installed!

The Geek 02-10-2005 02:06 PM

Quote:

Originally Posted by OrangeFlea
About using the amazon.com referall program in association with this hack...

I have an amazon.com search thing on my forum, and when members use it to look for a book or a product, naturally I get the credit for it. However, I've also noticed -- and I don't know if this is FACT -- that when members browse amazon.com after making the initial search, they're still browsing under the referral system, as long as they don't reload Amazon.com or close their browser. Based on this theory, wouldn't it make sense, when using your hack, to hyperlink words with the URLs that have your referall id in them?

Am I making any sense?

Yup. Thats what I mean about a master listing. If there was a master listing of say Amazon book names with matching URL's (including a referal ID) then you would still have to edit them to put in YOUR referal ID.

In a nutshell, this hack will do exactly what you are trying to do. Everytime someone types in the joy of sex it will hyperlink it to the joy of sex at amazon.com with your referal id.

Hope that makse sense!

erictr-> Thanks man :)

OrangeFlea 02-10-2005 02:12 PM

Forgive me, my man. I forgot to congratulate you on this remarkable hack. It's a wonderful and helpful tool you've made and provided for us, Sir Geek. I'll be looking forward to seeing your future releases!

The Geek 02-10-2005 02:15 PM

Quote:

Originally Posted by OrangeFlea
congratulate you on this remarkable hack. It's a wonderful and helpful tool you've made and provided for us,

Anytime Sir Flea ;)

Just do me a favour and toggle the ol install switch if you use it :)
(I may have something cool on the way)

Ghostsuit 02-10-2005 03:58 PM

Installed. I have to say I'm finding far to many of your hacks jsut exactly what I need :D

trainer 02-10-2005 04:04 PM

will this hurt a larger site? slow it down?

The Geek 02-10-2005 04:08 PM

Quote:

Originally Posted by trainer
will this hurt a larger site? slow it down?

not really. I would say that it more depends on the #of replacements you had.
Obviously replacing 5 keywords is a lot faster than replacing 1000 keywords.

The Geek 02-10-2005 04:12 PM

I know everyones going to kill me... but I am just putting the finishing touches on an upgraded version that is substantially faster (not that this is slow by any means) and eliminates the query, include file,the array walks, and the inline replacments. I have re-coded it to build these up in the admincp when ammendments are made. It then stores it in the datastore.

I am also putting in the option to add an additional leading space to eliminate breaking existing URLs. The flip side to this is that the key word must have a space infront of it to be a match.

Ill post more when I have the update.

Give me an hour (PS- the upgrading process should be a snap so dont anyone get fidgety with me ;) )


All times are GMT. The time now is 10:32 AM.

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.01561 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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