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)

wolfyman 04-15-2005 03:12 PM

I'm with it now, thank you very much :D

The Geek 04-15-2005 05:11 PM

I cant replicate the limit bug you have mentioned. It seems to work fine at this end.
I cant replicate the settings not saving dangermode. It works as expected on a clean install.

I did find that putting $url in when you are not using the popup (in other words - using standard links) can cause extra HTML formatting to appear. It would be silly to put the $url variable just so it appears in a standard tooltip box anyway as it would be totally unusable.

I also found that in the replacement code - dont bother putting an apostraphe around the $description tag as one is done automatically within the construction of the variable.

HTH's

Quarterbore 04-15-2005 05:32 PM

I just finished installing this on my board and it is a great mod!

I only had one problem with the install that you may want to evaluate...

In the install script there is line for "Modifying file: admincp/index.php"

In my install I got an error saying...

Quote:

Can not complete change to admincp/index.php - step 200 as I can not find the text to replace. You will have to manually complete this step. [click here for manual step step 200]
I looked at the directions and it said to open admin/index.php and find

Code:

// *************************************************
        if (can_administer('canadminstyles'))

and replace above with:

Code:

// === GAL step 200 ===
    $printhr = true;
    construct_nav_option($vbphrase['GAL_display'], 'GAL_admin.php');
    construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=add');
    construct_nav_option($vbphrase['GAL_settings'], 'GAL_admin.php?do=settings');
    construct_nav_option($vbphrase['GAL_cats'], 'GAL_admin.php?do=cats');
    construct_nav_option($vbphrase['GAL_cat_add'], 'GAL_admin.php?do=addcat');
    construct_nav_group($vbphrase['GAL_CP']);
    // === /GAL step 200 ===

                                    // *************************************************
        if (can_administer('canadminstyles'))


In my file I had the following:

Code:

// *************************************************

        $printhr = false;
        if (can_administer('canadminstyles'))
        {
                $printhr = true;
                construct_nav_option($vbphrase['style_manager'], 'template.php?do=modify', '<br />');
                construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />');
                construct_nav_option($vbphrase['replacement_variable_manager'], 'replacement.php?do=modify', '<br />');
                construct_nav_option($vbphrase['download_upload_styles'], 'template.php?do=files', '<br />');
                construct_nav_option($vbphrase['find_updated_templates'], 'template.php?do=findupdates', '<br />');
                construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]", '<hr />');
        }
        // ***

So I updated my code by replacing the line:

Code:

// *************************************************

        $printhr = false;
        if (can_administer('canadminstyles'))

with

Code:

// *************************************************

        $printhr = false;
        // === GAL step 200 ===
            $printhr = true;
            construct_nav_option($vbphrase['GAL_display'], 'GAL_admin.php');
            construct_nav_option($vbphrase['GAL_add_new'], 'GAL_admin.php?do=add');
            construct_nav_option($vbphrase['GAL_settings'], 'GAL_admin.php?do=settings');
            construct_nav_option($vbphrase['GAL_cats'], 'GAL_admin.php?do=cats');
            construct_nav_option($vbphrase['GAL_cat_add'], 'GAL_admin.php?do=addcat');
            construct_nav_group($vbphrase['GAL_CP']);
            // === /GAL step 200 ===
       
                                            // *************************************************
        if (can_administer('canadminstyles'))


As for my board... I am running vB 3.0.7. and the only other Mod I have installed is vBAdvanced. The replacement code seems to work however with one minor thing I would like changed if possible...

If your keyword is used as the title for a link such as "Click here for link on vBulletin" and you use vBulletin as a replacement term then what happens is "Click here for link on" goes to the initial link while "vBulletin" goes to a different link as defined by this mod.

Is there any way to have the mod detect that text should not be between a [url= some url ]Click here for link on vBulletin[ /url]?

EDIT: ALSO whay aren't the font colors working on this board (vBulletin.org)?

The Geek 04-15-2005 05:37 PM

It shouldnt do that in safe mode. Please let me know which mode you are running in.

Quarterbore 04-15-2005 05:46 PM

I am using safe mode.

You can see it at work here:

http://www.quarterbore.net/forums/showthread.php?t=19

In reply to below... not a major issue and I can live with it... I just need ro remember not to use my keyword in my description of the link anymore! As I find them, I will just reword them...

Thanks again for an excellent mod!

The Geek 04-15-2005 06:52 PM

It wont change anything except in a postbit.
As far as the [url=www.somesite]i like bob a lot[/bob] getting messed up... that is a limitation. Both safemode and danger mode will screw up that link.
The reason being that bob qualifies to get linked because there is a space in front of it.
There isnt really a way to determine (within reason) if bob is in middle of a link or not. All it can do is (in safe mode) determine that it isnt a link itself (ie www.bob.com). In order to determine if it is sitting in a url, you would have to come up with the mother of all regex that would find a match and scan backwards to ensure that there wasnt a < a href in front without a matching </a> after it. This would be a nightmare to make the regex and it would dramatically slow things down.

Sorry :(

rainyleaves 04-16-2005 04:28 AM

Realy thanks..GEEK. Very cool hack.

I have major problem.
I can use English key words.
But I can not use Korean key words.
Korean key word can not link. Nothing appear.
Korean language is 2byte language.
How can I use Korean key word with GAL.

Thanks.
Sorry my English...^^

rjerina 04-16-2005 05:57 AM

Is this supported in FireFox as well or is it just IE?

The Geek 04-16-2005 06:41 AM

Quote:

Originally Posted by rjerina
Is this supported in FireFox as well or is it just IE?

Works in FF as well.

rainyleaves - I really have no clue about that - maybe someone here can shed some light onto it. sorry :(

rainyleaves 04-16-2005 06:43 AM

Thanks...^^ GEEK.

venomx 04-16-2005 08:00 PM

This is odd. I am still using the old version and its linking a word that has text after it.

http://www.discussionjunction.com/fo...ead.php?t=2024
I have it set to link amazon and this post has amazon.com 2 times.. the first one is linked.
I guess Ill try updating this hack but I am scared to because when I did the artivle hacks update it didnt work. :(

venomx 04-16-2005 08:51 PM

Updated perfectly! W00t I had to make 3 or 4 edits on my own though.
Thing is the popup doesnt look right... its way too big compared to the one on the demo... :(

OrangeFlea 04-16-2005 11:31 PM

I have 2.6

Is there any major reason for me to update the current version? The one I have now is perfect.

Kihon Kata 04-17-2005 01:33 AM

Quote:

Originally Posted by OrangeFlea
I have 2.6

Is there any major reason for me to update the current version? The one I have now is perfect.

I have the new one and I can tell you, the mouseovers ROCK. Look here for an example and hover your mouse over the links: http://www.makeuptalk.com/forums/showthread.php?t=6357 (second post down)

The Geek 04-17-2005 09:51 AM

I agree that the default style for the popup is a bit pants. If you want it changed - just change the style of the div box you put in your template (most likely the header).

swarangal.com 04-17-2005 02:30 PM

hey geek i have integrated the Overlib in to this hack for mouse our ... u can see it in my test zone :)

http://www.swarangal.com/fingering/showthread.php?t=1

just check iranthavan / chandramuki

please suggest me whether it is right to change ?

The Geek 04-17-2005 02:44 PM

Quote:

Originally Posted by swarangal.com
hey geek i have integrated the Overlib in to this hack for mouse our ... u can see it in my test zone :)

http://www.swarangal.com/fingering/showthread.php?t=1

just check iranthavan / chandramuki

please suggest me whether it is right to change ?

hey there. I have no clue what overlib is. The mouse over looks kind of cool for chandramuki - however it doesnt work ;)
You can get the same look with the popup facility here. You dont need the other hack.

BTW: Is that my advertising hack to? ;)

Looks cool - just needs a <br /> before ad1 :)

The Geek 04-17-2005 02:48 PM

oh, also - you are getting an error because your title is 'Iranthavan the Admin'
with the JS you included - it should be \'Iranthavan the Admin\'

T3MEDIA 04-17-2005 02:55 PM

Quote:

Originally Posted by swarangal.com
hey geek i have integrated the Overlib in to this hack for mouse our ... u can see it in my test zone :)

http://www.swarangal.com/fingering/showthread.php?t=1

just check iranthavan / chandramuki

please suggest me whether it is right to change ?

huck us up with that code you use to make the mouse over bro... or give us a link SOMETHING!

venomx 04-17-2005 03:06 PM

I think he is using a different hack for that popup design unless I am reading wrong...

swarangal.com 04-17-2005 04:10 PM

Overlib is another nice Mouse over script guys its freeware (free wot ever it is) i just used the code ... and tested and its works and getting error so i asked geek more info goes here.

include the js in the headinclude and put the div in the header template and thats it

http://www.bosrup.com/web/overlib/

i really love this mouse over its KEWL :)

try geek to integrate properly i thinks it GPL so shud not be probz

The Geek 04-17-2005 04:52 PM

Quote:

Originally Posted by swarangal.com
script guys its freeware (free wot ever it is) i just used the code ... and tested and its works and getting error so i asked geek more info goes here.

include the js in the headinclude and put the

Why when you can do the same thing with this?

swarangal.com 04-17-2005 05:19 PM

Quote:

Originally Posted by The Geek
Why when you can do the same thing with this?

it has tons of other features ... like calling it left rite center top with background image i can even call my image when overed my nick stuff like that it will help my sponsperer's tat y urs is simple gr8 stuff but just adding my fancy stuff to it ... correct me if i AM wrong

T3MEDIA 04-17-2005 06:28 PM

oh man thats hot.
He is using the link stuff but the pop up is just more nicer java thats all.
cool.

The Geek 04-17-2005 06:45 PM

Cool. But im still not sure what you asking me. You want me to integrate my hack into their progam?

Cant really say I see it on the immediate horizon. sorry... just very busy with other hacks right now :(

swarangal.com 04-18-2005 01:43 AM

Quote:

Originally Posted by The Geek
Cool. But im still not sure what you asking me. You want me to integrate my hack into their progam?

Cant really say I see it on the immediate horizon. sorry... just very busy with other hacks right now :(

no probz just keep it in the corner of things to do :p

and yes its ur banner system !!! going to play around with ur article system and will bug u there :p

venomx 04-18-2005 02:13 AM

Any way to make this work with the banner system you are setting up?

The Geek 04-18-2005 06:10 AM

Quote:

Originally Posted by venomx
Any way to make this work with the banner system you are setting up?

It will do venom.
I am still juggling with how to get them to expire like ads though (oh yea, and there really isnt a way to track how mant imressions you get with a GAL)

Lionel 04-18-2005 07:54 AM

It happened to me again that the settings reverted to safe mode. I think it does whenever a new link is added, directly or from GAS input.

The Geek 04-18-2005 09:00 AM

Quote:

Originally Posted by Lionel
It happened to me again that the settings reverted to safe mode. I think it does whenever a new link is added, directly or from GAS input.

THanks Lionel - ill investigate later today.

T3MEDIA 04-18-2005 11:48 AM

Geek. I would love to have this work this way.
Child, children, boys, girls, at home mom, brats, kids
goto this url....

and imagine there was more than 1 url.

say the kids allways have fun. Kids will be kids.

I would like the URL to be differnt for each kid. (if I had three) If I had only 2 lets say then two will have the same and one differnt.

can this be done with the hack you have now?

The Geek 04-18-2005 12:09 PM

:rolleyes:
You want the replacment to be dependant on the usergroupid? It can be done - but it isnt something that is in it now. I guess I can look at something like that for future versions.

HTH's

venomx 04-18-2005 02:45 PM

The Geek

You could always do what the text ad places do. Insert an image...
like gal.gif?ad=1

The Geek 04-18-2005 03:26 PM

Quote:

Originally Posted by venomx
The Geek

You could always do what the text ad places do. Insert an image...
like gal.gif?ad=1

Yea, that works for tracking clicks - but cant get how many times the link appears if you know what I mean...

Unless... you mean have like an image in the popup text like <img scr="www.mysite.com/image.php?id=5"> kind of thing. Not sure how well it would work though.

venomx 04-18-2005 03:35 PM

I mean like..

<a href=mydomain.com/forums/gal.php?id=1>WORD</a><img scr="mydomain.com/galimage.php?id=1">

Thats how linkshare.com does the ads for affiliates. Click the link and it counts a click the loading of the image counts the impressions.

venomx 04-18-2005 03:36 PM

the image would be a 1x1 trans. pixel image...

greenhybrid 04-18-2005 07:49 PM

I don't quite understand what the "categories" are. Can someone please explain this?

The Geek 04-18-2005 08:58 PM

Quote:

Originally Posted by greenhybrid
I don't quite understand what the "categories" are. Can someone please explain this?

The categories allow you to categorize the links for easier management (only used in admincp).

THeir real power lies in the ability to override the global replacement text.
So, you can have 2 categories, 1 that produces a standard link and 1 that produces popups.

At the end of the day - you dont really have to use them - but it CAN make things much more flexible.

greenhybrid 04-18-2005 09:00 PM

Popups? How? Also, what's the ordinal thing?

The Geek 04-18-2005 09:14 PM

Quote:

Originally Posted by greenhybrid
Popups? How? Also, what's the ordinal thing?

ordinal is the order of replacement that takes place.
so ebay sucks should have a lower ordinal than ebay otherwise ebay sucks wont get linked as by the time ebay sucks comes around - the ebay has already been changed (if that makes sens ;) )

Instructions for the poppup replacment code is in the readme. Just put it in the replacement box of the global, category, or item replacment box.

HTH's


All times are GMT. The time now is 01:02 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02138 seconds
  • Memory Usage 1,841KB
  • 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
  • (5)bbcode_code_printable
  • (13)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