Log in

View Full Version : Geek AutoLinker 4.02


Pages : 1 2 [3] 4

TTG
05-11-2005, 09:05 PM
ttg - no word on offset problem. Is it a problem for you?


popups cover text .. really need to move 'em

libertate
05-12-2005, 01:20 AM
Here is some feedback geek.

The new update 4.01 no longer gives the error, and also replaces the text, but not with the replacement text, but with blank.

My default setting for replacement is
<a href='$gal_link' target='_blank' class='DEF'>$gal_text</a>

It inserts a space char, instead.

...AH!!! Sorry. Cought myself before hitting post. I ran debug/rebuild, and now it works! ALL WORKS!

You are the MAN!

...except I still get a javascript error of object undefined... and no popup description.

kevinrstruck
05-12-2005, 03:22 AM
YIKES. I get this when one of my keywords comes up:

href='autolink.php?id=31&script=showthread&forumid=16' target='_blank' class='DEF' onmouseover='GAL_popup(this,1, 0, "style=\"border: 1pt solid #000000;background: #FFFFCC;padding: 1px;font: 8pt;\"", "", "class=\"border: 1pt solid #000000;background: #FFFFCC;padding: 1px;font: 8pt;\"", "Sponsor ThePhotoStation.net", "style=\"border-top: 1px solid black;border-left: 1px solid black;border-right: 1px solid black;background: #CCCCCC;padding: 1px;font: 8pt;font-weight: bold;color: #000000;\"");' onmouseout='GAL_hidepopup();'>

That is the keyword.

What did I miss or do wrong. I went through all the file edits manually, maybe I missed one or did one wrong?

Example Thread: http://thephotostation.net/forums/showthread.php?t=12780

Anyone have any idea??? THis is really screwing up my forums. I know I did something wrong, just need a little help finding it...

Anyone?

venomx
05-12-2005, 03:30 AM
Recheck the code in the replacements code..

I looked at the page source and it shows...

<div><a <a href='autolink.php?id=30&sc...
See the double <a there?

venomx
05-12-2005, 03:32 AM
Your code is really messed up.. Are you using safe or dangerous mode?

kevinrstruck
05-12-2005, 04:17 AM
I was using safe mode. I just uninstalled the mod, and will start from scratch tomorrow. I tripple checked every file edit and could find nothing. I pasted the replacement code above but here t is again:

<a href='$gal_link' target='_blank' class='DEF' onmouseover='GAL_popup(this,$gal_offset, $gal_width, "$gal_box_style", "$gal_description", "$gal_description_style", "$gal_title_prefix $gal_title", "$gal_title_style");' onmouseout='GAL_hidepopup();'>$gal_text</a>

So that was not it. Why it was putting the double <a in there is beyond me.

Well, fresh start tomorrow...see what happens...time for bed now.

Thanks.

The Geek
05-12-2005, 05:51 AM
I was using safe mode. I just uninstalled the mod, and will start from scratch tomorrow. I tripple checked every file edit and could find nothing. I pasted the replacement code above but here t is again:

<a href='$gal_link' target='_blank' class='DEF' onmouseover='GAL_popup(this,$gal_offset, $gal_width, "$gal_box_style", "$gal_description", "$gal_description_style", "$gal_title_prefix $gal_title", "$gal_title_style");' onmouseout='GAL_hidepopup();'>$gal_text</a>

So that was not it. Why it was putting the double <a in there is beyond me.

Well, fresh start tomorrow...see what happens...time for bed now.

Thanks.
Kevin - if you set it back up and have woes - do debug->rebuild. Failing that - drop me an admin account via PM and ill look into it. From what venom was saying - there is something wacky going on.

The Geek
05-12-2005, 05:53 AM
popups cover text .. really need to move 'em
ttg - ill check into again tonight and sort it for you. However the popup has to cover SOME of the text. Otherwise the popupwill lose focus

venomx
05-12-2005, 06:40 AM
Yeah his had what looked like replacement inside a replacement...

T3MEDIA
05-12-2005, 10:43 AM
all of a sudden... photopost index.php page wont load.
almost as if the file is deleted but it is there.
the admin of photopost says it must be javascript... any ideas?


This is the only hack for that system.bump...
could the ccs and javascript fromt this hack affect vb intergration with photopost?

The Geek
05-12-2005, 11:11 AM
bump...
could the ccs and javascript fromt this hack affect vb intergration with photopost?
Not to my knowledge.

I couldnt for the life of me see how the two are connected. PP is a pretty seperate system. Can anyone else with PP verify?

T3MEDIA
05-12-2005, 11:14 AM
Can some one do a test for me???
the linking word is dating
Title Master Dating
expires (blank)
link (what ever)
ingore threadid pick where this word will be
description:
First impressions can easily<BR>make a difference; here are a <BR>few other ideas on how to keep <BR>her wanting more.
ordinal 50
category links

now create a new link that goes to a differnt url but use the word date as the linking word.

the system goes buggie on me over that.

also I dont konw if it has been addressed but if you put a ' in the title it will ruin the pop up. like a "woman's love"
Remember we are talking about the title.

T3MEDIA
05-12-2005, 11:18 AM
Not to my knowledge.

I couldnt for the life of me see how the two are connected. PP is a pretty seperate system. Can anyone else with PP verify?photopost index.php does intergrate with vbulletin's ccs and javascript.
there is a option to intergrate with it.

Resason why I ask is because there is a forum that has this linking software and photopost. photopost index.php is no longer working.

So I wanted to verify if that could be a reason.

The Geek
05-12-2005, 12:15 PM
Hey t3media.

are you saying that you and another site are having problems? Or is this just a site you know of that is having problems?

I have photopost (but dont use it anymore) and I dont seem to have a problem. The CSS wouldnt make a difference - nor could I see any JS making a difference. The pnly part that could cause a possible conflict would be that global.php includes the GAL include file (but wouldnt use it unless a fuinction was called). That alone should cause a problem but I am more than happpy to look into it if I can get some details PMed to me.

Thought I had sorted the apostraphe in the title. Ill do that tonight. Have you debugged->rebuilt? Are you running in danger mode?

CosmicBlend
05-12-2005, 01:15 PM
The Geek - Your mods are so freaking popular.. im pretty sure i saw AutoLinker on HowardForums.com That site is huge..

Watson
05-12-2005, 03:12 PM
I am just wondering, what would be the best people to contact regarding this, cause obviously it wont work with google ads, but would you need to have a site sponsor in place to get them to have auto links? Or would you just advertise the fact that you sell links to words?

Just wondering what others have done, would like to add this hack to my site :)

The Geek
05-12-2005, 03:34 PM
I am just wondering, what would be the best people to contact regarding this, cause obviously it wont work with google ads, but would you need to have a site sponsor in place to get them to have auto links? Or would you just advertise the fact that you sell links to words?

Just wondering what others have done, would like to add this hack to my site :)
For now, just advertise you sell keywords. In the future - you will be able to use GUSH to sell them (ha! gush).

Lizard King
05-12-2005, 03:37 PM
For now, just advertise you sell keywords. In the future - you will be able to use GUSH to sell them (ha! gush).
GUSH :p what is it going to be :p

The Geek
05-12-2005, 03:39 PM
HowardForums.com

Wow that place does look kind of massive. 3,669 currently active users? Sheesh. Howies a busy guy.

The Geek
05-12-2005, 03:40 PM
Geek Ultimate Sponsor Hack :)

I wont start a hack until I come up with a lame acronym. I am decoupling GAB from the front end I was making as GUSH will optionally tie the two togehter. Allow users to purcahse GAL's and GAB's :P

kevinrstruck
05-12-2005, 03:59 PM
Kevin - if you set it back up and have woes - do debug->rebuild. Failing that - drop me an admin account via PM and ill look into it. From what venom was saying - there is something wacky going on.

Thank you sir. I did do the debug/rebuild as stated in your instructions, but it did not work. I will be trying this again later today. I will let you know.

Thanks!

Lizard King
05-12-2005, 04:07 PM
Geek Ultimate Sponsor Hack :)

I wont start a hack until I come up with a lame acronym. I am decoupling GAB from the front end I was making as GUSH will optionally tie the two togehter. Allow users to purcahse GAL's and GAB's :P
Are you going to wait for vBulletin 3.5 for this or release it before that :)

The Geek
05-12-2005, 04:23 PM
Are you going to wait for vBulletin 3.5 for this or release it before that :)
I thought the next release was 3.1? I have already done much of the legwork so we shall have to see. I doubt it will be overly difficult to port over any previous work anyway (fingers crossed)

venomx
05-12-2005, 04:28 PM
Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE geek_autolink SET view=views+4
WHERE id=
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

mysql error number: 1064

The Geek any ideas why I am getting this error when the cron runs? :(

fly
05-12-2005, 04:57 PM
Yikes. I'm still getting a boatload of errors. I'm just rolling it back for now. I'll go through it tomorrow or maybe there will be an update by then. Sorry for the lack of info, but I'm really pressed for time.
Excuse this post. Apparently it was my error, as I was able to install today without issue. Thanks again!

greenhybrid
05-12-2005, 05:00 PM
So, I have to uninstall Gal3 and re-install Gal4? No upgrade?

The Geek
05-12-2005, 05:04 PM
So, I have to uninstall Gal3 and re-install Gal4? No upgrade?
There is an upgrade option in the installer

venomx
05-12-2005, 05:05 PM
SO I am the only one who has the problem with the cron? :(

venomx
05-12-2005, 05:08 PM
This is the line giving the error.. :(
$DB_site->query("UPDATE " . TABLE_PREFIX . "geek_autolink SET view=views+" . intval($value5) . "

Lizard King
05-12-2005, 05:24 PM
I thought the next release was 3.1? I have already done much of the legwork so we shall have to see. I doubt it will be overly difficult to port over any previous work anyway (fingers crossed)
http://www.vbulletin.com/forum/showthread.php?goto=newpost&t=138544

check this announcement :)

T3MEDIA
05-12-2005, 05:42 PM
Hey t3media.

are you saying that you and another site are having problems? Or is this just a site you know of that is having problems?

I have photopost (but dont use it anymore) and I dont seem to have a problem. The CSS wouldnt make a difference - nor could I see any JS making a difference. The pnly part that could cause a possible conflict would be that global.php includes the GAL include file (but wouldnt use it unless a fuinction was called). That alone should cause a problem but I am more than happpy to look into it if I can get some details PMed to me.

Thought I had sorted the apostraphe in the title. Ill do that tonight. Have you debugged->rebuilt? Are you running in danger mode?Photopost header-inc.php calls
require_once('./includes/functions_newpost.php');
require_once('./includes/functions_showthread.php');

and a few others.

fly
05-12-2005, 05:50 PM
http://www.vbulletin.com/forum/showthread.php?goto=newpost&t=138544

check this announcement :)
Whoa.

greenhybrid
05-12-2005, 06:14 PM
The script is chopping off my replacement text after 25 characters. Why??

The Geek
05-12-2005, 07:22 PM
The script is chopping off my replacement text after 25 characters. Why??
green - can you give me a url?

vb3.5 looks freaking great. I doubt GAL and GAB will need much reworking but I have a feeling that gas is going to be a right butt pain to update.

greenhybrid
05-12-2005, 07:30 PM
Not really. I just added a replacement with more than 25 characters and when I went back to the display, it chopped it off.

fly
05-12-2005, 07:30 PM
I say you develop GUY next. Then merge GUY and GAL. Can I watch?

Lizard King
05-12-2005, 07:35 PM
green - can you give me a url?

vb3.5 looks freaking great. I doubt GAL and GAB will need much reworking but I have a feeling that gas is going to be a right butt pain to update.
I agree with you but i believe GAS is one of the best mod i have ever installed in my board :)

The Geek
05-12-2005, 08:02 PM
green - which field and which page? It looks OK and then you save, go back and its chopped?

If I make GUY and put it together with GAL - we will end up with GITs

Lizard - thats the nicest compliment Ive had ;) thanks!

Right - have been working on a couple issues and I seem to have resolved them. I am just starting to put together an update (its pretty minor). But it addresses:
Apostraphes in title breaking popups
Keywords in titles messing up matches (if you have another keyword in a title, it will break it... think Lionel or someone brought this up this morning).
Sorting out GAS interop. This will require a new release of GAS though it will really only be a file change. I am planning that the synopsis will be the description.
There is still a bug with the offset feature where no matter what its set to, the value is always 1.

I was hoping to repackage tonight but Im a bit knacked so Im going to skip until tomorrow as I dont want to miss anything.

venomx
05-12-2005, 09:12 PM
Geek any idea on my cron problem???

T3MEDIA
05-12-2005, 09:53 PM
I guess no one knows about photopost then.
Geek can you make this with a off button or something in the admincp?

Lionel
05-13-2005, 03:29 AM
I just upgraded to latest 4.01 30 minutes ago.

looks like we still have the threads not being ignored or did I do something wrong?
How can I change the font size inside a box style? it's non responsive
I still get a blank page when submitting an article with GAL in the box.

Lionel
05-13-2005, 04:02 AM
Fireworks is not displaying the autolinks. I did a view source and this is what I got. Are we supposed to get the backslashes in the html?

(<a href='autolink.php?id=10&script=showthread&forumid=55' target='_blank' class='DEF' onmouseover='GAL_popup(this,1, 0, "style=\"border-top: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;border-right: 1px solid black;background: #F5F5FF;padding: 0px;font: 7pt;\"", "International News Agency", "class=\"border-top: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;border-right: 1px solid black;background: #F5F5FF;padding: 0px;font: 7pt;\"");' onmouseout='GAL_hidepopup();'>Associated Press</a> )

Lionel
05-13-2005, 04:14 AM
I removed all the quotes and fireworks displays, however I still cannot control the size of the font for description. I do for title.

<a href='$gal_link' target='_blank' class='DEF' onmouseover='GAL_popup(this,$gal_offset, $gal_width, $gal_box_style, $gal_description, $gal_description_style);' onmouseout='GAL_hidepopup();'>$gal_text</a>

edit: forget that. While it displays popup in fireworks, it gives a javascript error in IE

Lionel
05-13-2005, 05:03 AM
Hi Geek, this what I got so far from latest upgrade. The biggest one is GAS into GAL not working. Before I used to insert even with blank page. What's more, all those GAL into GAS from before upgrade disappeared.


GAS does not insert in autolinks anymore
GAS still gives a blank page when inserting autolink
GAK Will not accept comma separated list
Ignore thread is not ignored]
Can't display popup in fireworks
Phrases missing in stats (even after rebuilding phrases cache)
Can't control font size of description in popup

The Geek
05-13-2005, 05:54 AM
view source and this is what I got. Are we supposed to get the backslashes in the html?

Lionel - have you tried debgu->rebuild? WHats odd is there really are not phrases in the stats (most words are hard coded except for the months), you can control font size through bbcode or the inline css, ignore thread is working here for me, not sure what u mean by popups not working in fireqorks, as mentioned a couple posts back - I have the gas integration done.
Both packages should be updated tonight.

ps - dont know what GAK is - I havent made that one yet ;)

Lionel
05-13-2005, 05:55 AM
Geek I sent you a PM. Please read it

Lionel
05-13-2005, 06:17 AM
Sorry but ignore is not working here and the inline css does not do anything for font size

T3MEDIA
05-13-2005, 12:09 PM
ok geek can I have a simple text file or something that has the modifications you have done? I removed all files and it works (photopost)

So your hack does something to restict the index.php of photopost.

But your install is frustrating when your trying to debug. Its awsome otherwise but I need to see what happend where and the upgrade etc I not not 100% sure what text goes where.

Thanks.

The Geek
05-13-2005, 12:15 PM
just run the installer, click the upgrade or install path... then at the bottom of the next page will be a link for the Manual install listing. This will take you to a listing of each file change in order.

Lizard King
05-13-2005, 01:11 PM
Geek GAS does not insert in autolinks anymore i also have the same problem here.

The Geek
05-13-2005, 01:18 PM
Geek GAS does not insert in autolinks anymore i also have the same problem here.
sorted - new release is tonight or tomorrow

Hang tight ;)

venomx
05-13-2005, 06:31 PM
Guess I am the only one with the cron problem. Wish I could get help. :(

The Geek
05-13-2005, 06:37 PM
Guess I am the only one with the cron problem. Wish I could get help. :(
found the problem Venomx.

Package updated. Upgrade instructions at bottom of readme. Minor really but fixes everyones bugs they mentioned. GAS is about to get updated to with a minor file change to sort out the gas/gal integration

Lionel
05-13-2005, 09:45 PM
ignore thread still not working for me after latest upgrade to 4.02

I put 21267 in ignore box in GAL admincp for that thread (http://www.haitiwebs.com/haitianforums/showthread.php?t=21267)

Is that the proper way to do it?

Lionel
05-13-2005, 09:57 PM
Over here (http://www.haitiwebs.com/haitianforums/showthread.php?t=21266), that seems to work for post number. The thread is 21266 but I put the link in gal as showthread.php?p=41643 and ignore as 41643

Edit: That was not that. That one was not linking at all because of the accent on "?"

T3MEDIA
05-13-2005, 11:51 PM
ignore thread still not working for me after latest upgrade to 4.02

I put 21267 in ignore box in GAL admincp for that thread (http://www.haitiwebs.com/haitianforums/showthread.php?t=21267)

Is that the proper way to do it?What are you using to do your ads Lionel? The whole auto set up and pay by paypal thing.
I have a user that has at least 2000 hatian members based from Montreal Quebec btw.

Lionel
05-14-2005, 12:06 AM
Really?

I use a discontinued cheap version of a script $30.00. The guy's head got hot and he is selling another version (http://www.w3matter.com/) for $249.00. It supposed to be better than mine, but mine does the job just fine. I have all the zones setup, and when someone selects one and pays, the IPN returns to my site and activate ad automatically.

It displays banner, texts etc... just like googles and more.

For texts I use with Nexyalis hack and it displays in all showthreads, can't miss it.

Lionel
05-14-2005, 12:07 AM
T3MEDIA, is ignore threadid working for you?

Lizard King
05-14-2005, 05:00 AM
T3MEDIA, is ignore threadid working for you?
Mine is working

Lionel
05-14-2005, 05:02 AM
Is it working for you when you add directly in admincp? T3 just told me his is not too.

T3MEDIA
05-14-2005, 05:20 AM
Really?

I use a discontinued cheap version of a script $30.00. The guy's head got hot and he is selling another version (http://www.w3matter.com/) for $249.00. It supposed to be better than mine, but mine does the job just fine. I have all the zones setup, and when someone selects one and pays, the IPN returns to my site and activate ad automatically.

It displays banner, texts etc... just like googles and more.

For texts I use with Nexyalis hack and it displays in all showthreads, can't miss it.I dont know... 250USD... so many times I get the scamm.... but I see it works clean for you so maybe I should check it out...

Lionel
05-14-2005, 05:22 AM
Am very happy with the old 30.00 version.

The Geek
05-14-2005, 05:48 AM
lionel - mines working too. The proper way to do it is stick the threadid, not the postid.

Lionel
05-14-2005, 05:50 AM
Geek I posted in GAS. It's working only when submitting article, not in admincp direct input.

Got other problems in GAS

The Geek
05-14-2005, 05:54 AM
Geek I posted in GAS. It's working only when submitting article, not in admincp direct input.

Got other problems in GAS
I jsut saw that. Ill double check adding the ignore threadid manually.

handholder
05-14-2005, 08:21 AM
i did everything i can do ,but its still not working for me :<

also i got this error in admincp - gal - Stats
Warning: Invalid argument supplied for foreach() in /admincp/GAL_admin.php on line 2070

PS, already updated to gal4_2

The Geek
05-14-2005, 09:41 AM
also i got this error in admincp - gal - Stats
Warning: Invalid argument supplied for foreach() in /admincp/GAL_admin.php on line 2070

PS, already updated to gal4

If u pm me an admin account ill look into it for you.

BTW: have you clicked debug->rebuild?

UltraVR
05-14-2005, 03:40 PM
Hi! Quick Question:

I upgraded to 4.02, and everything seems to be working okay except for one thing:

The Simple Link replacement works, the Popup with no title works, but the Popup with a Title yields these results:

Test of Curtis", "style=\"border-top: 1px solid black;border-left: 1px solid black;border-right: 1px solid black;background: #CCCCCC;padding: 1px;font: 8pt;font-weight: bold;color: #000000;\"");' onmouseout='GAL_hidepopup();'> Curtis Entry.

and I'm having trouble figuring out why. Any thoughts?

UltraVR
05-14-2005, 03:55 PM
Just kidding, there was a small mistake in my edit!

This mod is Great! Keep up the good work! (And I love your witty installer files)

handholder
05-14-2005, 07:58 PM
If u pm me an admin account ill look into it for you.

BTW: have you clicked debug->rebuild?

yes i did,but not effect.

please check out your PM geek :)

Lionel
05-14-2005, 10:30 PM
I got that odd situation where a dash and an accent in the same autolink seems to be too much for GAL. When I remove accent it works. Otherwise no.

Can you try it? Here is the name:

Jean-Claude Fignolé

Lionel
05-15-2005, 12:22 AM
OK, the problem is when the accent is on the last letter like " é "

venomx
05-15-2005, 03:35 AM
Old cron error fixed but now a new one. :(

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE geek_autolink SET view=views+1
WHERE id=33
mysql error: Unknown column 'view' in 'field list'

mysql error number: 1054

Neutral Singh
05-16-2005, 06:23 AM
Hi Geek,

I am not sure if this has been addressed before: suppose let us consider the following words: "Rumi: The Hidden Music written by Rumi"

Now, i created two links using GAL4.01

One link was for "Rumi: The Hidden Music", i choose sponsor style for this word.
The other link was for "Rumi", i choose glossary style for this word.

Now, when i tried to show it in the thread, there is a conflict at words "Rumi: The Hidden Music", it shows up all the replacement code, which makes the post unreadable. It works fine if i remove the second link created for "Rumi". Can this be cured ?

The second thing i am not getting right is: How do i make the popup stay on screen just like in your demo thread, where we hover the mouse over the word "MMA" and then we can move our mouse to click the link shown within the popup. Right now when i move my mouse from the word, the popup vanises.

Thanks for the GAL,

Best Regards
Aman

venomx
05-16-2005, 07:01 AM
Thats what the ordials are for.. make the biigest line 1 then the next biggest 2 etc....

So set Rumi: The Hidden Music as 1 and Rumi as 2.

The Geek
05-16-2005, 09:47 AM
Hey venom.... Edit the GAL_cron.php file and change view to views. Ill update the package with this change later.

aman - venom is right - do the ordinals. Can you give me a link for an example of the disapearing popup? It is designed to stay open. Either the Box is appearing too low so the link is firing the mouseout before the popup gets the mouseover OR the GALbox DIV is incorrect.

fly
05-17-2005, 12:59 PM
Hmmm. Is the expire option fully functional? And does the install add the cron job, or am I supposed to (cause i didn't see it in the readme). I added it and it still doesn't delete the words. <3

The Geek
05-17-2005, 04:06 PM
What the expire does is prevent the words being pulled. This is really only efficient with the DB - but should also work for the non DB option - however the cron job will have to run to pull them out of the cache so to speak.

And yes - you have to manually add the cron job.

Also - just noticed a small typo in the read me for the GALBox that is preventing it from staying open so a user can roll over it. Ill update the package tonight with the change (and a revised cron job as there is a typo in it too).

For those having problems with the popups staying open (this was mentioned a couple days ago)... Replace your GALBox div in your header template with this one:

CHANGE TO:

<div id="GALBox" style="position: absolute; z-index: 100; visibility: hidden;" onmouseover="this.style.visibility='visible';"
onmouseout="this.style.visibility='hidden';">
</div>

fly
05-17-2005, 11:39 PM
What the expire does is prevent the words being pulled. This is really only efficient with the DB - but should also work for the non DB option - however the cron job will have to run to pull them out of the cache so to speak.

And yes - you have to manually add the cron job.
I added it and ran it. However, I hadn't updated to 4.02. Maybe that will fix it. I'll update it tomorrow.

T3MEDIA
05-18-2005, 12:37 AM
I havent updated... I guess you will have upgrade instructions you always do....

Lizard King
05-18-2005, 01:47 AM
I havent updated... I guess you will have upgrade instructions you always do....
The update instructions are in the bottom of readme file ;)

bold
05-18-2005, 03:56 AM
i did everything i can do ,but its still not working for me :<

also i got this error in admincp - gal - Stats
Warning: Invalid argument supplied for foreach() in /admincp/GAL_admin.php on line 2070

PS, already updated to gal4_2
i get that error too even with debug->rebuild

blueuniverse
05-19-2005, 10:17 AM
Well it appears to work but I'm having one slightly related problem. A lot of affiliate networks that I'll be using for sponsors include an img tag with their link. How can I include this, and do I need to include it at all?

Apart from that everything worked excellently, particularly liked the install. :)

blueuniverse
05-19-2005, 10:33 AM
Ok ignore that, I contacted Amazon and I should be able to use it without.

The Geek
05-19-2005, 11:00 AM
Ok ignore that, I contacted Amazon and I should be able to use it without.
You can also include an image with the [img] BB code tags :)

The Geek
05-19-2005, 11:02 AM
i get that error too even with debug->rebuild
the foreach error in stats is happening because there are no stats recorded. I am trying to get a revised package that will simply display a 'no info exists' block instead with a couple other minor amends metioned a couple posts back - but in a nutshell - just pretend the error is really saying 'no stats exist' ;)

fly
05-19-2005, 11:13 AM
Hmmm

My links still aren't expiring. Is it the cron job that is supposed to remove them?

Neutral Singh
05-19-2005, 12:13 PM
Hi Geek,

I am not sure if this has been addressed before: suppose let us consider the following words: "Rumi: The Hidden Music written by Rumi"

Now, i created two links using GAL4.01

One link was for "Rumi: The Hidden Music", i choose sponsor style for this word.
The other link was for "Rumi", i choose glossary style for this word.

Now, when i tried to show it in the thread, there is a conflict at words "Rumi: The Hidden Music", it shows up all the replacement code, which makes the post unreadable. It works fine if i remove the second link created for "Rumi". Can this be cured ?

The second thing i am not getting right is: How do i make the popup stay on screen just like in your demo thread, where we hover the mouse over the word "MMA" and then we can move our mouse to click the link shown within the popup. Right now when i move my mouse from the word, the popup vanises.

Thanks for the GAL,

Best Regards
Aman


aman - venom is right - do the ordinals. Can you give me a link for an example of the disapearing popup? It is designed to stay open. Either the Box is appearing too low so the link is firing the mouseout before the popup gets the mouseover OR the GALbox DIV is incorrect.

Hi Geek,

Ordinals seem to be working only if the style used for both words is same. In the above case about Rumi, i am using differenet styles for both words as stated above.


Can you give me a link for an example of the disapearing popup? It is designed to stay open. Either the Box is appearing too low so the link is firing the mouseout before the popup gets the mouseover OR the GALbox DIV is incorrect.

Please have a look at the following link:
http://www.sikhphilosophy.net/sikhphilosophy/showthread.php?t=1512

In the fifth post by thecoopes, please have a look at the orange word : (William Tyndale), the word has a link inside the popup. This orange style was created out of sponsor style. i have checked up with sponsor style too, its not staying up as intended.

Please guide me.

Thanks
Aman

venomx
05-19-2005, 02:08 PM
You can also include an image with the [img] BB code tags :)

Unless you have VB set to ignore image URLs that use something like /images.php?bah=xxxx&bah2=etc.....

The Geek
05-19-2005, 03:25 PM
Those dont work venom? If it works in a post it should work in the popup. Regadless, you can always use html.

Aman - this is due to a bug in the DIV code for the popup (in your header template). There is a missing " which is causing it to lose focus. Just check about 10 posts back for the fix.

As far as the ordinals - the ordinal is category then item. If they are in different categories, make sure the categories are in the right ordinal.

Flypaper - Depends on the method you are using. If using the DB method (recomended) it should be at run time - however if using the cache method - than the cron job should be rebuilding with those that qualify to be in the run (i.e. those that have not expired).

venomx
05-19-2005, 03:39 PM
Those dont work venom? If it works in a post it should work in the popup. Regadless, you can always use html.


I guess I should have said if you have it set in the admin to not allow images like that it wont work. I have mine set so they dont.

Neutral Singh
05-20-2005, 05:15 AM
Aman - this is due to a bug in the DIV code for the popup (in your header template). There is a missing " which is causing it to lose focus. Just check about 10 posts back for the fix.


Gr8 !! it works like a charm now! :) Thanks.


As far as the ordinals - the ordinal is category then item. If they are in different categories, make sure the categories are in the right ordinal.


:rolleyes: Hey Sir, perhaps my maths is too poor to understand what you said above. :rolleyes: Let me tell you what i got from the above statement.

Rumi: the Hidden Music - Style: Sponsor - Ordinal: 5 (Right?)

Rumi - Style: Glossary - Ordinal: 10 (Right?)

If this is right then, i am afraid its not working. :ermm:

Thanks again

Regards
Aman

fly
05-20-2005, 11:28 AM
Flypaper - Depends on the method you are using. If using the DB method (recomended) it should be at run time - however if using the cache method - than the cron job should be rebuilding with those that qualify to be in the run (i.e. those that have not expired).
Doesn't seem to run. However, all my links were pre-GAL4.0. I went and just added expire dates. Could that be why?

I'll try adding a new one that expires tomorrow and see what happens.

T3MEDIA
05-22-2005, 05:24 AM
Just how do you make this thing autolink with GAS?

I click everything but I dont see how I can input key words.
The instructions on that part is not really clear.
How are you guys doing it?

The Geek
05-22-2005, 09:27 PM
Just how do you make this thing autolink with GAS?

I click everything but I dont see how I can input key words.
The instructions on that part is not really clear.
How are you guys doing it?
You need to have the option to integrate with GAL ticked in your GAS settings. You also need to put in the usergroupids that can add GALS in your GAS settings.

HTH's

T3MEDIA
05-23-2005, 04:17 AM
You need to have the option to integrate with GAL ticked in your GAS settings. You also need to put in the usergroupids that can add GALS in your GAS settings.

HTH'sI did have it selected and left it blank for all...
but I dont see it intergratin' ... what gives?
anything else?

EDIT: nah it isnt working. How would it know what style I want if I wanted impressions etc. I do not see the options to do this.
Just the ones you specified which seem to be in order.

You think you know how to set up the CCS or whatever that is needed to make this pop up effect?

http://askmen.com/fashion/saturdaynight_250/255_saturday_night.html
Please and thank you. Your response

t3media- better to post the GAL q's in the GAL thread :) however you can get the exact same effect by using the default yellow box style with the popup with title (prefix set to sponsor) and some basic bbcode.

whew - hope I got everybody :)Sorry about the wrong area... How do I set it up so the title is actually in the body of the popup? the way it is now is Title:Title (Gray)
---------------
body stuff (yellow)

I would like it like this.

My own stuff (like in example)
------------------------ (hidden you dont really see a border)
title
body stuff (all this is the yellow area)


I know I can remove the look of a border with the ccs but title placement I have no idea.

The Geek
05-23-2005, 06:13 AM
I did have it selected and left it blank for all...
but I dont see it intergratin' ... what gives?
anything else?

EDIT: nah it isnt working. How would it know what style I want if I wanted impressions etc. I do not see the options to do this.
Just the ones you specified which seem to be in order.

Your response

Sorry about the wrong area... How do I set it up so the title is actually in the body of the popup? the way it is now is Title:Title (Gray)
---------------
body stuff (yellow)

I would like it like this.

My own stuff (like in example)
------------------------ (hidden you dont really see a border)
title
body stuff (all this is the yellow area)


I know I can remove the look of a border with the ccs but title placement I have no idea.
GAS will use the 'default' category in the global settings when adding GALs so set that to whatever you want gal entries to go for. The GAS synopsis is what is used as the description.
Dont leave the usergroup setting in GAS blank - that doesnt work. You must be explicit with the usergroups. This is by design as a safety fearture to prevent everyone overrunning your board with crap GALs (this, the, a, etc...).

As farr as that design - set the box style to yellow, body to none, and title to none. You could just do a new css that is just font-color (dont specify border).
HTH's

Lionel
05-23-2005, 09:58 PM
in calendar I put

$text_to_be_linked=process_gal_text($text_to_be_li nked);

and that works.

I tried in another script where the only require_once is the global.php and that does not work. Is there any other required statement to be used with that?

fly
05-25-2005, 11:44 AM
Geek: My links still don't expire. Got any idea why? Or what info can I give you that may help?

Is anyone else using this feature? Are you having this problem?

The Geek
05-25-2005, 04:13 PM
hmmm. Maybe a problem with the cron. Are you using the DB cache?

fly
05-25-2005, 05:07 PM
hmmm. Maybe a problem with the cron. Are you using the DB cache?
No. Should I turn it on?

The Geek
05-25-2005, 06:13 PM
No. Should I turn it on?
if you are not using the DB cache, then the only time GALs can expire is when the GAL datastore gets rebuilt which can mean the expirations are not very strict.

Try turning it on and give me some feedback.

The Geek
05-26-2005, 12:54 PM
Package updated.

There were 2 typos in version 4.02 that I have fixed:

1- the GALbox DIV used for the popup was missing a " that made the popup disappear if a user tried to mouse onto it. If your popup is not staying open, check the readme in the new package for the correct GALbox DIV that you put in your header template.

2- There was a typo in the cron job that was causing update problems. Its fixed now. To apply this fix, just replace your cron/GAL_cron.php file with the one found in the new package.

All other files and such are the exact same.

fly
05-26-2005, 02:04 PM
that seems to have fixed my expire problem. Thanks man!

fabrizio
05-27-2005, 01:08 AM
There is a problem that still is affecting me: when I click on Stats I get the following error:

Warning: Invalid argument supplied for foreach() in /admincp/GAL_admin.php on line 2070

Any idea? Anyway the mod works great...

Thanks.

KTBleeding
05-27-2005, 02:57 AM
Geek, I finally managed to get around to trying this out after installing it so long ago. I found a couple of things here..
If I update a category at all, the auto link doesn't actually change in my posts. If I have a GAL set up as a Glossary (with no title) and later assign the category to Sponsor (with title) the GAL still acts as if it's a Glossary item being that it does not update with a title.

Also, I have set up the word "KTB" to be a GAL but it doesn't work. Every instance of KTB turns bold and red and nothing else. I tried changing it to different categories but had no luck.

Sorry if all of these have been pointed out already, I searched and didn't find much information on it.

handholder
05-27-2005, 03:29 AM
many thanks to geek for this update,i liiiiiiiiiiiike you!

The Geek
05-27-2005, 05:36 AM
Fabrizo: Forgot to put an error check in there - it essentially means that there are no stats to display. Pretend that error says "there are no stats to show" ;)

KT - What happens if you click Debig->Rebuild? THat should sort the problem out. As far as the KTB - you arent doing it then searching for it so the word is highlighlted right? If so then the highlight will prevent the GAL.

Slave
05-27-2005, 08:04 AM
Geek .. I've just installed this on a 3.0.3 board .. and the installer seemed to miss out the edit in the global.php file .. (it didn't come up as an error when installing, although I can't remember if it mentioned it at all tbh)

Just thought I'd let you know, as I've seen others in this thread have the same problem ..

Rukas
05-27-2005, 09:29 AM
It just doesnt seem to want to work.

Debug menu:

Find #(\s\b(mixtape)s?\b)#im
Replace <a href='autolink.php?id=33{TRACK_HITS}' target='_blank' class='DEF' title=''><!--GAL_REMOVAL-->$1</a>

Im pretty sure ive followed the instructions and nothing.

Rukas
05-27-2005, 09:37 AM
Ok, I manual installed and it works.

Rukas
05-27-2005, 09:40 AM
Is there a way to make it link directly to the URL I list. I have an online store and want to link to some products everytime they are mentioned, I would prefer if the link generated was the exact link to improve search engine rankings instead of autolink.php?id=33&script=showthread&forumid=107

The Geek
05-27-2005, 10:01 AM
Is there a way to make it link directly to the URL I list. I have an online store and want to link to some products everytime they are mentioned, I would prefer if the link generated was the exact link to improve search engine rankings instead of autolink.php?id=33&script=showthread&forumid=107

Put it in a category that doesnt track clicks and it will link direct.

KTBleeding
05-27-2005, 03:36 PM
KT - What happens if you click Debig->Rebuild? THat should sort the problem out. As far as the KTB - you arent doing it then searching for it so the word is highlighlted right? If so then the highlight will prevent the GAL.

Didn't see that Rebuild button before.. phew!

And yes, it was highlighting KTB. Good to know. Everything is working great now.

tomshawk
05-29-2005, 08:57 AM
Hi the_geek

I hope you can help

In your image attachments and on your demo the yellow box looks good, but

http://www.tech-unity.com/forums/showthread.php?t=5784

Notice how the text wraps around every word on the first autolink.

I set this catagory up as a Popup with Title replacement, using the replacement you gave in your install file


<a href='$gal_link' target='_blank' class='DEF' 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>


I tryed the Popup without Title replacement and got the same results.

I want the box to expand to the carraige return.

Did I miss something? I've searched through this thread to no avail.

Any help would be greatly appriciated.

Thank you

The Geek
05-29-2005, 10:17 AM
Hi the_geek

I hope you can help

In your image attachments and on your demo the yellow box looks good, but

http://www.tech-unity.com/forums/showthread.php?t=5784

Notice how the text wraps around every word on the first autolink.

I set this catagory up as a Popup with Title replacement, using the replacement you gave in your install file


<a href='$gal_link' target='_blank' class='DEF' 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>


I tryed the Popup without Title replacement and got the same results.

I want the box to expand to the carraige return.

Did I miss something? I've searched through this thread to no avail.

Any help would be greatly appriciated.

Thank you
Check the width property. If its too low, the text will wrpa. The other thing you could do is reduce your fontsize or turn off word wrapping via the css style.

tomshawk
05-29-2005, 03:42 PM
Check the width property. If its too low, the text will wrpa. The other thing you could do is reduce your fontsize or turn off word wrapping via the css style.

Umm sorry, where do I check the width property at?

I'll look at the css style, thanks!

tomshawk
05-29-2005, 04:52 PM
Umm sorry, where do I check the width property at?

I'll look at the css style, thanks!

Strange, I did nothing, and it has started looking correct. Thanks for the outstanding hack, again ;)

memobug
05-30-2005, 07:34 AM
Does anyone know if the GAL is compatible with a vB 3.0.3 installation (patched with the new init.php for security)??

Regards,

Matt

The Geek
05-30-2005, 07:40 AM
SHouldnt be an issue at all matt - I think there was an issue with the global.php edit so you may have to do that manually - however its no real sweat as they are very basic file edits.

Kihon Kata
06-03-2005, 05:56 AM
SHouldnt be an issue at all matt - I think there was an issue with the global.php edit so you may have to do that manually - however its no real sweat as they are very basic file edits.
Man, I love this HACK. It's one of the best ones around....INSTALLS

pguy
06-03-2005, 05:42 PM
Having some problem with the ordering here .. Installation was a breeze and the functionality is awesome!! :D

Even though all the categories are the same for ALL the replacement terms and the ones with the two words as a replacement are set with a lower ordinal, they just refuse to follow the order and a higher ordinalled term is replaced ..

Using the latest version downloaded just today :)

Kihon Kata
06-03-2005, 05:44 PM
Having some problem with the ordering here .. Installation was a breeze and the functionality is awesome!! :D

Even though all the categories are the same for ALL the replacement terms and the ones with the two words as a replacement are set with a lower ordinal, they just refuse to follow the order and a higher ordinalled term is replaced ..

Using the latest version downloaded just today :)
Anyone have any cool GAL 4.0 popup box styles they wanna share?

The Geek
06-04-2005, 08:47 AM
Having some problem with the ordering here .. Installation was a breeze and the functionality is awesome!! :D

Even though all the categories are the same for ALL the replacement terms and the ones with the two words as a replacement are set with a lower ordinal, they just refuse to follow the order and a higher ordinalled term is replaced ..

Using the latest version downloaded just today :)
Hey pguy - I suspect that this is a php problem as it seems to work on some versions and not on others.
The preg_replace gets an array passed to it in the order of replacement - even though it is supposed to replace in the array order - sometimes this doesnt happen. Sorry :(

pguy
06-04-2005, 10:24 AM
Hey pguy - I suspect that this is a php problem as it seems to work on some versions and not on others.
The preg_replace gets an array passed to it in the order of replacement - even though it is supposed to replace in the array order - sometimes this doesnt happen. Sorry :(

Ouch! As long as its a documented issue , I guess there is nothing much I can do except reporting it. Thanks for the response! Surely is an awesome piece of work and I really intend to use it to dish out advertisements in the long run once this issue is sorted out :)

The Geek
06-04-2005, 12:35 PM
just out of curiosity - what version of php are u running?

tylercruz
06-04-2005, 04:39 PM
Hey all, I installed this hack yesterday and read through the first 13 pages or so, but haven't read through all 42 pages yet :)

Anyhow, I have a problem. I'm replacing the text 'bob.com' but when there is an existing URL on a post like:

http://www.bob.com/blah/blah/

Then the replacement messes this up in that the 'http://www." is linkable separately from bob.com, and of course goes to a messed up new URL. Is this fixable, or am I doing anything wrong?

Also, as far as backing up, I assume I can still just do a normal MySQL backup via the commandline and it will copy all the necessary mysql tables for this hack, and when/if I upgrade vBulletin or what not, I can just reinstall the hack?

Thanks for your help.

The Geek
06-04-2005, 06:09 PM
Hey all, I installed this hack yesterday and read through the first 13 pages or so, but haven't read through all 42 pages yet :)

Anyhow, I have a problem. I'm replacing the text 'bob.com' but when there is an existing URL on a post like:

http://www.bob.com/blah/blah/

Then the replacement messes this up in that the 'http://www." is linkable separately from bob.com, and of course goes to a messed up new URL. Is this fixable, or am I doing anything wrong?

Also, as far as backing up, I assume I can still just do a normal MySQL backup via the commandline and it will copy all the necessary mysql tables for this hack, and when/if I upgrade vBulletin or what not, I can just reinstall the hack?

Thanks for your help.
Run it in safe mode. Danger mode will potentially mess up existing URLs - Safe Mode wont.

HTH's

tylercruz
06-04-2005, 08:15 PM
Run it in safe mode. Danger mode will potentially mess up existing URLs - Safe Mode wont.

HTH's
Hi Geek,

I'm actually running it in safe mode, but it is still doing it:

http://www.pokerforums.org/showpost.php?p=32698&postcount=6

The Geek
06-05-2005, 12:19 PM
where? All i see is one valid url?

TTG
06-05-2005, 02:50 PM
Hi Geek .. does the pixel offset work yet ?

tylercruz
06-05-2005, 04:12 PM
where? All i see is one valid url?

lol wtf.. I SWEAR it wasn't like that before... this is a conspiracy against me...

Could you answer my backing up question though?

Thanks :)

pguy
06-05-2005, 05:47 PM
just out of curiosity - what version of php are u running?

4.3.11 is the one I'm running

Bernd
06-05-2005, 07:11 PM
Hi Geek .. does the pixel offset work yet ?

Have just installed a fresh copy and it doesn't work yet.

Bubble #5
06-08-2005, 02:53 AM
OK we ran the installer and it went amazingly smooth.

Is there anyway to make the popup message popup ABOVE the mouse? When the popup message comes on the screen below the trigger words the mouse is in the way of part of the message and it's very annoying :(

Just a thought :)

Crow
06-10-2005, 11:56 AM
anyway to get a text file to install this??
I don't care much for this auto installer thingy.. I like to see and do the changes!

TTG
06-14-2005, 10:52 PM
Has the Geek quit supporting this ?

venomx
06-14-2005, 11:00 PM
anyway to get a text file to install this??
I don't care much for this auto installer thingy.. I like to see and do the changes!

Did you click manual install on the instructions?

Bonee70
06-15-2005, 09:50 AM
found the bug. It was simply an unchecked empty aray (epty if no results impressions were present). DOnt know why this didnt come up in beta ?!?

Anyhow... Its fixed. Download the latest package and replace your functions_gal.php

t3Media- change the Box style to something other than none.

nJoy

My backgrounds are still blank... :(

http://www.madden-international.com/bckgrd.gif

The Geek
06-15-2005, 10:59 AM
Bonnee - your Title, Box and/or popup style is invalid. Most likely the box style is invalid.

TTG - Of course I am - Ive just been away on business and then up to my earlobes on work. Last I checked its working fine (the offset). Ill check it again tonight on a clean intall.

Bubble - Wouldnt take much work to get the popup above the post now - however you would need to play around with the js to do so. Ill see about including it as an option for future releases.

Tyler - what was the backup q again?

Bonee70
06-15-2005, 11:16 AM
Bonnee - your Title, Box and/or popup style is invalid. Most likely the box style is invalid.

....

OK, I found out how to put in colour into a box, I left it blank in the stylemanager and when I put in a colourcode the box isn't blank anymore. The probelm I now have, I just want the backgroundcolour to appear in the mouseoverbox on the link and not elsewhere on the boards as it messes up my design.

Is there any option to just edit the background colour for the popup box and not having it on each <td> on the board? I have set all colours for each pop-up menu but still it's blank on a mouseover.

I went through the readme for 100 times now and did everything standing there, though this damn popup stays blank...

... any small hint, I am an idiot? :rolleyes:

The Geek
06-15-2005, 12:44 PM
OK, I found out how to put in colour into a box, I left it blank in the stylemanager and when I put in a colourcode the box isn't blank anymore. The probelm I now have, I just want the backgroundcolour to appear in the mouseoverbox on the link and not elsewhere on the boards as it messes up my design.

Is there any option to just edit the background colour for the popup box and not having it on each <td> on the board? I have set all colours for each pop-up menu but still it's blank on a mouseover.

I went through the readme for 100 times now and did everything standing there, though this damn popup stays blank...

... any small hint, I am an idiot? :rolleyes:
Bonee - did you enter the CSS suggested in the readme? In other words: yellow box?? You dont need to edit all <td>'s - that would be a serious butt pain.
If you PM me an admin login Ill look at it for you.

Toodles.

The Geek
06-15-2005, 08:28 PM
I just checked the offset and it looks like its working to me. Try clicking debug->rebuild (I had to do that for the settings to propagate).

Crow
06-16-2005, 10:19 AM
Did you click manual install on the instructions?

I'm sorry I must of missed the link. (Maybe didn't scroll down enough) Thanks :nervous:

DoMiN8ToR
06-17-2005, 08:41 PM
First of all, thanks a lot for this great hack. The fun already started reading the initial post, I LMAO :)

Everything went smooth when I finally decided to read the manual (I used to think that was a women thing ;) )

I would like to request for a feature that just disables or enables the link function for any usergroup. In my eyes the current solution is a bit a work around. For example I don't want registered users to see the links anyway, I do want unregistered users (search engines) to see the links. Any chance you can add this to the hack (because it's great for SEO) or is there a possibility to do it with the current code and am I missing something?

yoyoyoyo
06-17-2005, 09:24 PM
yes i did,but not effect.

please check out your PM geek :)
I had the same error. Also, after I add the replacement code and styles when I try to add categories the pull-down menu for the replacement code is blank. During the "add styles" option I get a message that says: Just saved %1$sbut it doesn't appear to save anything.

BOWZONE
06-18-2005, 11:48 AM
great hack geek! <clicks install>...Works perfectly...Funny thing is, I had some problems but they were all IO errors (idiot operator) LOL! I have to learn not to stay up all night and then try and install things....it's never easy when I do that..

Thanks again fer a great hack!

T3MEDIA
06-19-2005, 04:09 PM
Out of the blue...
Invalid SQL: UPDATE myvb3_geek_autolink SET view=views+17
WHERE id=
mysql error: You have an error in your SQL syntax near '' at line 2

mysql error number: 1064 What to do?

The Geek
06-19-2005, 04:16 PM
Out of the blue...
What to do?
That was fixed in the last update. You may have to rummage back through the thread to see if anything else is applicible - or download latest version and replace your includes/cron/GAL_cron.php file.

The Geek
06-19-2005, 04:16 PM
I had the same error. Also, after I add the replacement code and styles when I try to add categories the pull-down menu for the replacement code is blank. During the "add styles" option I get a message that says: but it doesn't appear to save anything.
yoyo- have you tried clicking debug->rebuild? If that doesnt help PM me an admin account

Tradjick
06-20-2005, 08:33 AM
Really great hack!!! Many thanks for sharing it!

I just got a dumb problem, the "standard link" option doesn´t show up in the ACP.

Any ideas?

The Geek
06-20-2005, 08:39 AM
Can you see it to edit it?

Try debug->rebuild and let me know.

Tradjick
06-20-2005, 08:40 AM
Just saved %1$s

Me too.

Tradjick
06-20-2005, 11:51 AM
I? m getting this:

Find #(\s\b(Juncker)s?\b)#im
Replace <a href='http://www.vdl.lu' target='_blank' class='DEF' onmouseover='GAL_popup(this,"1", 0, "", "asdfasdfasdf", "", "Juncker", "");' onmouseout='GAL_hidepopup();'><!--GAL_REMOVAL-->$1</a>

This is what i get when i click rebuild:

Rebuilding 30... done.
Complete.

vBulletin Message

Rebuilt with so much love it almost hurts.

The Geek
06-20-2005, 12:01 PM
And your standard link option doesnt show up anywhere? You did add it in as per the readme right?

Tradjick
06-20-2005, 12:20 PM
Ah i see i did something wrong in "replacements".

And i now got the 3 examples showing up in "replacements" now.

Thank you! This is such a great addition! :)

tomshawk
06-20-2005, 12:44 PM
Hi Geek

question

My links seems to work for a few days, and well, the links continus to work, but the popup does not.

I've done rebuilds with no success

Here is a link
http://www.tech-unity.com/forums/showthread.php?t=5784

The ones that dont work, worked perfectly just a couple of days ago, but have decided to stop

Any ideas?

The Geek
06-20-2005, 12:53 PM
Hi Geek

question

My links seems to work for a few days, and well, the links continus to work, but the popup does not.

I've done rebuilds with no success

Here is a link
http://www.tech-unity.com/forums/showthread.php?t=5784

The ones that dont work, worked perfectly just a couple of days ago, but have decided to stop

Any ideas?
Hey Tom, Check your header template for the GALBox div tag. I checked your html and cant find it anywhere. You are also getting js errors saying it cant find the object. Chances are that you accidently removed it from your template or introduced a new style and maybe didnt remember to port it over.

Hope that helps!

tomshawk
06-20-2005, 01:08 PM
Oi-Vey

That was it, I had a new style created, as a child for now, but the first thing he did was redo my header.

I put the div code back in and it works like a champ

Thank you ;)

Cant wait until the GAB is released.

Then I will have your 3 biggest releases

You rock ;)

Hey Tom, Check your header template for the GALBox div tag. I checked your html and cant find it anywhere. You are also getting js errors saying it cant find the object. Chances are that you accidently removed it from your template or introduced a new style and maybe didnt remember to port it over.

Hope that helps!

Tradjick
06-20-2005, 02:34 PM
I got the following probs:

-The links and also the boxes are invisible, i can see only the text, but the links work. I pasted the css code into the header template, just before $navbar.

-I guess it´s normal but on the "Display" page, the stats for "Standard Links" and "Glossary" just return "overview".

I appreciate your help.

The Geek
06-21-2005, 05:50 AM
Im not sure what you mean by 'invisible' nor what you mean about putting the css in the header template.

You should put the GALbox <div> tag in the header template and add optionally add the css to your additional css definitions box in your admincp.

No stats will display if there are no records to show. If you have links that are being tracked for stats but they are not showing - than most likely your throttle is set pretty low and the cron job is taking care of the stats.

Both of these are discussed in more detail in the readme. If you can - post a link as it is easier to see the problem you are having.

hths

jons5150
06-21-2005, 08:57 AM
Hi Geek...

Somehow I have ended up with two, (count 'em), two GeekLink CPs in my one Admin CP. What the heck did I do and how can I fix it?

BTW, in a one week test I had 6 (count 'em) 6 clients ask to "buy" words...the implications have my head spinning-but I don't mind a bit. Thanks for a great, great hack...

The Geek
06-21-2005, 10:55 AM
Hi Geek...

Somehow I have ended up with two, (count 'em), two GeekLink CPs in my one Admin CP. What the heck did I do and how can I fix it?

BTW, in a one week test I had 6 (count 'em) 6 clients ask to "buy" words...the implications have my head spinning-but I don't mind a bit. Thanks for a great, great hack...
It most likely occured because you had 2 instances of the key that the GISH installer was searching for (almost always a result of previously modifying the file). However its no big deal. Heck - its will be twice as easy to find you GAL settings now ;)

Really - all you have to do is edit your admincp/index.php file... search for GAL and remove one of the blocks.

Superb news on the sponsors beating down your door. In many peoples opinions, this system is significantly better for sponsors than a banner system as it is better targeted and a bit subversive. Me? I think it kicks ass.

Roll on the GUSH system that will allow you to set up an automatic shop to sell keywords and/or GAB banners :)

wirewolf
06-21-2005, 02:20 PM
Have vb3.0.7 and just upgraded to autolink v4.02. Upgrade went fine but had a few "Fatal error: Call to undefined function: process_gal_text() in blah/blah/includes/functions_showthread.php on line 651 and Fatal error: Call to undefined function: persist_gal_impressions() in blah/blah/showthread.php on line 1939" after creating the categories, styles, test autolink, etc and saving the settings.
After reading some previous post I assume it has something to do with global.php. The installer did not upgrade global.php nor did it list it as a manual edit. It's not in the gish folders at all. Do you have the code needed for the function definitions in global.php
John

The Geek
06-21-2005, 02:25 PM
Have vb3.0.7 and just upgraded to autolink v4.02. Upgrade went fine but had a few "Fatal error: Call to undefined function: process_gal_text() in blah/blah/includes/functions_showthread.php on line 651 and Fatal error: Call to undefined function: persist_gal_impressions() in blah/blah/showthread.php on line 1939" after creating the categories, styles, test autolink, etc and saving the settings.
After reading some previous post I assume it has something to do with global.php. The installer did not upgrade global.php nor did it list it as a manual edit. It's not in the gish folders at all. Do you have the code needed for the function definitions in global.php
John
Browse to the install page, click the install path, then scroll to the bottom of the page and you will see a link for manul install instructions.

There ye shall find what ye need.

Tradjick
06-21-2005, 06:54 PM
Im not sure what you mean by 'invisible' nor what you mean about putting the css in the header template.

You should put the GALbox <div> tag in the header template and add optionally add the css to your additional css definitions box in your admincp.

No stats will display if there are no records to show. If you have links that are being tracked for stats but they are not showing - than most likely your throttle is set pretty low and the cron job is taking care of the stats.

Both of these are discussed in more detail in the readme. If you can - post a link as it is easier to see the problem you are having.

hths

The links are invisible because they have the same color as the background. But i gave every possible color tag on Yellow.

I placed the DIV code into the header and the CSS into the "additional css defininitions.

Those 3 geeky styles i added show up correctly in the ACP but i can?t see any geek style definitions in the source code, except the ones i added manually.

wirewolf
06-21-2005, 07:23 PM
Browse to the install page, click the install path, then scroll to the bottom of the page and you will see a link for manul install instructions.
There ye shall find what ye need.Didn't help! I Did an uninstall, flushed out the database, reverted back to the original php files ect. Then did a fresh install from the ground up and Everything working fine now!!

Did find one little mis-code in the GAL_admin.php, in the 'stats' section:
error GAL_admin.php line around 2104 (note the "&" before the forumkey variable)
is:
print_gal_stat_row(5,$forumvalue['title'],"../forumdisplay.php?f=&$forumkey",1,$forumvalue['views'],$forumvalue['hits']);
should be:
print_gal_stat_row(5,$forumvalue['title'],"../forumdisplay.php?f=$forumkey",1,$forumvalue['views'],$forumvalue['hits']); Also in 'stats' view, are there missing column titles?. Check out screenshots.

The Geek
06-22-2005, 06:09 AM
funnily enough wirewolf - I stumbled across these yesterday working on the stats system for GAB. I was quite shocked to see no one had flagged them before. I also noticed a couple other minor issues sith it as well which I will most likely put off until either GUSH is released or I port this to vb3.5.

Tradjick - the problem isnt with the popup styles, its with the link style. I assume you are using the DEFS CSS I provided as an example in the readme. This is what you would have placed in your additional CSS section. In there is the colour that is defining your links as the same colour as the background.

HTH's

Tradjick
06-22-2005, 10:04 AM
Tradjick - the problem isnt with the popup styles, its with the link style. I assume you are using the DEFS CSS I provided as an example in the readme. This is what you would have placed in your additional CSS section. In there is the colour that is defining your links as the same colour as the background.

HTH's

Thank you, Sir. I got it working now. I somehow got lost with the styles and its CSS section. That?s been a bad coincidence that you have your links in the same color as my background color! Hehe.

gembels
06-23-2005, 09:04 AM
duh.. still confused.. where or what wrong..
http://www.gembels.com/portal/forums/showthread.php?p=513#post513

pls check it 4 me.. nothing show after install and readme.html

gembels
06-23-2005, 10:40 AM
if i click sumtin in stat admincp GAS .. looks like eror msg :

Warning: Invalid argument supplied for foreach() in /admincp/GAL_admin.php on line 2070

gembels
06-23-2005, 11:05 AM
yes.. works.. thanks.. forget about file changed 000 until 400

AtoZ
07-01-2005, 07:59 AM
This is awesome - THANKS!! Now, is there a way to limit a number of links in an entire thread? Some threads mention the same keyword over and over. I've limited it to 1 link per post, but when the word is mentioned in every single post in a thread, it can get annoying.

The Geek
07-01-2005, 08:08 AM
This is awesome - THANKS!! Now, is there a way to limit a number of links in an entire thread? Some threads mention the same keyword over and over. I've limited it to 1 link per post, but when the word is mentioned in every single post in a thread, it can get annoying.
It can only limit per post as the linking function gets called each post.

T3MEDIA
07-04-2005, 02:29 PM
For some reason the turn off part isnt working for the linker...
You know it asks what profile field it used to turn it off...
I have a radio... var 2 is off.
but she no go off.

Is that just me?

The Geek
07-04-2005, 05:26 PM
For some reason the turn off part isnt working for the linker...
You know it asks what profile field it used to turn it off...
I have a radio... var 2 is off.
but she no go off.

Is that just me?
Hey t3, Im on the road again so its difficult for me to investigate - however I am pretty sure that it does work. Just double check and make sure that the profile field is set to a valid option and that it contains the textual value.

In other words, it your profile field is a combo box with the options yes and no, that the text yes is what you put in the value field. I made the mistake of putting in 1 when I needed to put in 'No thanks, ads suck' as that was what the textual value was for the combo box I defined (hope that makes sense!).

T3MEDIA
07-05-2005, 09:54 PM
Hey t3, Im on the road again so its difficult for me to investigate - however I am pretty sure that it does work. Just double check and make sure that the profile field is set to a valid option and that it contains the textual value.

In other words, it your profile field is a combo box with the options yes and no, that the text yes is what you put in the value field. I made the mistake of putting in 1 when I needed to put in 'No thanks, ads suck' as that was what the textual value was for the combo box I defined (hope that makes sense!).Ahhh ok. I have a radio box and No= 2 I put 2
ok let me try that. That must be why.

T3MEDIA
07-05-2005, 10:12 PM
No.... doesnt work. Darn.
I have it saved in "Thread display options" and it is a radio.
1 on 2 off
she no workie.
First time checking it. Sorry I didnt see that before.
I checked as a Admin not a regular user.

The Geek
07-06-2005, 07:06 AM
No.... doesnt work. Darn.
I have it saved in "Thread display options" and it is a radio.
1 on 2 off
she no workie.
First time checking it. Sorry I didnt see that before.
I checked as a Admin not a regular user.
ill check into it.

alexi
07-16-2005, 05:14 AM
You specify that this hack will cause 0 or more queries depending on settings, can you clarify which settings will cause queries and server load?
Thanks!

pigsy
07-17-2005, 10:34 AM
I've run some test on the performance BEFORE and AFTER.

My test was conducted on an average page, and I recorded the "Page generated stats". I had 191 replacements, and using the DB cache.

The results were page loading time on average more than doubled, from an average of 0.5 secs, to 1.2 secs. This is an unacceptable increase, so despite really liking what this has to offer, I'm going to have pass on using it. If anyone can think of a way to make the performance better I'd love to take another look at this - unfortunately you can't get round the fact that for every new link added it has to check it against every word in the text, so in my case 1500 words x 191 links = 286,500 comparisons being made. Even on my dedicated dual-Xeon server it takes a big performance hit.

I wonder if a different approach can be taken, along the lines of how some sites you have words linked to ads - they don't seem to do anything with the html itself, but must be some clever javascript at work - perhaps this could be the answer.

All the same, praise to The Greek, for all his hard work, and if your only using this on a handful of links, I think there would be no problem in doing this - it's only when you want to have 100+ links you'll start to slow down signifcantly :(

The Geek
07-17-2005, 11:43 AM
alexi - usng the db cache gives you more whistles and belles (ie real time exclusion of links that have expired) however it requires a query to be called. Not using the query means that the datastore cache is used. You get the same basic functionality but not so many of the whistles and bells.

To be honest, The extra query isnt much of an overhead.

Pigsy - I appreciate whate you are saying and yes, the more replacements... the more server load. Even with a js callback, your server will need to scan the text for matches you have wich I doubt will lighten your load much. Personally, I never envisioned people using it with 190 replacements! If you come up with a different method, I would love to hear about it for the next release.

Cheers all!

(BTW - just an FYI - Im not around much right now as I am in Spain on holiday with the family. In fact, my wife is going to go nuts if she sees me on the system!... Be back soon ;) )

TechnologyGuide
07-18-2005, 02:34 PM
alexi - usng the db cache gives you more whistles and belles (ie real time exclusion of links that have expired) however it requires a query to be called. Not using the query means that the datastore cache is used. You get the same basic functionality but not so many of the whistles and bells.

To be honest, The extra query isnt much of an overhead.

Pigsy - I appreciate whate you are saying and yes, the more replacements... the more server load. Even with a js callback, your server will need to scan the text for matches you have wich I doubt will lighten your load much. Personally, I never envisioned people using it with 190 replacements! If you come up with a different method, I would love to hear about it for the next release.

Cheers all!

(BTW - just an FYI - Im not around much right now as I am in Spain on holiday with the family. In fact, my wife is going to go nuts if she sees me on the system!... Be back soon ;) )

The Geek, thanks for this mod, we're toying with it at forum.notebookreview.com

One thing that would really help me is date ranges on the stats report. Right now it's set up as a lifetime, but for us, viewing performance over a week or month is more useful. If you could work that in some time, we'd be appreciative.

Paul Ross
07-18-2005, 08:38 PM
Hi,

Where does this hack install itself? A friend of mine did it, but I can't see it in Admin. :(

croupier
07-19-2005, 11:21 AM
I've installed it and it's working great, thanks geek.

I have one problem though. I also have vBadvanced installed but the autolinker doesn't work on the vBadvanced homepage.

Is there a way of getting the autolinker working on the vBa homepage (and I've somehow missed it while searching for the answer) or is this still a problem to be solved?

The Geek
07-19-2005, 04:03 PM
Paul - check the gish folder for changed files

croupier. Im on holiday right now so I cant tell you exactly where and what, however yuo can simply call (something like) $gal->process_text(text);
Whereever you want gals to link. You may have to play about as I said - im away from my system so I cant tell you exactly what to do.

HTH´s

blueuniverse
07-20-2005, 08:48 AM
No.... doesnt work. Darn.
I have it saved in "Thread display options" and it is a radio.
1 on 2 off
she no workie.
First time checking it. Sorry I didnt see that before.
I checked as a Admin not a regular user.

Problem for me as well. I need it to be turned off for a while and I've set all usergroups to be exempt from it and my field value to off but still no luck.

Paul Ross
07-20-2005, 04:55 PM
Hi Geek,

Can you elaborate a bit on "check for changed files" please?:)

Also, whereabout in Admin CP should it show up? May have to pay someone to do this for me. :(

Marco van Herwaarden
07-20-2005, 07:54 PM
Paul Ross,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (http://members.vbulletin.com/membersupport_priority.php) (vB-germany users click here (http://members.vbulletin-germany.com/membersupport_priority.php)) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive. The update of your account may take up to one hour.

Thank you.

Paul Ross
07-21-2005, 11:30 AM
I've adjusted that Marco.

Marco van Herwaarden
07-21-2005, 07:05 PM
Yup you're showing up as licensed now. :D

Paul Ross
07-21-2005, 09:09 PM
I could do with some help installing this and am prepared to pay for it, if anyone's interested?:)

Marco van Herwaarden
07-22-2005, 04:54 AM
Paul

If you are asking someone to do a job for payment, please post your request in teh Service Request forum.

mkdevo
07-23-2005, 04:44 PM
almost working, but i'm having a problem with IE displaying 'glossary' links (set them up exactly per instructions):

http://img131.imageshack.us/img131/4564/gal8rp.jpg

it seems to appear fine in firefox (just showing the text under the link, no <td> code)..

tried rebuilding as well.

from the debug:

Find #(\s\b(dictionary)s?\b)#im
Replace <a href='http://www.dictionary.com' target='_blank' class='DEF' onmouseover='GAL_popup(this,"1", 0, "", "Testing <!--GAL_REMOVAL-->dictionary.com", "");' onmouseout='GAL_hidepopup();'><!--GAL_REMOVAL-->$1</a>

any ideas?

Tom1234
07-24-2005, 02:41 AM
Looks like a bug... "Box style" (box_style) setting does not take when adding a new category. The category can be edited to fix it though.

Tom1234
07-24-2005, 02:47 AM
Hey, what's with the vB versions you guys are claiming to be running?

MarcoH64: 4.5.0 Beta4
The Geek: 4.06

As far as I know, vB 3.5 is in beta now.

The Geek
07-25-2005, 02:45 PM
mkdevo - it looks like you are running in danger mode. Make sure its in safe mode and rebuild.

Thanks tom... ill look into it. :)

Tom1234
07-25-2005, 04:51 PM
Pigsy - I appreciate whate you are saying and yes, the more replacements... the more server load. Even with a js callback, your server will need to scan the text for matches you have wich I doubt will lighten your load much. Personally, I never envisioned people using it with 190 replacements! If you come up with a different method, I would love to hear about it for the next release.


Geek,

You didn't envision people using it with more than 190 replacements? I would expect it to be very common to have more than that once you get rolling with it.

GAL 4 is substantially slower than GAL 3! It's an absolute show stopper. Even a dual Xeon system is brought to it's knees with hundreds of replacements.

In addition to adding extra features, did you mostly switch from simple string replacements to using regular expressions - or is there some other reason that it is substantially slower than the previous version?

Other than turning off the DB Cache and removing some replacements, what else can be done to speed things up?

How do I turn off GAL4 completely (disabled) without un-installing it? I don't see an option in the admin area.

Can replacements be disabled rather than removed?

Tom1234
07-25-2005, 09:48 PM
Geek,

The large amount of CPU time seems to be spent in the regular expression searching of preg_replace().

Since 99.9% of the time, the replacement text is not present in any given post, how about pre-processing the list of replacements "text" fields to see if a simple string search using the quicker stristr() function finds the text in the post before adding it to the find/replacement array to be used by "the CPU hog" preg_replace() function? I would then expect the preg_replace() to usually only be working with a few search terms or less.

I think this would speed things up a lot when using hundreds of replacements.

The Geek
07-26-2005, 08:16 AM
Hi Tom,

The actual processing of the preg_replace is almost identical to the previous version (Especially if not using the DB cache). In fact, off the top of my head it IS the same.

Lets say that you have 190 GALS to check, you would then need to run 190 stristr´s THEN run the preg_replace on the results (for each post in the thread). Whether this has any cost implications, I couldnt say. Seems to me the ultimate solution would be to find a way to GAL the page results instead of on a post by post basis. The problem with doing that (as it is easily done) is the increased risk of GALing stuff you dont want GALed. If that could be done, you could cut the average preg_replace cost by an average 15 times.
If you want to give it a try, run the process_text function on the postbits after they are created.

As I mentioned before, I didnt envision 190 replacements at a go though I guess can easily see it happening now. The previous version would give you about as much overhead as this one would so I dont think it really has much to do with that.
Ill look into cost implications of the stristr or strpos when I start to migrate this to 3.5 however I think the real benefit would be by GALing the results instead of the post text.

HTH´s

Lionel
07-27-2005, 09:40 PM
Where in script can I find the link "autolink.php" which is called when processing a link? I successfully autolink other scripts, but they are in a folder under forums and of course autolink.php cannot be found. So I would like to hardcode it.
thanks

Lionel
07-28-2005, 01:40 AM
I placed autolink.php in other folder and did a chdir to forums. That worked.

Demonsoul
08-05-2005, 01:52 AM
Ive installed it after the readme.html, did everything it told me to without any errors. But i cant get it to work.. and i would love to have it working. Ive added a link, but nothing happens with it.. i have set all the options right but it just wont work :( Any thoughts?

The Geek
08-05-2005, 05:54 AM
Ive installed it after the readme.html, did everything it told me to without any errors. But i cant get it to work.. and i would love to have it working. Ive added a link, but nothing happens with it.. i have set all the options right but it just wont work Any thoughts?

Have you tried rebuilding the cache?

Demonsoul
08-05-2005, 08:56 AM
Do you mean the "Rebuild" button on the "Debug" page? "No Results"

Edit: Ok, i added a link again, and then tried the Rebuild button. Now the link turns up red, using the sponsor thing. Hmm?

Edit 2: Hm, now its gone again.. it just wont work..

The Geek
08-05-2005, 12:33 PM
Do you mean the "Rebuild" button on the "Debug" page? "No Results"

Edit: Ok, i added a link again, and then tried the Rebuild button. Now the link turns up red, using the sponsor thing. Hmm?

Edit 2: Hm, now its gone again.. it just wont work..

if you want me to look into it - pm me an admin account and ill see what the problem is :)

VirtualBurn
08-06-2005, 01:10 AM
Firstly, I thought of this hack yesterday.. put in a request to see if ti could be done.. and lo and behold somebody had already done it. A big thanks for this, it is a great hack.

I've tried searching this thread and can't find anything... I want to remove the hyperlink.. disable it, I only want the popups... I've tried removing the href but then the colour and the underline disapears, what is the quick fix for this?

Cheers /me sends The Geek a beer

VirtualBurn
08-06-2005, 11:38 AM
no worries.. sorted it. I changed the replacement 'popup with title to;<a href="#" onclick="return false;" class='DEF' 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>

This is a great addon, look forward to seeing more of your work.

~vb

GrendelKhan{TSU
08-09-2005, 02:07 AM
I'm sure this has been asked....

but any thoughts on an update for 3.5 RC 2?

GoTTi
08-11-2005, 05:34 AM
geekster, can u view the attached files..

this is what i did:

1. picked my nose and read your instructions
2. installed with gish
3. had to manually edit 1 admincp file
4. copied over the edited files from your gish dump
5. followed the rest of the instructions
6. i made a new display under "today" with the settings u see in the attachment 3
7 then in the attachment #2, thats the results

problem: the ads/test is showing up like its transparent or something. on other parts of the page, on the today text, its coming out wierd. theres no yellow box or anything around the text. let me know if im doing this right or if there is something up.

thanks.

GoTTi
08-11-2005, 05:41 AM
btw im running this on 308

The Geek
08-11-2005, 11:59 AM
Check to ensure that the category's box style is set to something and then rebuild (debug->rebuild).

GoTTi
08-11-2005, 05:14 PM
that worked. thanks.

GoTTi
08-11-2005, 05:14 PM
oh, how can i make it where the underline is something other then black? like i rather have the underlined word like....yellow or red or pink, something that stands out.

The Geek
08-11-2005, 05:49 PM
Check out the CSS declaration in the readme... just change it to whatever CSS you want.

HTH's

GoTTi
08-11-2005, 08:38 PM
ok got that down. now if i want to make the text bold, how would i do that?

GoTTi
08-12-2005, 02:55 AM
oh and i would actually like to put a background color around the text, to make it stand out more.

GoTTi
08-12-2005, 07:11 AM
Mr. Geek. -

is there a way to offer this to paying subscribers?

the idea:

user goes to subscription page. purchases the contextual linkage option, and i set what they are getting, what kind of plan, like...example

1 context link with drop down and title bar for 5 days- $5000
1 context link with drop down, no title bar for 5 days - $2500
4 text link with drop down and title bar for 5 days - $19000

so they choose their plan, lets do the 4 text links one, then once they pay for the plan through paypal (ofcourse), then the IPN takes em back and boom, now they purchased this ad space. now, they goto their UserCP maybe, and have a field to enter their 4 text ads in a slot, with drop down and title bar category.

then after 5 days, the plan expires, and the ads get removed.

is this possible o holy one?

GoTTi
08-12-2005, 07:45 AM
i think i found a problem

the drop down stuff is only showing on 1 style. the main style. not dropping down on any other style. any ideas?

The Geek
08-12-2005, 11:46 AM
Not sure what you mean about the drop down stuff.

Yes, I am working on a system to allow people to purchase and manage GAL and GAB entries.

Colour issues is really a CSS issue. Just change the CSS in whatever way you fancy.

HTHs!

OrangeFlea
08-12-2005, 02:28 PM
Geez.

I'm going to have to upgrade to Vbulletin 3.5 soon, and I heard that the upgrade to 3.5 will involve erasing virtually every hack currently on previous versions. I have a list of 900+ links stored on my forum, using your wonderful tool. Is there any way I'll be able to save all the links I have stored, install 3.5, and "dump" the list on the new 3.5 board?

I don't want to go through the headache of manually putting in every single link again, assuming there will be a version of this hack compatible with Vbulletin 3.5.

wolfyman
08-12-2005, 02:41 PM
Geez.

I'm going to have to upgrade to Vbulletin 3.5 soon, and I heard that the upgrade to 3.5 will involve erasing virtually every hack currently on previous versions. I have a list of 900+ links stored on my forum, using your wonderful tool. Is there any way I'll be able to save all the links I have stored, install 3.5, and "dump" the list on the new 3.5 board?

I don't want to go through the headache of manually putting in every single link again, assuming there will be a version of this hack compatible with Vbulletin 3.5.

wow... I don't have that many, but still.

Is this true, 3.5 is going to wreck all my hacks? Oy, I don't want to do all that again!

The Geek
08-12-2005, 02:52 PM
Guys... this will not work with vb3.5 however upgrading to 3.5 will not erase the hack - it just will stop working. You wont lose any of the data and the port for 3.5 of this version is too far off now.
Even if you upgraded to vb3.5 and this didnt work ... as soon as the port was released, all your old links would start working again.

900 is a hell of a lot! I would have anticipated server load problems with that many! (BTW I am playing with some ideas to optimize even more).

OrangeFlea
08-12-2005, 03:12 PM
No server problems, or noticeable slow-downs actually. We run a book forum and whenever a certain novel or author is mentioned, your hack does its part with no problem. This hack is the MVP of the community and I'm glad I don't have to re-enter all the values again. I'd do it again if I have to, but I'm glad don't have to. :)

Is this true, 3.5 is going to wreck all my hacks? Oy, I don't want to do all that again!

I know. That's what they said at Vbulletin.com, and that's why you're seeing a lot of re-releases of hacks for 3.5. If it wasn't for the plug-in/hook feature, I wouldn't bother, but support for pre-3.5 versions of Vbulletin will drop gradually as more and more people install 3.5. I'm not gonna upgrade until Geek's Autolinker is ready.

wolfyman
08-12-2005, 03:43 PM
I'm not gonna upgrade until Geek's Autolinker is ready.


heh, I'm right there with ya. Love the thing :D

GoTTi
08-12-2005, 05:00 PM
sir geek, can i send you a PM palease?

The Geek
08-12-2005, 05:05 PM
sir geek, can i send you a PM palease?

Er, since you called me Sir - I guess :)

GoTTi
08-12-2005, 05:56 PM
Not sure what you mean about the drop down stuff.

Yes, I am working on a system to allow people to purchase and manage GAL and GAB entries.

Colour issues is really a CSS issue. Just change the CSS in whatever way you fancy.

HTHs!

the drop down ad option, one with title bar and without. its not showing on some styles. not sure why, i have that code in the CSS Main thing.

The Geek
08-12-2005, 06:54 PM
the drop down ad option, one with title bar and without. its not showing on some styles. not sure why, i have that code in the CSS Main thing.

Make sure the box style and other style options are set to a valid css option.

T3MEDIA
08-12-2005, 07:38 PM
Hi I know your busy... and I know I am not the most popular guy here... but take a look at this link.

http://istockphoto.com/file_search.php?action=Browse&Cache=5414035&page=2

you see how you can move your mouse over the small thumbs and a moving window pops up.

I want that effect for the forum threads... like how it is if you was to click on my name here on the left....

I dont know about moving but the persons avatar and small links. I come to you because I KNOW you could do it. I KNOW you could but its just to get you into to it.

I will donate or whatever to the cause... I think it will look crazy sexy and make the overall look of the site hot.

TALK TO ME!!! lol

The Geek
08-13-2005, 07:45 PM
Hi I know your busy... and I know I am not the most popular guy here... but take a look at this link.

http://istockphoto.com/file_search.php?action=Browse&Cache=5414035&page=2

you see how you can move your mouse over the small thumbs and a moving window pops up.

I want that effect for the forum threads... like how it is if you was to click on my name here on the left....

I dont know about moving but the persons avatar and small links. I come to you because I KNOW you could do it. I KNOW you could but its just to get you into to it.

I will donate or whatever to the cause... I think it will look crazy sexy and make the overall look of the site hot.

TALK TO ME!!! lol

Hey man... Cool little thing you pointed to there. Yes, it is possible with GAL but would require very minor modifications. I wish I could say I could do it... but Im gonads to the wall with projects right now.

Maybe post something in modification requests... I would be happy to help someone through it (as long as I didnt have to do every little tidbit for them). Could be a cool mod of a mod :)

GlobalFusion
08-15-2005, 03:31 PM
Ok, not sure if this is a script bug or user bug.

Here you can see 3 examples i've setup to test output:

http://forums.designerfusion.com/showthread.php?p=2021#post2021


I have no boxes!! It looks like the CSS isnt getting processed.


Upon further investigation...

what should be something like this in the DB:

onmouseover='GAL_popup(this,"1", 200, "class=\"GAL_tablebox\"",



is in fact missing the 'class' part upon DB insertion:


onmouseover='GAL_popup(this,"1", 200, "",



HELP!


I am running GAL 4.02 on vB 3.0.8

axi
08-15-2005, 05:50 PM
i have the same problem

The Geek
08-15-2005, 08:02 PM
i have the same problem

make sure that the box style is set to something. That is always the problem.

GlobalFusion
08-16-2005, 12:09 AM
make sure that the box style is set to something. That is always the problem.


All box styles are set. (set to 'Yellow Box')

I noticed on your own site, in your css it says 'yellowbox' - would this help? (ie; no space etc)

In fact, EVERYTHING has been done as per your instructions in the readme.html file.


I have gone over the instructions several times and double checked all settings time & time again...

The Geek
08-16-2005, 02:28 AM
All box styles are set. (set to 'Yellow Box')

I noticed on your own site, in your css it says 'yellowbox' - would this help? (ie; no space etc)

In fact, EVERYTHING has been done as per your instructions in the readme.html file.


I have gone over the instructions several times and double checked all settings time & time again...

have you tried debug->rebuild? Are you using the DB option in settings?

axi
08-16-2005, 03:56 AM
Yes I have also tried debug, the boxes are set to something too..

What could possibly be the problem?

axi
08-16-2005, 04:05 AM
hkmmm actually it just started working out of nowhere, i tried debugging it again and works. wierd. thanks though

GlobalFusion
08-16-2005, 05:16 AM
have you tried debug->rebuild? Are you using the DB option in settings?


Yes, I have tried debug->rebuild.


Im not using the DB cache if thats what you mean.

GlobalFusion
08-16-2005, 05:21 AM
ok. i set the DB cache to 'yes', and one of them now works. I will look into the code further.

wolfyman
08-16-2005, 11:34 AM
Hey Geek... What's the ETA of having this on 3.5? I reeeeeeeeeally want it, I'll sleep with somebody if I have to.

GlobalFusion
08-16-2005, 12:23 PM
Ok. I found out the problem.

The reason why it wasnt showing the CSS box for the autolinks was due to the # of chars.

For some reason, while it would still show the characters, after a certain amount(?) it prevents the css from showing.

Is there a particular area/file i should look in to increase this character limit?

axi
08-16-2005, 01:59 PM
its actually not working for me again. wierd once again.

axi
08-16-2005, 03:01 PM
geek you should try getting a version out with alloving pics in the popups too.. would be so mad

wolfyman
08-16-2005, 03:16 PM
geek you should try getting a version out with alloving pics in the popups too.. would be so mad

I just got a stiffy.

The Geek
08-16-2005, 03:54 PM
It does allow pictures so stiff on :)
(descriptions allow for bbcode and html)

Global- maybe the field size?!? Actually, that is all stored in the datastore so there isnt really a limit. Saying that - I would strongly advise you to use the class and put the CSS in your style section of the CSS as it dramatically cuts down on the page HTML output and renders faster.

Axi - make sure you are using the DB instead of the cache and click debug->rebuild that is almost always the problem (and make sure your box and styles are set to something valid).

The Geek
08-16-2005, 03:56 PM
oh, BTW - a port to 3.5 is not far off. I think the initial code is done and now I just have to make the plugin and installer. Those are pretty minor as this didnt really have many file changes to begin with. I was hoping to improve on the code a bit - however I think ill just start with the port so I can feel like I am making progress to 3.5 (I feel like I have spent every availible minute coding the past 6 weeks and its driving me batty).

axi
08-17-2005, 11:14 AM
geek, any chance of gettin a Scroll bar happening for Popups with characters that exceed box limit?

GlobalFusion
08-17-2005, 11:55 AM
geek, any chance of gettin a Scroll bar happening for Popups with characters that exceed box limit?


Thats an easy CSS attribute.


overflow:auto

wolfyman
08-17-2005, 12:13 PM
oh, BTW - a port to 3.5 is not far off.


ROCK ON Geek, you da man :D