Page 1 of 1
BBCode opens new windows for URLs
Posted: Wed Aug 23, 2006 12:49 am
by Shoup
Does BBCode by default open a new window for links?
Re: BBCode opens new windows for URLs
Posted: Wed Aug 23, 2006 10:31 am
by garvinhicking
No.
Opening a new window for links is a matter of the browser. Websites should not overrule the visitors preference.
Regards,
Garvin
Posted: Wed Aug 23, 2006 9:11 pm
by Shoup
I'm not sure if it is a browser setting, though. I inserted links using html and BBCode, and the html ones stay in the parent window, but the BBCode ones open new windows.
Posted: Thu Aug 24, 2006 11:33 am
by garvinhicking
Hi!
Oh my god. You are right. I'm terribly sorry for sounding so rude, and also being wrong with my statement.
The bbcode plugin does in fact add a 'target=_blank' attribute. I just patched the plugin so that this behaviour is now configurable. Please get the latest version of that plugin file here:
http://svn.berlios.de/viewcvs/serendipi ... nt_bbcode/
HTH,
Garvin
Posted: Thu Aug 24, 2006 10:01 pm
by Shoup
garvinhicking wrote:Hi!
Oh my god. You are right. I'm terribly sorry for sounding so rude, and also being wrong with my statement.
HTH,
Garvin
No worries. Thanks for all of your help.

Posted: Tue Aug 29, 2006 12:24 am
by Shoup
I'm so accustomed to Spartacus, I'm not sure how to update a plugin by hand. I uploaded the serendipity_event_bbcode.php and the lang_en.inc.php files to the serendipity_event_bbcode, but I'm not sure what to do next to get the system to recognize them and give me the radio or checkbox to change the option for the target.
Posted: Tue Aug 29, 2006 9:20 am
by garvinhicking
Hi!
Usually if you overwrite the existing files with the ones you downloaded from the CVS link I gave you, it should already be recognized by the system!
Best regards,
Garvin
Posted: Tue Aug 29, 2006 1:46 pm
by judebert
Make sure you overwrite
all the files from the plugin. More may have changed than just the .php file.
Incidentally, I'm please to meet another person dedicated to preserving the use of "accustomed" in the English language.

Posted: Tue Aug 29, 2006 5:56 pm
by Shoup
So I need to update all of the foreign language files? They all had modification dates much older than the two files I updated.
Also, is it possible to download the entire plugin at once instead of file by file on the berliOS site?
Posted: Tue Aug 29, 2006 5:59 pm
by garvinhicking
Hi!
If you have a CVS/SVN clientl, you could do that.
Else, the spartaucs site usually bundles that. But since my server is down, it doesn't. I hope it will be functioning again at the end of next week.
Regards,
Garvin
Posted: Tue Aug 29, 2006 6:12 pm
by Shoup
I think I figured out the download thing. But I updated all of the files and it still isn't showing the option for target.
Maybe because I'm still on version 1.0? We're waiting to upgrade to 1.1 until it's the recommended release.
Posted: Tue Aug 29, 2006 6:18 pm
by garvinhicking
Hi!
There sadly was a spelling error in that file. Since currently I am developing "blind" without my dev-server, I didn'T notice that. At the SVN location you should find the updated file.
Regards,
Garvin