vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Geek AutoLinker 4.02 (https://vborg.vbsupport.ru/showthread.php?t=76054)

fly 05-25-2005 05:07 PM

Quote:

Originally Posted by The Geek
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

Quote:

Originally Posted by flypaper
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

Quote:

Originally Posted by Rukas
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

Quote:

Originally Posted by The Geek
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

Code:

<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

Quote:

Originally Posted by tomshawk
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

Code:

<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

Quote:

Originally Posted by The Geek
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

Quote:

Originally Posted by tomshawk
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

Quote:

Originally Posted by The Geek
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

Quote:

Originally Posted by pguy
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

Quote:

Originally Posted by pguy
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

Quote:

Originally Posted by The Geek
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

Quote:

Originally Posted by tylercruz
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

Quote:

Originally Posted by The Geek
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....98&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

Quote:

Originally Posted by The Geek
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

Quote:

Originally Posted by The Geek
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

Quote:

Originally Posted by TTG
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

Quote:

Originally Posted by Crow
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

Quote:

Originally Posted by The Geek
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?


All times are GMT. The time now is 12:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03903 seconds
  • Memory Usage 1,840KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete