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)

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 :)


All times are GMT. The time now is 03:27 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.01204 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_php_printable
  • (5)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
  • (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