Author Topic: Popup  (Read 10382 times)

0 Members and 1 Guest are viewing this topic.

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Popup
« on: April 08, 2002, 11:20:54 AM »
Hi this is what we was looking for, but we would like to have when you click on a thumbnail a popup window appears with no border ? can you do this ?. One other question can we make people have to join before they can come in ?

Thanks
Giffy :D

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Popup
« Reply #1 on: April 08, 2002, 11:36:30 AM »
Quote from: giffy007
Hi this is what we was looking for, but we would like to have when you click on a thumbnail a popup window appears with no border ? can you do this ?.


Try {thumbnail_openwindow} in thumbnail_bit.html, randowm_image.html and random_cat_image.html.
In the template header.html you will find the JavaScript function.

Quote from: giffy007
One other question can we make people have to join before they can come in ?

In one of the next versions i will add a usergroup and permission function which will made this possible.

quick an dirty solution:

Add to all pages you want to secure:
Code: [Select]
if($userinfo['user_level'] == GUEST || $userinfo['user_level'] == USER_AWAITING) {
  ErrorPage("Please register!");
}

after:
Code: [Select]
include(ROOT_PATH.'includes/page_header.php');
Do this for example in categories.php, details.php, index.php, member.php, search.php

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Popup
« Reply #2 on: April 08, 2002, 11:47:28 AM »
thanks i will try this , i know you have a new version out now ,

In one of the next versions i will add a usergroup and permission function which will made this possible,
When do you think this will be out ?
We really wanted it so we can make it a member only site so this update would be cool !

Anyway thanks

Giffy :P

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Popup
« Reply #3 on: April 11, 2002, 11:21:16 AM »
Hi thanks the popup thing works fine but still having problems with got to be a member thing .

Where do i put this script , which templates do i need to put it in if only members can see the gallery, it would help if you you named them , because at the moment i am only getting text when i try ??
 :(

In need of help ?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Popup
« Reply #4 on: April 11, 2002, 11:40:35 AM »
Hi!

You have to edit the PHP files I listed above, NOT any template files!

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Popup
« Reply #5 on: April 11, 2002, 12:49:25 PM »
Thanks got it , just misread it sorry  :oops:

Cool

Giffy :D

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Popup
« Reply #6 on: April 12, 2002, 10:42:00 AM »
Can you tell me where can i change the size of this popupwindow  :?:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Popup
« Reply #7 on: April 12, 2002, 10:52:39 AM »
I posted it above ;)
Quote
In the template header.html you will find the JavaScript function.


Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search