Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 18 replies, 2 voices, and was last updated 8 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
09/24/2014 at 9:56 am #304973
Joel Libava
ParticipantHi,
I’m trying to add links to the Vcard area for directory listings. But, when I add the “rel=”nofollow” attribute to them the links are gone on the listing page and on the vcard.
Site- http://www.franchisebizdirectory.com/directory
Help please!
Thanks,
Joel Libava
09/24/2014 at 11:13 am #304985Steven Zahm
Keymaster@ Joel
Not sure exactly what you mean by; “I’m trying to add links to the Vcard area for directory listings. But, when I add the “rel=”nofollow” attribute to them the links are gone on the listing page and on the vcard“. Exactly where and how are you adding links and adding the nofollow attribute?
I see you are using W3TC … after you make changes, are you emptying the page caches so you can see the changes rather than the cached page without the changes?
09/24/2014 at 11:33 am #304994Joel Libava
ParticipantHi Steven,
When I enter text, and put a link or two in the listing area-before I hit publish, I make the links “nofollow.” After i hit publish, the links are gone-nothing is linked anymore. Urls disappeared from listing area.
So, i keep having to add text at bottom of each listing asking visitors to “click link at top of page.”
Not good. :(
JL
09/24/2014 at 11:34 am #304995Joel Libava
ParticipantAnd yes, clearing cache every time!
JL
09/24/2014 at 3:00 pm #305060Steven Zahm
Keymaster@ Joel
Sorry, I understand what you’re doing, just not where … can you please attach screenshots?
09/24/2014 at 3:12 pm #305063Joel Libava
ParticipantSorry.
Screenshot in.
It’s when I go to text and do html links nofollow that they won’t stick.
JL
Attachments:
You must be logged in to view attached files.09/24/2014 at 3:14 pm #305065Joel Libava
ParticipantAnd, here is where the links wont show. They wont on listing page for the client either after i put in “nofollow”
Screenshot
Attachments:
You must be logged in to view attached files.09/24/2014 at 4:18 pm #305071Steven Zahm
Keymaster@ Joel
Hmmm.. I just added updated an entry with a link like this:
<a title="My Link" href="http://connections-pro.com" rel="nofollow">link</a>
And it worked fine.Now, it’s possible another plugin or the theme is hooking into the core WP sanitization functions which Connections uses to prevent bad things is stripping the links. The WP sanitization has a whitelist of permitted tags and their attributes, this whitelist can be altered by plugins and themes.
If this is the cause, the only way to find out is to deactivate all other plugins temporarily except Connections and cMap then edit an entry to see if the link is still stripped. If it isn’t then you know the cause is another plugin. What you’ll have to do is activate the plugin one at a time until the issue comes back. When it does, the last plugin activate is the cause.
If you deactivate all the other plugins and it still happens, then it’s likely the theme is the cause. Rather than changing themes to try, if you grant me a temp admin account, I’ll login and remove the sanitization from the bio field, temporarily, which will basically use whatever is entered in the field as is without any safety net. This will allow any text/HTML to be displayed. If it works after that, then it will have to be the theme that’s the cause. After that’s established, the sanitization will have to be added again, but at least you will know why it is happening and the cause.
09/24/2014 at 11:28 pm #305130Joel Libava
ParticipantHi, Thanks for this nice offer.
I wonder if there is an easier fix….
Couldn’t something be added in the code to nofollow links only on certain pages?
JL
09/25/2014 at 9:39 am #305141Steven Zahm
KeymasterWell, a quick Google search lead me to this plugin, Ultimate Nofollow. It works with Connections … the only bug that I noticed is when editing a link, the tick box for nofollow is not checked even though it is actually set. A quick scroll thru the code doesn’t leave me confident that it’ fix the underlying issue though because it does not add a filter to ensure the rel attribute is valid.
You might be able to adapt the tip on this page to re-allow the rel tag. I would just add the filter with a priority of 99999 rather than 10 to ensure it ran dead last.
Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.