Nouveau sujet Répondre Imprimer Syndication RSS 2.0

[SUPPORT]Deredit MOD (indicateur d'édition)

Flamme ardente
Avatar de s0ak
  • Age : 20 ans
  • Messages : 264
  • Inscrit : 18 Aout 2006
  Lien vers ce message 17 Octobre 2006, 6:40

Reprise du dernier message

ok, je te remerci beaucoup ;) sa fonctionne


Armée de l'Ombre - www.clan-ado.fr
 
Feu follet
Avatar de Shaigan
  • Age : 25 ans
  • Messages : 233
  • Inscrit : 11 Juin 2006
Message édité 1 fois, dernière édition par Shaigan, 10 Mars 2008, 7:44     Lien vers ce message 07 Mars 2008, 19:12
P'tit ajout au mod :

Ouvrir admin/admin_membre_gestion.php

Chercher :
		$sql = 'UPDATE ' . MESSAGES_TABLE . ' 
				SET membre_id = \'' . INVITE . '\' 
				WHERE membre_id = \'' . $id . '\'';
		if ( ! $result = $bdd->requete($sql) )
		{
			info($langue['er_titre'], sprintf($langue['er_update'], MESSAGES_TABLE), __LINE__, __FILE__, $sql);
		}

Après, ajouter :
		if ($MOD['Deredit'])
		{
		  $sql = 'UPDATE ' . MESSAGES_TABLE . '
				  SET edit_id = \'' . INVITE . '\'
				  WHERE edit_id = \'' . $id . '\'';
		  if ( ! $result = $bdd->requete($sql) )
		  {
			  info($langue['er_titre'], sprintf($langue['er_update'], MESSAGES_TABLE), __LINE__, __FILE__, $sql);
		  }
		}


http://prophecy.servhome.org/forum/images/bannieres/webmaster.png http://prophecy.servhome.org/forum/images/bannieres/shaigan.png
 
Répondre


.