|
Geek Auto-Linker GAL automatically links keywords that users type in posts to advertising hover pop-ups. |
Advertisement | |
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Glossary term linking to autolink.php ?
I have a glossary term set up in
GAL
. When I click on the term on any page I get taken to:
http://www.Domain.com/autolink.php?id=2&forumid=84&script=showthread This brings up a blank page. If I change the url manually to: http://www.lapbandtalk.com/glossary.php?id=2&forumid=84&script=showthread Then the link works and takes me to this glossary term. Please assist with this issue |
#2
|
||||
|
||||
The autolink.php link is for tracking. If you turn off tracking, the link will be the URL you set for the keyword; otherwise it is the autolink.php link and redirects to the URL you set for the keyword. Try temporarily disabling vBSEO and see if clicking a keyword in a post works.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Hey there,
Thanks for the response. We aren't setting a URL for the Glossary Terms/Linking. If we set an entry as 'Glossary', shouldn't it automatically link the term to it's glossary entry? If not, do we have to manually enter a URL for each glossary term we create? If so, what would this URL be? Thanks for your time. |
#4
|
||||
|
||||
If you want to link to the glossary, then the URL you would use would be:
Code:
http://www.lapbandtalk.com/glossary.php?do=item&id=X
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
Yikes.
Is there any chance you could implement a radio button that would 'link to glossary term' instead of having to enter a URL for every single entry we create? |
#6
|
||||
|
||||
You can edit the gal_admin.php file to add that effect. Find:
Code:
$gal->redirect("display", "GAL_saved_x", $item['title']); Code:
$id = intval($id); if ($id && !$item['url']) { // edit the link between the single quotes to match with your site $url = 'http://www.lapbandtalk.com/glossary.php?do=item&id=' . $id; $items = array('url' => $url); $table = 'gal'; $strings = array('url'); $idcolumn = 'id'; $idvalue = $galdb->edit_x($items, $table, $strings, $idcolumn, $id); }
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#7
|
|||
|
|||
Works like a charm -though I decided to modify your if statement, so that I'm still able to create my own links when needed.
New if statement: So this way, as long as I enter a URL, it won't auto populate with the glossary listing. |
#8
|
||||
|
||||
Sounds good, code in post six edited to add in that effect.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
autolink.php question | najaru | Geek Auto-Linker | 2 | 10-09-2009 06:40 PM |
Can links point to "real URL" as opposed to .../autolink.php?id=1... | JustaQuestion | Geek Auto-Linker | 1 | 09-28-2009 02:52 PM |
Autolink PHP | gldtn | Geek Auto-Linker | 11 | 01-22-2008 07:57 PM |
Modifying forumview.php and showthread.php for GARS only? | Lars-Christian | Geek Article and Review System | 9 | 04-11-2007 06:20 PM |
Changing from index.php to forum.php? | Michael | Lizard Lounge | 2 | 10-04-2005 03:27 PM |