View Full Version : GAL 4.65 Release Discussion
The Geek
12-01-2005, 04:34 PM
I have uploaded a new version of GAL, the linker of choice by dog breeders everywhere.
This addresses the issue of keywords getting linked inside of popups (which of course causes a lot of woe).
Thats not all though. I have radically re-worked the javascript to pave the way for future development. Its only about 1/2 way done - but already we get some improvements:
1- Better coding for popups going off screen to the right
2- RTL support
3- Timer support
I best explain the last 2 items.
I have enabled GAL to popup from the bottom right corner for Right To Left languages. However I haven't finished putting that into the admincp!
To enable RTL, simply edit the geek/gal/clientscript/gal_popup.js file and change the var gal_opens=0; to var gal_opens=1; (yea, dumb var name now that I look at it).
Timer support is a fundamental shift from how popups currently close. Essentially instead of relying on onmouseout to accurately close a box, a timer is pinged every x amount of milliseconds to see if you are still in the region. This timer is only turned on when the box appears and gets turned off when you leave.
This will dramatically improve support for FF users and especially if you are embedding iframes into your popups with FF.
Yes, you can actually make your popups be web sites ;) think of the possibilities! here is an example: iframetest
No, its not perfect - however its not too shab!
Anyway - to upgrade, download the latest package and upload the contents of upload/forums/ to your forums directory overwriting any previous files.
Then admincp->GAL maintenance->debug->rebuild.
And finally,
nJoy
Lizard King
12-01-2005, 07:29 PM
Working like a charm thanks :)
Fleabag
12-01-2005, 08:32 PM
The iframe support is sweet! Preview a link before clicking it, freaking A!
The Geek
12-01-2005, 08:45 PM
hey, thats a great idea. Didnt even think about that one flea!
Lizard King
12-01-2005, 09:50 PM
I totally agree :) Is there a way to integrate it automatically with GARS ?
The Geek
12-01-2005, 10:00 PM
Im sure there can be ;)
But there isnt an autoatic ability for now.
Lizard King
12-01-2005, 10:12 PM
Im sure there can be ;)
But there isnt an autoatic ability for now.
I know there is none for now :) but this is my main goal as i am using gal mainly integrated with gars.
Fleabag
12-02-2005, 01:55 AM
It's still pretty easy to do yourself mind, so shouldn't take too long.
RBasil
12-02-2005, 01:57 AM
Upgraded and working great. Thanks!
The Geek
12-02-2005, 06:59 PM
I just uploaded a new package with a mega minor update.
Essentially, I was getting annoyed that the box would close if you didnt move mouse over it - so I improved the javascript file so that the box will stay open if you are hovering over the link OR the popup.
To update, all you need to do is replace the upload/forums/geek/gal/clientscript/gal_popup.js file.
nJoy
Lizard King
12-02-2005, 07:59 PM
Geek is there a easy way to add some effect when the popup is closing ?
The Geek
12-02-2005, 11:14 PM
Sure, it would just require an edit to the js file. But its not something I have planned to do. Heck, I dont even know any effect tricks so I havent really looked into it :)
Lizard King
12-03-2005, 01:09 AM
Heck, I dont even know any effect tricks so I havent really looked into it
same in here :)
NCangler
12-03-2005, 04:30 AM
Hi Geek. I just uploaded the new files and I can't figure out how to get the linked text looking correct. I'm attaching a photo of how it is showing up and here is the page where you can see it. It is in the first post 'NCangler'. Thanks for any input you can give me on this.
http://www.triumphowners.net/forums/showthread.php?t=1022&highlight=NCangler
Thats because you did a search and vB highlights it.. Look now at the same link without the highlight added.
http://www.triumphowners.net/forums/showthread.php?t=1022
looks fine for me
AndreasP
12-03-2005, 09:44 AM
iframe and effects: Those things are only working with IE.
Have a look at one of my sites: http://everest.trekking.nepal.st, open a map and choose a link in the navbar at top of the page. I use iframes and it's perfect to keep the main thing opened while directing users towards guestbooks, or paypal-donation 'on the fly' :D .
Would be great if those effects would be integrated in GAL and GARS ;)
Andreas
*just waiting for a final release, then buying*
The Geek
12-03-2005, 12:54 PM
GAL is final :)
and the iframetest works in FF as far as I can tell :)
Lizard King
12-03-2005, 01:15 PM
Andreas is there anyway you can share some effects i saw on your site with us :)
How do you implement the iframe into a link ?
The Geek
12-04-2005, 09:31 AM
Here is the code for iframetest - just put it in your description
<iframe src="http://www.amazon.com/gp/product/B0009A1AGY/104-9443385-0616731?v=glance&n=5174&s=music&v=glance" width="100%" height="450px" onmouseover="GAL_keepopen();" onmouseout="GAL_hidepopup();">Your browser doesnt show Iframes!</iframe>
AndreasP
12-04-2005, 03:02 PM
... the iframetest works in FF as far as I can tell :)Yes you're right! What I've meant was that those effects are not working with FF, you know like fading, sliding in etc.
Andreas is there anyway you can share some effects i saw on your site with us :)Sure I can! Would be great for GAL! Especially with this iframe-thing. Because what I'm still missing is the possibility to have the layer fixed and could only be switched off again by klicking (x), like is it on my site.
The JS-code could be made 'dynamic' that users are able to set the wished effects themselves in their CP.
But please give me a couple of days as I'm quite busy these days. I've to finish some projects soon which nails me into office...
Andreas
Bit of a typo in the GAL popup..
auto highlighting key words is posts with links and/or popups.
IN posts. Not IS posts. :)
dbembibre
12-07-2005, 11:16 AM
Is the 4.65 B a new version of 4.65 brunch ?
Lizard King
12-07-2005, 11:57 AM
yes it is.
The Geek
12-07-2005, 12:59 PM
yes, it takes care of a couple of double linking issues. :)
KW802
12-08-2005, 04:33 PM
Geek,
Am I misunderstanding the "Standard Link" option in the categories.... I created a new category that I specified as "Standard Link" and assigned my replacement to that new category but I still get a drop-down box for like the usual drop-down type links.
Would the Standard Link option not suppress the drop-down?
Thanks,
Kevin
The Geek
12-08-2005, 05:37 PM
Yes, there wont be a popup box on a standard link. What is the replacement code you are using for the standard link?
KW802
12-08-2005, 07:42 PM
Yes, there wont be a popup box on a standard link. What is the replacement code you are using for the standard link?A picture is easy to explain so I'm attaching pics of my category settings and the link entry. :)
The Geek
12-08-2005, 10:20 PM
Sorry - what I mean is what is the replacement code for Standard Link - that one is giving you the popup for sure.
KW802
12-08-2005, 10:35 PM
From the install (I haven't modified the replacements yet....)
<a href='$gal_link' target='_blank' class='gal' onmouseover='GAL_popup(this,"$gal_offset", $gal_width, "$gal_box_style", "$gal_description", "$gal_description_style", "$gal_title", "$gal_title_style");' onmouseout='GAL_hidepopup();'>$gal_text</a>
EDIT: ... and I see that the code Standard Link has changed at some point in time. :p I'm updating it now with the version from the readme file.
DerTobi75
12-23-2005, 09:36 PM
Timer support is a fundamental shift from how popups currently close. Essentially instead of relying on onmouseout to accurately close a box, a timer is pinged every x amount of milliseconds to see if you are still in the region. This timer is only turned on when the box appears and gets turned off when you leave.
I set that timer variable to 5000 but nothing changed! When the mousepointer leaves the link, the box disappears in the same second!
Merry Xmas to all of you,
Tobi
The Geek
12-24-2005, 09:52 AM
can you provide a url?
DerTobi75
12-24-2005, 10:32 AM
http://www.cheerforum.de/wie-seid-ihr-auf-cheerforum-de-gestossen-t5117.html
cheerforum.de in the first posting...
Tobi
The Geek
12-24-2005, 10:40 AM
hmmm. Its tough to say. You changed it in the .js file right?
What happens is that a timer fires off every x amount of milliseconds. If the mouse doesnt appear to be in the region on the fire - it closes shop.
However the timer could have JUST fired before you come off it, of it could fire just as you leave it.
What are you trying to accomplish? It seems to work quite well from here?
DerTobi75
12-24-2005, 10:55 AM
Uhm, I try to clear my cache! Maybe, that will work?!
Edit:
No, didnot change anything. Anyway, have to leave for all that xmas & family things. I'll be back after the weekend ;)
Tobi
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.