Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Sep 2020, 09:36
multiuser multiuser is offline
 
Join Date: Oct 2011
Converting rel="nofollow" to rel="ugc"

Hello,

since March 2020, google have applied the rel=ugc, whith is the appropriate rel for user generated content, like it;s in forums, blog comments etc.

In vb4, in admin panel, there is only the option for rel="nofollow".
How can we convert it to rel="ugc" ?
Probably the modification should take part directly in file, since there is no option in admin panel.
Can someone guide through this?

Thanks in advance for any help!
Reply With Quote
  #2  
Old 11 Sep 2020, 17:51
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Normally to add ( rel="nofollow" ) to all external links you would open
Admin CP -> vBulletin Options -> BB Code Settings
and change Add nofollow attribute to URL BB Code to yes

I would assume that where ever this variable is being set, is where it would need to be changed.
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #3  
Old 12 Sep 2020, 06:36
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
It looks like line 2673 in includes\class_bbcode.php

Change

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Better VB.org search
Reply With Quote
  #4  
Old 12 Sep 2020, 11:37
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
I have modified mine as:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And update the ACP wording accordingly.
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #5  
Old 12 Sep 2020, 18:26
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
Originally Posted by Hostboard View Post
I have modified mine as:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And update the ACP wording accordingly.
I used "noopener ugc" in mine.
__________________
Better VB.org search
Reply With Quote
  #6  
Old 13 Sep 2020, 21:38
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
to expand for others following this therad:

rel=”noopener” is an HTML attribute that’s added to all links that are selected to open in a new browser tab

Now my next question is there a pluggin that will put up a warning page that the link they clicked on is an external link and verifying they want to follow?
__________________
Custom Solutions for your vBulletin


Last edited by Hostboard; 13 Sep 2020 at 21:57.
Reply With Quote
  #7  
Old 14 Sep 2020, 10:20
multiuser multiuser is offline
 
Join Date: Oct 2011
Hello,

thank you for your answers.

I did the above modification, but then, after testing it with an inspect on chrome in an external link, it still shows : rel=nofolow.

I m wondering what could be wrong.

--------------- Added 14 Sep 2020 at 10:26 ---------------

Update: I just noticed that newly created links, get the above -correct- rel.
Older ones, dont get it.
Anyone know how can this be fixed?
Reply With Quote
  #8  
Old 14 Sep 2020, 11:36
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
All mine updated for old links, I'm not sure why yours didn't.
__________________
Better VB.org search
Reply With Quote
  #9  
Old 14 Sep 2020, 11:50
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Originally Posted by multiuser View Post
Hello,

thank you for your answers.

I did the above modification, but then, after testing it with an inspect on chrome in an external link, it still shows : rel=nofolow.

I m wondering what could be wrong.

--------------- Added 14 Sep 2020 at 10:26 ---------------

Update: I just noticed that newly created links, get the above -correct- rel.
Older ones, dont get it.
Anyone know how can this be fixed?
Do you use a caching service such as CloudFlare?
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #10  
Old 14 Sep 2020, 14:59
multiuser multiuser is offline
 
Join Date: Oct 2011
Originally Posted by Hostboard View Post
Do you use a caching service such as CloudFlare?
Nope! But in server we use litespeed which provides a really strong caching system. I ll check it.
Also. could it be some kind of vbulletin caching?
Reply With Quote
  #11  
Old 14 Sep 2020, 15:56
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
Yeah, maybe check if nocache headers are on or off in your vbulletin settings.
__________________
Better VB.org search
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply "rel=nofollow" attribute to all parsed URLs kall vBulletin 3.5 Add-ons 113 24 Oct 2008 19:53


Tags
rel ugc


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:14.

Layout Options | Width: Wide Color: