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)

Tom1234 04-04-2005 10:09 PM

Quote:

Originally Posted by The Geek
greenhybrid: Make sure the longer is in the system first.
The order that they are put in is the order they are matched.

Is there a better way to do this rather than requiring the longer match phrase (e.g. Toyota Celica) be entered before the shorter one (e.g. Toyota)? Maybe you can sort them internally first by length and then by alphabetic?

The Geek 04-04-2005 10:21 PM

Quote:

Originally Posted by Tom1234
Is there a better way to do this rather than requiring the longer match phrase (e.g. Toyota Celica) be entered before the shorter one (e.g. Toyota)? Maybe you can sort them internally first by length and then by alphabetic?

currently - no there isnt. Ill add an ordinal column in a future release though.

memobug 04-04-2005 10:41 PM

Quote:

Originally Posted by The Geek
Ill add an ordinal column in a future release though.

1. That would be helpful. I found that I'd added so many links that being able to organize them by categories would be helpful (movies, games, etc) I would probably be using that ordinal column for that purpose, so it would help

2. How about adding a TITLE text field to the link so a tooltip shows up when you hover on it?

Thanks for this great hack!

Matt

The Geek 04-05-2005 05:34 AM

Quote:

Originally Posted by memobug
1. That would be helpful. I found that I'd added so many links that being able to organize them by categories would be helpful (movies, games, etc) I would probably be using that ordinal column for that purpose, so it would help

2. How about adding a TITLE text field to the link so a tooltip shows up when you hover on it?

Thanks for this great hack!

Matt

Yea - its actually already there - I just forgot to tie it into the admincp!

Ill look into the categories option too

Tom1234 04-05-2005 05:46 AM

I notice that the text to match on can only be 25 characters since that is its size in the DB. Is it OK to just change that VARCHAR(25) to a larger number in the DB without breaking anything else?

The Geek 04-05-2005 05:49 AM

sure - wouldnt cause any problems being longer. I dont think there is a check on the textbox size before update/insertion.

Tom1234 04-05-2005 06:04 AM

The autolinker was working perfectly, but then began displaying incomplete link code in the message posts rather than using the proper link syntax. I do not have an example since I immediately rebuilt the list and fixed it, but the only things I can think of that changed was that I deleted one autolinker entry (which was the first time I had done that) and later a re-start of the httpd daemon. Any clues as to how things could have been corrupted with the autolinker text replacement? I'm not familiar with the "datastore" and how that maintains state through an httpd restart. My suspicion is the entry deletion however. I'm using "safe mode" here if that matters.

The Geek 04-05-2005 06:15 AM

hmmm. got me. Every time you make a chage - it rebuilds the datastore. THe datastore is simply just a serialized version of an array of built links. this saves an extra query to the db and save looping through and rebuilding at run time.

The only thing I can think of is that it rebuilt it in danger mode instead of safe mode.

Lizard King 04-05-2005 08:42 AM

Geek for the next version is there a way to add some forum id's to settings so that whenever a new thread will be open in that forum the thread name will be auto linked ?
it might be really good for movie - book forums .

The Geek 04-05-2005 08:49 AM

Quote:

Originally Posted by Lizard King
Geek for the next version is there a way to add some forum id's to settings so that whenever a new thread will be open in that forum the thread name will be auto linked ?
it might be really good for movie - book forums .

Hey Mert - I think that could be a little bit of a nightmare. Maybe as an addon or something. GAS uses a new file that ties into this that could be used as the basis for something like this.


All times are GMT. The time now is 10:59 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.01363 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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