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)

Kihon Kata 02-15-2005 04:20 PM

Oh awesome! Let me fix this and try it

Will report back asap


Quote:

Originally Posted by The Geek
Found the bug causing the problems with safemode.Essentially it wasnt letting you build in safemode because of this.

Until I get a few minutes to update the package... do this:

in GAL_admin.php replace
PHP Code:

    if ($leadingspace=-1){ 

with this:

PHP Code:

    if ($leadingspace==-1){ 

Gotta love those =='s ;)

Then click settings and chose Safe. Then you will actually be safe :)


-=Sniper=- 02-15-2005 04:42 PM

that makes it work! thanks dude :)

Kihon Kata 02-15-2005 04:44 PM

Ahhhh, when I made this change it removed only SOME OF MY LINKS. I hit safe too

Some of the ones I added before are working and some aren't now. I evendeleted some and then readded them and they don't work anymore

Do I have recompile something?




Quote:

Originally Posted by TonysDesigns
Oh awesome! Let me fix this and try it

Will report back asap


Symbian.info 02-15-2005 05:00 PM

Quote:

Originally Posted by The Geek
Found the bug causing the problems with safemode. Essentially it wasnt letting you build in safemode because of this.

Awesome it works now! I was a good geinny pig :laugh:
Thanks for all the work! I am very happy now :smoke:

Kihon Kata 02-15-2005 05:02 PM

Ok, not working for me. This is what I did

I added the = like you had said inside GAL_admin.php. What this did wasremove half of my links LOL. I know....half?? But it really did. If Iremove the = and then hit SAFEMODE, it recompiles itright back to whereit was working with some words

Are there more instance of
PHP Code:

if ($leadingspace=-1){ 

other than just the ONE I found?

Quote:

Originally Posted by The Geek
Found the bug causing the problems withsafemode.Essentially it wasnt letting you build in safemode because ofthis.

Until I get a few minutes to update the package... do this:

in GAL_admin.php replace
PHP Code:

    if ($leadingspace=-1){ 

with this:

PHP Code:

    if ($leadingspace==-1){ 

Gotta love those =='s ;)

Then click settings and chose Safe. Then you will actually be safe :)


The Geek 02-15-2005 05:23 PM

if ($leadingspace=-1){

there should only be 1 line like that and it needs to be changed to

if ($leadingspace==-1){

Kihon Kata 02-15-2005 05:33 PM

See the attachment

Litterally, if I edit the php file to be the exact code in the attachtext file, and then upload it. Then go into the ACP, hit "Safe mode" itremoves half my links thatare there working BEFORE I edit/upload. I have duplicated process this 5 times.

What am I doing wrong?




Quote:

Originally Posted by The Geek
if ($leadingspace=-1){

there should only be 1 line like that and it needs to be changed to

if ($leadingspace==-1){


The Geek 02-15-2005 06:00 PM

Quote:

Originally Posted by TonysDesigns
See the attachment

Litterally, if I edit the php file to be the exact code in the attachtext file, and then upload it. Then go into the ACP, hit "Safe mode" itremoves half my links thatare there working BEFORE I edit/upload. I have duplicated process this 5 times.

What am I doing wrong?

I assume these are links that were put in bu the GAL system? If so it is because in safe mode, there will only be a match for a word if the word has a space in front of it.
Before you made the file edit, it was working in dangerous mode (even though you chose safe) which meant it couldnt give a poo about the space in front.
Safemode=fewer links, but less chance of URL screw up
Dangerous=More links, but greater risk of flub up

Hope this makes sense.

Kihon Kata 02-15-2005 06:05 PM

Yep it makes sense
Yes I am talking about the links thru the GAL sys.

EG Word usage: reviews (linked to http://www.makeuptalk.com/reviews)
This works FINE before I uploaded the modded file.

But why does it REMOVE links when I hit safe mode? I start a new thread with one word in it reviews with no spaces etc. Could this be that it's in the beginning of the sentence?

Hmm seems strange...but ok, let me fool with dangerous mode now...




Quote:

Originally Posted by The Geek
I assume these are links that were put in bu the GALsystem? If so it is because in safe mode, there will only be a matchfor a word if the word has a space in front of it.
Before you made the file edit, it was working in dangerous mode (eventhough you chose safe) which meant it couldnt give a poo about thespace in front.
Safemode=fewer links, but less chance of URL screw up
Dangerous=More links, but greater risk of flub up

Hope this makes sense.


Kihon Kata 02-15-2005 06:10 PM

BYW, when I added a two word combo as review center I get this: reviews' target='_blank' class='DEF' title=''>review center



Quote:

Originally Posted by The Geek
I assume these are links that were put in bu the GALsystem? If so it is because in safe mode, there will only be a matchfor a word if the word has a space in front of it.
Before you made the file edit, it was working in dangerous mode (eventhough you chose safe) which meant it couldnt give a poo about thespace in front.
Safemode=fewer links, but less chance of URL screw up
Dangerous=More links, but greater risk of flub up

Hope this makes sense.



All times are GMT. The time now is 03:42 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.01704 seconds
  • Memory Usage 1,755KB
  • 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
  • (5)bbcode_php_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