• [MOD] Multi-Lightboxes v1.03.2 (2011-09-20) 4 0 5 1
Currently:  

Author Topic: [MOD] Multi-Lightboxes v1.03.2 (2011-09-20)  (Read 237400 times)

0 Members and 1 Guest are viewing this topic.

Offline bigwave

  • Newbie
  • *
  • Posts: 36
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #45 on: August 06, 2006, 11:44:14 PM »
Hello,

Hit a little error here when I try to add or delete lightboxs from the lightbox manage page:
Fatal error: Call to undefined function: get_msg() in /home/iplaceg1/public_html/maui-tropica/maui-tropica-gallery/lightbox.php on line 185

Thanks

Brian

Offline bigwave

  • Newbie
  • *
  • Posts: 36
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #46 on: August 06, 2006, 11:51:49 PM »
Sorry I forgot to include this in the previous post

This is line 185 that the error in my lightbox.php  refers to:
$msg = (empty($msg)) ? "" : get_msg($msg);

Thanks again!

Brian

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #47 on: August 07, 2006, 01:31:08 AM »
Missed step 6.4
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bigwave

  • Newbie
  • *
  • Posts: 36
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #48 on: August 07, 2006, 01:57:40 AM »
Hello Mr.V@ao,

Yes sir, that was it!

Back in business--thank you very much!

Aloha,

Brian


Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #49 on: August 14, 2006, 05:52:19 PM »
hi V@no! I have 1.7.3 version.. and I don´t find this line in sessions.php :
Code: [Select]
  $user_info['user_lastvisit'] = ($this->read_cookie_data("lastvisit")) ? $this->read_cookie_data("lastvisit") : $this->current_time;
only i found the next code with "user_lastvisit" in the lines 300-314:

Code: [Select]
  if ( $user_id != GUEST )
  {
  $last_visit = ( $this->user_info['user_session_time'] > 0 ) ? $this->user_info['user_session_time'] : $this->current_time;

  $sql = "UPDATE " . USERS_TABLE . "
  SET user_session_time = $this->current_time, user_session_page = $page_id, user_lastvisit = $last_visit
  WHERE user_id = $user_id";
  $site_db->query($sql);

  $this->user_info['user_lastvisit'] = $last_visit;

  $sessiondata['autologinid'] = ( $enable_autologin && $this->mode == "cookie" ) ? $auto_login_key : '';
  $sessiondata['userid'] = $user_id;
  }

and this function in 40-59 lines
Code: [Select]
$user_table_fields = array(
  "user_id" => "user_id",
  "user_level" => "user_level",
  "user_name" => "username",
  "user_password" => "user_password",
  "user_email" => "user_email",
  "user_showemail" => "user_viewemail",
  "user_allowemails" => "",
  "user_invisible" => "user_allow_viewonline",
  "user_joindate" => "user_regdate",
  "user_activationkey" => "user_actkey",
  "user_lastaction" => "user_session_time",
  "user_location" => "user_session_page",
  "user_lastvisit" => "user_lastvisit",
  "user_comments" => "",
  "user_homepage" => "user_website",
  "user_icq" => "user_icq"
);

please... could you help me? your mod looks nice  ^^
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline SAD

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Туристические ФотоАльбомы
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #50 on: September 20, 2006, 07:20:19 PM »
hi V@no!
Please send file
http://gallery.vano.org/file70dl
Sergey


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #51 on: September 21, 2006, 12:38:16 AM »
file attached to the first topic now.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline SAD

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Туристические ФотоАльбомы
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #52 on: September 21, 2006, 06:19:48 AM »
Thanks!
Sergey


Offline SAD

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Туристические ФотоАльбомы
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #53 on: September 21, 2006, 08:57:48 PM »
N@no,

Whence data undertake for 
Code: [Select]
$config['lightbox']
in Step 4:
Code: [Select]
if ((($user_row['user_lightbox_private'] || $user_row['user_level'] == ADMIN) && $config['lightbox_share'] && $user_info['user_level'] >= $config['lightbox']) || $user_info['user_level'] == ADMIN)
in my tables "4images_settings" not setting_name "lightbox" :)
Sergey


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #54 on: September 22, 2006, 12:48:15 AM »
hmmm...not quiet sure why its there...I've fixed that line in the instrucitons.
Thanks.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #55 on: September 23, 2006, 06:44:59 PM »
hi V@no! I have 1.7.3 version.. and I don´t find this line in sessions.php :
Code: [Select]
  $user_info['user_lastvisit'] = ($this->read_cookie_data("lastvisit")) ? $this->read_cookie_data("lastvisit") : $this->current_time;
only i found the next code with "user_lastvisit" in the lines 300-314:

Code: [Select]
  if ( $user_id != GUEST )
  {
  $last_visit = ( $this->user_info['user_session_time'] > 0 ) ? $this->user_info['user_session_time'] : $this->current_time;

  $sql = "UPDATE " . USERS_TABLE . "
  SET user_session_time = $this->current_time, user_session_page = $page_id, user_lastvisit = $last_visit
  WHERE user_id = $user_id";
  $site_db->query($sql);

  $this->user_info['user_lastvisit'] = $last_visit;

  $sessiondata['autologinid'] = ( $enable_autologin && $this->mode == "cookie" ) ? $auto_login_key : '';
  $sessiondata['userid'] = $user_id;
  }

and this function in 40-59 lines
Code: [Select]
$user_table_fields = array(
  "user_id" => "user_id",
  "user_level" => "user_level",
  "user_name" => "username",
  "user_password" => "user_password",
  "user_email" => "user_email",
  "user_showemail" => "user_viewemail",
  "user_allowemails" => "",
  "user_invisible" => "user_allow_viewonline",
  "user_joindate" => "user_regdate",
  "user_activationkey" => "user_actkey",
  "user_lastaction" => "user_session_time",
  "user_location" => "user_session_page",
  "user_lastvisit" => "user_lastvisit",
  "user_comments" => "",
  "user_homepage" => "user_website",
  "user_icq" => "user_icq"
);

please... could you help me? your mod looks nice  ^^

V@no... do you know how to help me please? where is the line? please... i need to know it.
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline pda

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #56 on: September 25, 2006, 08:57:01 AM »
I just realized that there is a big problem caused by this mod.
What is happening when some adds a picture and an admin or someone else deletes it? It is still in the lightbox. But it is not shown, well. That’s OK. But there is still the image_id in the database entry.  In my opinion a very bad solution just to ignore the missing data.
So, I’m asking you (especially vano). Would it be possible to the delete the missing data out of the database?
You could integrate it to the delete function in the admin and user panel, or a daily cleanup? I don’t know.  :?:

Anyway thanks for your great work

Offline SAD

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Туристические ФотоАльбомы
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #57 on: October 09, 2006, 02:10:45 PM »
V@no
Описываю ситуацию (моделировал на 2-х пользователях имеющих по 2 альбома):
2 пользователя: User1 и User2
у каждого есть по 2 (public) Альбома (Избранное) с внесенными фото:
User1_albom1, User1_albom2
User2_albom1, User2_albom2

Заходим в галерею как User1, в списке Альбомов выбран User1_albom1, по ссылке в профиле User2 заходим в User2_albom2, жмем на ссылку "Очистить альбом" и очищаем свой User1_albom1.
В связи с этим есть необходимость при просмотре чужого Альбома не выводить ссылку "Очистить альбом", что бы случайно не потереть свой :).
И возможно в ссылке "Очистить альбом" следует приписывать Имя очищаемого Альбома.
Sergey


Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #58 on: October 16, 2006, 11:37:06 AM »
file attached to the first topic now.

hi V@no,

please send me the file please http://gallery.vano.org/file70dl

Greez Darkness



Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #59 on: October 16, 2006, 12:59:03 PM »
@darkness

see on page one (after code)
download the file

greets ivan

Hi ivan,

thanks.. i scroll the page to fast   :mrgreen:

Greez Darkness