Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 04-09-2005, 04:10 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

Just updated package to 2.04

THis is just a minor fix where I made the unknown category hardcoded so it couldnt be deleted or editied. THat way all existing links will appear in unknown if not assigned to a category. In Lizards situation - the unkown category ID was 1 but all his existing links were category 1, therefore they were not appearing (even though they are still there). This fixes it.
To upgrade from 2.03, just replace the GAL_admin.php file. Oh, and rerun the install->phrases path of the new install file to insert the latest phrases.

If Unknown is showing up in your category display (where you can edit/delete) just change the name or delete it as it is not needed anymore.


Thanks. Think we are alomst there
  #43  
Old 04-09-2005, 04:37 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everhthing is working perfect
  #44  
Old 04-09-2005, 04:50 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One quick tip. If you have previous gal and entered some auto link variables you have to edit them , paste the replacement variable
Code:
<a href='$link' target='_blank' class='DEF' title='$description'>$text</a>
and then change the categorie to secopnd unknown. Otherwise it is not autolinking.
  #45  
Old 04-09-2005, 05:01 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

Hey Lizard - not sure what you mean.

If there is no global replacement text, or category text, or item text, it should substitute the above for you. (Make sure you have the latest functions_gal.php file).

The replacement order goes:

Is there an item specific code?
yes -> Use it
No -> Is there a category code?
yes-> Use it
No->Is there a global replacement?
Yes->Use it
No->Use hard coded default (the one you posted).

Let me know if that is not how it is working for you.
  #46  
Old 04-09-2005, 05:04 PM
Frzzy Frzzy is offline
 
Join Date: Jul 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm... step 200 and step 300 have to be manually applied.

It's my fault, since I was move the placement of the code, but maybe you can improve it by not searching for:

// *************************************************
if (can_administer('canadminstyles'))

Just search for:

//=== GEEK AUTOLINK step 4.2 ===
$printhr = true;
construct_nav_option($vbphrase['GAL_display'], 'GAL_admin.php');
construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=add');
construct_nav_option($vbphrase['GAL_settings'], 'GAL_admin.php?do=rebuild');
construct_nav_group($vbphrase['GAL_CP']);
//=== /GEEK AUTOLINK ===

That's step 200. Now I'm going to do step 300, report going after...
  #47  
Old 04-09-2005, 05:09 PM
Frzzy Frzzy is offline
 
Join Date: Jul 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Step 300 has the same problem, but this is my fault to have extra linebreak after the last comment.

This may break the code if it's the fresh install, but if the previous has been installed and worked, maybe just do the search from the start comment to the last comment is enough.

Just my 2 cents.

After all, it worked

Thank you Geek.
  #48  
Old 04-09-2005, 05:21 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

Hi Frzzy.

I am stumped as to what you mean. Clean installs are a bit o cake. Upgrading is a little more challenging.
THat said - there are really only 3 file edits at the most anyway.

Did you upgrade from 2.6? I thought you were doing a clean install.
  #49  
Old 04-09-2005, 05:44 PM
Frzzy Frzzy is offline
 
Join Date: Jul 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya Geek,

I installed 2.6, it work great... then I think maybe it's better if it can popup a tooltip, then I go here and ask for it... then I found out about 3.0

It worked well here... I'm tweaking the replacement code, since I dont' like the "title" attribute tooltip
  #50  
Old 04-09-2005, 05:54 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

I would love a floating popup tooltip too. Just dont know how to do it.
You should be able to include $post variables as well (like the post id) which may help someone develop that - but once again... Im not sure how.

The way this version has been designed was to give someone the flexability to do that though.

Let me know how you get on.
  #51  
Old 04-09-2005, 07:02 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting... the install went well. Had to do 3 manual edits, but everything else was fine.

The links don't work though. Just plain text now.

How would I go about finding what the problem is? Thanks!
Closed Thread


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 02:55 PM.


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.04549 seconds
  • Memory Usage 2,308KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (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_postinfo_query
  • fetch_postinfo
  • 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