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

Pages: 1 2 [3] 4
31
Chit Chat / WTB: want to buy 4 images sites
« on: September 16, 2008, 04:38:22 PM »
If u want to sell your site: please write this information and pm or mail to me.
INFO:
Site adress: http://
Counter: extreme, analytics etc.
Adsense: Screen shots etc.
mail:
Price:

mail: eniserdal@hotmail.com

32
Discussion & Troubleshooting / Re: Pictures problem
« on: August 04, 2008, 10:28:10 PM »
i copied all htmls for seo optimize from some forum.
sorry for all 4 images team and 7dana template designers.
now can u please help me?

33
Discussion & Troubleshooting / Re: Pictures problem
« on: August 04, 2008, 10:14:40 PM »
dont u remember u solved my databese problem i havent change pass yet, u know all info about me :)
i changed all of them.

34
Discussion & Troubleshooting / Re: Pictures problem
« on: August 04, 2008, 09:54:54 PM »
i changed it.

35
Discussion & Troubleshooting / Re: Pictures problem
« on: August 04, 2008, 09:45:38 PM »
sorry for flood but 4images written on the left side.
enis erdal writes on the right side on footer. if it is the problem i ll change it now.

36
Discussion & Troubleshooting / Re: Pictures problem
« on: August 04, 2008, 09:43:53 PM »
i bougt it from someone, i dont know all options.

how can we fix it know?

37
Discussion & Troubleshooting / Pictures problem
« on: August 04, 2008, 09:17:06 PM »
i dont understand, i have a huge problem and i cant solve it.

in:   disneypicture(dot)net
the images cannot see by the users also admins.
i checked chmod in images... data.... media etc. but nothing changed?

is any idea from here....

38
Discussion & Troubleshooting / Re: Upload Problem
« on: May 03, 2008, 03:43:15 PM »
solved, it was an host safe mod problem.

39
Discussion & Troubleshooting / Re: Upload Problem
« on: May 03, 2008, 12:17:33 AM »
Hello:
have you moved your site from your existing host to another host using CPanel or Plesk?
It seems that you created a category with ID#172, and needed to add a picture called Catalina_Cruz_003.jpg inside, using an account ID uid/gid 99/99 in the script 33074/33078 (4images script and your 4images account managed by your host). But it seems there that these script and/or user account do not have the needed rights to write in the directory (data/media/172/). So access is denied and there is then an error uploading the file... That is the best translation I can do from the error messages you gave us.

yes youre right,
i moved my site another host from plesk to cpanel,
so what can we do now?

40
Discussion & Troubleshooting / Upload Problem
« on: May 02, 2008, 06:34:58 PM »
Quote
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid/gid is 33074/33078 is not allowed to access /home/pictures/public_html/data/media/172 owned by uid/gid 99/99 in /home/pictures/public_html/includes/upload.php on line 104
Image 1
    Error uploading image file: Catalina Cruz 003.jpg
Catalina_Cruz_003.jpg: Copy error. Please check the directory permissions.

No database entry!


i get this error,
changed all chmod to 777

 chmod 777 (drwxrwxrwx) : data
chmod 777 (drwxrwxrwx) : data/database
chmod 777 (drwxrwxrwx) : data/media
chmod 777 (drwxrwxrwx) : data/thumbnails
chmod 777 (drwxrwxrwx) : data/tmp_media
chmod 777 (drwxrwxrwx) : data/tmp_thumbnails
chmod 777 (drwxrwxrwx) : templates
chmod 777 (drwxrwxrwx) : templates/default
chmod 777 (drwxrwxrwx) : templates/default/media


HOW CAN I FIX THIS?

41
i sent u my ftp
can u look please

42
Hi, I've searched around for an answer, but all of the threads don't quite seem to be what my problem is.

I moved my 4images installation to a new server. So, basically, I made a copy of all the files and uploaded it to the new server, backed up the db and dumped it to the new one and changed all of the values in config.php, however, none of the pages are working ,
i edited the config.php file BEFORE restoring the database.
i made CHMOD 777 data and subfolders and templates etc.

and I will always get this message:
Quote
An unexpected error occured. Please try again later.

http://www.football-pictures.net

43
Turkish / Türkçe / Re: Seo için
« on: April 21, 2008, 07:15:15 PM »
arkadaşlar 1.7.6 da olmuyor sanıım bende de sayfa görüntülenemiyor dedi,
windows hosting ile bir alakası olabilirmi?

44
Modifikasyonlar / Re: 4images için seolu link
« on: April 21, 2008, 07:11:58 PM »
arkadaşlar 1.7.6 da olmuyor sanıım bende de sayfa görüntülenemiyor dedi,
windows hosting ile bir alakası olabilirmi?

45
i did everything on [MOD] Dynamic Page Title for v1.7 & v1.7.1.
i use 1.7.6
every page title and description ok but;
 postcards.php is same as home page title and description, how can we fix this?
Code: [Select]
http://www.picturesx.netmy postcard.php code is
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: postcards.php                                        *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    *
 *              Web: http://www.4homepages.de                             *
 *    Scriptversion: 1.7.6                                                *
 *                                                                        *
 *    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();

if (isset(
$HTTP_GET_VARS[URL_POSTCARD_ID]) || isset($HTTP_POST_VARS[URL_POSTCARD_ID])) {
  
$postcard_id = (isset($HTTP_GET_VARS[URL_POSTCARD_ID])) ? trim($HTTP_GET_VARS[URL_POSTCARD_ID]) : trim($HTTP_POST_VARS[URL_POSTCARD_ID]);
}
else {
  
$postcard_id 0;
}

if (
$action == "") {
  
$action = ($postcard_id) ? "showcard" "createcard";
}

if (isset(
$HTTP_GET_VARS['modifycard']) || isset($HTTP_POST_VARS['modifycard'])) {
  
$action "modifycard";
}

$main_template = ($action == "createcard" || $action == "modifycard") ? "postcard_create" : (($action == "previewcard") ? "postcard_create" "postcard_send");
include(
ROOT_PATH.'includes/page_header.php');

$sendprocess 0;

if (
$action != "showcard") {
  
$sql "SELECT i.cat_id, i.image_name, i.image_media_file, i.image_thumb_file, 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_id = 
$image_id";
  
$image_row $site_db->query_firstrow($sql);
  if (!
$image_row) {
    
redirect($url);
  }
  
$cat_id $image_row['cat_id'];
  
$image_row['user_name'] = $image_row[$user_table_fields['user_name']];

  if (!
check_permission("auth_viewcat"$cat_id) || !check_permission("auth_viewimage"$cat_id) || !check_permission("auth_sendpostcard"$cat_id)) {
    
redirect($url);
  }
}

if (
$action == "sendcard") {
  
$expiry time() - 60 60 24 POSTCARD_EXPIRY;
  
$sql "DELETE FROM ".POSTCARDS_TABLE."
          WHERE (postcard_date < 
$expiry)";
  
$site_db->query($sql);

  
$bg_color un_htmlspecialchars(trim($HTTP_POST_VARS['bg_color']));
  
$border_color un_htmlspecialchars(trim($HTTP_POST_VARS['border_color']));
  
$font_color un_htmlspecialchars(trim($HTTP_POST_VARS['font_color']));
  
$font_face un_htmlspecialchars(trim($HTTP_POST_VARS['font_face']));

  
$sender_name un_htmlspecialchars(trim($HTTP_POST_VARS['sender_name']));
  
$sender_email un_htmlspecialchars(trim($HTTP_POST_VARS['sender_email']));
  
$recipient_name un_htmlspecialchars(trim($HTTP_POST_VARS['recipient_name']));
  
$recipient_email un_htmlspecialchars(trim($HTTP_POST_VARS['recipient_email']));

  
$headline un_htmlspecialchars(trim($HTTP_POST_VARS['headline']));
  
$message un_htmlspecialchars(trim($HTTP_POST_VARS['message']));
  
$message strip_tags($message);

  
$captcha = (isset($HTTP_POST_VARS['captcha'])) ? un_htmlspecialchars(trim($HTTP_POST_VARS['captcha'])) : "";

  
$back_url = (!empty($HTTP_POST_VARS['back_url'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['back_url']))) : $site_sess->url(ROOT_PATH."index.php""&");

  
$postcard_id get_random_key(POSTCARDS_TABLE"postcard_id");
  
$current_time time();

  if (
$captcha_enable_postcards && !captcha_validate($captcha)) {
      
$msg .= (($msg != "") ? "<br />" "").$lang['captcha_required'];
      
$action "previewcard";
      
$main_template "postcard_preview";
  } else {
    
$sql "INSERT INTO ".POSTCARDS_TABLE."
            (postcard_id, image_id, postcard_date, postcard_bg_color, postcard_border_color, postcard_font_color, postcard_font_face, postcard_sender_name, postcard_sender_email, postcard_recipient_name, postcard_recipient_email, postcard_headline, postcard_message)
            VALUES
            ('
$postcard_id', $image_id$current_time, '$bg_color', '$border_color', '$font_color', '$font_face', '$sender_name', '$sender_email', '$recipient_name', '$recipient_email', '$headline', '$message')";
    
$result $site_db->query($sql);

    if (
$result) {
      
$postcard_url $script_url."/postcards.php?".URL_POSTCARD_ID."=".$postcard_id;

      include(
ROOT_PATH.'includes/email.php');
      
$site_email = new Email();
      
$site_email->set_to(stripslashes($recipient_email));
      
$site_email->set_from(stripslashes($sender_email), stripslashes($sender_name));
      
$site_email->set_subject($lang['send_postcard_emailsubject']);
      
$site_email->register_vars(array(
        
"sender_name" => stripslashes($sender_name),
        
"sender_email" => stripslashes($sender_email),
        
"recipient_name" => stripslashes($recipient_name),
        
"postcard_url" => stripslashes($postcard_url),
        
"postcard_send_date" => format_date($config['date_format']." ".$config['time_format'], $current_time),
        
"site_name" => $config['site_name']
      ));
      
$site_email->set_body("postcard_message"$config['language_dir']);
      
$site_email->send_email();

      
$msg .= $lang['send_postcard_success'];
      
$msg .= "<br /><a href=\"".$back_url."\">".$lang['back_to_gallery']."</a>";
      
$action "showcard";
    }
    else {
      
$msg $lang['general_error'];
      
$action "previewcard";
      
$main_template "postcard_preview";
    }
  }
}

if (
$action == "showcard") {
  
$expiry time() - 60 60 24 POSTCARD_EXPIRY;
  
$sql "DELETE FROM ".POSTCARDS_TABLE."
          WHERE (postcard_date < 
$expiry)";
  
$site_db->query($sql);

  if (!
$postcard_id){
    
redirect("index.php");
  }
  else {
    
$sql "SELECT p.postcard_id, p.image_id, p.postcard_date, p.postcard_bg_color, p.postcard_border_color, p.postcard_font_color, p.postcard_font_face, p.postcard_sender_name, p.postcard_sender_email, p.postcard_recipient_name, p.postcard_recipient_email, p.postcard_headline, p.postcard_message, i.image_name, i.cat_id, i.image_media_file, i.image_thumb_file
            FROM ("
.POSTCARDS_TABLE." p, ".IMAGES_TABLE." i)
            WHERE p.postcard_id = '
$postcard_id' AND p.image_id = i.image_id";
    
$image_row $site_db->query_firstrow($sql);

    if (!
$image_row) {
      
show_error_page($lang['invalid_postcard_id']);
    }
    else {
      
$image get_media_code($image_row['image_media_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode1);
      
$thumbnail get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode);
      
$image_name_link "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_row['image_id'])."\">".format_text($image_row['image_name'])."</a>";
      
$site_template->register_vars(array(
        
"image" => $image,
        
"thumbnail" => $thumbnail,
        
"image_name_link" => $image_name_link,
        
"bg_color" => format_text($image_row['postcard_bg_color'], 2),
        
"border_color" => format_text($image_row['postcard_border_color'], 2),
        
"font_color" => format_text($image_row['postcard_font_color'], 2),
        
"font_face" => format_text($image_row['postcard_font_face'], 2),
        
"sender_name" => format_text($image_row['postcard_sender_name'], 2),
        
"sender_email" => format_text($image_row['postcard_sender_email'], 2),
        
"recipient_name" => format_text($image_row['postcard_recipient_name'], 2),
        
"recipient_email" => format_text($image_row['postcard_recipient_email'], 2),
        
"headline" => format_text($image_row['postcard_headline'], 2),
        
"message" => format_text($image_row['postcard_message'], 0)
      ));
    }
  }
}

if (
$action == "previewcard") {
  
$error 0;
  
$bg_color un_htmlspecialchars(trim($HTTP_POST_VARS['bg_color']));
  
$border_color un_htmlspecialchars(trim($HTTP_POST_VARS['border_color']));
  
$font_color un_htmlspecialchars(trim($HTTP_POST_VARS['font_color']));
  
$font_face un_htmlspecialchars(trim($HTTP_POST_VARS['font_face']));

  
$sender_name un_htmlspecialchars(trim($HTTP_POST_VARS['sender_name']));
  
$sender_email un_htmlspecialchars(trim($HTTP_POST_VARS['sender_email']));
  
$recipient_name un_htmlspecialchars(trim($HTTP_POST_VARS['recipient_name']));
  
$recipient_email un_htmlspecialchars(trim($HTTP_POST_VARS['recipient_email']));

  
$headline un_htmlspecialchars(trim($HTTP_POST_VARS['headline']));
  
$message un_htmlspecialchars(trim($HTTP_POST_VARS['message']));

  
$back_url = (!empty($HTTP_POST_VARS['back_url'])) ? un_htmlspecialchars(stripslashes(trim($HTTP_POST_VARS['back_url']))) : $site_sess->url(ROOT_PATH."index.php""&");

  if (
$sender_name == "" || $sender_email == "" || $recipient_name == "" || $recipient_email == "" || $headline == "" || $message == "") {
    
$msg .= $lang['lostfield_error'];
    
$error 1;
  }
  if ((
$sender_email != "" && !check_email($sender_email)) || ($recipient_email != "" && !check_email($recipient_email))) {
    
$msg .= (($msg != "") ? "<br />" "").$lang['invalid_email_format'];
    
$error 1;
  }

  if (!
$error) {
    
$main_template "postcard_preview";
    
$image get_media_code($image_row['image_media_file'], $image_id$cat_id$image_row['image_name'], $mode1);
    
$thumbnail get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_id$cat_id$image_row['image_name'], $mode);
    
$site_template->register_vars(array(
      
"image" => $image,
      
"thumbnail" => $thumbnail,
      
"image_name" => format_text($image_row['image_name']),
      
"url_postcard" => $site_sess->url(ROOT_PATH."postcards.php?".URL_IMAGE_ID."=".$image_id),
      
"bg_color" => format_text(stripslashes($bg_color), 2),
      
"border_color" => format_text(stripslashes($border_color), 2),
      
"font_color" => format_text(stripslashes($font_color), 2),
      
"font_face" => format_text(stripslashes($font_face), 2),
      
"sender_name" => format_text(stripslashes($sender_name), 2),
      
"sender_email" => format_text(stripslashes($sender_email), 2),
      
"recipient_name" => format_text(stripslashes($recipient_name), 2),
      
"recipient_email" => format_text(stripslashes($recipient_email), 2),
      
"headline" => format_text(stripslashes($headline), 2),
      
"message" => format_text(stripslashes($message), 0),
      
"message_hidden" => format_text(stripslashes($message), 2),
      
"image_id" => $image_id,
      
"lang_sender" => $lang['sender'],
      
"lang_recipient" => $lang['recipient'],
      
"lang_edit_postcard" => $lang['edit_postcard'],
      
"lang_send_postcard" => $lang['send_postcard'],
      
"back_url" => format_text($back_url),
      
"lang_captcha" => $lang['captcha'],
      
"lang_captcha_desc" => $lang['captcha_desc'],
      
"captcha_postcards" => (bool)$captcha_enable_postcards
    
));
  }
  else {
    
$action "createcard";
    
$main_template "postcard_create";
    
$sendprocess 1;
  }
}

if (
$action == "createcard" || $action == "modifycard") {
  if (!
$sendprocess) {
    
$bg_color "";
    
$border_color "";
    
$font_color "";
    
$font_face "";
    
$sender_name = ($user_info['user_level'] != GUEST) ? $user_info['user_name'] : "";
    
$sender_email = ($user_info['user_level'] != GUEST) ? $user_info['user_email'] : "";
    
$recipient_name "";
    
$recipient_email "";
    
$headline "";
    
$message "";
  }

  if (
$action == "modifycard") {
    
$bg_color un_htmlspecialchars(trim($HTTP_POST_VARS['bg_color']));
    
$border_color un_htmlspecialchars(trim($HTTP_POST_VARS['border_color']));
    
$font_color un_htmlspecialchars(trim($HTTP_POST_VARS['font_color']));
    
$font_face un_htmlspecialchars(trim($HTTP_POST_VARS['font_face']));

    
$sender_name un_htmlspecialchars(trim($HTTP_POST_VARS['sender_name']));
    
$sender_email un_htmlspecialchars(trim($HTTP_POST_VARS['sender_email']));
    
$recipient_name un_htmlspecialchars(trim($HTTP_POST_VARS['recipient_name']));
    
$recipient_email un_htmlspecialchars(trim($HTTP_POST_VARS['recipient_email']));

    
$headline un_htmlspecialchars(trim($HTTP_POST_VARS['headline']));
    
$message un_htmlspecialchars(trim($HTTP_POST_VARS['message']));
    
$message strip_tags($message);
  }

  
$image get_media_code($image_row['image_media_file'], $image_id$cat_id$image_row['image_name'], $mode1);
  
$thumbnail get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_id$cat_id$image_row['image_name'], $mode);
  
$site_template->register_vars(array(
    
"image" => $image,
    
"thumbnail" => $thumbnail,
    
"image_name" => format_text($image_row['image_name']),
    
"lang_bg_color" => $lang['bg_color'],
    
"bg_color" => $bg_color,
    
"lang_border_color" => $lang['border_color'],
    
"border_color" => $border_color,
    
"lang_font_color" => $lang['font_color'],
    
"font_color" => $font_color,
    
"lang_font_face" => $lang['font_face'],
    
"font_face" => $font_face,
    
"image_id" => $image_id,
      
"lang_sender" => $lang['sender'],
    
"lang_recipient" => $lang['recipient'],
    
"lang_email" => $lang['email'],
    
"lang_name" => $lang['name'],
    
"lang_headline" => $lang['headline'],
    
"lang_message" => $lang['message'],
    
"lang_preview_postcard" => $lang['preview_postcard'],
    
"url_postcard" => $site_sess->url(ROOT_PATH."postcards.php?".URL_IMAGE_ID."=".$image_id),
    
"sender_name" => format_text(stripslashes($sender_name), 2),
    
"sender_email" => format_text(stripslashes($sender_email), 2),
    
"recipient_name" => format_text(stripslashes($recipient_name), 2),
    
"recipient_email" => format_text(stripslashes($recipient_email), 2),
    
"headline" => format_text(stripslashes($headline), 2),
    
"message" => format_text(stripslashes($message), 2),
    
"lang_send_postcard" => $lang['send_postcard'],
    
"back_url" => format_text(stripslashes($url), 2)
  ));
}

//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'];
if (
$mode == "lightbox" && !empty($user_info['lightbox_image_ids'])) {
  
$clickstream .= "<a href=\"".$site_sess->url(ROOT_PATH."lightbox.php")."\" class=\"clickstream\">".$lang['lightbox']."</a>".$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id."&amp;mode=".$mode)."\" class=\"clickstream\">".$image_row['image_name']."</a>".$config['category_separator'];
}
elseif (
$mode == "search" && !empty($session_info['search_id'])) {
  
$clickstream .= "<a href=\"".$site_sess->url(ROOT_PATH."search.php?show_result=1")."\" class=\"clickstream\">".$lang['search']."</a>".$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id."&amp;mode=".$mode)."\" class=\"clickstream\">".$image_row['image_name']."</a>".$config['category_separator'];
}
else {
  
$clickstream .= get_category_path($cat_id1).$config['category_separator']."<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id)."\" class=\"clickstream\">".$image_row['image_name']."</a>".$config['category_separator'];
}
$clickstream .= $lang['send_postcard']."</span>";

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  
"msg" => $msg,
  
"clickstream" => $clickstream,
));
$site_template->print_template($site_template->parse_template($main_template));
// MOD: Dynamic page title BLOCK BEGIN
//-----------------------------------------------------
//--- Parse Header & Footer ---------------------------
//-----------------------------------------------------
if (isset($main_template) && $main_template) {
  
$header $site_template->parse_template("header");
  
$footer $site_template->parse_template("footer");
  
$site_template->register_vars(array(
    
"header" => $header,
    
"footer" => $footer
  
));
  unset(
$header);
  unset(
$footer);
}
// MOD: Dynamic page title BLOCK END
include(ROOT_PATH.'includes/page_footer.php');
?>

Pages: 1 2 [3] 4