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

Pages: 1 2 3 [4] 5 6 7 8 ... 10
46
Plugins / Re: [Plugin] Batch Import
« on: November 18, 2010, 11:38:44 PM »
thanks for this mod and it works good with 4image 1.78

but if i have an exit category for example XXXX

and i want to Batch Import some category under XXXX category Not to the root

thanks

47
hi
i'm using v 1.7.8

when i check for new images it take some times and i think becouse of the Thumbnail so
can i remove it

48
hi
it's work with internet explorer

but something is wrong with fire fox 3.6.10 it does't work do you know why


49
Programming / Re: where to put the server name
« on: September 14, 2010, 07:26:47 PM »
thanks v@no

there is the what thay say to me

In order to be able to send email through our hosting accounts that we offer you must use the following relay server in your code:

relay-hosting.secureserver.net

where i have to put this code


50
Programming / where to put the server name
« on: September 14, 2010, 05:30:24 PM »
hi evry one i do't know any thing about PHP
and i'm using this for emails (contact us) and it work very good until i change the host and it stop working
i send to know the reson he told me you must put the server name in your code and i do't know where to but it
so i hope some one help me

the code
Code: [Select]
<?
/*****************************************************************************/
$send_to = "SmartFormBuilder User <somehope2010@hotmail.com>";
$send_from = "www.xxxxx.com <somehope2010@hotmail.com>";

$subject = "اتصل بنا";
$autoresponder_from = $send_to;
$thanks_msg = "شكراً لك لمراسلتنا
سيتم الرد عليك باسرع وقت ممكن انشاء الله";
$autoresponder_subject = "Re: اتصل بنا";
$autoresponder_message = "شكراً لك لمراسلتنا

سيتم الرد عليك باسرع وقت ممكن انشاء الله";
/***************************************************************************/

do_formmail();

function do_formmail(){
    $form = get_form_data();
    send_mail($form);
    if ($autoresponder_enabled) auto_respond($form);
    done();
}

function get_form_data(){
    $vars = ($_SERVER['REQUEST_METHOD'] == 'GET') ? $_GET : $_POST;
    //strip spaces from all fields
    foreach ($vars as $k=>$v) $vars[$k] = trim($v);
    return $vars;
}

function _build_fields($vars){
    $skip_fields = array(
        'name_from',
        'email_from',
        'email_to',
        'name_to',
        'subject');

    foreach ($vars as $k=>$v)
        if (in_array($k, $skip_fields)) unset($vars[$k]);

    $max_length = 10; // max length of key field
    foreach ($vars as $k=>$v) {
        $klen = strlen($k);
        if (($klen > $max_length) && ($klen < 40))
            $max_length = $klen;
    }

    // make output text
    $out = "";
    foreach ($vars as $k=>$v){
        $k = str_replace('_', ' ', $k);
        $k = ucfirst($k);
        $len_diff = $max_length - strlen($k);
        if ($len_diff > 0)
            $fill = str_repeat('.', $len_diff);
        else
            $fill = '';
        $out .= $k."$fill...: $v\n";
    }
    return $out;
   
}

function send_mail($vars){
    global $send_to, $send_from;
    global $subject;
    global $REMOTE_ADDR;

    global $_FILES;
    $files = array(); //files (field names) to attach in mail
    if (count($_FILES)){
        $files = array_keys($_FILES);
    }

    // build mail
    $date_time = date('Y-m-d H:i:s');
    $mime_delimiter = md5(time());
    $fields = _build_fields($vars);
    $mail = <<<EOF
This is a MIME-encapsulated message

--$mime_delimiter
Content-type: text/plain
Content-Transfer-Encoding: 8bit

وصلك النموذج البريدي التالي:
$fields
--------------------
REMOTE IP : $REMOTE_ADDR
DATE/TIME : $date_time
EOF;

    if (count($files)){
        foreach ($files as $file){
            $file_name     = $_FILES[$file]['name'];
            $file_type     = $_FILES[$file]['type'];
            $file_tmp_name = $_FILES[$file]['tmp_name'];
            $file_cnt = "";
            $f=@fopen($file_tmp_name, "rb");
            if (!$f)
                continue;
            while($f && !feof($f))
                $file_cnt .= fread($f, 4096);
            fclose($f);
            if (!strlen($file_type)) $file_type="applicaton/octet-stream";
            if ($file_type == 'application/x-msdownload')
                $file_type = "applicaton/octet-stream";

            $mail .= "\n--$mime_delimiter\n";
            $mail .= "Content-type: $file_type\n";
            $mail .= "Content-Disposition: attachment; filename=\"$file_name\"\n";
            $mail .= "Content-Transfer-Encoding: base64\n\n";
            $mail .= chunk_split(base64_encode($file_cnt));
        }
    }
    $mail .= "\n--$mime_delimiter--";

    mail($send_to, $subject, $mail,"Mime-Version: 1.0\r\nFrom: $send_from\r\nContent-Type: multipart/mixed;\n boundary=\"$mime_delimiter\"\r\nContent-Disposition: inline");

}

function done(){
 echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=http://www.XXXXXX.com/index.php?template=thanks\">";   
}

function auto_respond($vars){
    global $autoresponder_from, $autoresponder_message, $autoresponder_subject;
    $_send_to = "$vars[name_from] <".$vars[email_from].">";
    $_send_from = $autoresponder_from;
    mail($_send_to, $subj, $msg, "From: $_send_from");
}
?>


51
Discussion & Troubleshooting / Re: problem in the search 1.7.8
« on: September 13, 2010, 10:14:43 AM »
You are a great man V@no

It work's

but what is this error mean


52
Discussion & Troubleshooting / Re: problem in the search 1.7.8
« on: September 13, 2010, 12:49:20 AM »
sorry i't did't work

i try it with * and without *

p.s. i have another topic like this but it was a problem with [Mod] Add a keyword list to the search form v.2

so this what you make you  feel this topic has already came up before

53
Discussion & Troubleshooting / Re: problem in the search 1.7.8
« on: September 13, 2010, 12:06:07 AM »
for example

in the image_description

هذا الموديل يعرف باسم Nokia 5228

i want to search 5228 so i type at the search *5228*

i want  you to know it warks when there is no arabic word


54
Discussion & Troubleshooting / Re: problem in the search 1.7.8
« on: September 12, 2010, 11:55:58 PM »
no it was work good in 1.7.6
but in freash 1.7.8 does work
and i run Migrate Keywords

but Migrate Keywords is to replace the space with the ,

55
Discussion & Troubleshooting / problem in the search 1.7.8
« on: September 12, 2010, 11:42:38 PM »
hi evry one
now i have a problem and i do't know what happen

will in the i make search from all fields
the problem in the field description
this field contane 3 word in arabic and 3 word in english
when i search for any word in english doen't work (i't was work in 1.7.6)
but when i delete the arabic word and try againe it work

thanks for your help

56
thanks thanks V@no

i make it but i have to replace another one in  includes/functions.php

$explode_array = explode(" ",$Name);

replace with this

$explode_array = explode(",",$Name);

thank you againe V@no for all your help

57
thanks v@no

this mod
[Mod] Add a keyword list to the search form v.2
http://www.4homepages.de/forum/index.php?topic=3850

you can see 1.7.8 need , to Separates between keywords and this mod need space to Separates between keywords

see what happen here

http://www.arabmobile.mobi/c/cell/search.htm

58
i need help
i have a problem after i use 4image 1.7.8

after i use migrate keywords to change the space to , its ok but it make problem with this mod have a look

http://www.arabmobile.mobi/c/cell/search.php

please wait until the page open

59
Discussion & Troubleshooting / Re: share in facebook
« on: August 25, 2010, 10:58:10 PM »
dear

Try to install this mod first becouse {uploaded_image_path} i take it from this mod

http://www.4homepages.de/forum/index.php?topic=17912.msg122679#msg122679

and i hope it work with u

60
thanks V@no
i do this and it still do' work th player apper but no song found

Code: [Select]
<OBJECT ID={media_src} CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" WIDTH=375 HEIGHT=100>
<param name=src value="file://D:\{media_src}" ref>
<PARAM NAME="CONTROLS" VALUE="All">
<PARAM NAME="CONSOLE" VALUE="one">
  <param name="_ExtentX" value="9922">
  <param name="_ExtentY" value="2646">
  <param name="AUTOSTART" value="0">
  <param name="SHUFFLE" value="0">
  <param name="PREFETCH" value="0">
  <param name="NOLABELS" value="0">
  <param name="LOOP" value="0">
  <param name="NUMLOOP" value="0">
  <param name="CENTER" value="0">
  <param name="MAINTAINASPECT" value="0">
  <param name="BACKGROUNDCOLOR" value="#000000">
<EMBED SRC="{media_src}" WIDTH=375 HEIGHT=100 NOJAVA=true CONTROLS=All CONSOLE=one></OBJECT>

what is worng

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