[Locked] Dont show article author tag - Forum | JoomShaper
Awaiting an answer SP Page Builder Locked

Dont show article author tag

Asked by Eduardo G. 2 years ago Last activity 7 months ago

I've created an admin user for joomla management, i.e. "secretadmin"
Now in all my SPPB pages I get the username published:
<meta property="article:author" content="secretadmin"/>

I dont want everybody to know my admin username!
How do I disable it? and is it upgrade-safe?

19 replies

Eduardo G. Asked this

Author meta tag is already disable from global configuration

Ofi Khan Staff

Hello Eduardo G.

Please share a screenshot of your issue to understand it better. Take a screenshot and share via any platform. For example: Lightshot or Imgur

Best regards

Eduardo G. Asked this

For example, check this source code:
https://imgur.com/a/aRzmc2m

There you can see my admin username is shown as article author meta tag.
I dont want to disclosure it, neither the time I publish or modify my website pages

Ofi Khan Staff

Please share the page link on where I can check it on the source code.

Eduardo G. Asked this

Sure, I'm sharing a development URL

Ofi Khan Staff

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

Eduardo G. Asked this

Sure, thanks for looking into this

Code is in components/com_sppagebuilder/views/page/view.html.php

$this->document->addCustomTag('<meta property="article:author" content="' . $this->item->author_name . '"/>');
$this->document->addCustomTag('<meta property="article:published_time" content="' . $this->item->created_on . '"/>');
$this->document->addCustomTag('<meta property="article:modified_time" content="' . $this->item->modified . '"/>');
$this->document->addCustomTag('<meta property="og:locale" content="' . $language . '" />');
Ofi Khan Staff

You have found the location. You can remove those lines. But it will be added when you update SP Page Builder.

Eduardo G. Asked this

Yes, and that's the problem :-)
Disclosure of admin username and activity dates should be disabled by default or at least optional.
It's about privacy and security

Ofi Khan Staff

Okay, I will inform the development team about it.

Please accept the answer that helped you. It will be then easier to find the solution for the other users with the same issue. There is a button to accept answer after each comment.

Paul Frankowski Senior Staff
2 years ago · edited

If I may...

  1. What is relation with "privacy and security" if we talk about article:published_time & article:modified_time ?? I guess, it was just bigger sample of code, right.
  2. About Author I agree that users should have option to change that value. By now it's possible only from PHPMyAdmin (DB Editor). It was added to wish list even before your post.

BTW

Using "secretadmin" as user name never was a clever idea, it's a recovery username from Joomla Guide.

Eduardo G. Asked this
2 years ago · edited
  1. Privacy: nobody needs to know when I create or update a page in my website. you're publishing information about when I work on the website, which is not needed. I choose the information I want to display, not you.
  2. Security. Admin username disclosure, why? No need to change it, just need to enable/disable it. It needs to be done in a proper way and stop hacking. Also optional should be using the user title, not the username.

Every option that disclosures information should be optional, as easy as that.

BTW

Using "secretadmin" as user name is just a sample for this post :-/

This question is locked, so it takes no new replies. Have a similar problem? Ask a new question.