Página 1 de 1

Zarath Shop Mod 2.0.6

Publicado: 25 Oct 2005, 21:37
por Vampirro
Hola, estoy teniendo unos problemillas con este mod.La cosa es que, despues de haber subido todos los arhchivos, cuando voy a editar el archivo viewtopic.php las lineas que me pide que edite no existen.

Publicado: 25 Oct 2005, 23:13
por tole
Pon las lí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­neas a editar y si puede ser parte del archivo en cuestií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n a ver si mí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡s ojos pueden dar un poco de luz.

Un enlace al sitio, no estarí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a de mí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡s, ya sabes soporte phpBB

Salu2.

Re: Zarath Shop Mod 2.0.6

Publicado: 26 Oct 2005, 00:56
por Vampirro
La direccion del foro es Vampiro Rol Online
Este es la parte del archivo de instalacion que me dice las lineas que tengo que editar (las cuales no encuentro)

Código: Seleccionar todo

 ------[OPEN]------
 /viewtopic.php

 ------[FIND]------
//
// Go ahead and pull all data for this topic
// 
$sql = "SELECT u.username, u.user_level, u.user_id,

 ------[ADD, AFTER]------
 u.user_items, u.user_privs, u.user_effects, u.user_custitle,

 ------[FIND]------
	//
	// Note! The order used for parsing the message _is_ important, moving things around could break any 
	// output
	//


 ------[ADD, BEFORE]------
	if ($board_config['viewtopic'] == "images")
	{
		$itempurge = str_replace("í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?", "", $postrow[$i]['user_items']);
		$itemarray = explode('í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?',$itempurge);
		$itemcount = count ($itemarray);
		$user_items = "";
     		for ($xe = 0;$xe more...'; break; }
				if (file_exists("shop/images/".$itemarray[$xe].".jpg"))
				{
					$user_items .= ' ';
				}
				elseif (file_exists("shop/images/".$itemarray[$xe].".gif"))
				{
					$user_items .= ' ';
				}
			}
		}
	}
	$usernameurl = append_sid("shop.".$phpEx."?action=inventory&searchid=".$postrow[$i]['user_id']);

	$usereffects = explode("í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?", $postrow[$i]['user_effects']);
	$userprivs = explode("í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?", $postrow[$i]['user_privs']);
	$usercustitle = explode("í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?", $postrow[$i]['user_custitle']);
	$userbs = array();
	$usercount = count($userprivs);
	for ($x = 0; $x '.$poster.''; }
	if ((($userbs[12] == on) && ($shopstatarray[14] == on)) || (($userbs[14] == on) && ($shopstataray[16] = on))) {
		$nameeffects = "'.$poster.'';
		$poster = $nameeffects;
	}
	if ((($userbs[24] == on) && ($shopstatarray[24] == on)) || (($userbs[20] == on) && ($shopstatarray[22] == on)) || (($userbs[22] == on) && ($shopstataray[20] = on)) || (($userbs[18] == on) && ($shopstatarray[18] == on))) {
		$titleeffects = ''.$poster_rank.''; }
		$titleeffects .= '">'.$poster_rank.'';
		$poster_rank = $titleeffects;
	}
	if (($shopstatarray[6] == on) && ($userbs[2] != on) && ($poster_rank != "Site Admin")) { $poster_avatar = ""; }
	if (($shopstatarray[8] == on) && ($userbs[4] != on) && ($poster_rank != "Site Admin")) { $user_sig = ""; }
	if (($shopstatarray[10] == on) && ($userbs[6] != on) && ($poster_rank != "Site Admin")) { $poster_rank = "None"; $rank_image = ""; }

 ------[FIND]------
		'DELETE_IMG' => $delpost_img, 
		'DELETE' => $delpost, 

 ------[ADD, AFTER]------
		'ITEMSNAME' => $usernameurl,
		'ITEMS' => $user_items,


Agradeceria mucho si me contestaran rapido, ya que las demas cosas que me quedan por instalar son add-on's del Zarath Shop 2.0.6

Publicado: 26 Oct 2005, 01:41
por tole
Pues yo las veo bien.

Código: Seleccionar todo

------[FIND]------ 
// 
// Go ahead and pull all data for this topic 
// 
$sql = "SELECT u.username, u.user_level, u.user_id,
lí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­neas 385 a la 388 aunque no sea exacto el texto

Código: Seleccionar todo

// 
   // Note! The order used for parsing the message _is_ important, moving things around could break any 
   // output 
   // 
lí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­neas 1043 a 1046

Código: Seleccionar todo

------[FIND]------ 
      'DELETE_IMG' => $delpost_img, 
      'DELETE' => $delpost, 
lí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­neas 1202 y 1203

Ahora no la lí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­es con el before y el after (antes y despí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?ºes de)

Salu2.

Publicado: 26 Oct 2005, 03:24
por Vampirro
muchas gracias, es que soy nuevo y no tengo mucha idea de esto