Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Closed Thread
 
Thread Tools
Geek AutoLinker 3.00 RC1 Details »»
Geek AutoLinker 3.00 RC1
Version: 1.00, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-07-2005 Last Update: Never Installs: 11
DB Changes
Is in Beta Stage  
No support by the author.

HowdA all.

BETA CLOSED. PACKAGE IS RELEASED HERE

I have finally gotten GAL3.0 to a stage where it can be beta tested via fresh install or upgrade from 2.6

GAL is designed to be able to auto link keywords to your own specific URLs. (Read more here).
3.0 builds on 2.6 but includes the following:
1- ability to specify ordinal
2- ability to add URL titles
3- ability to cusomize the URL replacement
4- abiilty to limit # of time a match is replaced per post
5- new installer/upgrader/uninstaller built on a prototype GISH installer. This means that all file edits are done automatically for you unless you choose otherwise.
6 - Just added a category manager to categorize your GALS, but also so you can override the global replacement text on a category level.
7- Global, categorical, or individual replacment value. You can customise the replacement code on a global level, but override it on a category level, or even override that on an individual level which gives you massive versatility.

All is pretty much self explanitory in the readme and the GAL 2.6 thread.

As this is a beta, I would encourage that it is not used on a live board and that you backup your DB and files before running.

edit:

I just updated the package to allow for "'s in the replacement.
Now you can customize the replacements with things like:

For normal:
Code:
<a href='$link' target='_blank' class='DEF' title='$description'>$text</a>
or this to hide the status bar display:
Code:
<a href='$link' target='_blank' class='DEF' title='$description' onmouseover="window.status='$description'; return true" onmouseout="window.status=''; return true">$text</a>
[edit]
I have spent all afternoon and just come up with a way to have the hovering popups!!! Consider it a beta add on for a beta. Once that is working 100% I will fold it into the main package. For now, the instructions are in the current package. It requires a file edit and a template edit.
The rest just works off replacement code that you create.
[/edit]

Like I said - the above is just pseudo code. But I am sure something like that would work (my javascript chugs).

nJoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-09-2005, 07:50 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated package to allow for "'s in replacement variable. Also added a couple of replacement examples in the first post.
  #23  
Old 04-09-2005, 10:36 AM
Frzzy Frzzy is offline
 
Join Date: Jul 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You Geek

Can you add more feature to this hack???

Sometime I don't want to link the keyword to any where, just want to have a popup dhtml tooltip with pre-defined content.

This may use with advertising purpose, or use as a glossary. My site is all about computer thing, and members are going crazy answering repeating question of noobie.

Let's see, when you are "lol"ing... do you want some one ask you "Please, what does 'lol' mean?"
  #24  
Old 04-09-2005, 10:56 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, currently the global replacement is just that - global.
It could easily be modified so that the replacement is on an individual basis (unless left blank - then it uses the global... As easy as it would be to do - I want to freeze functionality to get this released.

All I need to know is:
1- does it do a clean install without problems?
2- does it do a clean upgrade without problems?
3- does it work as intended.

When I get a yes across the board - it will get moved into its release thread.

Ill keep your suggestion in mind
  #25  
Old 04-09-2005, 11:32 AM
Frzzy Frzzy is offline
 
Join Date: Jul 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then save this feature for 3.1, may be 3.5

I'll take a look at the code, hopefully I can submit a patch.
  #26  
Old 04-09-2005, 11:42 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code is pretty simple in flow.

What would need to be done is:
1- Add a replacement field to the gal table
2- Add a textarea box to admincp add & edit link sections
3- Capture the replacement text in the save section
4- Add a check in the functions_gal rebuild_gal_links function to see if that field is blank. If so, use the flow it does now. If not - use the text is contains.

Sounds more difficult than it would be. Since I seem to be waiting around for feedback on how it is now... Maybe ill throw it in and save you a minute.
  #27  
Old 04-09-2005, 11:58 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done (in about 10 minutes!)

Package updated.

You can now have the replacement on an item by item basis - or leave blank for the global setting.

Guys - so far there are 6 installs and I only have feedback from 1 person. Can I get a green light from you guys that have installed that all was well?
  #28  
Old 04-09-2005, 01:41 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
Lizard - I found the problem. I had to go back through the old install files and I finally found the problem.
Run the install or upgrade DB step again with this new package and that should sort you out.

Has anyone upgraded from 2.6 yet?
Doing it now. ON A LIVE BOARD!
6000 users online.... IT BETTER WORK!
Hum... ha. he... muhah ahhahahahhaha HAAAAAAAAA!
  #29  
Old 04-09-2005, 01:47 PM
zachlee zachlee is offline
 
Join Date: Nov 2004
Location: Pgh, Pa
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tired to upgrade. I had to do 3 manual edits, step 100, 200 & 300. What I found was that instead of GAL linking each instance of a word, it removed it. I see the edit box in each item, where we can set variables:
Code:
Replacement code
$link = url
$description = link title
$text is the text replacement.
For example. Every instance of all my keywords were being removed instead of linked. So I set the variable $text = 49ers and I ended up with:
Code:
1. San Francisco  49ers = 49ers
in the forum, niether case being linked.

So I went for the uninstall/reinstall. Same result. Just opened pandoras box on myself, because I mistakingly deleted my backup. Gotta go back a few days in archive.
  #30  
Old 04-09-2005, 01:51 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, whilst waiting around for results, I decided that I would add a category manager to it as well.

This way you can categorize the links and override the global replacement code with a category code (which of course can be overridden on an individual level).

Man alive this has to be complete now dont you think?

So much for the feature freeze

If you have already installed - Run the installer but do the following individual steps:
1- DB
2- Phrases

Then click the manual file changes and redo Step 200.

nJoy
  #31  
Old 04-09-2005, 01:52 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zachlee
I tired to upgrade. I had to do 3 manual edits, step 100, 200 & 300. What I found was that instead of GAL linking each instance of a word, it removed it. I see the edit box in each item, where we can set variables:
Code:
Replacement code
$link = url
$description = link title
$text is the text replacement.
For example. Every instance of all my keywords were being removed instead of linked. So I set the variable $text = 49ers and I ended up with:
Code:
1. San Francisco  49ers = 49ers
in the forum, niether case being linked.

So I went for the uninstall/reinstall. Same result. Just opened pandoras box on myself, because I mistakingly deleted my backup. Gotta go back a few days in archive.
Whats the global replacement value (in settings).
Use the one listed in the first post in this thread that says normal
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04922 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete