| View previous topic :: View next topic |
| Author |
Message |
Wolfgang
Joined: 11 Dec 2005 Posts: 29 Location: Austria
|
Posted: Wed Aug 16, 2006 4:33 pm Post subject: Bug in Autolinks? |
|
|
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 |
|
 |
Afkamm Site Admin
Joined: 22 Sep 2004 Posts: 568 Location: Scotland
|
Posted: Wed Aug 16, 2006 7:31 pm Post subject: |
|
|
Hi wolfgang,
It is indeed a bug. 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
I apologise for this bug, it's one of those small oversights that happens to me on a regular basis.  _________________ Marc
Remember, Google is your friend. |
|
| Back to top |
|
 |
Wolfgang
Joined: 11 Dec 2005 Posts: 29 Location: Austria
|
Posted: Thu Aug 17, 2006 9:12 am Post subject: |
|
|
Hi Marc,
thanks a lot for your advice! I guess upgrading will be the best solution.
Have a nice day!
Wolfgang |
|
| Back to top |
|
 |
Afkamm Site Admin
Joined: 22 Sep 2004 Posts: 568 Location: Scotland
|
Posted: Thu Aug 17, 2006 6:38 pm Post subject: |
|
|
Go through the install file instruction by instruction, double checking each of your files for changes. There are some slight ones in there.  _________________ Marc
Remember, Google is your friend. |
|
| Back to top |
|
 |
Wolfgang
Joined: 11 Dec 2005 Posts: 29 Location: Austria
|
Posted: Thu Aug 17, 2006 7:50 pm Post subject: |
|
|
Thank you, Marc!
I have already installed the latest version successfully with a little help from Winmerge.
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. )
Thanks again!
Wolfgang |
|
| Back to top |
|
 |
Afkamm Site Admin
Joined: 22 Sep 2004 Posts: 568 Location: Scotland
|
Posted: Thu Aug 17, 2006 11:05 pm Post subject: |
|
|
I was in the middle of adding that option when work got in the way.  _________________ Marc
Remember, Google is your friend. |
|
| Back to top |
|
 |
|