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

Pages: [1] 2 3
1
Discussion & Troubleshooting / Re: Error message in footer
« on: December 24, 2007, 11:55:12 AM »
Problem solved, i think host already did that

Thanks for the link kai  :D

2
Discussion & Troubleshooting / Re: Error message in footer
« on: December 24, 2007, 09:37:44 AM »
I am not on windows or localhost, i am linux based server  :idea:

3
Discussion & Troubleshooting / Error message in footer
« on: December 24, 2007, 05:17:49 AM »
I can't login to my admincp (same error message on admincp login page) and
This is the error message that is poping at the bottom:

Quote
Warning: Unknown: open(/sessions/sess_d5bf4694b69bb43dad93321758b5f4e2, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/sessions) in Unknown on line 0

Tried clearing cache folder, and clearing the '4images_sessions' table but it is still showing above message in the footer!

Version: 1.7.4

Anybody please help  :roll:

4
nurz

Thunderstrike will make this mod if you offer $$$ ;)

Other try using some external script like: PHP Image Resize Script

Just upload one big picture and resize on the fly with above script.

Thats all i know about this buddy

5
Quote
... it is possible ... !

Mawenzi is right here. With GD library, is quick way for do this.
Ha ha i never knew that in 4images without using 3rd party script we can resize a picture to different resolutions on the go.  :oops:

6
1st thing todo, keep a backup  :)

For "-Auto-generate the Thumbnails"
I suggest use [MOD] Check new images in ALL categories v2.11 by V@no
After installing above mod, when you will try to add new wallpapers through your admin pannel by click check images.. this mod will automatically create thumbnails while adding new wallpapers.

Use it like: First create a category (note down its no.)
Through FTP upload all wallpapers in public_html/yourgallery/data/media/category no.
Now, check images from your admin pannel  and you are done :)


-Automatic resize to create the different sizes sorry thats not possible i think :(

But for offering different resolution wallpaper download use this: http://www.4homepages.de/forum/index.php?topic=1861.msg7846#msg7846

-The gallery should create the link to the available sizes of the Image above modification will do it ;)

-Instead of forcing the download and s..
Use this: http://www.4homepages.de/forum/index.php?topic=13040.0

7
In index.php

in:
Quote
//-----------------------------------------------------
//--- Show New Images ---------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
  "has_rss"   => true,
  "rss_title" => "RSS Feed: ".format_text($config['site_name'], 2)." (".str_replace(':', '', $lang['new_images']).")",
  "rss_url"   => $script_url."/rss.php?action=images"
));

$imgtable_width = ceil(intval($config['image_table_width']) / $config['image_cells']);
if ((substr($config['image_table_width'], -1)) == "%") {
  $imgtable_width .= "%";
}

$additional_sql = "";
if (!empty($additional_image_fields)) {
  foreach ($additional_image_fields as $key => $val) {
    $additional_sql .= ", i.".$key;
  }
}

$num_new_images = $config['image_cells'];

Search:
Quote
$num_new_images = $config['image_cells'];

Replace:
Quote
$num_new_images = 15;

8
Discussion & Troubleshooting / Re: verification problem
« on: September 13, 2007, 12:05:45 PM »
Have you uploaded "fonts" folder ?

gallery root/captcha/fonts

9
Will try it on my local host.. wait  :roll:

10
Installation, Update & Configuration / Re: dusable Light Box and added by
« on: September 11, 2007, 06:35:48 PM »
Thank you so much! Finally answers a dumb blonde can understand!
hugs n hugs
Josey :oops:
No prob Josey, glad i could help you.. take care

:D

11
Installation, Update & Configuration / Re: dusable Light Box and added by
« on: September 11, 2007, 05:40:10 AM »
To disable download button from lightbox page:

In templates/yourtemplate/lightbox.html

Search and delete:
Quote
<td align="right">{download_button}</td>

Top simply disable the lightbox funtion in your gallery:

In templates/yourtemplate/details.html

Search and delete:
Quote
{lightbox_button}

To disable the zip download function:

In templates/yourtemplate/details.html

Search and delete:
Quote
{download_zip_button}

To change name, either follow the steps suggested by thunderstrike or to remove added by:

In templates/yourtemplate/details.html

Search and delete:
Quote
                          <tr>
                            <td valign="top" class="row2"><b>{lang_added_by}</b></td>
                            <td valign="top" class="row2">{user_name_link}</td>
                          </tr>

12
Mods & Plugins (Requests & Discussions) / Re: Bookmark
« on: September 10, 2007, 09:56:57 AM »
No problem, glad i could help you out :)

13
Mods & Plugins (Requests & Discussions) / Re: Bookmark
« on: September 08, 2007, 05:01:11 AM »
For next/previous video link, try:

in templates/yourtemplate/details.html  ..   around line 206, search:

Quote
                            <td class="row2"> {if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
                              <!-- <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a> -->
                              {endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2"> &nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
                              <!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
                              {endif next_image_name}</td>
replace with:
Quote
                            <td class="row2"> {if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}#video">{prev_image_name}</a></b>
                              <!-- <br /><br /><a href="{prev_image_url}#video"><img src="{prev_thumb_file}" border="1"></a> -->
                              {endif prev_image_name}&nbsp;</td>
                            <td align="right" class="row2"> &nbsp;{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}#video">{next_image_name}</a></b>
                              <!-- <br /><br /><a href="{next_image_url}#video"><img src="{next_thumb_file}" border="1"></a> -->
                              {endif next_image_name}</td>

Hope it helps :)

15
Mods & Plugins (Requests & Discussions) / Re: Bookmark
« on: September 06, 2007, 05:23:47 AM »
In templates>default>details.html

Add somewhere near the video window or near google 336x250 ad code:
Quote
<a name="video"></a>

now, link the videos like:
http://www.yoursite.com/details.php?image_id=11#video

remember to add #video in the end of the url

This will now take your user directly to the window media player window

and make this happen: try-- (not tested, please keep a backup before trying)

In functions.php

Find:
Quote
  if ($show_link) {
    if ($open_window) {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".$thumb."</a>";
    }
    else {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$thumb."</a>";
    }
  }
  return $thumb;
}

Replace with:
Quote
  if ($show_link) {
    if ($open_window) {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."#video\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".$thumb."</a>";
    }
    else {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."#video\">".$thumb."</a>";
    }
  }
  return $thumb;
}
:)

Pages: [1] 2 3