![]() |
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 ;) |
everhthing is working perfect
|
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> |
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. |
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... |
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 :D Thank you Geek. |
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. |
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 :D It worked well here... I'm tweaking the replacement code, since I dont' like the "title" attribute tooltip :) |
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. |
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! |
Quote:
|
Ah ha! I moved the created files from the "gish" folder back into their respective locations in my real forums and that fixed it.
Works now. Try that zachlee. |
Quote:
Also - I just updated the package to help with empty replacement settings. If you have 2.04, just replace functions_gal.php and GAL_admin.php with the latest from 2.05 |
zachlee and 006 try to do the way i explained in here and put the links in dangerous mode. This way the links will work.
Geek I checked everything but if you will not do it like this then it is not linking. |
Mert - did you try the latest functions_gal and GAL_admin in 2.05? It looks to sort it.
|
Quote:
SO, I edit those three files manually. When I go into the gish/gal/3.00/ folder, those are the same three files that I manually updated. What exactly am I to move over, if I make those edits manually, what else needs copied over. For ++++s and giggles, I backed up those 3 files, moved them from the gish folder, and still nothing. I am not sure what I am missing, since I have removed all remnants of 2.6 (includeding db entrys) |
Well I deleted 3 of the datastore rows with gal_ in front of them trying to get rid of all my links so I can start over. (Somehow after deleting them they still showed up).
Now no links work. How do I get the rows back lol! |
Zachlee, I am not sure what you mean.
If you manually edited the files... did you do it on the run time files or the ones moved to gish/gal/3.0? If you edited the ones in gish, then those are the ones to move over. If you manually edited your actual files, then dont copy the gish ones over. 006 - whenever you do anything in the GAL_admin page, it rebuilds the datastore of links. It pulls the links from the geek_autolink table. Delete those and all will pretty much go bye bye |
Well I totally uninstalled. I was going to reinstall, but the file edit changes show up blank?
Also, how soon after creating an autolink should it take for it to start working? |
Quote:
THe manual uninstall file edits are essentially giving you a delete. Replace x code with nothing. |
Ok will try a reinstall and see what happens. Thanks.
By the way I freaked out when I saw the steps number 100, 200, and 300. At first I thought it made 99 file edits and then found a problem, and made me manually do step 100. I started to get really worried! Of course I didn't back up, and 300 file edits would have been bad to remove if they caused problems. Turned out to only be 3 steps though! Thanks for the scare! :) |
And I meant the edits were blank when re-installing... Makes it hard to do :(
For step 2 it's telling me: PHP Code:
|
:) used to number them 1.01, 1.02 each whole number representing a different file. Not sure why I canged... one of those things.
THere are really only 3 file edits and remember - GISH makes a backup of your files before it starts hacking in GISH/gal/backup - it never touches those. |
Quote:
Found typo and have updated the package to 2.06 Only file that changed was gal3_install.php |
Cool thanks! :)
|
Well, now all is installed correctly, and autolinks do not appear. Didn't forget anything either...??? Actually this hasn't worked for me yet. It was pulling the datastore from my old links when I thought this worked..
|
Quote:
|
Got it working!
I went in and created a Category named all. Then when creating links, you have to make sure you select 'All' (in my case) under category name. just my .02 but there should be a 'default' category, instead of a 'unknown' category. Until I created the 'All' category, it never worked. Now just have to figure what combination I need to do, so that the status bar will display the same for all links. |
Quote:
There is supposed to be a default category. Ill look into it now :( |
I altered my replacement code to:
Code:
<a href='$link' target='_blank' class='DEF' title='Link opens in New Window'>$text</a> What I want to do, is make it so it says that same thing, in the status bar. |
Quote:
|
perfect! everything is working A-OK now. Only thing onmy todo list, is figure out how to get the GAL to parse the text on my vBadvanced CMPS homepage.
Thanks Geek! Do you have a 'wishlist' anywhere? |
Quote:
Only wishlist is to get this working for 006, get a gold release, and some sleep! |
Good wish list! :)
And I actually created a category a while ago thinking that same thing, and it didn't help... Hey Geek, was looking for your email and didn't see it so I am back. I honestly can't think of what I could have done wrong. I never have trouble with hacks! (Well now I do I guess, but this is the first in a while!) :) Those rows were never created again in my datastore table... |
Updated package.
I have spent all day trying to work the popup concept into GAL and think I have finally gotten it! To update from 2.06, just download latest package and replace the GAL_admin and functions_gal.php files. Then follow the instructions of the GAL3popup_addon text file included with the new package. Its as a seperate file right now just through testing. When done I assume I will be folding it into the final package. nJoy |
quick update. The popup add on instructions were fine for IE but not FF. Had to do some adjusting to them and now it works in both.
I also sorted out the need for extra escape characters. To upgrade from 2.07, just replace your functions_gal.php file and the steps outlined in the GALpopup_addon.txt file. |
Alright. Updated package again.
Fized bug where links in unknown were not getting linked. As far as I am concerned... THis should be it (again). Im a bit over the whole thing now ;) Check it out in action (look at the word MMA) http://www.thenailgeek.com/showthread.php?p=109431 |
Ohh... my....
[high]* 007 slaps self [/high] Here's what happened. When I instaleld 3.0, I clicked upgrade. Well, I thought the code edits that it told me were based on what was in my current code, and I ended up leaving Step 2 from 2.0 in my functions_showthread.php file, which obviously caused problems. It's working fine now with 3.10. Sorry for all the trouble! Awesome hack! :D |
Quote:
006 - did you do the popup add on? Just curious as I worked all freaking day on it. nJoy |
Hello Geek, I'm going to upgrade from RC2.05 to RC2.10 (latest)
Is there any DB changes? Or default vBulletin file changes? Or all I have to do is just replace GAL files? I added the popup myself, it work quite well... |
All times are GMT. The time now is 06:57 PM. |
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:
|