Değerli 4images scripti kullanıcilari
:
4images Resim galerinizde rastgele resimde slayt olmasını istiyormusunuz ozaman yazıyı okumaya devam edin....Bu sistemi hazırlayan Kw ye de teşekkür ediyoruz
Thanks KW
1: Öncelikle dosyayı indirin bu adresden indirin üye olmayanlar indiremiyor. Üye oldukdan sonra Mod : More random with slide kısmından indirin Eklentiye eklemem yasak çünkü KW nin konusu tıklayın :
http://4images.malediven-bilder.de/Ve işlem yapılacak dosyaların yedeğini almayı unutmayın :
Yeni dosyalar :
random_images_slide_install.php
- templates/[kendi temanız ]/random_images_slide.js
- templates/[kendi temanız]/images/stop.gif
- templates/[kendi temanız]/images/play.gif
- templates/[kendi temanız]/images/left.gif
- templates/[kendi temanız]/images/right.gif
Bu yenı dosyaları belırtılen yere atın daha sonra adres çubuğuna
www.siteadınız.com/random_images_slide_install.php yazın ve yükleyin sonrada orda çıkan şu kodu ftpde databasenize ekleyin :
INSERT INTO 4images_settings ( setting_name , setting_value ) VALUES
( 'random_images_slide_show', '1' ),
( 'random_images_slide_how_many', '10' ),
( 'random_images_slide_width', '150' ),
( 'random_images_slide_height', '110' ),
( 'random_images_slide_controls', '1' ),
( 'random_images_slide_imagecontrols', '0' ),
( 'random_images_slide_controlpos', '0' ),
( 'random_images_slide_duration', '4000' ),
( 'random_images_slide_stop', '1' ),
( 'random_images_slide_name', 'Name:' ),
( 'random_images_slide_imagename_view', '0' ),
( 'random_images_slide_fading', '0' ),
( 'random_images_slide_fadecolor', '#ffffff' ),
( 'random_images_slide_target_popup', 'toolbar=no,scrollbars=yes,resizable=no,width=680,height=480' ),
( 'random_images_slide_target', 'thumbnail_openwindow' );
Yükledikden sonra bu dosyayı silin :random_images_slide_install.php güvenliğiniz için
Gelelim modife yapılacaklara :
1.1: admin/settings.php yi açın ve bu kodu bulun:
// end of functions
öncesine bu kodu ekleyin :
//########################### Start MOD: More random images with slide ######################
function show_random_images_slide_show_options($setting_name, $setting_value) {
global $random_images_slide_show_optionlist;
foreach ($random_images_slide_show_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_random_images_slide_target_select($setting_name, $setting_value) {
global $random_images_slide_target_optionlist;
echo "<select name=\"setting_item[".$setting_name."]\">";
foreach ($random_images_slide_target_optionlist as $key => $val) {
echo "<option value=\"$key\"";
if ($setting_value == $key) {
echo " selected=\"selected\"";
}
echo ">".$val."</option>";
}
echo "</select>";
}
function show_random_images_slide_controls_options($setting_name, $setting_value) {
global $random_images_slide_controls_optionlist;
foreach ($random_images_slide_controls_optionlist as $key => $val) {
echo "<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
if ($setting_value == $key) {
echo " checked=\"checked\"";
}
echo "> ".$val."";
}
}
function show_random_images_slide_controlpos_options($setting_name, $setting_value) {
global $random_images_slide_controlpos_optionlist;
foreach ($random_images_slide_controlpos_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_random_images_slide_imagecontrols_options($setting_name, $setting_value) {
global $random_images_slide_imagecontrols_optionlist;
foreach ($random_images_slide_imagecontrols_optionlist as $key => $val) {
echo "<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
if ($setting_value == $key) {
echo " checked=\"checked\"";
}
echo "> ".$val."";
}
}
function show_random_images_slide_duration_options($setting_name, $setting_value) {
global $random_images_slide_duration_optionlist;
foreach ($random_images_slide_duration_optionlist as $key => $val) {
echo "<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
if ($setting_value == $key) {
echo " checked=\"checked\"";
}
echo "> ".$val."";
}
}
function show_random_images_slide_stop_options($setting_name, $setting_value) {
global $random_images_slide_stop_optionlist;
foreach ($random_images_slide_stop_optionlist as $key => $val) {
echo "<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
if ($setting_value == $key) {
echo " checked=\"checked\"";
}
echo "> ".$val."";
}
}
function show_random_images_slide_imagename_view_options($setting_name, $setting_value) {
global $random_images_slide_imagename_view_optionlist;
foreach ($random_images_slide_imagename_view_optionlist as $key => $val) {
echo "<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
if ($setting_value == $key) {
echo " checked=\"checked\"";
}
echo "> ".$val."";
}
}
function show_random_images_slide_fading_options($setting_name, $setting_value) {
global $random_images_slide_fading_optionlist;
foreach ($random_images_slide_fading_optionlist as $key => $val) {
echo "<input type=\"radio\" name=\"setting_item[".$setting_name."]\" value=\"$key\"";
if ($setting_value == $key) {
echo " checked=\"checked\"";
}
echo "> ".$val."";
}
}
//############################## End Mod: More random images with slide ######################
1.2 Yine admin/settings.php de bu kodu bulun
show_form_footer($lang['save_changes'], "", 2);
Bu kodun öncesine aşağıdaki kodu ekleyin :
//########################### Start MOD: More random images with slide ######################
show_table_separator($setting_group[XX], 2, "setting_group_XX");
show_setting_row("random_images_slide_show", "show_random_images_slide_show_options");
show_setting_row("random_images_slide_how_many");
show_setting_row("random_images_slide_width");
show_setting_row("random_images_slide_height");
show_setting_row("random_images_slide_duration");
show_setting_row("random_images_slide_target", "show_random_images_slide_target_select");
show_setting_row("random_images_slide_target_popup");
show_setting_row("random_images_slide_fadecolor");
show_setting_row("random_images_slide_name");
show_setting_row("random_images_slide_imagename_view", "show_random_images_slide_imagename_view_options");
show_setting_row("random_images_slide_controls", "show_random_images_slide_controls_options");
show_setting_row("random_images_slide_imagecontrols", "show_random_images_slide_imagecontrols_options");
show_setting_row("random_images_slide_controlpos", "show_random_images_slide_controlpos_options");
show_setting_row("random_images_slide_stop", "show_random_images_slide_stop_options");
show_setting_row("random_images_slide_fading", "show_random_images_slide_fading_options");
//############################## End Mod: More random images with slide ######################
Ancak burada XX yazan yeri bir üsttekinin bir no fazlası yapın.Eğer bişey eklemişseniz büyük ihtimal 8 olucak
2: lang/türkçe/admin.php yi açın ve ?> bu kodun öncesine aşağıdakini ekleyin :
/*##################### Start MOD: More random images with slideshow ####################### */
/*-- Setting-Group XX --*/
$setting_group[XX]="Random images with slide";
$setting['random_images_slide_show'] = "More random images with slide<br /><br /><a href=\"http://4images.malediven-bilder.de\" target=\"blank\"><small>~~~ Mod by KW ~~~</small></a>";
$random_images_slide_show_optionlist = array(
"0" => "Disable",
"1" => "Enable"
);
$setting['random_images_slide_how_many'] = "How many random images in the slide     <span class=\"smalltext\">(not to mutch... speed ;-))</span>";
$setting['random_images_slide_width'] = "Set width of the random images";
$setting['random_images_slide_height'] = "Set hight of the random images";
$setting['random_images_slide_target'] = "Imagelink open in";
$random_images_slide_target_optionlist = array(
"_blank" => "New window",
"_top" => "Same window",
"_self" => "Self frame",
"thumbnail_openwindow" => "Popup window"
);
$setting['random_images_slide_controls'] = "Enable manuel controlbuttons in the slide";
$random_images_slide_controls_optionlist = array(
"1" => "No",
"0" => "Yes"
);
$setting['random_images_slide_controlpos'] = "    => Position for the manual controlbuttons in the slide";
$random_images_slide_controlpos_optionlist = array(
"1" => "Top",
"0" => "Bottom"
);
$setting['random_images_slide_imagecontrols'] = "    => Additional use images for the manual controlbuttons in the slide     <span class=\"smalltext\">( <img src=\"".TEMPLATE_PATH."/images/left.gif\" border=\"0\" alt=\"previous\"> <img src=\"".TEMPLATE_PATH."/images/play.gif\" border=\"0\" alt=\"play\"> <img src=\"".TEMPLATE_PATH."/images/right.gif\" border=\"0\" alt=\"next\"> )</span>";
$random_images_slide_imagecontrols_optionlist = array(
"0" => "No",
"1" => "Yes"
);
$setting['random_images_slide_target_popup'] = "    => If Popup window:    <span class=\"smalltext\">(Settings for the newwindow)</span>";
$setting['random_images_slide_duration'] = "Speed of the slide    <span class=\"smalltext\">(ms)</span>";
$setting['random_images_slide_stop'] = "Mouseover action: Stop slide";
$random_images_slide_stop_optionlist = array(
"0" => "No",
"1" => "Yes"
);
$setting['random_images_slide_imagename_view'] = "Enable the imagename";
$random_images_slide_imagename_view_optionlist = array(
"1" => "No",
"0" => "Yes"
);
$setting['random_images_slide_name'] = "Enable the description of imagename in front    <span class=\"smalltext\">(Empty for disable)</span>";
$setting['random_images_slide_fading'] = "Enable fading in the slide";
$random_images_slide_fading_optionlist = array(
"1" => "No",
"0" => "Yes"
);
$setting['random_images_slide_fadecolor'] = "Slide background";
/*##################### End MOD: More random images with slideshow ####################### */
3: Şimdi ise admin panelinizde templates/kendi temanız/home.html, search.html, lightbox.html, member.html dosyalarında şu kodu bulun
{random_image
aşağıdaki ile değişin
<!-- ###### Start Mod: More random images with slideshow ####### -->
{random_images_slide}
<noscript>{random_image}</noscript>
<!-- ###### End Mod: More random images with slideshow ######### -->
4: templates/temanız/categories.html ve details.html de bu kodu bulun :
{random_cat_image}
bunun ile değişin :
<!-- ###### Start Mod: More random images with slideshow ####### -->
{random_images_slide}
<noscript>{random_cat_image}</noscript>
<!-- ###### End Mod: More random images with slideshow ######### -->
Eğer admin panelinden değişikiik yapacaksanız 3 ve 4. siklarda belirttiğim dosyaları chmod 666 yapın işiniz bitince de chmod 644 e geri çevirin
5 : Son olarak admin panelinizde ana ayarlardan en alt kısımda dilediğiniz ayarı verebilirsiniz. Anlaşılmayan hususları belirtirseniz yardımcı oluruz inş...
Kolay gelsin
Örnek olarak buyrun Rastgele resimler kısmına bakın :
www.nuvanda.netDilnüvaZ