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

0 Members and 1 Guest are viewing this topic.

Offline SoftDux

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • SoftDux - The Leaders in Software & Networking
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #75 on: May 05, 2007, 04:14:04 PM »
Excuse my "dumb" question, but what are the advantages of having a lighbox on a public gallery site?
Visit these Website:  SA WebHosting Talk || SoftDux

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #76 on: June 03, 2007, 03:46:56 PM »
from where can i daownload this mod?????

any one tried it with 1.7.4 or not?

(^_^)

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #77 on: June 03, 2007, 04:37:01 PM »
Hi,

it works with 1.7.4  :wink:
And the download/attachement link can you find at the bottom from the first post in this thread.
Quote
multilightboxes v1.03.zip (3.31 KB - downloaded 137 times.)


cu
KUrt

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #78 on: June 03, 2007, 04:43:44 PM »
Hi,

another problem  :?:

I need for my Mod: flash-mp3-player   a different code...

Version 1.7.4
Mod installed: [MOD] Multi-Lightboxes v1.03

Is it possible to generate by the registration 2 lightboxes for every new member automaticly :?:
- Lightbox with name: Images
- Lightbox with name: MP3

Thanks for a reaply


cu
Kurt

Offline Iba

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #79 on: October 02, 2007, 04:49:28 PM »
Can anybody send me a link to his 4images-board where the MOD is installed?

thx, Iba

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #80 on: December 01, 2007, 09:13:12 PM »
Hi,

Ich habe den MOD Multi-Lightboxes v1.03 http://www.4homepages.de/forum/index.php?topic=10625.0 installiert.
Nun möchte ich als Überschrift den Lightbox Name anzeigen. Im Userprofil werden z.B. die öffentlichen Lightboxes mit Name angezeigt.

Vielen Dank!

Gruss TIMT

_________________________________________

Hi,

I have installed MOD Multi-Lightboxes v1.03 http://www.4homepages.de/forum/index.php?topic=10625.0.
When I click on a lightbox, the title "Lightbox" is shown. Instead of "Lightbox" I'd like to show the name of the lightbox, defined in the lightbox settings.

Thanks for helping me.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #81 on: December 01, 2007, 09:36:48 PM »
Quote
I'd like to show the name of the lightbox, defined in the lightbox settings.

Name of lightbox ... I no get ... is for lightbox image name or lightbox user name or lightbox name from LIGHTBOXES_TABLE for lightbox you want ? ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #82 on: December 02, 2007, 09:49:56 AM »
In the lightbox settings there are flags availale like "private", "clear", "deleate" and you can define the name of the ligtbox.
Exampel: I have to Lightboxes "Cars" and "Trees"
In the user profile are the links (name of teh lightbox) to the differet lightboxes shown (unless the lightbox ist not as a private lightbox defined).
Exampel: To links, one "Cars" and one "Trees" are shown.
When I click on one of this link (example: I click on "Cars"), pictures of this lightbox are shown. The title of the page ist for each lightbox the same: LIGHTBOX
LIGHTBOX is defined in the language table.
I'd like to show the name of the lightbox, defined in the lightbox settings.
Exampel:
"Cars" or Lightbox: "Cars"

If you have any questions, let me know - Thanks for helping me.



In den Lightbox Settings kann ich verschiedene Lightboxes verwalten. Jeder Lightbox kann ich einen Namen vergeben.
Diese Namen werden im User Profile angezeigt (sofern in den Settings nicht als Privat gekennzeichnet).
Mit einem Klick auf solche einen Lightbox-Link im Profil, gelange ich zu den Bildern, welche in dieser Lightbox abgelegt sind.
Als Titel dieser Seite wird immer der Text "Lightbox" angezeigt, egal in welcher Lightbox ich gewählt habe.
Der Text ist fix in der Sprachdatei "main.php" erfasst.

Ich möchte nun, dass statt fix Lightbox der Name der Lightbox angezeigt wird. Oder eventuell mit dem Text aus der Sparchdatei und zusätzlich der Name der Lightbox.
Beispiel:
Lightbox: Autos

Wenn noch offene Fragen sind, lass es mich bitte wissen. Vielen Dank!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #83 on: December 02, 2007, 01:29:43 PM »
Ok so ... this is big MOD ... which file and action you like for edit for LIGHTBOX name ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #84 on: December 02, 2007, 01:46:12 PM »
I'm not sure what do you mean...

I think  modifications has to be done in lightbox.php and lightbox.html
Code: [Select]
$lang['lightbox'] = "lightbox"; would not be needed any more.

But I have no idea, was changes have to be done.

Here you will find an example:
http://www.photofront.ch/member.php?action=showprofile&user_id=5

> Empfehlung
> San Francisco
are two lightboxes.

klick on "San Francisco"
Now one image is displayed.
And in the titel (orange bar) you see the word "Album". That is the text defines in main.php for $lang['lightbox'] = "Album";

TIMIT

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #85 on: December 02, 2007, 01:57:31 PM »
Quote
And in the titel (orange bar) you see the word "Album". That is the text defines in main.php for $lang['lightbox'] = "Album";

Ahh ! so you want "Album" change for lightbox name ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #86 on: December 02, 2007, 02:11:12 PM »
Yes - thats it!   :wink:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #87 on: December 02, 2007, 02:33:14 PM »
You use custom template ... which HTML file use tag for show album ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline TIMT

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #88 on: December 02, 2007, 03:14:09 PM »
it ist lightbox.html
Code: [Select]
&nbsp;&nbsp;<font color="#353535">{lang_lightbox}   

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Multi-Lightboxes v1.03.1
« Reply #89 on: December 02, 2007, 03:35:49 PM »
[edit]

In lightbox.php file,

find:

Code: [Select]
$lightbox_name = stripslashes($row['lightbox_name'])." (".$row['user_name'].")";

(and please replace for):

Code: [Select]
$lightbox_name = (isset($row['lightbox_name']) && !empty($row['lightbox_name']) && isset($row[$user_table_fields['user_name']]) && !empty($row[$user_table_fields['user_name']])) ? format_text(trim($row['lightbox_name']), 2) . " (" . format_text(trim($row[$user_table_fields['user_name']]), 2) . ") " : "";

add after:

Code: [Select]
if (isset($lightbox_name) && !empty($lightbox_name)) {
$lightbox_name_for_all = $lightbox_name;
}

after - find:

Code: [Select]
"lang_lightbox" => $lang['lightbox'],

replace:

Code: [Select]
"lang_lightbox" => (isset($lightbox_name_for_all) && !empty($lightbox_name_for_all)) ? preg_replace("/" . $site_template->start . "lightbox_name" . $site_template->end . "/siU", $lightbox_name_for_all, $lang['lightbox']) : $lang['lightbox'],

In lang/main.php file,

Code: [Select]
$lang['lightbox'] = "Album";

for:

Code: [Select]
$lang['lightbox'] = "Album of: {lightbox_name}";

Is work ?
« Last Edit: December 02, 2007, 04:21:09 PM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?