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 - masterred

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 32
91
Español / Castellano / Re: FAQ de 4images
« on: February 02, 2008, 02:21:43 AM »
Error al salir del admin.php

si en tu navegador te sale esta direccion

Quote
Not Found
The requested URL /tu_galeria/admin/admin/index.php was not found on this server.


Abrir:  admin/admin_global.php la linea 92

buscar

Quote
if (isset($HTTP_GET_VARS['logout'])) {
  $site_sess->logout($user_info['user_id']);
   setcookie("adminon", 0, 0, '/');
   redirect("admin/index.php");
}

Sustituir por

Quote
if (isset($HTTP_GET_VARS['logout'])) {
  $site_sess->logout($user_info['user_id']);
   setcookie("adminon", 0, 0, '/');
   redirect("index.php");
}

cerrar y guardar cambios

hasta pronto

92
Español / Castellano / Re: Reproductor MP3
« on: January 31, 2008, 06:40:27 PM »
hola

en que parte tienes el problema de instalacion, es decir, ha revisado el MOD y solo son dos archivos a editar y no se ve dificil dehacerlo, lo demas se tiene que descargar de la pagina del autor, que es el reproductor mp3 en flash, lastima qiue sea de registro para poder descargarlo

hasta pronto

93
Mods & Plugins (Requests & Discussions) / Re: Archives of the photos
« on: January 31, 2008, 06:10:56 PM »
hi

As you can create an archive of photographs, that is not to eliminate them and to find photos rises above

thanks

94
hola

no se si sea extactamente lo que buscas, pero esto puede ayudarte

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

hasta pronto

95
Español / Castellano / Bugs in admin logout.php 1.7.5
« on: January 31, 2008, 09:38:31 AM »
hola

Movido a las FAQ de 4images

Masterred

96
Feedback & Suggestions / Re: 4images 1.7.5 - Feedback
« on: January 31, 2008, 09:02:21 AM »
hi

i have this problem with logout in admin.php

Quote
Not Found
The requested URL /4images1/admin/admin/index.php was not found on this server.

where repair this link, in includes/page_header.php ?

or her

Quote
<table border="0" cellpadding=0 cellspacing=0 width="100%">
      <tr>
        <td><img src="images/logo.gif"></td>
        <td align="right"><b><a href="<?php echo $site_sess->url(ROOT_PATH."index.php"); ?>" target="_blank"><?php echo $lang['goto_homepage']; ?></a>&nbsp;|&nbsp;<a href="<?php echo $site_sess->url(ROOT_PATH."admin/index.php?logout=1"); ?>" target="_top"><?php echo $lang['logout']; ?></a>&nbsp;&nbsp;</b></TD>
      </tr>
    </table>

******PROBLEM SOLVED*****

redirect repair bugs

in admin_global.php find line 92 this

Quote
if (isset($HTTP_GET_VARS['logout'])) {
  $site_sess->logout($user_info['user_id']);
   setcookie("adminon", 0, 0, '/');
   redirect("admin/index.php");
}

change for this

Quote
if (isset($HTTP_GET_VARS['logout'])) {
  $site_sess->logout($user_info['user_id']);
   setcookie("adminon", 0, 0, '/');
   redirect("index.php");
}

close and save change

i see
thanks


97
Mods & Plugins (Requests & Discussions) / rating in register
« on: January 31, 2008, 07:50:46 AM »
hi

how can add rating and description image in register.php

http://www.locatealover.com/go.php?go=signupphp

thanks

98
hola

las modificaciones las tienes que hacer en todos los archivos .html de tu templates y el codigo a eliminar es

localizar en todos los archivos .html

Quote
<table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box} </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>

NOTA: tambien puedes eliminar solo {user_box} y {lang_register_user} si deseas meter otra cosa dentro de la tabla

cerrar y guardar cambios

hasta pronto

99
Feedback & Suggestions / Re: 4images 1.7.5 - Feedback
« on: January 31, 2008, 12:17:18 AM »
hi

nothin new in this new version, except repair bugs, no new functions, or what is the change except bugs

thanks

100
hi

 i have this problem with memberlist.php, install clean not modify nothing

Quote
Parse error: syntax error, unexpected $end in C:\AppServ\www\encantojuvenil\includes\template.php(101) : eval()'d code on line 149

line 149 /153

Quote
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
include(ROOT_PATH.'includes/user_paging.php');
$getpaging = new Paging($page, $user_per_page, $num_rows_all, $link_arg);
$offset = $getpaging->get_offset();

what is the problem, remember the install is clean and new

thanks




install this MOD i have this problem, install other MOD in spanish work fine not problem

http://www.4homepages.de/forum/index.php?topic=4420.msg19821#msg19821

****problem solved*****

101
hi

 i have this problem with memberlist.php, install clean not modify nothing

Quote
Parse error: syntax error, unexpected $end in C:\AppServ\www\encantojuvenil\includes\template.php(101) : eval()'d code on line 149

line 149 /153

Quote
$num_rows_all = (isset($user_cache[$user_id]['total_user'])) ? $user_cache[$user_id]['total_user'] : 0;
$link_arg = $site_sess->url(ROOT_PATH."memberlist.php?mode=$mode&order=$sort_order");
include(ROOT_PATH.'includes/user_paging.php');
$getpaging = new Paging($page, $user_per_page, $num_rows_all, $link_arg);
$offset = $getpaging->get_offset();

what is the problem, remember the install is clean and new

thanks



102
Mods & Plugins (Requests & Discussions) / Re: Picture of the month
« on: January 30, 2008, 09:38:46 AM »
hi

how can resize the image in index.php, change {thumbnail} for {image} in thumbnail_bit_potm.html

thanks

103
Mods & Plugins (Releases & Support) / Re: [Mod] Photo Of The Day
« on: January 29, 2008, 07:21:00 PM »
hi

thanks problem is solved

104
Mods & Plugins (Releases & Support) / Re: [Mod] Photo Of The Day
« on: January 29, 2008, 05:27:07 PM »
this mod works definetly with 4images 1.7.4 !! though, there is still one bug which causes in the newer versions problems with the mysql queries, wich were mentioned before. here is the work-around i found (http://www.4homepages.de/forum/index.php?topic=5874.msg74179#msg74179), because the author of the script hasnt done this update in all of his scripts yet.


OPEN
includes/functions.php

FIND (in my functions.php at line 578)
FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c

REPLACE WITH
FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)

THATS IT!! - SAVE AND UPDATE FILE ON SERVER


i have this error

this is the original script in functions.php

Quote
//-----------------------------------------------------
//--- Photo Of The Day --------------------------------
//-----------------------------------------------------

function get_potd_image() {
    global $site_db, $site_template, $select_mode;

$cat_id_sql = get_auth_cat_sql("auth_viewcat", "NOTIN");

switch (POTD_SELECT_MODE) {
   case "rating"      :   $select_mode = "i.image_rating"; break;
   case "votes"      :   $select_mode = "i.image_votes"; break;
   case "comments"   :   $select_mode = "i.image_comments"; break;
   case "downloads"   :   $select_mode = "i.image_downloads"; break;
   case "hits"      :   $select_mode = "i.image_hits"; break;
   case "random"      :   $selection = array('rating', 'votes', 'hits', 'comments', 'downloads');
                     mt_srand((double) microtime() * 1000000);
                     $select_mode = 'i.image_'.$selection[mt_rand(0, (count($selection)-1))];
                     break;
}

    $sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name".get_user_table_field(", u.", "user_name")."
            FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c
            LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
            WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND c.cat_id = i.cat_id
            ORDER BY $select_mode DESC LIMIT 1";

    $potd_image = $site_db->query_firstrow($sql);
   $site_db->free_result();
   $template = 'potd_image';
   show_image($potd_image, "", 1);
   $potd_image = $site_template->parse_template($template);
   return $potd_image;
}

//-----------------------------------------------------

modify

Quote
//-----------------------------------------------------
//--- Photo Of The Day --------------------------------
//-----------------------------------------------------

function get_potd_image() {
    global $site_db, $site_template, $select_mode;

$cat_id_sql = get_auth_cat_sql("auth_viewcat", "NOTIN");

switch (POTD_SELECT_MODE) {
   case "rating"      :   $select_mode = "i.image_rating"; break;
   case "votes"      :   $select_mode = "i.image_votes"; break;
   case "comments"   :   $select_mode = "i.image_comments"; break;
   case "downloads"   :   $select_mode = "i.image_downloads"; break;
   case "hits"      :   $select_mode = "i.image_hits"; break;
   case "random"      :   $selection = array('rating', 'votes', 'hits', 'comments', 'downloads');
                     mt_srand((double) microtime() * 1000000);
                     $select_mode = 'i.image_'.$selection[mt_rand(0, (count($selection)-1))];
                     break;
}

    $sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name".get_user_table_field(", u.", "user_name")."
            FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
            LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
            WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND c.cat_id = i.cat_id
            ORDER BY $select_mode DESC LIMIT 1";

    $potd_image = $site_db->query_firstrow($sql);
   $site_db->free_result();
   $template = 'potd_image';
   show_image($potd_image, "", 1);
   $potd_image = $site_template->parse_template($template);
   return $potd_image;
}

//-----------------------------------------------------

and error with modify

Quote
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY i.image_votes DESC LIMIT 1
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LEFT JOIN 4images_users u ON (u.user_id = i.user_id) ' at line 2

i need you help thanks





105
Español / Castellano / Pregunta [MOD] Banderas de paises en Whos Online
« on: January 29, 2008, 08:33:11 AM »
hola

he instalado este MOD, solo que me muestra una bandera erronea, he realizado la instalacion y la actualizacion que esta en este mod
como puedo hacer para que me asigne correctamente la bandera de mi pais ?

gracias

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 32