Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [RESOLVED] How to hide "personal" informations

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] How to hide "personal" informations

  • anders.drejer
  • Topic Author
  • Offline
  • Gold
  • Gold
More
10 years 7 months ago - 10 years 7 months ago #19313 by anders.drejer
[RESOLVED] How to hide "personal" informations was created by anders.drejer
Hi,

I am trying to figure out how to hide, what I think is personal informations in an ad. Have a look at the attached file:

1. "See all ads from username". I think usernames are personal, so how do I change this, so the text is "Show all ads from this user"?

2. How do I remove the actual e-mail address and replace the username in the orange link to PMS with "This user".

Hope to get this fixed - then you will have a new customer ;-)

Anyway, an updated Danish language file is on its way.

Best Regards,
Anders
Attachments:
Last edit: 10 years 7 months ago by loic.
More
10 years 7 months ago #19316 by loic
Replied by loic on topic How to hide "personal" informations
Hello,

1. In components/com_adsmanager/views/details/tmpl/default.php, remove the line 74 to 87:
<div>
			<?php 
			if ($this->content->userid != 0)
			{
				echo JText::_('ADSMANAGER_SHOW_OTHERS'); 
				$target = TLink::getUserAdsLink($this->content->userid);
 
			    if ($conf->display_fullname == 1)
					echo "<a href='$target'><b>".$this->content->fullname."</b></a>";
				else
					echo "<a href='$target'><b>".$this->content->user."</b></a>";
                }
                ?>
            </div>

If you are using an override (which is recommended if you do some custom code) the file is in templates/{your_template}/html/com_adsmanager/details/default.php.

2. You can change that display in the configuration of AdsManager, 'Contact' tab.

Best regards.
  • anders.drejer
  • Topic Author
  • Offline
  • Gold
  • Gold
More
10 years 7 months ago #19317 by anders.drejer
Replied by anders.drejer on topic How to hide "personal" informations
Thank you very much for your help :)
More
10 years 7 months ago #19320 by loic
Replied by loic on topic How to hide "personal" informations
You're welcome.
  • anders.drejer
  • Topic Author
  • Offline
  • Gold
  • Gold
More
10 years 7 months ago #19323 by anders.drejer
Replied by anders.drejer on topic How to hide "personal" informations
Hi again,

I have made the template override, but this removes the text "See all ads from haggberg" completely. It is somehow OK - but I was looking for a solution, where the username is replaced by the word "this user", so visitors still have the possibility to click see all ads from a specific user, but not will be able to see the username.

The reason for not showing the username public is, that many have very personal user names, that they do not want to be public.

Best Regards,
Anders
More
10 years 7 months ago #19326 by loic
Replied by loic on topic How to hide "personal" informations
Hello,

Ok, my bad, I didn't understand.
You can do something like this :
<div>
			<?php 
			if ($this->content->userid != 0)
			{
				echo JText::_('ADSMANAGER_SHOW_OTHERS'); 
				$target = TLink::getUserAdsLink($this->content->userid);
 
			    if ($conf->display_fullname == 1)
					echo "<a href='$target'><b>this user.</b></a>";
				else
					echo "<a href='$target'><b>this user.</b></a>";
                }
                ?>
            </div>

Best regards.
Moderators: perry
Time to create page: 0.090 seconds
Powered by Kunena Forum