uawdijnntqw1x1x1
IP : 216.73.216.168
Hostname : server.fattispazio.it
Kernel : Linux server.fattispazio.it 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
poliximo
/
public_html
/
4690b
/
..
/
home_
/
plugins
/
user
/
jcomments.php
/
/
<?php // Check to ensure this file is included in Joomla! defined('_JEXEC') or die( 'Restricted access' ); jimport('joomla.plugin.plugin'); class plgUserJComments extends JPlugin { function plgUserJComments(& $subject, $config) { parent::__construct($subject, $config); } function onAfterStoreUser($user, $isnew, $success, $msg) { if ($success && !$isnew) { $db =& JFactory::getDBO(); // update name, username & email in comments $query = "UPDATE #__jcomments" . "\nSET name = " . $db->Quote($user['name']) . "\n, username = " . $db->Quote($user['username']) . "\n, email = " . $db->Quote($user['email']) . "\nWHERE userid = " . $db->Quote($user['id']) ; $db->setQuery($query); $db->Query(); // update email in comments subscriptions $query = "UPDATE #__jcomments_subscriptions" . "\nSET email = " . $db->Quote($user['email']) . "\nWHERE userid = " . $db->Quote($user['id']) ; $db->setQuery($query); $db->Query(); } } function onAfterDeleteUser($user, $succes, $msg) { if(!$succes) { return false; } $db =& JFactory::getDBO(); $db->setQuery('DELETE FROM #__jcomments_subscriptions WHERE userid = '.$db->Quote($user['id'])); $db->Query(); return true; } }
/home/poliximo/public_html/4690b/../home_/plugins/user/jcomments.php