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)

libertate 04-29-2005 01:42 AM

Ok, I installed this great hack. Thank you for making it.

Uhmmm... I do not understand the relationship between "Add new" and "Add category".

What is the difference between the two? I guess Category somehow relates to "new", since it can be picked in the edit, but...

And it doesn't seem to work. I have GAS installed, and I cannot see any of the changes in the articles.

I have a cagetory defined As
Description: ABC
Ordinal: 0
Replacement Code:
$link=http://www.somewhere.com/link/link/link
$description=Dr. ABC
$text=ABC

Then I added "new":

Replacement text : ABC
Link : http://www.somewhere.com/link/link/link
Ignore threadid (dont autolink this thread) 0
Description : Dr. ABC
Ordinal 0
Category name Dr. ABC
Replacement code :
$link=http://www.somewhere.com/link/link/link
$description=Dr. ABC
$text=ABC

Settings:
Safe mode
2
<a href='$link' target='_blank' class='DEF' title='$description'>$text</a>
---
What am I missing? Nowhere where there is ABC is replaced by the link...

limey 04-29-2005 06:06 PM

I just installed as well, like it alot.

Two suggestions:
add a "duplicate this linked word" button in the admin panel so you can change the certain words from WalMart to walmart without having to retype the whole thing.

Second:
Make the pop up code have hte option of including a "Click to visit link" link in the popup code.

Yeh or nah? :)

The Geek 04-29-2005 06:39 PM

liberate - check the readme for a good explination of the categories.
Essentially, you can define replacement code as item level, category level or global level.
For instance, if your item and category replacements are blank, but your global replacement is:
<a href='$link' target='_blank' class='DEF' title='$description'>$text</a>
then it will use that code.
$link is the url you specify, $description is the alt text and $text is the word that gets replaced.

LImey - the replace should be case insensitive anyway so it wouldnt make much sense (unless of course there is a bug where its not being case insensitive ;) )

Just wait till 4.0 - Its seriously sweet :)

Shackbase 04-29-2005 07:05 PM

whats the eta on 4.0 geek? :)

--Tone

The Geek 04-29-2005 07:18 PM

I always hate seeing this answer from other people... but here goes -
when its done ;)

blech.

Actually its not to far off now. Thought I would have finished the coding by early today but I rewrote it almost all virtually from scratch instead. The problem is I keep getting new ideas that require me to go back and rescrap loads of already written code. Couple that with regex hell (whoever invented it should go there - as brilliant as it is).
It a nutshell I am about 90% of the way done with the code and then I have to do an installer/upgrader.

For those that have not upgraded to 3.0 from 2.6 I would recommend it as I dont think ill include an upgrade from 2.6 to 4.0

I may get lucky and have it Sunday.

venomx 04-30-2005 03:30 AM

The Geek.

Under Settings theres a Replacement code
Under add new theres Replacement code
Under add new cat theres. Replacement code

How do these work? I thought putting it under Settings would auto fill in the other two when I go to add a new one but nope. If all 3 are filled it does this break anything? If we have it in the settings do we need to add the code when making a new unknown one? What if we have it in the cat and make a new link with that cat. do we need to add it to the link when we make it?

Sorry for so many questions, just wondering why its needed 3 times.. :P

greenhybrid 04-30-2005 04:19 AM

It seems there's a character limit on link text. Why? I can't use "real hybrid mileage database"

The Geek 04-30-2005 07:24 AM

hybrid - changed in 4.0 ;)

venom - this has changed in 4.0 as I think it was (and is) confusing to people.
Essentially if you had replacement code in the settings - you didnt ever have to put replacement code in any categories or individual items - it is a 'global' value. However you could 'override' the global by putting replacements in at the category level.
THe idea being that the global would be the default - but then you could have category override it.
FInally - you could also put replacement code at the individual item level which would override the category setting.

Anyway - as handy as it is - I think its confusing and overkill. In 4.0 Most settings are handled at the category level

venomx 04-30-2005 07:38 AM

I am glad we will have the option to track clicks or not because I just sold 5 links and he only bought them because it was a direct link to his site and not a redirect.. lol

Looks good!

blueuniverse 04-30-2005 07:42 AM

Is the usergroup feature going to be implemented in v4 (it looks like it from that screenshot) but just to check. :)


All times are GMT. The time now is 04:01 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.01575 seconds
  • Memory Usage 1,740KB
  • 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)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