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

Pages: [1] 2 3
1
На сколько хватило моего английского речь идет о изменении фона под картинкой?

Тогда.........

В файле header.html вставьте следующий кусок кода перед </head>:   (in header.html before </head> insert)
Code: [Select]
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function bg(color){
document.getElementById("imagebg").style.backgroundColor = color;
}
</script>

В файле details.html найдите <hr size="1" /> и после вставьте:    (in file details.html find <hr size="1" /> insert before)
Code: [Select]
   <table align="left" cellspacing='1' cellpadding="0" border='0'>
        <tr>
            <td width='12' height='12' bgcolor='#000' style="border: 1px solid #828282;" onmouseover=bg('#000')></td>
            <td width='12' height='12' bgcolor='#171717' style="border: 1px solid #828282;" onmouseover=bg('#171717')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#2E2E2E' style="border: 1px solid #828282;" onmouseover=bg('#2E2E2E')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#464646' style="border: 1px solid #828282;" onmouseover=bg('#464646')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#5D5D5D' style="border: 1px solid #828282;" onmouseover=bg('#5D5D5D')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#747474' style="border: 1px solid #828282;" onmouseover=bg('#747474')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#8B8B8B' style="border: 1px solid #828282;" onmouseover=bg('#8B8B8B')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#A2A2A2' style="border: 1px solid #828282;" onmouseover=bg('#A2A2A2')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#B9B9B9' style="border: 1px solid #828282;" onmouseover=bg('#B9B9B9')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#D1D1D1' style="border: 1px solid #828282;" onmouseover=bg('#D1D1D1')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#E8E8E8' style="border: 1px solid #828282;" onmouseover=bg('#E8E8E8')>&nbsp;</td>
            <td width='12' height='12' bgcolor='#FFFFFF' style="border: 1px solid #828282;" onmouseover=bg('#FFFFFF')>&nbsp;</td>
        </tr>
    </table>


так же найдите в файле details.html:   (find in details.html)
Code: [Select]
            <div align="center">
 {image}

и замените на:   (replace on)
Code: [Select]
            <div align="center" id="imagebg">
                                        {image}

2
Простите, про версию я точно каюсь, не внимателен.
Просто по логике вещей сначала обновление, а потом редирект, или я не прав? У меня счетчик комментариев стал правильно работать только после данного изменения.
Если Вам не сложно перенесите топик туда, где ему место или удалите за не надобностью, дабы не сбивать с толку других людей.

3
+  (счетчик комментариев не обновлялся если его засунуть в thumbnail_bit.html)

тогда в файле detail.php

найти кусок кода:
Code: [Select]
     redirect(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&mode=".$mode : "").(($page > 1) ? "&page=".$page : ""));
      update_comment_count($id, $user_info['user_id']);
      $msg = $lang['comment_success'];

и заменить на:
Code: [Select]
     update_comment_count($id, $user_info['user_id']);
      $msg = $lang['comment_success'];
      redirect(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&mode=".$mode : "").(($page > 1) ? "&page=".$page : ""));

4
Hi Rembrandt.
Not absolutely that, I want that and EXIF was deduced completely + in addition to deduce model of the chamber in other place, type {lang_model} = Canon PowerShot G10
...{exif_value} same massive here is how from it to allocate only model?
----------------------


Itself has made, the theme can be removed


5
Hello. At me a question how to allocate from EXIF only model of the camera? And to deduce it in details.html

6
Mods & Plugins (Releases & Support) / Re: [MOD] Members Templates Select
« on: August 14, 2009, 03:19:04 AM »
V@no as it is usual at height  :wink:
I have found more simple variant of change of style which the user to whom can interestingly realize it and on the site chooses http://www.kelvinluck.com/assets/jquery/styleswitch/

7
Mods & Plugins (Requests & Discussions) / Re: Dynamic theme/template
« on: August 13, 2009, 08:19:57 PM »
The script of change of style on time will be interesting to probably you still
http://cyber-systems.net/blog/scripts/14.html

8
what is error ???  Notice: Undefined offset: 7 in /home/www/xxx.xxxxx.xxx/includes/functions.php on line 1953
in string:  $current_day_name = $calendar_txt[$param['lang']]['days'][$current_day_index];

maybe
$current_day_index            = ($current_day_index == -1) ? 6 : $current_day_index;


9
Hey V@no,
After installing this MOD
i am having following problem.. although the function "image upload" and "category dropdown" is working properly ...
check the attached file:
if i choose following settings, i only get this error if i choose member.php?action=uploadform:
Quote
//    "cat_name" => get_category_dropdown_upload($cat_id),
    "cat_name" => ($cat_id != 0 && (!isset($HTTP_POST_VARS['showdropdown']))) ? htmlspecialchars($cat_cache[$cat_id]['cat_name']) : get_category_dropdown_upload($cat_id)."<input type=\"hidden\" name=\"showdropdown\" value=\"1\">",
but member.php?action=uploadform&cat_id=37 does not show this error.
BUT if i choose following settings, i get this error for both the options:
Quote
    "cat_name" => get_category_dropdown_upload($cat_id),
//    "cat_name" => ($cat_id != 0 && (!isset($HTTP_POST_VARS['showdropdown']))) ? htmlspecialchars($cat_cache[$cat_id]['cat_name']) : get_category_dropdown_upload($cat_id)."<input type=\"hidden\" name=\"showdropdown\" value=\"1\">",

HELP  :( :oops:

HI,

i have the same problem with the 1.7.4 Version. Can anyone say me what is wrong here????

sorry my english
maybe, see in header.html delet in string  <meta name="keywords" content="{cat_name}">

10
may be, in file user_logininfo.html
add string  <a href="member.php?action=uploadform">Upload</a>

11
Discussion & Troubleshooting / Re: Clear Cache
« on: July 24, 2007, 02:01:01 AM »
in config.php

find:         $cache_path = './cache';
replace:    $cache_path = './../../cache';

12
 :D  The Truman Show  :D

change in file user_logininfo.html

Code: [Select]
<table width="100%" border="0" cellpadding="4" cellspacing="0">
  <tr>
    <td valign="top" align="left">
    <script language=JavaScript>
        var h=(new Date()).getHours();
        if (h > 23 || h < 7) document.write("Good night");
        if (h > 6 && h < 12) document.write("Good morning");
        if (h > 11 && h < 19) document.write("Good afternoon");
        if (h > 18 && h < 24) document. write("Good evening");
      </script>
  {lang_loggedin_msg}<br /><br />
      &raquo; <a href="{url_lightbox}">{lang_lightbox}</a><br />
  &raquo; <a href="{url_control_panel}">{lang_control_panel}</a><br />
      &raquo; <a href="{url_logout}">{lang_logout}</a></td>
  </tr>
</table>



13
Mods & Plugins (Requests & Discussions) / Re: Add HTMl
« on: May 10, 2007, 12:00:06 AM »
Подскажите пожалуйста есть ли такой мод как на http://photofile.ru чтобы генерил код картинок для вставки на другие сайты и форумы как на этой картинке?

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

14
Language Packs / Re: Настройка фотогалереи
« on: May 09, 2007, 11:42:11 PM »
На перед извиняюсь за лишний флуд.
У меня есть 2 вопроса, возможно ответы на них есть, но я ничего так и не нашел (возможно плохо искал).
Дело в том, что установив фотогарею на компьютере и при добавке новых изображений не показывает их, а "шифрует" стандартными изображениями, а также как забрать функцию, когда щелкает правой кнопкой мыши, а оно тебе пишет "© Copyright by Фотогалерея".
На перед благодарю! :)

1. что бы видеть нормальные превьюшки, сделай их (в админ части Auto-Thumbnailer)
2. убрать копирайт: загляни в файл header.html 

15
Discussion & Troubleshooting / Re: Image size ???
« on: May 08, 2007, 08:25:55 AM »
... mmm ... I do not understand you correctly ... neither your English nor your Russian questions ... sorry ...

Hi Mawenzi.
How in file validateimages.php to do viewing the size and widht and heigth to photographies, before publication in gallery?
There is information about how to, users by itself could choose the amount a photography on the main to page?

see on drawing



Pages: [1] 2 3