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-30-2005 07:46 AM

Quote:

Originally Posted by blueuniverse
Is the usergroup feature going to be implemented in v4 (it looks like it from that screenshot) but just to check. :)

yupp

KTBleeding 04-30-2005 02:34 PM

NICE! That looks like it has covered everything I could want out of a hack like this. Geek, keep it up, you're awesome.

libertate 04-30-2005 08:08 PM

Quote:

Originally Posted by The Geek
liberate - check the readme for a good explination of the categories.

Thank you, I get the concept now.

Unfortunatelly, I still do not having working. Not just that, I cannot see the links on your example page either (MMA thing)! I tried both Firefox, and IE still nothing.

Any more suggestions?

The global setting is the default link
Code:

<a href='$link' target='_blank' class='DEF' onmouseover="GAL_popup(this,$description);" onmouseout="GAL_hidepopup();">$text</a>

ChurchMedia 04-30-2005 08:14 PM

I didn't see this problem mentioned, but when I edit a link it changes ALL my links to the same information. Then when I delete one it deletes all of them. What do you think is causing that?

The Geek 05-01-2005 12:07 AM

Quote:

Originally Posted by libertate
Thank you, I get the concept now.

Unfortunatelly, I still do not having working. Not just that, I cannot see the links on your example page either (MMA thing)! I tried both Firefox, and IE still nothing.

Any more suggestions?

The global setting is the default link
Code:

<a href='$link' target='_blank' class='DEF' onmouseover="GAL_popup(this,$description);" onmouseout="GAL_hidepopup();">$text</a>

liberate - my demos down as I am in the final stages of implimenting 4.0 :)
hmmm. your settings look right. Try changing the limit value to 0 to see if that helps. If not - double check your functions_showthread.php edit.

Church - er. Got me. SOunds like a bug however I would have thought that would have come up by now!

----------------------------
progress

Right. I have finially finished coding an RC for 4.0 (I have literally spent about 10 hours on it today). I am just going to iron out a couple of minor issues and work on the extensability (so you can run ANY text through it i.e. PM's, portal text, etc...) Then I will write an installer and most likely release tomorrow.

nJoy ;)

ChurchMedia 05-01-2005 02:01 AM

Quote:

Originally Posted by The Geek
Church - er. Got me. SOunds like a bug however I would have thought that would have come up by now!

I deleted the tables and re-ran the installer. It seems to be fine now. Just a weird thang...

Thanks for the cool hack!

libertate 05-01-2005 02:07 AM

I did the same and seems to work, except for the javascript piece. I get the following link. The description seems correct, except for the GAL_REMOVAL stuff, and that it does not show... Any thoughts?

Quote:

<a href='http://www.working.com' target='_blank' class='DEF' onmouseover="GAL_popup(this,'Dr. Test\' New test <!--GAL_REMOVAL-->alpha <!--GAL_REMOVAL-->beta <!--GAL_REMOVAL-->gamma <!--GAL_REMOVAL-->delta, <!--GAL_REMOVAL-->Dr. <!--GAL_REMOVAL-->epsilon\' <!--GAL_REMOVAL-->New <!--GAL_REMOVAL-->test <!--GAL_REMOVAL-->package.');" onmouseout="GAL_hidepopup();">replaceme</a>
An other minor "bug" I found. If the message contains html anchor for a link, then the text within the anchor open and close still gets processed.

i.e.
Quote:

Text to replace : TEST
with : <a href="http://www.otherexample.com">test</a>
Original text:
Quote:

<a hre="http://www.example.com">this is a test big one!</a>
Resulting text after GAL
Quote:

<a hre="http://www.example.com">this is a <a href="http://www.otherexample.com">test</a> big one!</a>
This is also the case when regular BBCode URL is used.

As for the ordinals - Great! It works perfectly. When there is a "collission" the ordinals take care of it. i.e. when I have "Bob" and "Bob Smith" whichever has the lower ordinal will be the one executed. Not just that, if the first ordinal is exhausted through the "Limit replacement" order, the next occurence is used... Awesome!

This is like an Amazon money machine!

The Geek 05-01-2005 07:44 AM

re: the js code - are you sure the change to vbulletin_menu.js has been made and that you have stuck the popup html in one of your templates (i.e. header)?
The gal removal is to prevent your description getting autolinked (which could screw it up big time).

There is no way to (sanely) discover if the text is already in a link. I minimise it as much as possible with safemode.

The Geek 05-03-2005 02:18 PM

note:

GAL 4.0RC1 is in the beat section here-> https://vborg.vbsupport.ru/showthread.php?t=80929

memobug 05-06-2005 08:03 AM

This site has some really sophisticated rollovers. I haven't played with the JS here with GAL, but can it do something like this? See the green links when you hover.

http://psp.ign.com/articles/599/599236p1.html


Regards,

Matt


All times are GMT. The time now is 04:03 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.03550 seconds
  • Memory Usage 1,752KB
  • 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
  • (8)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