Once it’s running.
Started 1 year, 10 months ago by: Anton
If someone posts a link on the activity eg: blah blah blah – http://yourlink.com, is it possible to let that link open in a new window? How can this be done?
Use a javascript solution.
Something like this will work:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=510
Make sure you change the selector so it matches the activity content container and not the entire document!
Thanks @r-a-y. I found this plugin that seems to do the trick – http://www.semiologic.com/software/external-links/
Cool! Even better! Surprised that it works with BP!
Didn’t know that plugin. I solved this problem with my own function…
@ali would you mind sharing the function that you used to get the links to open in a new window? The above mentioned plugin is not working for me.
Here is another good plugin for opening external links in new windows.
http://wordpress.org/extend/plugins/open-external-links-in-a-new-window/
Existing and new plugins/components and themes.
Show off your BuddyPress powered sites.
Problems with getting it running.
Discuss translating BuddyPress
Everything else.
Feature requests; criticism.
Post your add-ons here.
To start connecting please log in first.
Remember Me
Think you've found a bug with the software? Please report it here (use the same login credentials).