Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ccsakuweb

Pages: 1 2 3 [4] 5 6 7 8 ... 33
46
yo vendo un mod con el que puedes hacer esto:
http://ccsakuweb.myart.es
y si pones http://cualquiernombre.myart.es/ por ejemplo, va directamente a la pagina de registro.
pero subdominios solo podrian algunos, lo que pedis le funcionara a cualquiera, tendria que hacer alguna modificacion al mod que vendo, estoy casi segura de ser capaz de hacerlo, pero no seria gratis lo siento. me costo muchisimo, tuve que aprender un lenguaje nuevo. Pero lo vendo bastante barato. Si estais interesados enviadme un pm

47
Buenas, espero que tengas mucha suerte con tu web, pero de todo lo que he leido me parece que 4images solo te permite hacer click sobre download y descargar lo que este en una direccion. Una vez que subas la imagen editala y creo que por el final tienes esas opcion.

48
i know that the next problem arent related with the topic but i think i need to change php.ini and im not sure where. please nicky could you help me?
i have a similar problem but with the download, i can't download files too bigs. but there are uploaded and i can download them by ftp

And i have another problem. if someone is uploading a file too big and he don't make nothing, the time of login, logout him automaticaly then the file isn't uploaded and the user see member.php (how he is logout he see the lostpassworth form)


49
I think that the price from "updating my 4images with all my current mods install to the current 4images version." will depend how many mods you have installed.

50
Chit Chat / Re: V@no is back on web ...
« on: June 01, 2008, 10:03:03 AM »
 :cry: go back V@no

51
Mods & Plugins (Requests & Discussions) / Re: RecentPlayer
« on: May 19, 2008, 11:00:18 AM »
you could use that mod and in the consult sql put the categories from the videos. but it will be thumbnails and the time it won't show.

52
I found a bug in Nicky's demo. when i write #hola it show in Sugestions register.html
i think that characters like # or others they haven't to be valid in usernames  :roll: i use the next to check usernames
Code: [Select]
function validchars($name){ //If it have invalid chars will return 0
  $regex_valid_variable_name = '^[A-Za-z_-][A-Za-z0-9_-]*$';
  return ereg($regex_valid_variable_name, $name);
}
this function only allow A-Z , a-z, - and _

53
Espaņol / Castellano / Re: Avatar para 1.7.6
« on: May 11, 2008, 12:11:14 PM »
Yo suelo usar el mod de V@no de member personal photo que es lo mismo. Ademas puedes poner varios, avatar, wallpaper, foto del usuario... http://www.4homepages.de/forum/index.php?topic=6797.0

54

Hi there, i have add in friendlist.php:

Code: [Select]
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
and it works but...

in member.php i have:

"userpic_img" => ($config['userpic'] && $user_row['userpic']) ? ROOT_PATH."data/userpic/".$user_row['userpic'] : ROOT_PATH."data/userpic/noimage.png",

and

"userpic_img" => ($user_info['userpic']) ? ROOT_PATH."data/userpic/".$user_info['userpic'] : ROOT_PATH."data/userpic/noimage.png",

but i dont no what to do to show the "noimage.png" in the friendlist.php ?

Need Help please!

To show noimage.png in the friendlist when the user dont have avatar repalace
Code: [Select]
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";to
Code: [Select]
if($user_row['userpic'])
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/".$user_row['userpic']."\" width=\"60\" height=\"60\" border=\"0\" /></a>";
else
$userpic = "<a href=\"".$site_sess->url($user_profile_link)."\"><img src=\"".ROOT_PATH."data/userpic/noimage.png\" width=\"60\" height=\"60\" border=\"0\" /></a>";

i didnt try it so please tell me if it dowesn't work

55
i have an idea. what about that? : if you see the user level in edit_profile.html and if it is an admin, or user... you can show a diferent content. The problem is that edit_profile.html will be more big.
in example. in includes/page_header.php
search:
Code: [Select]
 
  "is_admin" => ($user_info['user_level'] == ADMIN) ? 1 : 0,

then you can use {if is_admin} edit_profile admin {endif is_admin} or the content for only admin

you can use the same for another user levels like:
add after
Code: [Select]
"is_moderator" => ($user_info['user_level'] == MODERATOR) ? 1 : 0,
the newbe user I think that you need see when he register and calculate it.
are you spanish? my english is horrible too. i hope that you understood me.


56
Mods & Plugins (Releases & Support) / Re: [MOD] Photo Preview Hack
« on: April 29, 2008, 06:19:31 PM »
hi! where can i download the mod? the urls are in 404 error

57
si , se hace mediante el formulario. buscate algun tuto sobre formularios en php te ira bien porque con los pocos datos que das no puedo ayudarte demasiado.

Te voy explicando, supongamos el formulario de upload. necesitamos saber que metodo usa al enviar las variables. por lo que vamos a member_upload.html y vemos <form method="post" luego la variable una vez hecho click a enviar en el formulario sera: $HTTP_POST_VARS['nombre_que_le_hayas_puesto_al_campo_de_la_fecha']
luego seria fecha_extendida($HTTP_POST_VARS['loquesea'])
pero ten cuidado tienes que tener en cuenta que te pueden hacer inyecciones de html (nose cual es aki: unhtml?? trim?? ) o sql (usa la funcion stripslashes)

58
Espaņol / Castellano / Re: Mostrar la Imagen del Nuevo Usuario
« on: March 24, 2008, 10:27:29 PM »
cual es el mod que tienes instalado que te dice el ultimo usuario? (el que tiene {newest_user} )
si lo dices quizas te podamos ayudar, solo habria que hacer un cambio a la consulta y la etiqueta del avatar

59
In details.php i have this code. please try it

Code: [Select]

$new_name = $image_row['image_media_file'];

if(is_remote($new_name)){
      $uploaded_image_path = $new_name;
}else{
  $uploaded_image_path = $script_url."/".MEDIA_DIR."/".$cat_id."/".$new_name;
}
if(is_remote($image_row['image_thumb_file']))
  $uploaded_thumb_path = $image_row['image_thumb_file'];
else
  $uploaded_thumb_path = $script_url."/".THUMB_DIR."/".$cat_id."/".$image_row['image_thumb_file'];
   
      $uploaded_image_link = $script_url."/details.php?image_id=".$image_id;
      $uploaded_thumb_hotlink = "<a href=\"".$uploaded_image_link."\"><img src=\"".$uploaded_thumb_path."\" border=\"0\" alt=\"".$image_row['image_thumb_file']."\"></a>";
      $uploaded_image_hotlink = "<a href=\"".$script_url."\"><img src=\"".$uploaded_image_path."\" border=\"0\" alt=\"".$new_name."\"></a>";
      $uploaded_image_bbcode = "[URL=".$script_url."][IMG]".$uploaded_image_path."[/IMG][/URL]";
      $uploaded_thumb_bbcode = "[URL=".$uploaded_image_link."][IMG]".$uploaded_thumb_path."[/IMG][/URL]";
      $uploadinfo .= "<font size='2' face='Tahoma'><b>Image Codes:</b><br />";
      $uploadinfo .= "<input onclick='highlight(this);' style='border-style:solid; border-width:1; padding:2; width: 300px; background-color:#FFFFFF; color:#000000' size='70' value='".$uploaded_thumb_hotlink."' type='text' name='image'> Thumbnail for websites<br />";
      $uploadinfo .= "<input onclick='highlight(this);' style='border-style:solid; border-width:1; padding:2; width: 300px; background-color:#FFFFFF; color:#000000' size='70' value='".$uploaded_thumb_bbcode."' type='text' name='image'> Thumbnail for forums<br /><br />";
      $uploadinfo .= "<font size='1' face='Tahoma'>Use the below codes to post the full sized image on other websites or forums</font><br />";
      $uploadinfo .= "<input onclick='highlight(this);' style='border-style:solid; border-width:1; padding:2; width: 300px; background-color:#FFFFFF; color:#000000' size='70' value='".$uploaded_image_hotlink."' type='text' name='image'> Hotlink for websites<br />";
      $uploadinfo .= "<input onclick='highlight(this);' style='border-style:solid; border-width:1; padding:2; width: 300px; background-color:#FFFFFF; color:#000000' size='70' value='".$uploaded_image_bbcode."' type='text' name='image'> Hotlink for forums<br /><br />";
      $uploadinfo .= "<font size='1' face='Tahoma'>Share this image with your friends</font><br />";
      $uploadinfo .= "<input onclick='highlight(this);' style='border-style:solid; border-width:1; padding:2; width: 300px; background-color:#FFFFFF; color:#000000' size='70' value='".$uploaded_image_link."' type='text' name='image'> Share this image<br />";
      $uploadinfo .= "<input onclick='highlight(this);' style='border-style:solid; border-width:1; padding:2; width: 300px; background-color:#FFFFFF; color:#000000' size='70' value='".$uploaded_image_path."' type='text' name='image'> Direct path to image<br /><br /></font>";
      $icodes .= "<table border=\"0\" width=\"500px\" align=\"center\">\n<tr>\n<td>\n".$uploadinfo."\n</td>\n</tr>\n</table>\n";

      $site_template->register_vars("image_codes", $icodes);

//-----------------------------------------------------
//--- end of ImageCodes v1.0 --------------------------
//-----------------------------------------------------
i modified the original mod because i think that the thubnail dont have to have the same name that original file
and i think that it is not necessary the SELECT consult because all that exist in $image_row in detail.php
i hope help you all


60
Can this be made to work with images hosted off site?
I get something like this:

Code: [Select]
<a href="http://mysite.com"><img src="http://mysite.com/data/media/3/http://i140.photobucket.com/albums/r32/image.gif" border="0" alt="http://i140.photobucket.com/albums/r32/image.gif"></a>
Notice the "img src" tag, the path is wrong...

Thanks!

There is a function named: is_remote(_) that it see if the image is remote. Ok you need to do the next
Find into the mod:
Code: [Select]
      $uploaded_image_path = $script_url."/".MEDIA_DIR."/".$cat_id."/".$new_name;
      $uploaded_thumb_path = $script_url."/".THUMB_DIR."/".$cat_id."/".$new_name;
and remplace:
Code: [Select]
if(is_remote($new_name)){
      $uploaded_image_path = $new_name;
}else{
  $uploaded_image_path = $script_url."/".MEDIA_DIR."/".$cat_id."/".$new_name;
}
if(is_remote($image_row['image_thumb_file']))
  $uploaded_thumb_path = $image_row['image_thumb_file'];
else
  $uploaded_thumb_path = $script_url."/".THUMB_DIR."/".$cat_id."/".$new_name;
 

Pages: 1 2 3 [4] 5 6 7 8 ... 33