FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » how to hide
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Unsubscribe from topic | Remove from bookmarks 
Switch to threaded view of this topic Create a new topic Submit Reply
how to hide [message #161558] Fri, 08 January 2010 04:19 Go to next message
rover_scan is currently offline  rover_scan   Russian Federation
Messages: 31
Registered: January 2010
Karma: 0
Member
remove from buddy list
ignore all messages by this user

how to hide from anonymous users address url in the messages?
Re: how to hide [message #161560 is a reply to message #161558] Fri, 08 January 2010 09:06 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Sorry, I don't understand. Can you please elaborate?
Re: how to hide [message #161562 is a reply to message #161558] Fri, 08 January 2010 12:01 Go to previous messageGo to next message
rover_scan is currently offline  rover_scan   Russian Federation
Messages: 31
Registered: January 2010
Karma: 0
Member
remove from buddy list
ignore all messages by this user

Sure. At the site a lot of messages (about 11000). Many of them have links to other pages (external links, not good for SEO). Can we make sure that these links are invisible to unregistered users? Common example: "hidden text. You have to register to see hidden text.
Re: how to hide [message #161563 is a reply to message #161562] Fri, 08 January 2010 13:18 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
I don't think there is anything in FUDforum that will do that. However, it shouldn't be too difficult to add it yourself.
Re: how to hide [message #161572 is a reply to message #161563] Sat, 09 January 2010 04:56 Go to previous messageGo to next message
rover_scan is currently offline  rover_scan   Russian Federation
Messages: 31
Registered: January 2010
Karma: 0
Member
remove from buddy list
ignore all messages by this user

UPDATE fud30_msg_store SET DATA =REPLACE(DATA, '<a href', 'сцылко') ?

Very Happy Very Happy
Re: how to hide [message #161576 is a reply to message #161572] Mon, 11 January 2010 00:59 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
I would put it in replace.inc.t (before it's stored to disk) or in fileio.inc.t (after it's read from disk).
Re: how to hide [message #161583 is a reply to message #161576] Mon, 11 January 2010 13:31 Go to previous messageGo to next message
rover_scan is currently offline  rover_scan   Russian Federation
Messages: 31
Registered: January 2010
Karma: 0
Member
remove from buddy list
ignore all messages by this user

I keep messages in the SQL. Solved the problem this way: one query UPDATE adds to each link ref = nofollow tag and <noindex> </ noindex> (for Yandex). Thank you.
Re: how to hide [message #164354 is a reply to message #161583] Fri, 28 January 2011 20:48 Go to previous messageGo to next message
barefootliam
Messages: 2
Registered: September 2010
Location: Milford, ON, Canada
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I hope you mean, rel="nofollow" and not, ref=nofollow...

It would be nice if FUDForum could add this automatically to all links, as well as to links in the signature.
Message by Ernesto is ignored  [reveal message]  [reveal all messages by Ernesto]  [stop ignoring this user] Go to previous messageGo to next message
Re: how to hide [message #164356 is a reply to message #164355] Sat, 29 January 2011 15:23 Go to previous messageGo to next message
barefootliam
Messages: 2
Registered: September 2010
Location: Milford, ON, Canada
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Ernesto, well, I meant as an option. And from working on pagerank 9 and 10 pages, I know that rel="nofollow" still does make a difference because of being contacted by people at Google. (Of course, pagerank is only one of over 200 metrics used by Google in ranking earch results, and has much less effect that it used to). But the other difference it makes is that it discourages some kinds of link spam. So, I'd like it as an option. I am not, by the way, suggesting presenting one thing to one search engine and another to users, and, some external links are good and some can be bad. Or maybe we can agree to disagree on whether it's bad or good or makes a difference, and agree only that some people might like an option to have such an attribute added in some cases, OK? Very Happy

Message by Ernesto is ignored  [reveal message]  [reveal all messages by Ernesto]  [stop ignoring this user] Go to previous messageGo to next message
Message by Ernesto is ignored  [reveal message]  [reveal all messages by Ernesto]  [stop ignoring this user] Go to previous messageGo to next message
Message by Ernesto is ignored  [reveal message]  [reveal all messages by Ernesto]  [stop ignoring this user] Go to previous messageGo to next message
Re: how to hide [message #164362 is a reply to message #164361] Sun, 30 January 2011 06:18 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Here's a one line solution: add this to your lib.js file, right after (function init() {
$('a[href^="http"]').attr('rel','nofollow');


NOTE: Not all search index crawlers execute JS code. Google is probably one of the few that does.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Custom Profile Fields
Next Topic: How To Increase Number of Threads in Merge Selection Box?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Dec 09 04:31:10 EST 2023

Total time taken to generate the page: 0.03797 seconds