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 01-07-2006 10:45 PM

but the 3.5x version here (the only vb version I dev for now) does not have popups. Only thepro version does - hence the lack of need for it to stay open :)

Hope that makes sense

wirewolf 01-14-2006 02:01 PM

Hi Geek,
I figured out the code for locking the box on the screen. See this example:
http://www.shipmodeling.net/vb_forum/thread1187.html

Checked it out in IE, 'Nutscape' and Firefox, seems to work fine in all.

Although in Mozilla if the Autolink is on the right hand side of the page and you mouseover the link, it blows out the page to the left (hope I explained that well). But it was doing that before I made any changes any way.

The box stays open until the user moves to another Autolink (one closes and the other opens), if they click off the page, or if they hit the 'Close' at the bottom on the box.

It's not dragable (is that a word?), but given time!

If you want the code, I can PM you, or I can post it here for other users of this version to use if OK with you.

John

The Geek 01-14-2006 08:39 PM

Sounds cool. Feel free to post any enhancments here for anyone to use if youre cool with that.

Thanks again :)

wirewolf 01-15-2006 02:42 PM

For those running Autolinker version 4.02 on vb 3.0.x + (I'm running it on Vb versiion 3.0.9 (patched) with no problems).

If you'd like to have the GALBox stay static on the users screen, then make the edits below.

To see an example (scroll down the page and mouse over the various Autolinks):
http://www.shipmodeling.net/vb_forum/thread1187.html

As always, backup, backup, backup!

In the 'header' (or where ever you put this block of code) template:
Original:
Code:

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

Replace with:
Code:

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

In the 'vbulletin_menu.js' file:
In the block - 'function GAL_popup':
Around line #45 - Original:
Code:

innerhtml= innerhtml + value_style + "'>" + value + "</td></tr></table>";
Replace with:
Code:

innerhtml= innerhtml + value_style + "'>" + value + "<br /><div class='smallfont' style='cursor: pointer; cursor: hand; float: right'>Close</div></td></tr></table>";
In the replacement codes for PopUp (with and without title):
Original:
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");' onmouseout='GAL_hidepopup();'>$gal_text</a>
Replace with:
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");' onclick='GAL_hidepopup();'>$gal_text</a>
Don't forget to to a 'debug' when done!

I tried it with IE, Netscape and Firefox and it works well with all.

John

Mikecp421 01-27-2006 03:35 AM

having a couple of problems.

1. running test and I am not getting a box to pop up although I have selected standard links with grey title and yellow box based on the suggestions in your readme file. WHen hovering I get a link that shows all the html replacement <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>

2 when I press stats in the autolink manager I get this error message;

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

I installed all the files as specified,

3. also I didn't see where all the image files go, could you tell me? Thanks, nice mod btw.

TitanJeff 05-10-2006 11:47 AM

Anything new with this hack? I'd love to offer this to advertisers but I would only want it to work for guests. It's a wonderful idea.

Bubble #5 05-10-2006 08:29 PM

We just clicked on the install file and it gave us this error message:

Quote:

Fatal error: Call to undefined function: globalize() in admincp/gal4_install.php on line 43
What would cause this? :surprised:

The Geek 05-12-2006 11:05 AM

The fact that you are trying to use a 3.0x modifiaction on a 3.5x board ;)

Bubble #5 05-12-2006 03:45 PM

Quote:

Originally Posted by The Geek
The fact that you are trying to use a 3.0x modifiaction on a 3.5x board ;)

DOH!!! Must have clicked on the wrong link somewhere along the way. OK I'll crawl back under my rock ;)

Thanks :banana:

VB-Fanatiker 01-27-2007 07:32 PM

Hello,

great Hack! :)

Is there a way to add a lot of (400!) replacements with one sql-file into the database?

Something like this (but what is with the "id" and "processed_text"?):
PHP Code:

INSERT INTO geek_autolink (textlinkignorethreaddescriptionordinalcatidtitleenddateprocessed_textprocessed_replacement
VALUES .... ? 

I'm a noob with sql...:cool:
Thanks in advance for a little help.:)


All times are GMT. The time now is 08:08 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.02149 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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