• [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 254338 times)

0 Members and 1 Guest are viewing this topic.

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #30 on: December 31, 2005, 02:10:57 PM »
super, and where can I change the layout of the lightbox-links in member_profile.html?


Thanks!

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 #31 on: December 31, 2005, 05:39:17 PM »
In step 4:
Code: [Select]
           $user_lightbox .= (($user_lightbox) ? "<br />" : "").(($user_info['user_level'] == ADMIN) ? ((!$row['lightbox_private']) ? "+ " : "- ") : "")."<a href=\"".$site_sess->url(ROOT_PATH."lightbox.php?lightbox_id=".$row['lightbox_id'])."\">".$row['lightbox_name']." (".((trim($row['lightbox_image_ids'])) ? count(explode(" ", trim($row['lightbox_image_ids']))) : 0).")</a>\n";
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 TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #32 on: January 03, 2006, 11:44:27 PM »
may be it is not a problem of this MOD... may be it is a general problem.

When a searchresult is shown (e.g. I was looking for pictures with keyword "tree"), and I click on the button "My Album" (under the thumbnail) the searchform is displayed with the message "picture added to lightbox".
Instead of the searchform, the searchresult should still be displayed.

Thanks for helping me!

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #33 on: February 19, 2006, 03:52:43 PM »
I show 6 pictures on a page. I put 7 pictures in a public album. When a guest click on the album, and goes to the second page, the pictures on the second page aren't shown.

When I click on an album, the adress looks like that:
http://www.example.ch/lightbox.php?lightbox_id=c68751b2382136a0912e5dc89045612b

When I click for the next page, the adress looks like that:
http://www.example.ch/lightbox.php?page=2

Thanks for helping me.
« Last Edit: February 19, 2006, 04:52:43 PM by TIMT »

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 #34 on: February 19, 2006, 06:17:20 PM »
I show 6 pictures on a page. I put 7 pictures in a public album. When a guest click on the album, and goes to the second page, the pictures on the second page aren't shown.

When I click on an album, the adress looks like that:
http://www.example.ch/lightbox.php?lightbox_id=c68751b2382136a0912e5dc89045612b

When I click for the next page, the adress looks like that:
http://www.example.ch/lightbox.php?page=2
Added Step 2.6

As of your previous question - I don't understand..
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 TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #35 on: February 19, 2006, 06:29:35 PM »
Hi V@no

Regarding my first question...

I enter in the search field e.g. "tree". Several pictures containing this Kkyword are shown as a resultset. Now I'd like to put two of this image in my album.
As soon as I click on the "Album Button" below the first of the two thumbnails, the page "extended search" is shown.
Now I have to enter the keyword "tree" again for putting the second picture into my album. It would be easier, when after clicking on the "Album Button" the resultset with the pictures, containign the keyword "tree", would be displayed (not the search.php - page).

TIMT


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 #36 on: February 19, 2006, 07:10:59 PM »
Ok, I found a bug in a bug fix...:?
I've added step 3:
http://www.4homepages.de/forum/index.php?topic=10921.msg55617#msg55617
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 TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #37 on: February 19, 2006, 09:16:33 PM »
Thank you V@no! Now it works perfect!  :D

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #38 on: March 25, 2006, 03:18:41 PM »
V@no do you think it's possible to add to your albums only your own photos?

Offline boywonder

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #39 on: April 13, 2006, 05:24:49 PM »
Hi guys,

 :?: I started to do a test modification on version 1.7.2 and step 2.3 does not seem to fit anywhere as its not found in the code in lightbox.php.
Has anyone had this problem?




Offline boywonder

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #40 on: April 26, 2006, 03:30:42 AM »
Hi all,

Can anyone help me with my problem that I posted 2 weeks ago?

Thanks all.

Offline bigwave

  • Newbie
  • *
  • Posts: 35
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #41 on: June 19, 2006, 11:35:09 PM »
I have version 1.72 installed and was able to do all the tasks (I hope)  except installing the complete mod http://www.4homepages.de/forum/index.php?topic=7112.0 as suggested in step 13 but I did add the code for step 3 as instructed. Unfortunately things aren’t working, for instance, on the members profile the code:
{if user_lightbox}
             <tr>
               <td class="row1"><b>{lang_user_lightbox}</b></td>
               <td class="row1">{user_lightbox}</td>
             </tr>
{endif user_lightbox}

displays this in the source of the page

<tr>
               <td class="row1"><b></b></td>
               <td class="row1"></td>
             </tr>
            
and on the light box page this code

{if url_lightbox_manage}
<a href="{url_lightbox_manage}"><b>{lang_lightbox_manage}</b></a>
{endif url_lightbox_manage}
only displays this:
<a href=""><b></b></a>

It was quite a haul and it would have been easy for me to make mistakes but even with so much tinkering there are no error messages popping up and in admin the 2 lines that refer to the number of light boxes and if multi lightboxs are allowed are there.

I bet I’ve done something dumb or missed something important.  I’ve already added the sitemap mod and am very happy with this whole environment and I realize people like me must frustrate the heck out the programmers who are so creative.  Thanks for the hard work!

Brian :D

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 #42 on: June 20, 2006, 01:42:11 AM »
About member profile, I guess you either missed Step 4 or added new code in the wrong place.
About lightbox page try this.
In lightbox.php find:
Code: [Select]
unset($private_new, $name_new);
Insert below:
Code: [Select]
$lightbox_id = (isset($HTTP_POST_VARS['lightbox_id']) && $HTTP_POST_VARS['lightbox_id']) ? $HTTP_POST_VARS['lightbox_id'] : ((isset($HTTP_GET_VARS['lightbox_id']) && $HTTP_GET_VARS['lightbox_id']) ? $HTTP_GET_VARS['lightbox_id'] : 0);
$site_template->register_vars(array(
  "lang_lightbox_manage" => $lang['lightbox_manage'],
  "url_lightbox_manage" => ($user_info['user_level'] >= USER && !$lightbox_id) ? $site_sess->url(ROOT_PATH."lightbox.php?action=manage") : "",
));
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: 35
  • stuck on the North Shore of Maui
    • View Profile
    • Maui Tropica
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #43 on: June 20, 2006, 02:56:22 AM »
Hello Mr. V@no,

Yes, yes, yes!! That was it! :mrgreen:

Thank you for the super fast response!

Now, after a little formatting, I'm ready for prime time.

As they say in the islands, "Mahalo Plenty!"

Aloha,

Brian



Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #44 on: July 30, 2006, 12:04:28 AM »
hab das jetzt 3x versucht einzubauen, und 3x wieder rausgewurfen, bekomme das einfach nicht hin  :cry:
Im Profil werden bei Usern die Bilder hochgeladen haben, jede Menge nullen angezeigt, die man anklicken kann (zur Lightboxe)
dann gibt es foreach Fehler.
Danke Harald