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.


Topics - masterred

Pages: 1 2 [3] 4 5 6 7
31
Espaņol / Castellano / comentarios en el perfil
« on: January 08, 2008, 08:10:48 PM »
hola

encontre  este se podria decir, MOD para poder usar los comentarios en el perfil, con el MOD libro de visitas.

mi pregunta es, como puedo realizar la modificacion del MOD Guestbook para poder mostrar los comentarios en el perfil y se puedan mirar como el MOD de V@no.

MOD

http://www.4homepages.de/forum/index.php?topic=16903.0

url demo


http://www.henesys.com/gallery/member.php?action=showprofile&user_id=176&sessionid=25d6729f274dd722cfd4e7c13b9701cb

esta este MOD de V@no es lo que busco, solo que para poder mirar los comentarios te envia a otra pagina mediante un enlace.

V@no MOD

http://www.4homepages.de/forum/index.php?topic=4131.0

Muestra de este MOD

http://www.digitalfotograf.com/bilderkiste/member.php?action=showcomments&user_id=2&sessionid=5f0d40b2572613eeb43289f358bc5c35


No pido nada  :oops:  :wink:
gracias

32
Mods & Plugins (Requests & Discussions) / Colors between different members
« on: December 31, 2007, 05:28:00 PM »
Hi

As I use different colors to register between girls and boys, using a single dual registration for girls with all the privileges and one just for kids with few privileges.

 ejem:
 welcome member Danna

 welcome member Mark

colors diferent genders

thanks

33
Mods & Plugins (Requests & Discussions) / now online in home
« on: December 28, 2007, 04:03:20 PM »
hi

I do this on the homepage, I have to use the MOD Member Personal Photo? by V@no.

now online

http://www.gentedemsn.com/index.php


thanks

34
how can change the size of thumbnails only home

This could be one possible way to do this, just not as done. Link original Spanish

http://translate.google.com/translate?u=http%3A%2F%2Fwww.4homepages.de%2Fforum%2Findex.php%3Ftopic%3D18130.msg96459%23msg96459&langpair=es%7Cen&hl=es&ie=UTF-8

thanks

35
Mods & Plugins (Requests & Discussions) / Admin and members
« on: December 21, 2007, 03:57:16 PM »
hi

how can changer color admin and members (members  1 colours, admin other colours)


thanks

36
Feedback & Suggestions / {random_image} in home
« on: December 13, 2007, 07:31:19 AM »
hello
where I can find the functions of {random_image} inside of the archives php of gallery, it is to say that it leaves from the archives php takes the functions to show them in home

this information

Quote
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})
<br />
<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
{lightbox_button}

thanks

37
Espaņol / Castellano / thumbnails en el home
« on: December 11, 2007, 09:02:30 PM »
hola

quisiera cambiar las medidas de los thumbnails en el home solamente, esta este posible codigo de ayuda, solo que no encuentro algunas funciones,

http://www.4homepages.de/forum/index.php?topic=18130.msg96459#msg96459

este es el codigo de funciones de las partes que se indican, solo que en functions get_thumbnails_code

no encuentro la linea

site template register{array
$thumb get_thumbnails_code


cualquier ayuda seria agradecida infinitamente

gracias

38
Mods & Plugins (Requests & Discussions) / Picture of the month
« on: December 11, 2007, 10:50:43 AM »
hi

i have one problem with this MOD  dont show me the links

what this wrong in this MOD


Quote
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: potm.php                                             *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.8                                                  *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

define('GET_CACHES', 1);
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();

$main_template = 'potm';                                   // template name
include(ROOT_PATH.'includes/page_header.php');
     
global $cat_id, $site_db, $site_sess, $HTTP_COOKIE_VARS, $site_template, $lang, $user_table_fields; 

//-----------------------------------------------------
//--- Parameters --------------------------------------
//-----------------------------------------------------
$potm_public = 1;                                       // access for all visitors (true 1) only members ( false 0)
$potm_nop = 8;                                          // number of pictures for monthly voting
$potm_top = 3;                                          // after vote show top X images of this month vote
$potm_lw  = 12;                                         // show last x 'photo of the month' winners
$potm_table = "450";                                    // table witdt or use with %
$potm_selection = 3;                                    // selection of picturey by
                                                        // 0 - hits
                                                        // 1 - votes
                                                        // 2 - rating
                                                        // 3 - by date, latest pictures
                                                        // 4 - automatically choose one of the three above

//-----------------------------------------------------
//--- Init --------------------------------------------
//-----------------------------------------------------


if ($user_info['user_level'] < $potm_public * -1 ){   
  show_error_page($lang['no_permission']);
  exit;
}

$cookie_name = (defined("COOKIE_NAME")) ? COOKIE_NAME : "4images_";
if (isset($HTTP_COOKIE_VARS[$cookie_name.'potm']))
{
   $cookie_date = unserialize(stripslashes($_COOKIE[$cookie_name.'potm'])) ;
}

//-----------------------------------------------------
//--- Check Date --------------------------------------
//-----------------------------------------------------

$datum = date("Y-m") . "-01";
if ( $config['potm_date'] != $datum )
{
   if ( $potm_selection == 4 )
      $potm_selection = date("m") % 4;
   if ( $potm_selection == 0 )
      $sql_add = "hits";
   elseif ( $potm_selection == 1 ) 
       $sql_add = "votes";
   elseif ( $potm_selection == 2 )
       $sql_add = "rating";
   else
       $sql_add = "date"; 
   $sql = "UPDATE ".IMAGES_TABLE."
          SET image_potm =  1
          WHERE image_potm_date = '".$config['potm_date']."'
          ORDER BY image_potm_votes DESC
          LIMIT 1";
   $site_db->query($sql);
   $sql = "UPDATE ".IMAGES_TABLE."
          SET image_potm_date =  '0000-00-00', image_potm_votes = 0
          WHERE image_potm_date = '".$config['potm_date']."' AND image_potm = 0";
   $site_db->query($sql);
   $sql = "UPDATE ".IMAGES_TABLE."
          SET image_potm_date =  '".$datum."'
          WHERE image_potm = 0
          ORDER BY image_".$sql_add." DESC
          LIMIT ".$potm_nop;
   $site_db->query($sql);
   $sql = "UPDATE ".SETTINGS_TABLE."
          SET setting_value =  '".$datum."'
          WHERE setting_name = 'potm_date'";
   $site_db->query($sql);
}

//-----------------------------------------------------
//--- Voting ------------------------------------------
//-----------------------------------------------------

if ( $action == "potm_voting" ){
  if ( $cookie_date != $datum )
  { 
        $sql = "UPDATE ".IMAGES_TABLE."
        SET image_potm_votes = image_potm_votes + 1
        WHERE image_id = ".$id;
     $site_db->query($sql);
     $sql_datum = "AND i.image_potm_date = '".$datum."'";
   $nop = $potm_top;
     $potm_description = $lang['potm_top_title'];
     $cookie_value = isset($HTTP_COOKIE_VARS[$cookie_name.'potm']) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookie_name.'potm'])) : array();
     $cookie_potm_rated = $datum;
     $cookie_expire = mktime(0,0,0,date("m") + 1, 1, date("Y") );
     setcookie($cookie_name.'potm', serialize($cookie_potm_rated), $cookie_expire, COOKIE_PATH, COOKIE_DOMAIN, COOKIE_SECURE);
   }
   else
   {
        show_error_page($lang['potm_no_permission']);
        exit;
   }
   $sql_order = "i.image_potm_votes DESC, i.image_hits";
   $nop = $potm_top;
}

//-----------------------------------------------------
//--- Leaders of current Vote -------------------------
//-----------------------------------------------------

if ( $action == "locv" ){
  if ( $cookie_date == $datum )
  {
     $sql_order = "i.image_potm_votes DESC, i.image_hits";
     $sql_datum = "AND i.image_potm = 0 AND i.image_potm_date = '".$datum."'";
     $nop = $potm_top;
     $potm_description = $lang['potm_locv'];
  }
  else
  {
     show_error_page($lang['potm_no_permission']);
     exit;
  }
}

//-----------------------------------------------------
//--- Show candidates ---------------------------------
//-----------------------------------------------------

if ( $action == "" ){
    if ( $cookie_date != $datum )
    {
      $sql_datum = "AND i.image_potm = 0 AND i.image_potm_date = '".$datum."'";
      $sql_order = "i.image_name, i.image_hits ASC";
      $nop = $potm_lw;
    }
    else
    {   
      $sql_order = "i.image_potm_votes DESC, i.image_hits";
      $sql_datum = "AND i.image_potm = 0";
      $nop = $potm_top;
      $potm_description = $lang['potm_locv'];
    }
}

//-----------------------------------------------------
//--- Last Winner -------------------------------------
//-----------------------------------------------------

if ( $action == "lw" ){
  if ( $cookie_date != $datum )
    $potm_menu_link = "<a href=\"".$site_sess->url(ROOT_PATH."potm.php")."\">{lang_potm_vote_menu}</a>";
  $nop = $potm_lw;
  $sql_datum = "AND i.image_potm = 1";
  $sql_order = "i.image_potm_date DESC, i.image_hits";
  $potm_description = $lang['potm_winners_title'];
}
else {
  $potm_menu_link = "<a href=\"".$site_sess->url(ROOT_PATH."potm.php?action=lw")."\">{lang_potm_lastwinners}</a>";
}
if ( $cookie_date == $datum )
  $potm_menu_link .= "<br><br><a href=\"".$site_sess->url(ROOT_PATH."potm.php?action=locv")."\">{lang_potm_locv}</a>";


//-----------------------------------------------------
//--- Menu --------------------------------------------
//-----------------------------------------------------

$cat_match_sql = ($cat_id && check_permission("auth_viewcat", $cat_id)) ? "AND i.cat_id = '$cat_id' " : "";
 
$cat_id_sql = get_auth_cat_sql("auth_viewcat", "NOTIN");

$sql = "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_thumb_file, i.image_media_file, i.image_thumb_file, i.image_rating, i.image_votes, i.image_comments, c.cat_name, u.user_name, i.image_downloads, i.image_hits, i.image_potm, i.image_potm_date, i.image_potm_votes
        FROM ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c, ".USERS_TABLE." u
        WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id AND i.user_id = u.user_id $cat_match_sql ".$sql_datum."
        ORDER BY " . $sql_order ."
        LIMIT $nop";
$result = $site_db->query($sql);
$potm_list = array();
$i = 1;
while ($row = $site_db->fetch_array($result))
{
  $potm_list[$i] = $row;
  $i++;
}
$site_db->free_result();



$potm_menu = "<table width=".$potm_table." border=\"0\" cellpadding=\"3\" cellspacing=\"0\">\n<form method=\"post\" action=\"{self}\">";

for ($i = 1; $i <= $nop; $i++) {
  if (isset($potm_list[$i])) {
    if (empty($potm_list[$i]['image_thumb_file'])) {
      $thumb_file = ICON_PATH."/".get_file_extension($potm_list[$i]['image_media_file']).".gif";
    }
    else
    {
      $thumb_file = (is_remote($potm_list[$i]['image_thumb_file'])) ? $potm_list[$i]['image_thumb_file'] : THUMB_PATH."/".$potm_list[$i]['cat_id']."/".$potm_list[$i]['image_thumb_file'];
    }
    $potm_menu .= "<tr class=\"row". (($i % 2) == 1 ? "1" : "2") ."\">\n<td width=100 align=\"center\" valign=\"center\">";
    $potm_menu .= (check_permission("auth_viewimage", $potm_list[$i]['cat_id'])) ? "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$potm_list[$i]['image_id'])."\"><img src=\"".$thumb_file."\" border=\"1\" align=\"center\" alt=\"".$lang['clickhere']." &quot;".$potm_list[$i]['image_name']."&quot;\"/></a>" : "<img src=\"".$thumb_file."\" width=\"$new_width\" height=\"$new_height\" border=\"1\" align=\"center\" alt=\"".$potm_list[$i]['image_name']."\" />";
    $potm_menu .= "</td><td>";
    $potm_menu .= (check_permission("auth_viewimage", $potm_list[$i]['cat_id'])) ? "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$potm_list[$i]['image_id'])."\">".$potm_list[$i]['image_name']."</a>" : ($potm_list[$i]['image_name']);
    $potm_menu .= "<br>{lang_top_user}: " . "<a href=\"".$site_sess->url((!empty($url_show_profile)) ? preg_replace("/{user_id}/", $potm_list[$i]['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$potm_list[$i]['user_id'])."\">".htmlspecialchars($potm_list[$i]['user_name'])."</a>";
    $potm_menu .= "<br>{lang_top_category}: " . "<a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$potm_list[$i]['cat_id'])."\">".$potm_list[$i]['cat_name']."</a>";
    if ( $action != "" )
    {
      $potm_menu .= "<br>".$lang['hits']." ".$potm_list[$i]['image_hits'];
      $potm_menu .= "<br>".$lang['rating']." ".$potm_list[$i]['image_rating'];
    }
    $potm_menu .= "<br>".$lang['comments']." ".$potm_list[$i]['image_comments'];
    $potm_menu .= "</td><td>\n"; 
    if ( $action == "" && $cookie_date != $datum )
       $potm_menu .= "<input type=\"radio\" name=\"id\" value=\"" .$potm_list[$i]['image_id']. "\" onclick=\"this.form.submit()\"/>{lang_potm_vote}\n";
    else if ( $action == "lw" )
         {
            $datum_array = explode("-",$potm_list[$i]['image_potm_date']);
            $potm_menu .= "<b>".$lang['potm_winner']."<br>".$lang['month_array'][(int)$datum_array[1]-1]." ".$datum_array[0]."</b>";
         }
         else
            $potm_menu .= "<br>{lang_potm_votes} " . $potm_list[$i]['image_potm_votes'];

  }
  $potm_menu .= "</td>";
  if ( $action == "" && $cookie_date != $datum ) {
     $potm_menu .= "<input type=\"hidden\" name=\"action\" value=\"potm_voting\"></tr>";
  }
}
$potm_menu .= "</form></table>";

//-----------------------------------------------------
//--- Template vars -----------------------------------
//-----------------------------------------------------

$site_template->register_vars(array(
"potm_menu" => $potm_menu,
"potm_menu_link" => $potm_menu_link,
"lang_potm_title" => $lang['potm_title'],
"lang_potm_vote" => $lang['potm_vote'],
"lang_potm_votes" => $lang['potm_votes'],
"lang_potm_vote_menu" => $lang['potm_vote_menu'],
"lang_potm_lastwinners" => $lang['potm_lastwinners'],
"lang_top_category" => $lang['top_category'],
"lang_top_user" => $lang['top_user'],
"lang_potm_description" => $potm_description,
"lang_potm_locv" => $lang['potm_locv']
));

unset($action);

//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------

$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator']. $lang['potm_link'];
$title = $config['site_name'];

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  "clickstream" => $clickstream,
  "title" => $title
));
$site_template->print_template($site_template->parse_template($main_template));
include(ROOT_PATH.'includes/page_footer.php');
?>


this is the language

Quote
//-----------------------------------------------------
//--- Photo of the month ------------------------------
//-----------------------------------------------------

$lang['potm_link'] = "Photo of the month";
$lang['potm_title'] = "Vote for photo of the month";
$lang['potm'] = "potm";
$lang['potm_vote'] = "Vote";
$lang['potm_votes'] = "Votes:";
$lang['potm_lastwinners'] = "Winners of the last months";
$lang['potm_vote_menu'] = "Back to vote";
$lang['potm_winner'] = "Winner of the month";
$lang['potm_top_title'] = "Leading photos";
$lang['potm_winners_title'] = "Winners of the last months";
$lang['potm_no_permission'] = "You have already voted. You can vote only once a month.";
$lang['potm_locv'] = "Leading photos of current vote";

If these language descriptions are missing in the file add them as well:
$lang['top_user'] = "User";
$lang['top_category'] = "Category";
$lang['month_array'] = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

reference site

http://www.foto-kocher.biz/potm.php
this work fine, and my gallery dont show the links or the language

zip MOD

http://www.koebs.org/Download/MOD_potm.zip

4images v1.7.4

please help me

39
hello
Since I can make to have but photos in {random_image} and not one as it has by defect, the idea is to at random have something like imagenes of coppermine, that this {new_images}, but that is for new imagenes and does not stop all those that estan in the site of galeria.

thanks

40
Mods & Plugins (Requests & Discussions) / details in new window or popup
« on: December 08, 2007, 01:20:41 AM »
hi

how cant release one new windows whit the {image} and descruption, image_name, date, keywords, etc

thanks

como se puede crear una nueva ventana con los datos de la imagen y su descripcion y lo demas que sale bajo image_name


gracias

41
Espaņol / Castellano / Random Images Ayuda
« on: December 07, 2007, 08:32:24 PM »
hola

estoy buscando la manera de poder insertas mas imagenes aleatorias en el home.html de la galeria , NO de otro index o pagina, sino dentro de 4images.

he buscado y he encontrado algunas soluciones que no se adecuan a lo que necesito,,la MOD que me intereso es esta, donde se pueden mirar diferentes thumbnails de diferentes categorias a la vez, algo como lo que usa coopermine en sus aleatorias.

http://www.4homepages.de/forum/index.php?topic=9368.0

solo que la idea es con las imagenes aleatorias no categorias aleatorias

Gracias

42
Espaņol / Castellano / Ancho de tablas thumbnails_bit.html
« on: December 07, 2007, 11:24:47 AM »
hola

como puedo reducir las medidas de las tablas del archivo thumbnails_bit.html, busque en el ACP y no mire la opcion para el ancho de tablas., trae opcion de 100% pero si muevo la opcion, talvez se me mueva toda la galeria


gracias

43
Espaņol / Castellano / Registro 4images
« on: December 02, 2007, 10:46:36 AM »
hola

es posible que en el registro,se pueda agregar un verificador de nicks. algo como de este sitio?.

http://www.sexymetro.com/register.php

Gracias

44
Espaņol / Castellano / Sexo y Bandera del Pais en top.html
« on: December 02, 2007, 09:50:33 AM »
hola

he modificado el top.html con imagenes, y me gustaria saber como puedo hacer para que aparezca el sexo de la persona y la bandera de su pais.

gracias

45
Espaņol / Castellano / Activacion de usuarios por medio del Admin
« on: December 02, 2007, 09:29:48 AM »
hola,

es posible que al enviar la activacion al usuario despues de que este se registre y sea activado desde luego por el Admin, se le pueda enviar las nuevas fotos, en si las ultimas actualizaciones del sitio?.

gracias.

Pages: 1 2 [3] 4 5 6 7