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)

The Geek 04-12-2005 08:30 PM

Quote:

Originally Posted by Lionel
is the function_gal good to go now? last time you told me not to upload it

? hmmm dont remember that. Should be fine. Its the latest build.
Just do not overwrite with the one from GAS - thats older (in fact I am going to go remove it now)

TTG 04-12-2005 08:59 PM

Running the upgrade and last edit and it provides this message :-


"in clientscript/vbulletin_menu.js, replace: ???" .. Guess I must have missed something with the initial installation .. where does this go in vbulletin_menu.js

with:

Code:

function GAL_popup(e,value){
        var leftpx = fetch_object_posleft(e);
        var toppx = fetch_object_postop(e) + e.offsetHeight;
        var dest=fetch_object("GALBox");
          toppx=toppx-5;
    dest.innerHTML=value;
    dest.style.left = leftpx + "px";
    dest.style.top = toppx + "px";
    if ((window.document.body.clientWidth-dest.offsetWidth)<leftpx){
        leftpx=window.document.body.clientWidth-dest.offsetWidth;
        dest.style.left = leftpx + "px";
    }
    dest.style.visibility='visible';
  }
  function GAL_hidepopup(){
    fetch_object("GALBox").style.visibility='hidden';
  }
// #############################################################################
// another function to handle the different event models of different browsers
// and prevent event bubbling in a lesser way


The Geek 04-12-2005 09:03 PM

oops ;)

Just replace
Code:

// #############################################################################
// another function to handle the different event models of different browsers
// and prevent event bubbling in a lesser way

With the code it gave you.
Looks like I forgot to put that in... Ill go off and update the installer now.

*edit - just fixed it. Thanks

memobug 04-12-2005 09:06 PM

Hi TNG,

Two questions

1) I reported a bug with Gal 2 but never got a response in that thread so I will ask again here: in safe mode, certain punctuation before the leading space was causing links not to be made. Things like commas and periods for example would stop links:

. keyword would not link
text, keyword, keyword, keyword would not link

Has this issue been addressed?

2) Can you choose on a per-link basis whether the link will be a new window or the popup? I have some links that are board internal that should open in the same window while others (advertising-related) should open in new windows.

Regards,

Matt

The Geek 04-12-2005 09:13 PM

Quote:

Originally Posted by memobug
Hi TNG,

Two questions

1) I reported a bug with Gal 2 but never got a response in that thread so I will ask again here: in safe mode, certain punctuation before the leading space was causing links not to be made. Things like commas and periods for example would stop links:

. keyword would not link
text, keyword, keyword, keyword would not link

Has this issue been addressed?

2) Can you choose on a per-link basis whether the link will be a new window or the popup? I have some links that are board internal that should open in the same window while others (advertising-related) should open in new windows.

Regards,

Matt

Hi Matt.

Point 1- that is by design. In safe mode, the word MUST have a leading space. Otherwise it wont link for fear it will mess up a link. Danger mode will link them though.

Point 2- You can overwrite on a per item basis. However the prefered and easier method is to now create a category for those special links and override the global replacement with whatever you want (ie taking out the target='_BLANK' option)

memobug 04-12-2005 09:24 PM

Quote:

Originally Posted by The Geek
Hi Matt.

Point 1- that is by design. In safe mode, the word MUST have a leading space. Otherwise it wont link for fear it will mess up a link. Danger mode will link them though.

Point 2- You can overwrite on a per item basis. However the prefered and easier method is to now create a category for those special links and override the global replacement with whatever you want (ie taking out the target='_BLANK' option)

Thanks but
in #1 all of those have leading spaces

.SPACEkeyword would not link
text,SPACEkeyword,SPACEkeyword,SPACEkeyword would not link

#2 - great!

The Geek 04-12-2005 09:35 PM

Sorry - missed those spaces ([baddrumroll]I guess I 'spaced' them off! [/baddrumroll])

Well... a couple of users have mentioned this and I have to say I only just first witnessed it while testing 3.0. Thats because I generally use danger mode.
FOr the life of me I couldnt figure out why it wasnt linking (mind you - its still very rare). The only thing I can think of is that the message itself (out of the DB) has some formatting during parsing which does not equate to a literal space. This would explain why it is consistent on the same message, but sows up elsewhere.
If that is the case - it could be taken into account in the regex. However like I said - I only first just witnessed it.

If anyone has some ideas - let me know.

TTG 04-12-2005 09:41 PM

Hate to find another problem .. my admin GAL items are now missing after the upgrade .. can someone post the edits for admincp/index.php .. thanks

The Geek 04-12-2005 09:42 PM

Quote:

Originally Posted by TTG
Hate to find another problem .. my admin GAL items are now missing after the upgrade .. can someone post the edits for admincp/index.php .. thanks

Run the installer, choose the install path. THen click the manual install step. THat should bring it up

Lionel 04-12-2005 10:06 PM

I don't know what I am doing wrong. I ran the upgrade, had to do a couple adjustment manually, but now links are not working. Am I supposed to use what is in Gal folder instead of regular forum?

First time I used the auto installer... did not realized I had to copy files over


All times are GMT. The time now is 09:51 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.01628 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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