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
Offline
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.
I found it. It's local/config/config.inc.php.
I changed it to
<?php
?>
and the site is back up now.
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
@ Ben Hup
have you activated personal plugin ?
Offline
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
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
Offline
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
Sorry, I forgot:
Go to Admin->Plugin->Manage and then enable your "Personal Plugin"
It works!
Thanks!
Offline
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
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
It's been four years and I can't find a viable solution to this. Are there any updates on this? thank you.
Offline
What - exactly - don't you understand in
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