Announcement

#31 2013-08-11 18:39:29

flop25
Piwigo Team
2006-07-06
7037

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

the template and theme system is flexible and simple enough to install advertisement wherever someone wants
And if you want a specific plugin, to make money moreover, you should consider hiring a freelance


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#32 2013-08-15 23:20:47

20X
Guest

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

plg wrote:

Tom Brossman wrote:

I also want to modify this. I am happy to leave 'Powered by Piwigo', I just want the contact option left off. Is it possible to modify the page so that it says 'Powered by Piwigo' and nothing else?

1) activate plugin LocalFiles Editor

2) open screen [Administration > Plugins > LocalFiles Editor > Personal Plugin] and paste the following code:

Code:

<?php
/*
Plugin Name: Personal Plugin
Version: 1.0
Description: Personal Plugin
Plugin URI: http://piwigo.org
Author:
Author URI:
*/

add_event_handler('loc_end_page_tail', 'perso_remove_contact_link_footer');
function perso_remove_contact_link_footer()
{
  global $template;
  
  $template->assign('CONTACT_MAIL', null); // core contact link
  $template->assign('ContactFormLink', null); // ContactForm plugin link
}


?>

3) activate plugin Personal Plugin

I did that, but I might have copied it into the wrong spot. After clicking save, I'm only getting a blank page. Which file did I mess up that needs replacing?

Thank you.

 

#33 2013-08-15 23:27:28

20X
Guest

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

I found it. It's local/config/config.inc.php.

I changed it to

<?php
?>

and the site is back up now.

 

#34 2014-06-23 00:22:07

Ben Hup
Guest

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

Hi Piwigo team!

The code posed by plg on 2012-01-15 09:39:05, doesn't work anymore under Piwigo 2.6.3!

I really would like to remove my e-mail address, even to logged in users.
What should the code be for config file 'local/config/config.inc.php' under Piwigo 2.6.3?

Thank you for your time.

Best regards,
Ben Hup

 

#35 2014-06-23 07:30:44

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7202

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

@ Ben Hup
have you activated personal plugin ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#36 2014-06-25 09:57:34

benhup
Member
Netherlands
2014-06-25
31

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

Hi ddtddt,

Yes I installed and activated the Personal Plugin.
I'm already using it with $conf['sync_chars_regex'], so the Personal Plugin works.
But the code to remove "contact webmaster" (by gpl) results in a blank page on Piwigo 2.6.3.

One other thing, I wrote last message as a guest, how to remove my e-mail address there? Or maybe add messages to my current profile?
Ooooh, the spammers... I already hear them comming :)

Best regards,
Ben

Offline

 

#37 2014-06-25 09:59:34

flop25
Piwigo Team
2006-07-06
7037

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

benhup wrote:

I'm already using it with $conf['sync_chars_regex'], so the Personal Plugin works.

Local config and the Personal plugin is far different: go to Admin->Plugin->Manage and then enable your Personal Plugin


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#38 2014-06-25 10:27:48

benhup
Member
Netherlands
2014-06-25
31

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

You're right, I was confused with plugin "LocalFiles Editor":
Administration: Plugins > "LocalFiles Editor" > Tab: "Local Files" ( local/config/config.inc.php ).

Now I've put the code of pgl unde:
Administration: Plugins > "LocalFiles Editor" > Tab: "Personal plugin" ( plugins/PersonalPlugin/main.inc.php ).
The blank page/crash must have been comming from placing the code in teh wrong file, i.e. config.inc.php..

But my  e-mail address is still displayed...
When logged in as Webmaster, I still see the "Contact Webmaster" link on the bottom right of every page.. When I click the link or hover the link with my mouse: my e-mail address is displayed.

I use this code:

/*
Plugin Name: Personal Plugin
Version: 1.0
Description: Personal Plugin
Plugin URI: http://piwigo.org
Author:
Author URI:
*/

add_event_handler('loc_end_page_tail', 'perso_remove_contact_link_footer');
function perso_remove_contact_link_footer()
{
  global $template;
 
  $template->assign('CONTACT_MAIL', null); // core contact link
  $template->assign('ContactFormLink', null); // ContactForm plugin link
}

Any ideas what could go wrong?
Piwigo 2.6.3.

Thanks!

Offline

 

#39 2014-06-25 10:31:48

benhup
Member
Netherlands
2014-06-25
31

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

Sorry, I forgot:

Go to Admin->Plugin->Manage and then enable your "Personal Plugin"

It works!
Thanks!

Offline

 

#40 2015-03-05 14:47:41

INTEGRATIONIST
Member
2014-02-24
16

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

Hi,

could you please add this info to the documenatation? The documentation is extremely poor, and this is an initiative to make the piwigo documentation better, but I can not add it myself because I have no write access to the docs. Thanks!

Thanks for your attention!

Offline

 

#41 2021-01-20 17:53:06

ketchemr
Member
2020-08-07
16

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

The add_event_handler method seems to have stopped working with Piwigo 11. I have tried CSS edits to no avail. Is there an updated method?

Offline

 

#42 2024-02-21 06:37:20

jessica1998
Member
New York (USA)
2022-05-09
9

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

It's been four years and I can't find a viable solution to this. Are there any updates on this? thank you.

Offline

 

#43 2024-02-21 11:42:23

gueba
Member
2021-12-31
55

Re: how can i remove "Powered by Piwigo - Contact Webmaster"?

What - exactly - don't you understand in

Code:

  Please, do not remove this copyright. If you really want to,
      contact us on http://piwigo.org to find a solution on how
      to show the origin of the script...

?

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact