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

Pages: [1] 2 3 4
1
Discussion & Troubleshooting / How Do I detect Malware ?
« on: December 28, 2012, 07:13:59 AM »
Hi My 4homepages is infected and google blacklisted my website :( Anyhow So I downloaded the whole site to my local pc now from ftp So How Do I detect where the code is hiding is there a scanner ? Which will remove that code. I have no idea from where should I begin Can someone please shed some light on this.

2
Discussion & Troubleshooting / Users Question
« on: September 28, 2010, 05:12:47 AM »
Hi i have a qucik question underneath 4images gallery it shows like

Currently active users: 80 


Can i also like temper with this I mean if iwant to like add deafult number as 809 or something and then it adds more as visitor comes so it will show like currently gues 880 can i do that ?

3
Hi i want to keep default font size of image description a bit bigger how can i do this currently i have to use this code to do that in every image description

Code: [Select]
<font size="4"><font>
How can i just make this default ?

4
Discussion & Troubleshooting / ERRORS while doing search
« on: August 02, 2010, 10:39:01 AM »
Hi i get this error if i search as a guest if the account is logged in i have no errors


Notice: Undefined variable: report_url in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/includes/functions.php on line 519

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/includes/functions.php:519) in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/includes/page_header.php on line 511

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/includes/functions.php:519) in /mounted-storage/home139/sub014/sc75725-AETA/mywebsite.com/includes/page_header.php on line 525

5
Discussion & Troubleshooting / Errors on website
« on: June 04, 2010, 02:39:41 PM »
Hey there i am just getting this errros on top of my 4images have lot of mods installed


Warning: session_start() [function.session-start]: open(/home/users/web/b1063/glo.mydomainnameig/cgi-bin/tmp/sess_ae29b778b8cd03c63880262aa6aee861, O_RDWR) failed: No such file or directory (2) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php on line 95

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php:95) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php on line 95

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php:95) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php:95) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php:95) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/encuestas.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php:95) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/page_header.php on line 511

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/sessions.php:95) in /mounted-storage/home139/sub014/sc75725-AETA/mydomainname.com/try/includes/page_header.php on line 525

It was working fine it just started after moving my host does anyone know what is the possibility why im getting these errors and whats the way around to fix these things

6
Installation, Update & Configuration / 100 GUEST SETTING
« on: November 15, 2009, 06:21:55 AM »
hi i want to stop the d.dos flooder s on my 4images so i only want to allow 100 guest at a time to view my site how do i do that setting ??

7
Templates & Styles (Requests & Discussions) / Register form NEED HTML HELP
« on: February 26, 2009, 08:01:25 PM »
hi i edited the register form file for birthday mod i cant get it to line up rite i mean it works but its not that neat the way its suppose to be i cant get it to fix :( can someone help me here is my register form.html code

Code: [Select]
{lang_register_msg}
<form method="POST" action="{url_register}">
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" class="head">
        <table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td colspan="2" valign="top" class="head" background="{template_url}/images/nav.gif">{lang_register}</td>
          </tr>
          <tr>
            <td class="cat1"><b>{lang_user_name}</b></td>
            <td class="cat1"><input type="text" name="user_name" size="30" value="{user_name}" class="input" /></td>
          </tr>
          <tr>
            <td class="cat2"><b>{lang_password}</b></td>
            <td class="cat2"><input type="password" name="user_password" size="30" class="input" /></td>
          </tr>
          <tr>
            <td class="cat1"><b>{lang_email}</b></td>
            <td class="cat1"><input type="text" name="user_email" size="30" class="input" value="{user_email}" /></td>

            <!--  Birthday Mod     -->
          <tr>
             <td class="cat1"><b>{lang_birthday}</b></td>
             <td class="cat1"><table>
                      <tr>
                          <td>{lang_day}</td>
                          <td>{lang_month}</td>
                          <td>{lang_year}</td>
                      </tr>

                      <tr>
                           <td><select name="user_birthday_day">{birthday_day_options} </select></td>
                           <td><select name="user_birthday_month">{birthday_month_options}</select></td>
                           <td><input class="input" name="user_birthday_year" value="{user_birthday_year}" maxlength="4" size="5" type="text">
                           </td>
                      </tr>

            {if captcha_registration}
          <tr>
            <td class="row1" valign="top"><b>{lang_captcha}</b></td>
            <td class="row1">
              <a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
              <input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
              <br />
              {lang_captcha_desc}
            </td>
          </tr>
          {endif captcha_registration}
          </tr>
        </table>
      </td>

    </tr>
  </table>
  <input type="hidden" name="action" value="register" />
  <p align="center">
    <input type="submit" value="{lang_submit}" class="button" />
    <input type="reset" value="{lang_reset}" class="button" />
  </p>
</form>


The birthday line and capcha line are in like one line :( i need to  make it look neat like on 2 rows instead of capcha and brithday in same row

8
Templates & Styles (Requests & Discussions) / mouse over effect
« on: February 25, 2009, 07:17:44 AM »
i wanna use this effect on thumbnail how can i implement this

http://www.dynamicdrive.com/dynamicindex11/gradualfader.htm

9
Mods & Plugins (Requests & Discussions) / UPLOAD DETAILS
« on: February 20, 2009, 06:19:49 AM »
Hi i wonder if there is a mod when user are uploading picture/video thru the uploadform it shows more details instead of just an popup details like how many kb or mb has been uploaded how many mb or kb is left, time left, stuff like that :D

10
Discussion & Troubleshooting / Header Information Error
« on: February 12, 2009, 10:46:42 PM »
hi i just installed xamp and download all files to my local pc so i can do what ever test i needed in future with mods and stuff but on my local pc with xamp its giving me this error

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\4images\encuestas.php:166) in C:\xampp\htdocs\4images\includes\page_header.php on line 391

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\4images\encuestas.php:166) in C:\xampp\htdocs\4images\includes\page_header.php on line 405


But on my hosting all the files are same and everything does anyone know what could be causing it on the local pc with xamp

11
Mods & Plugins (Requests & Discussions) / Report A Dead Link
« on: February 12, 2009, 06:10:32 AM »
Hi everyone i have a request since lot of people have videos (youtube,googlevideo,yahoovideo e.t.c) linked with there 4images gallery system i think we should have a mod to report dead links cause time to time these video services site remove videos and links go dead it will b e very nice if in 4images control panel it will have a way to check people who has reported dead link so we can go and update those links and make them live again :D

12
Discussion & Troubleshooting / Admin Setting.php
« on: February 09, 2009, 07:38:49 AM »
hi i have 4images 1.76 and i have these mods installed

Dynamic Title
Google Youtube VIdeo
Ajax Search Form
Report a picture - v1.0 (Final release & patched version)
On-fly image annotation ( watermark)
Most Ever Users Online v2
Media sites v1.1 (2009-02-02)
Recylce Bin MOD
Tweak MOD: Admin CP / Validate Images (Speed/Popup)
[Mod] Image rateform
Poll v2.0 (with ACP integration) NEW VERSION!!!
Email image validation results to the user v2
[Mod] Puzzle


And now the problem is when in upload a fresh copy of admin/setting.php everything works fine but as soon i upload my edited copy of admin/setting.php it dont work

my copy of admin/setting.php is  rite here

Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: settings.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('IN_CP'1);
define('ROOT_PATH''./../');
require(
'admin_global.php');

if ( 
$action == "") {
  
$action "modifysettings";
}

function 
show_template_dir_select($setting_name$setting_value) {
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  
$handle opendir(ROOT_PATH.TEMPLATE_DIR);
  while (
$folder = @readdir($handle)) {
    if (@
is_dir(ROOT_PATH.TEMPLATE_DIR."/".$folder) && $folder != "." && $folder != "..") {
      
$folderlist[] = $folder;
    }
  }
  
sort($folderlist);
  for(
$i 0$i sizeof($folderlist); $i++) {
    echo 
"<option value=\"".$folderlist[$i]."\"";
    if (
$setting_value == $folderlist[$i]) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$folderlist[$i]."</option>\n";
  }
  
closedir($handle);
  echo 
"</select>";
}

function 
show_language_dir_select($setting_name$setting_value) {
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  
$handle opendir(ROOT_PATH."lang");
  while (
$folder = @readdir($handle)) {
    if (@
is_dir(ROOT_PATH."lang/$folder") && $folder != "." && $folder != "..") {
      
$folderlist[] = $folder;
    }
  }
  
sort($folderlist);
  for(
$i 0$i sizeof($folderlist); $i++) {
    echo 
"<option value=\"".$folderlist[$i]."\"";
    if (
$setting_value == $folderlist[$i]) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$folderlist[$i]."</option>\n";
  }
  
closedir($handle);
  echo 
"</select>\n";
}

function 
show_convert_tool_select($setting_name$setting_value) {
  global 
$convert_tool_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach (
$convert_tool_optionlist as $key => $val) {
    echo 
"<option value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$val."</option>";
  }
  echo 
"</select>";
}

function 
show_image_order_select($setting_name$setting_value) {
  global 
$image_order_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach (
$image_order_optionlist as $key => $val) {
    echo 
"<option value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$val."</option>";
  }
  echo 
"</select>";
}

function 
show_image_sort_select($setting_name$setting_value) {
  global 
$image_sort_optionlist;
  echo 
"<select name=\"setting_item[".$setting_name."]\">";
  foreach (
$image_sort_optionlist as $key => $val) {
    echo 
"<option value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" selected=\"selected\"";
    }
    echo 
">".$val."</option>";
  }
  echo 
"</select>";
}

function 
show_upload_mode_options($setting_name$setting_value) {
  global 
$upload_mode_optionlist;
  foreach (
$upload_mode_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}

function 
show_auto_thumbnail_resize_type_options($setting_name$setting_value) {
  global 
$auto_thumbnail_resize_type_optionlist;
  foreach (
$auto_thumbnail_resize_type_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}

function 
show_account_activation_options($setting_name$setting_value) {
  global 
$account_activation_optionlist;
  foreach (
$account_activation_optionlist as $key => $val) {
    echo 
"<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
    if (
$setting_value == $key) {
      echo 
" checked=\"checked\"";
    }
    echo 
"> ".$val."<br />";
  }
}

function 
show_setting_row($setting_name$value_option ""$htmlspecialchars 0) {
  global 
$config$setting;
$config_value $config[$setting_name];
  
$config_value = ($htmlspecialchars) ? htmlspecialchars($config[$setting_name]) : $config[$setting_name];
  
$setting[$setting_name] = replace_url($setting[$setting_name]);
  if (
$value_option == "") {
    
show_input_row($setting[$setting_name], "setting_item[".$setting_name."]"$config_value);
  }
  elseif (
$value_option == "textarea") {
    
show_textarea_row($setting[$setting_name], "setting_item[".$setting_name."]"$config_value""6);
  }
  elseif (
$value_option == "radio") {
    
show_radio_row($setting[$setting_name], "setting_item[".$setting_name."]"$config_value);
  }
  else {
    echo 
"<tr class=\"".get_row_bg()."\">\n<td valign=\"top\"><p class=\"rowtitle\">".$setting[$setting_name]."</p></td>\n";
    echo 
"<td><p>";
    
$value_option($setting_name$config_value);
    echo 
"</p></td>\n</tr>\n";
  }
  function 
show_report_image_select($setting_name$setting_value) {
    global 
$report_image_optionlist;
    echo 
"<select name=\"setting_item[".$setting_name."]\">";
    foreach (
$report_image_optionlist as $key => $val) {
      echo 
"<option value=\"$key\"";
      if (
$setting_value == $key) {
        echo 
" selected=\"selected\"";
      }
      echo 
">".$val."</option>";
    }
    echo 
"</select>";
}
}

// end of functions

show_admin_header();

if (
$action == "updatesettings") {
  
$setting_item $HTTP_POST_VARS['setting_item'];
  foreach (
$setting_item as $key => $val) {
$val trim($val);
    
$sql "UPDATE ".SETTINGS_TABLE."
            SET setting_value = '
$val'
            WHERE setting_name = '
$key'";
    
$site_db->query($sql);
  }

  if (
$HTTP_POST_VARS['setting_item']['language_dir'] != $config['language_dir']) {
    include(
ROOT_PATH.'lang/'.$HTTP_POST_VARS['setting_item']['language_dir'].'/admin.php');
?>

    <script language="javascript">
    <!--
    top.head.location = '<?php echo $site_sess->url(ROOT_PATH."admin/index.php?action=head"); ?>';
    top.nav.location = '<?php echo $site_sess->url(ROOT_PATH."admin/index.php?action=nav"); ?>';
    top.main.location = '<?php echo $site_sess->url(ROOT_PATH."admin/settings.php?action=modifysettings&settings_msg=".urlencode($lang['save_settings_success'])); ?>';
    // -->
    </script>
<?php
    printf
("<b>%s</b><p>"$lang['save_settings_success']);
    
show_admin_footer();
  }
  else {
    
$msg sprintf("<b>%s</b><p>"$lang['save_settings_success']);
    
$action "modifysettings";
  }
}

if (
$action == "modifysettings") {
  if (isset(
$HTTP_GET_VARS['settings_msg'])) {
    
printf("<b>%s</b><p>"trim($HTTP_GET_VARS['settings_msg']));
  }
  elseif (!empty(
$msg)) {
    echo 
$msg;
  }

  
$sql "SELECT setting_name, setting_value
          FROM "
.SETTINGS_TABLE;
  
$result $site_db->query($sql);
  
$config = array();
  while (
$row $site_db->fetch_array($result)) {
    
$config[$row['setting_name']] = $row['setting_value'];
  }

  
show_form_header("settings.php""updatesettings");
  
show_table_header($lang['nav_general_settings'], 2);
  echo 
"<tr class=\"tablerow\"><td colspan=\"2\">";
  echo 
"<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\"><tr valign=\"top\">\n";
  
$numgroups sizeof($setting_group);
  
$percolumn ceil($numgroups 2);
  
$settingcounter 0;
  foreach (
$setting_group as $key => $val) {
    
$settingcounter++;
    echo 
"<td>";
    
show_text_link($val,"#setting_group_".$key);
    echo 
"<br /></td>\n";
    if (
$settingcounter == 4) {
      echo 
"</tr><tr>";
      
$settingcounter 0;
    }
  }

  echo 
"</tr></table>\n";
  echo 
"</td></tr>";
  
show_table_separator($setting_group[1], 2"setting_group_1");
  
show_setting_row("site_name"""1);
  
show_setting_row("site_email");
  
show_setting_row("use_smtp""radio");
  
show_setting_row("smtp_host");
  
show_setting_row("smtp_username");
  
show_setting_row("smtp_password");
  
show_setting_row("template_dir""show_template_dir_select");
  
show_setting_row("language_dir""show_language_dir_select");
  
show_setting_row("date_format");
  
show_setting_row("time_format");
  
show_setting_row("convert_tool""show_convert_tool_select");
  
show_setting_row("convert_tool_path");
  
show_setting_row("gz_compress""radio");
  
show_setting_row("gz_compress_level");

  
show_table_separator($setting_group[2], 2"setting_group_2");
  
show_setting_row("cat_cells");
  
show_setting_row("cat_table_width");
  
show_setting_row("cat_table_cellspacing");
  
show_setting_row("cat_table_cellpadding");
  
show_setting_row("num_subcats");

  
show_table_separator($setting_group[3], 2"setting_group_3");
  
show_setting_row("image_order""show_image_order_select");
  
show_setting_row("image_sort""show_image_sort_select");
  
show_setting_row("new_cutoff");
  
show_setting_row("image_border");
  
show_setting_row("image_cells");
  
show_setting_row("default_image_rows");
  
show_setting_row("custom_row_steps");
  
show_setting_row("image_table_width");
  
show_setting_row("image_table_cellspacing");
  
show_setting_row("image_table_cellpadding");

  
show_table_separator($setting_group[4], 2"setting_group_4");
  
show_setting_row("upload_mode""show_upload_mode_options");
  
show_setting_row("allowed_mediatypes");
  
show_setting_row("max_thumb_width");
  
show_setting_row("max_thumb_height");
  
show_setting_row("max_thumb_size");
  
show_setting_row("max_image_width");
  
show_setting_row("max_image_height");
  
show_setting_row("max_media_size");
  
show_setting_row("upload_notify""radio");
  
show_setting_row("upload_emails");
  
show_setting_row("auto_thumbnail""radio");
  
show_setting_row("auto_thumbnail_dimension");
  
show_setting_row("auto_thumbnail_resize_type""show_auto_thumbnail_resize_type_options");
  
show_setting_row("auto_thumbnail_quality");

  
show_table_separator($setting_group[5], 2"setting_group_5");
  
show_setting_row("badword_list""textarea");
  
show_setting_row("badword_replace_char");
  
show_setting_row("wordwrap_comments");
  
show_setting_row("html_comments""radio");
  
show_setting_row("bb_comments""radio");
  
show_setting_row("bb_img_comments""radio");

  
show_table_separator($setting_group[6], 2"setting_group_6");
  
show_setting_row("category_separator"""1);
  
show_setting_row("paging_range");

  
show_table_separator($setting_group[7], 2"setting_group_7");
  
show_setting_row("user_edit_image""radio");
/*
MOD RECYCLE BIN FOR IMAGES
BEGIN REPLACE
*/
  
echo "<tr class=\"".get_row_bg()."\">\n<td valign=\"top\"><p class=\"rowtitle\">".$setting['user_delete_image']."</p></td>\n";
  echo 
"<td><p>";
  echo 
"\n<select name=\"setting_item[user_delete_image]\" class=\"categoryselect\" onkeypress=\"if(window.event.keyCode==13)this.form.submit();\">\n";
  for(
$i 0$i count($setting['user_delete_image_array']); $i++)
  {
    echo 
"<option value=\"".$i."\"".(($i == $config['user_delete_image']) ? " selected" "").">".$setting['user_delete_image_array'][$i]."</option>\n";
  }
  echo 
"</select>\n";
  echo 
"</p></td>\n</tr>\n";
/*
MOD RECYCLE BIN FOR IMAGES
END REPLACE
*/
  
show_setting_row("user_edit_comments""radio");
  
show_setting_row("user_delete_comments""radio");
  
show_setting_row("account_activation""show_account_activation_options");
  
show_setting_row("activation_time");
  
show_setting_row("session_timeout");
  
show_setting_row("display_whosonline""radio");
  
show_setting_row("highlight_admin""radio");

  
show_table_separator($setting_group[8], 2"#setting_group_8");
  
show_setting_row("report_image_status""show_report_image_select");

  
/*
    MOD BAN
    START INSERT
  */
    
show_table_separator($setting_group[9], 2"#setting_group_9");
    
show_setting_row("look_hostname""radio");
  
/*
    MOD BAN
    END INSERT
*/

  
show_form_footer($lang['save_changes'], ""2);
}

show_admin_footer();
?>


Can someone please help me and what it does is

I hope someone can help me here plz

13
Hi i installed the report a picture mod and that mod is having problem http://www.4homepages.de/forum/index.php?topic=11447.msg131814#msg131814


and i want someone to install this mod for me

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


lemme know if someone can help


THANKS

14
Hi i have lot of Mods installed so im thinking of just install 4images 1.76 just with my username and images and categ and hits all that but no mods i will install mods manually on 1.76 all again is it possible of if yes how should i take backup of my 4images mysql so just my images categories and hits stats all that come in backup but no mod thing and thn i will try to install mod manually over again :D and yea my 4images backup from admin control panel don't work rite so i have to take it from the hosting side lemme know guys thanks a lot

15
Discussion & Troubleshooting / Backup Database Problem
« on: January 23, 2009, 01:54:57 AM »
Hi when i try to do a database backup it shows all kind of codes instead of just creating a backup file i can provide with admin pswd if someone can look into it why its doing that :( i even tried a new fresh backup.php copy it don't help :(

Pages: [1] 2 3 4