![]() |
I am scared to upgrade.. I tried to upgrade the articles hack and it didnt work right. :(
|
there is a tiny bug.
Quote:
Quote:
because it looks like you had them defined somewhere else also, causing the link to show the title with double single quotes ''....'' instead of '....' like the other tags and therefore not displaying the title. Once I removed it in description, then it displayed the tag '....' bad example: <a href='http://www.ap.org/' target='_blank' class='DEF' title=''International News Agency''>Associated Press</a> |
Using the code you provided for the popup ability :-
Code:
<div id="GALBox" |
Quote:
TTG - its in the javascript. Open vbulletin_menu.js and its right at the top (in one of the functions you added). Look for toppx=toppx-(number) and change number to whatever offset you want. You can use 0 however depending on the style of your link - it could cause intermitten problems. I would use toppx=toppx-1; nJoy |
Great support .. all works well with the upgrade on 3.0.6
Thanks The Geek |
ok. quick question. what version is this if I have the beta version. In other words how would I (if needed) upgrade to 3.
|
Quote:
Aside from that - just overwrite your GAL files with the ones in the latest package. Hope that made sense! |
Sweet. Gish didn't seem to work for me, other than the js file. Anything I can give/show to you to help improve it?
And I'm anxiously awaiting link timeouts after a certain period of time. THANKS MAN! |
Quote:
The good news is that once they have been auto-hacked... future upgrades are much easier. Saying that - Im half tempted to do away with the auto hacking for smaller file changes as no one ever seems to read the README. For something like GAS its essential as there are many file edits. For this - its could go either way. Enough of a rant :) Just do the js fiel change manually. GISH errs on the side of caution and wont touch the file if it doesnt think its 100% safe to. As far as timeouts - I am planning on an optional integration between GAB and GAL so that people can place adverts AND key words however this may be a few weeks away. |
Your coding skills are only matched by your bostaff skills and nunchuck skills.
|
Quote:
|
Quote:
|
Are replacements case sensitive in safe mode?
|
nope
|
Quote:
I've installed it and it's working great. Just one more question. Is there a change I can make to that in safe mode it will require a space after but not before. IE. Currently in safe mode if I were to put link here it would not autolink it, but if i put link here (with space before and after) it will. |
I have a small problem. Three times I have chosen to live dangerously, three times the settings reverted themselves to safe mode.
|
Ill look into it later today for you.
|
I downloaded, opened it up to /forum, and uploaded. It didn't ask to overwrite anything on a fresh install. When installing, everything claimed to be successful except step 200, which I edited manually with no problem.
I added a word/url combo in the admincp, but - no linkie! What did I miss? |
odd. I just checked mine too and it isn't working.
|
I just rechecked all the edits and stuff. Was I supposed to totally remove the old version first?
|
I didn't have the old version.
|
Quote:
I also found that it won't link words if there is puntuations around them. I had tried to make a list of the words that I had added for my mods and they were listed separated by commas.... they wouldn't link. Drove me insane for about 20 minutes trying to figure out why it wasn't working. No big deal tho, as I don't expect the words and phrases to be things that people list. |
Remember that the changed files are in gish/gal
You shouldnt of had to remove the earlier version - just double check the file edits are up to date. |
Quote:
|
Whoa. I see my problem. I didn't actually submit the thread, only previewed it. I thought that worked on v2.0, but certainly doesn't on v3.0...
|
Just ran into what appears to be a slight bug. I had been running in safe mode with the Link replacement limit set to 0 - all was fine. I changed the link replacement to 2 and it breaks. Instead of autolinking at it should, it adds the description text into the body of the post and links it as well as the autolink word/phrase, resulting in (some cases) two or three lines of linked text.
Any ideas? On the replacement limit itself, it would be nice if that could be done on a link by link basis rather than globally - certain links limited while others aren't. |
ill look into the limit bug when I can get my server back up and running (its currently down due to DNS woes).
As far as limiting per item - not really possible without overly slowing things down. THe replacements are done in one pre_replace call. Otherwise each link would have to be replaced in a loop. If you have 50 links in a thread showing 15 posts, thats 750 replacment calls instead of one! Hope you dont hold it against me :) |
i did the install - i set up a sample keyword - logitech - http://www.talkshack.com/showthread.php?t=8
and nothing - what could I be missing? Thanks for a most excellent addon (once I get my copy working). :) --Tone |
Quote:
Thanks for explaining the limit thing, I figured there was a good reason. |
Quote:
|
ok - so I did not undertand (yes I DID read it) the manual - you need to copy the files that the script creates in the /gish/ directory.. sorry - that wasn't clear to me.
Wolfyman.. did you get that? it's a real neat way of doing things actually - kudos to The Geek... Thanks, --Tone |
I do have one question though... in your thread... http://www.thenailgeek.com/showthread.php?t=11011
doing a mouse over - there's a 2nd link in there.. how can I do that? let's say I want to add a <more> link instead or with the normal text link (in other words, add a more info link inside of the description like you have it); how would I do that? --Tone |
I end up with these files - /forum/gish/gal/3.00/.. I need to copy those into the main directory........ ooooooooooh
|
Geek, I just joined the masses. Thanks buddy :D
|
When clicking "save ordinal" on "display" in the adminco when there are no links/ordinals entered, you get this error;
Warning: Invalid argument supplied for foreach() in /admincp/GAL_admin.php on line 425 |
Ill look into it today (along with the danger and limit bug) most likely later tonight. I just got my own server back up and running.
Shackbase: use the $url variable in your description to get a link to appear. You can also put HTML in the description when using popups - however DO NOT put any text in that could break a line (ie. <br /> or <p> tags). You can do physical line breaks - but all spaces are changed to otherwise your javascript will error. |
Quote:
|
Quote:
|
can someone explain what the ordinal is and what else I can do with the bottom field in GAL?
(Replacement code $link = url $description = link title $text is the text replacement.) |
Quote:
the lower the number, the more precedence it has. So if you have 'my name is bob' and also 'bob' as replacments, you want the first to have a lower ordinal so it gets replaced first. Otherwise only the second will get matched. $link=url $description=description $text=replacement text $url=a rolled up version of $link and $text. Essentially, $url produces the following html: <a href='$link' target='_BLANK'>$text</a> So when using a popup, you can stick $url in the description and it will give you a link (this was mentioned a few posts back). You can also use html - but I would caution not to use anything that would give you a line break as it can break the variable sent to the popup javascript. Technically, you could also use some posbit variables too. Hope this isnt to confusing ;) |
All times are GMT. The time now is 08:10 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:
|