phpBB2 Mods Forum Index phpBB2 Mods
A demo forum demonstrating my mods
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   TV GuideTV Guide   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug in Autolinks?

 
 
Post new topic Reply to topic
   phpBB2 Mods Forum Index -> Autolinks [v2.1.4]
View previous topic :: View next topic  
Author Message
Wolfgang



Joined: 11 Dec 2005
Posts: 29
Location: Austria

PostPosted: Wed Aug 16, 2006 4:33 pm    Post subject: Bug in Autolinks? Reply with quote

Hello Marc,

I installed version 2.1.1 of your great autolinks mod. Unfortunately bbcode [ code ] doesn´t work anymore.

For example:

[ code ]that ist a test[ /code ]

turns in viewtopic to:

Code:

ALSPACE HOLDERthatALSPACE HOLDER ALSPACE HOLDERisALSPACE HOLDER ALSPACE HOLDERaALSPACE HOLDER ALSPACE HOLDERtestALSPACE HOLDER



"ALSPACE HOLDER" (without the space) only occurs in bbcode.php and functions.php and is related to your mod. Is this a bug or did I make a mistake during installation?

(BTW: There are currently no Autolinks in my database.)

You can see my bbcode.php and functions.php here:

http://home.twin.at/wolfgang/bbcode.txt
http://home.twin.at/wolfgang/functions.txt

Greetings from Austria!
Wolfgang
Back to top
View user's profile Send private message Visit poster's website
Afkamm
Site Admin


Joined: 22 Sep 2004
Posts: 568
Location: Scotland

PostPosted: Wed Aug 16, 2006 7:31 pm    Post subject: Reply with quote

Hi wolfgang,

It is indeed a bug. Embarassed|-1 There are 3 ways to fix this.

1. Open bbcode.php and remove the line...
Code:
      // Start Autolinks For phpBB Mod
      $after_replace = preg_replace('/(\b)/', '\\1ALSPACEH0LDER', $after_replace);
      // End Autolinks For phpBB Mod


2. Add an autolink that's for all forums. Doing this will mean the function autolink_transform() is called and the ALSPACEH0LDER's will get removed.

3. Upgrade to v2.1.2 Very Happy|-1

I apologise for this bug, it's one of those small oversights that happens to me on a regular basis. Laughing|-1

_________________
Marc Smile|-1
Remember, Google is your friend.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Wolfgang



Joined: 11 Dec 2005
Posts: 29
Location: Austria

PostPosted: Thu Aug 17, 2006 9:12 am    Post subject: Reply with quote

Hi Marc,

thanks a lot for your advice! I guess upgrading will be the best solution.

Have a nice day! Razz|-1
Wolfgang
Back to top
View user's profile Send private message Visit poster's website
Afkamm
Site Admin


Joined: 22 Sep 2004
Posts: 568
Location: Scotland

PostPosted: Thu Aug 17, 2006 6:38 pm    Post subject: Reply with quote

Go through the install file instruction by instruction, double checking each of your files for changes. There are some slight ones in there. Smile|-1
_________________
Marc Smile|-1
Remember, Google is your friend.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Wolfgang



Joined: 11 Dec 2005
Posts: 29
Location: Austria

PostPosted: Thu Aug 17, 2006 7:50 pm    Post subject: Reply with quote

Thank you, Marc!

I have already installed the latest version successfully with a little help from Winmerge. Razz|-1

Autolinks is really a great mod, too. You know that I´m in love with your smilies mod. (Uhh, I remember there is one feature request left unsolved. *hehe* Everybody should see the smilies of a certain category but only admins or moderators should be allowed to post these smilies. Would be great if you could add this feature to your smilies mod. Ooops, wrong forum. Embarassed|-1 )

Thanks again!
Wolfgang
Back to top
View user's profile Send private message Visit poster's website
Afkamm
Site Admin


Joined: 22 Sep 2004
Posts: 568
Location: Scotland

PostPosted: Thu Aug 17, 2006 11:05 pm    Post subject: Reply with quote

I was in the middle of adding that option when work got in the way. Smile|-1
_________________
Marc Smile|-1
Remember, Google is your friend.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
  Post new topic Reply to topic
   phpBB2 Mods Forum Index -> Autolinks [v2.1.4] All times are GMT + 1 Hour

Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


 


Powered by phpBB © 2001, 2005 phpBB Group