![]() |
Sir Flea here again.
One more question: Does this marvelous tool highlight phrases? For example, if I want Catch 22 hyperlinked, will it do so as long as the words are adjacent to one another, or will it hyperlink all instances of "Catch" and "22" individually (I hope not!)? |
Quote:
It will link only Catch 22 if that is what it is set to replace. |
As an FYI - I just found a couple of minor typos in 2.0 GAL_admin.php file that may affect safe mode links (in rare situations). I updated the package to 2.01
To upgrade from 2.0, just replace your GAL_admin.php file with the new one. |
I just installed this, seem to have a little problem, I will get back to you with what is going on after a little digging around.
|
Quote:
|
Another nice mod. Thank you :)
|
Didn't know that you were the brains behind tang ;)
No, seriously, you hurt my feelings! You were keeping this beauty away from me =) So, Sam, if this thing rocks as much as the comments show, why don't you make this one of the ultimate hacks several times requested but never delivered: vB Glossary? Seems simple, just replace the link text field for a text area (or add instead of replace) and link the word to a popup window (or a neat mouseover effect) to display the text! |
Quote:
Any links to any examples would be super. Thanks guys. |
im trying to make the links another color without changing the links everywhere
i see the class defined as DEF but can we add a <span> before the code on the showthread? |
Quote:
I may look toward adding a setting to define the exact replacement. Also - please click the install. Its the only charge for using the hack ;) [edit] BTW: the links are formed on line 66 of your admincp and looks like this: PHP Code:
PHP Code:
Thanks. |
updated package just to fix a couple of typos that were pointed out to me in the install (they dont actually affect the install though so there is no need to upgrade).
|
Sir Geek, 'tis I, Sir Flea.
Is there any way that we can input the words & and the associated links as a set or group? I've got over two hundred stored in an excel spreadsheet and inputing these one-by-one will be torture. Is there some way I can just paste and upload the two sets (words and links) to a file or something....lol |
I like the concept.
This is actually a great idea but... Before you ask, sorry I have not read through this entire thread yet, so if it has been asked and answered sorry. Anyway... I have a tech site, and I have alot of links already throughout the site. I have links to http://www.transcsender.com for example 1) Now, if I add an autolink to transcender so as people type it, it autolinks. Does it go through past posts and set up links, if it does, what will it do to these pre-existing links I have? 2) When I am creating a link to another site, and the name of the site is in the autolinker, what will that do to the link I create? Again, sorry if these questions have been answered, I'll read this thread more carefully tonight. but any help on these questions would be greatly appriciated. Thank you |
Quote:
|
is there a way to keep it from changing anything in [img] tags?
|
Quote:
Tomshawk - safemode is the answer for what you need. There are slighlty fewer matches, but it prevents screwing up any other urls in posts. |
Geek, will you be adding a feature that will allow users to input group keywords and their corresponding URLs?
|
Quote:
|
Quote:
I'll be installing this this weekend ;) Quote:
I have another suggestion as well, The ability to add a description of the site in the autolink, and have it come up in a bubble when hovering over it. Kind of like this http://www.computing.net/windows2003...orum/2751.html Notice the word download in the message, it is highlighted in green. Hover your mouse over the word, and check out the bubble ;) |
Use install and the readme file, but did not really do the database ad, look:
Database error in vBulletin 3.0.3: Invalid SQL: SELECT * FROM geek_autolink ORDER BY text asc mysql error: Table 'mysite.geek_autolink' doesn't exist mysql error number: 1146 Date: Saturday 12th of February 2005 03:19:59 PM Script: http://www.mysite/forum/admincp/GAL_...o=rebuildspace Referer: http://www.mysite/forum/admincp/GAL_...php?do=rebuild How can I do it manual? And you are talking about a include/geek_autolink.php But there is not in the zip file! Only admincp/GAL_admin.php and admincp/GAL_install.php is the file not complet? Thanks for any help! EDIT: Ok did it manual (looking in the PHP file) and works now almost ok! De safemod is not working :disappointed: And if I press the Add new link in the admincp I get : Thats a crummy text replacement and you know it! But at Display it works the Add new. strange! Wow very nice script, thanks!! |
To expand on tomshawk clarification, I thought it would be a good idea for users to somehow add files, containing large lists of keywords and the URLs for each, into the system so they dont have to initially add them in manually. As it stands now, if I were running a music forum, and my ambition was to have practically every mentioned album hyperlinked, Id have to collect the URLs first (which is fine), and then manually enter each one (and the album titles) into the system once theyre all collected. I dont know if its practical in terms of building something like it, but I do know itd be easier.
|
Quote:
I also went through the code and there are TABL_PREFIX's for all calls so once again I suspect an older version. I did however find a typo in the changes to your admincp/index.php file. I updated the readme and noted the changes in the first post (basically replace the GAL_admin.php?do=create with GAL_admin.php?do=add Thanks for that! |
Quote:
I know where you are coming from... but to be honest I am not planning on doing something like that (though it would be really easy to do). One reason why is that you would almost need a moderator ability otherwise a user could really mess up your boards big style. I would rather do the yellow popup box mentioned eariler first - though to be honest I am not even planning on doing that for a little while. I am knee deep in doing some wicked additions to geek articles 3 that I want to focus on. Then I have already started work on geekbay ;) |
First - Clicked Install, nice hack nail geek.
Quote:
find in GAL_admin.php, line 66: Quote:
Quote:
Here's an example from one of our posts (I used the word "Finish" as a test autolink to one of our members' Articles.) Another note on color choice, if you change the autolink color, make the color change in GAL_admin.php, then open up any autolink in adminCP and just hit "Save". One other point on checking to see if a word you want to autolink is included in any url's in any of your existing posts. If you have a downloaded save of your database (YOU SHOULD!), open it up with a text editor and do a search for the words you want to autolink. If they show up inside any urls, you could change one of the words, leave out that certain word, or just use "Safemode". Of course that doesn't help with future posts. It would be nice if you could pick "I wanna play it safe" or "Na, I live life dangerously" for each specific word instead of globally. (Hint - nail geek!) John |
Quote:
I looked at doing it per word... but it seemed excessive as you never know if a word will appear in a link or not. As for the colour choice, why not just alter the DEF css? The one included is just an example (the one I use). |
Hi nail,
Quote:
Quote:
John |
Quote:
If anyone comes up with an idea to input multiple keywords and URLs at once (as opposed to one-by-one), I'm all ears. |
Quote:
Quote:
Quote:
Now the safe mode. I must have safe mode .. It looks bad now Can I do the setting manual?? |
Quote:
The table SQL is in the install file. For safe mode, just clikc settings->Safe mode, and the datastore is built in safe mode. |
Quote:
How can I do it manual.. What does it do? |
In the demo, I noticed that the keywords had a funky looking underline. Does the hack do that this automatically?
|
Quote:
Symbian: How is Safe mode not working? Is that when you get the SQL error? Edit your GAL_admin.php file and search for rebuild_datastore its there that the links are built dpending on your preference to safe or dangerous mode. HTH's |
I'm entering my keywords (half-way done!). I noticed that there is a character limit set for the titles. How do I modify the limit?
Basically, I can enter the keywords normally -- regardless of the number of characters -- but on the display, it will only show a portion of the title if it's more than 20 or so characters. Furthermore, it will only hyperlink the text up to that point, leaving the rest of the text un-linked |
Quote:
|
Quote:
|
Quote:
The #1 problem with replacements is that it takes a word like bob but bobs bob's and it will take things like Bob and turn in into bob as it doesnt take the what it is replacing and merge it with a replacment value. In other words, while it may work for some mild instances, replacements are very very limiting for most situations. HTH's |
Nicely done. Such a simple hack, but with a lot of benefit. Should be a hack of the month candidate.
|
Quote:
|
Quote:
|
Installed...but most of the smileys are not working anymore.
--edit-- w wait... some had the url in it that whas geeked :) Working now. |
All times are GMT. The time now is 07:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|