vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Geek Auto-Linker 4.5 LITE (https://vborg.vbsupport.ru/showthread.php?t=96336)

The Geek 03-16-2006 07:27 AM

just do me a favor and put a space before bluefly in your replys. Im not sure if I put special character considerations or post starting conditionals in the LITE version and I cant really open up the code right now. I suspect they are not coming up as positive because the LITE version MUST have a space before the word for it to be eligible.

styleforum 03-16-2006 05:03 PM

Check PM.

There is a test reply with a space and without now. It added a space when I typed .bluefly. -> . bluefly. (with link). Then after a refresh the link was gone again. My guess is if I quote that text it will show as a link once and then disappear again.

Thanks for your help.

noonespecial 03-29-2006 05:46 AM

Yah, this most certainly does not work on my board. 3.5.1 ... just FYI.

noonespecial 03-29-2006 05:49 AM

That kind of defeats the purpose ...

The Geek 03-29-2006 06:22 AM

It was released for 3.5.1 and definitely works on it.

fly 03-29-2006 12:11 PM

Quote:

Originally Posted by The Geek
It was released for 3.5.1 and definitely works on it.

And it works all the way up to the current version.

Curzon564 03-31-2006 05:49 PM

Finally I found this hack (thanks to andreas). \o/

Unfortunately there is a 'little' problem after installing it.

As it seems only the words in the first post get replaced.

If you want, you can see it here quite well:
http://www.board.eternal-chronicles....ead.php?t=4835

In the first Post "RW" gets replaced, in the second it doesn't.

fly 04-03-2006 01:30 PM

Quote:

Originally Posted by Curzon564
Finally I found this hack (thanks to andreas). \o/

Unfortunately there is a 'little' problem after installing it.

As it seems only the words in the first post get replaced.

If you want, you can see it here quite well:
http://www.board.eternal-chronicles....ead.php?t=4835

In the first Post "RW" gets replaced, in the second it doesn't.

There is an option in the CP somewhere to make it only replace 1 per page or all, iirc.

blitzburgh 04-03-2006 06:55 PM

Is there anyway to limit it to just one forum?

Thanks

Curzon564 04-04-2006 07:10 PM

Quote:

Originally Posted by flypaper
There is an option in the CP somewhere to make it only replace 1 per page or all, iirc.

As far as I can see it, there is just an option in settings where you can define the amount of replacements per post. There is nothing about replacements per page. :\

Even so I tried it with 0,1,10,99999. Nothing changed as far as it concerns the replacements in the following posts.

Edit:

It seems as if it is always correct replaced in the first post on each site. It's also in showpost.php correct.

paulfletcher 04-15-2006 12:05 AM

I'm really confused... lol. I have the Pro version of this, and I've been trying to get those wikipedia images next to our links. I see the code that has been posted a few pages back, but where do I put that code in the software? In Styles, Replacements, Descriptions ??? So confused :-( lol...

Thanks,
Paul Fletcher

ryancooper 04-23-2006 03:45 PM

WOW THis hack is AWESOME! I will definatally install this once I upgrade! Thanks;;; :)

paulfletcher 04-23-2006 04:56 PM

My problem is fixed now.

ryancooper 04-23-2006 11:34 PM

Quote:

Originally Posted by Curzon564
Finally I found this hack (thanks to andreas). \o/

Unfortunately there is a 'little' problem after installing it.

As it seems only the words in the first post get replaced.

If you want, you can see it here quite well:
http://www.board.eternal-chronicles....ead.php?t=4835

In the first Post "RW" gets replaced, in the second it doesn't.


I installed this in my test board and I have the same problem. It only replaces the words in the first post? Any help??

tansu 04-29-2006 11:01 PM

It didn't work in my forum too. I think there is an include problem while page is loading.

When i ctrl+refresh the browser and send message with quick replay, it works

But when i quote a message and send same word it doesn't work.

mawby 05-19-2006 02:35 PM

Hi,

I seem to have the same problem reported by others. I have added the expression "Turbo Timer" into my system.

When I create a new thread with that expression in it gets turned into a link as expected. If I then create a new post using the Quick Reply (AJAX) option then that post too gets displayed correctly with the links in. If I use the tradional Post Reply option then when the thread is redisplayed only the expressions in the first post are changed into links. This applies to all posts, even those that previously worked after a Quick Reply. If, however, I link directly to a post (which isn't the first post) then the expressions get changed into links correctly.

Time for an example. Here is a thread which has two posts, both containing the only expression I have at the moment. As can be seen only the first one gets expanded. However, if I link directly to the second post then it works for that second post, as here.

In my settings I have "Limit replacements per post?" set to zero. I have tried using the Maintenance -> Debug -> Rebuild option and that doesn't fix it.

Any clues as to why this only seems to work on the first post being displayed?

Also, the option to "Ignore thread" doesn't work either.

Any help greatly appreciated. If it's of any relavance I'm running on PHP version 5.0.5.

The Geek 05-19-2006 02:44 PM

huh. Not 100% sure to be totaly honest. Ill try to get to it over the weekend if I can.

mawby 05-19-2006 02:58 PM

Quote:

Originally Posted by The Geek
huh. Not 100% sure to be totaly honest. Ill try to get to it over the weekend if I can.

Thanks, that will be great.

The Geek 05-19-2006 06:45 PM

mawby. I havent had time to even test this change, nor am I sure it will even do what you're after. I just wanted to give it a shot before I head out of town so dont sue me if it doesnt work :)

In your geek/gal/includes/gal_class_core.php file, change the entire process_text function to this:

PHP Code:

    function process_text(&$text)
    {


        static 
$find;
        static 
$replace;
        static 
$cached;
        static 
$settings;

        if (!
$cached)
        {
            
$settings =& $this->settings;
            
$find   =& $settings['data']['text'];
            
$replace=& $settings['data']['replacement'];
            
$find[] = "|<!--GAL-->|";
            
$replace[] = "";
            
$cached 1;
        }
        if (
$settings['limit'] < 1)
        {
            
$settings['limit'] = -1;
        }
        if (
$find)
        {
            
$text preg_replace($find$replace" " $text$settings['limit']);
        }
        return 
$text;
    } 

Now, I guess youre kind of SOL if you don't know what I mean there - all I can do is apologize in advance :)

Once again - I havent even tested the above to see if it works let alone fixes your problem.

Hope this helps anyway :)

mawby 05-19-2006 06:50 PM

Cheers, I'll give it a try this very minute......

mawby 05-19-2006 06:53 PM

Opps...

Parse error: parse error, unexpected ';', expecting T_FUNCTION in /home/mkivsupra/htdocs/vbb/gal/includes/gal_class_core.php on line 115

mawby 05-19-2006 06:56 PM

My mistake.... a bit of poor copying and pasting! :)

I've changed it but it still has the same result, it only seems to process the first post being displayed. :(

The Geek 05-19-2006 06:59 PM

Ill try to take a look at the code while im away. Ill try to compare it to the PRO version and see if I can identify any differences

mawby 05-19-2006 07:05 PM

OK I did a bit of experimenting and if I take out the caching bit then it works. I now have the following code...

PHP Code:

function process_text(&$text
    { 
        static 
$find
        static 
$replace
        static 
$settings
 
        
$settings =& $this->settings
        
$find   =& $settings['data']['text']; 
        
$replace=& $settings['data']['replacement']; 
        
$find[] = "|<!--GAL-->|"
        
$replace[] = ""

        if (
$settings['limit'] < 1
        { 
            
$settings['limit'] = -1
        } 
        if (
$find
        { 
            
$text preg_replace($find$replace" " $text$settings['limit']); 
        } 
        return 
$text
    } 

...and if you look at the link I gave above you'll see that all the posts are getting processed now. My PHP knowledge is limited though so I don't know what side affect this will have on the system.

phpnewbie 05-23-2006 12:12 PM

I tried to replace the word .NET or C# but it didn't work.

It work well with other words. Could you tell me what's the problem?

And is there any other way to pay instead of Paypal ? I live in Vietnam so I can't use Paypal. I have my own Master Card and I can use Moneybookers.

I want to purchase the PRO version of GAL and GARS.

akanevsky 05-23-2006 12:14 PM

How much load on a client's computer does this create?

EDIT: Sorry, at first I thought this was done via javascript. But I see it has no .js files.
So, does it replace text EVERYWHERE, not just posts?

Ramsesx 05-23-2006 01:39 PM

It's not working for me. There is no change in the post made. :(
Edit: It's only working if I create a new thread, but no popup window.

Bubble #5 05-23-2006 04:36 PM

Quote:

Originally Posted by phpnewbie
I live in Vietnam so I can't use Paypal. I have my own Master Card and I can use Moneybookers.

Note to The Geek; Before you accept money like this check to make sure you're protected against chargebacks by your bank or the purchaser could screw you. You'd be wise to accept only checks and certified money orders from countries such as this ;)

phpnewbie 05-29-2006 08:03 AM

I know that Bubble #5. That's why I recommend to use MoneyBookers. Because MB won't chargeback you, they verify the $$$ before let you use it to pay.

I know that Vietnam is "well-known" about fraud CC, but I use my own CC and I can send you my scanned CC or Passport if you want to verify.

I really want to buy the Pro version to use, but I cannot pay via Paypal.

About my question, can anyone help?

Quote:

I tried to replace the word .NET or C# but it didn't work.

It work well with other words. Could you tell me what's the problem?

Bubble #5 05-29-2006 04:41 PM

Quote:

Originally Posted by phpnewbie
Because MB won't chargeback you

Unfortunately you left out the part from their site that states:

Quote:

We reserve, however, the right to withdraw this policy without notice for any particular merchant who we determine is not exercising due diligence or is operating in a way which results in higher than normal exposure.
What this means in English is that they CAN charge for a chargeback(s). All they have to do is say that the merchant should have known that (in your case) Vietnam was a very high risk and fraudulent country. There is only one way for a merchant to not worry about chargebacks, and that is to go directly through Mastercards or Visas high end merchant programs, and they cost roughly $1500.00 a year to use. Not a very approachable option for the small 'on-the-net' merchant.


Quote:

I know that Vietnam is "well-known" about fraud CC, but I use my own CC and I can send you my scanned CC or Passport if you want to verify.
This doesn't verify anything, and there is no way that The Geek could verify that these articles were not stolen in the first place. Sorry, I know you don't want to hear that but those are just the facts. While I don't know The Geek personally I do know that he is a good man, and I'm just trying to watch his back so that he is not ripped off. Surly you can understand that :bunny: You might try something like sending him a certified money order from Western Union. Then the risk would be on you and not him. Best of luck :)

tylercruz 06-09-2006 04:37 AM

Hi The Geek,

I had the 4.5 LITE installed, and put in about 20 or so links, and it worked for a while then stopped. Probably something to do with 3.0.x and 3.5 when we upgraded, even though we upgraded to the new GAL.

Anyhow, I need this back up and running so bad so I just ordered the PRO version a few minutes ago, and even with an installation service. I look forward to you fixing it all up for me :)

Thanks,

Tyler

arindra 06-13-2006 01:59 PM

i dont know if this has been asked before , but is it easy to upgrade from the lite version to the pro ? i wanna test it out before buying ... ( just to let you know , i havent tried any of them yet )

Nathan2006 07-07-2006 04:20 AM

Thank you ;)

Install

EDIT:

It is still not working on a second post onwards.

When opening a new thread it works on the 1st post but on the 2nd post after refreshing
it will not work and the link goes back to normal text :(

Is there any fix for this?
Thanks

Edit: Dont matter now I bought the full version ;)
Thanks

Jetrome 07-18-2006 08:26 AM

so i've installed it and it works great.

only one question. i'm using the Lite version on 3.5.4. if i put in more than one word in the Description section for one of the replacements, when the link is made and i hover over it, i see the <!--GAL--> in between each word. If i use one word in the description, it's not there.

is that simply the way this is coded? is this different from the Pro version? just wanted to know if it is or not.

thanks for this hack.

nasko 07-25-2006 01:23 PM

Hello.

I`ve installed this add-on but it does not work ok for me. When I post it replace the word, but when I refresh the page nothing happend. The word is not replaced.
And it does not replace all words in all posts. With every refresh the replaced word is diffenrend (the post i mean) and in most of the cases it is not replaced.
What to do?

Bubble #5 07-25-2006 05:04 PM

Quote:

Originally Posted by Nathan2006
Dont matter now I bought the full version

Probably why this version is not supported or has been updated to work with 3.6, however I know of at least two instances where that reasoning has backfired on the author because they wanted to test the hack before they bought it. When they saw that it did work (see all the posts here about second posts/refreshing?) they decided not to buy it. That's a shame because this was, at one time, a nice little hack :(

The Geek 09-15-2006 08:46 PM

Hey Bubble, it still is a nice hack. There looks like there is a bug with repeating posts, however if memory serves, there is a fix in the thread.

Please remember that this is totally unsupported and only meant to give people an option that may fill their needs instead of paying for a pro version.

Thanks!

The Geek 09-15-2006 08:46 PM

Duh. Guess I should have looked at how old his post was first :(

rareclownfish 09-16-2006 01:53 AM

is this working on 3.5.4?

bashy 09-16-2006 07:37 AM

Yes, this most deffinately works in 3.5.4


All times are GMT. The time now is 02:25 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.01533 seconds
  • Memory Usage 1,853KB
  • 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_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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