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.


Topics - Jasondavis

Pages: [1] 2
1
Discussion & Troubleshooting / {cat_id} changes each pageload
« on: July 06, 2005, 10:50:12 PM »
{cat_id} changes in my template each page reload if a category has 0 images, it's complicated why I need this done but is there any way around this?

2
AHH, I went to my gallery this mornig and this is at the top of the page ALL OF A SUDDEN and it say 0 images in 0 categories, but its still says I have all the members.....pleeeeeeeease help!


DB Error: Bad SQL Query: SELECT DISTINCT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0, 1, 3, 4, 6, 7, 8, 9, 10, 12, 15, 16, 17, 18) AND c.cat_id = i.cat_id ORDER BY RAND()
Got error 28 from table handler

3
Discussion & Troubleshooting / auto thumbnail stopped working
« on: March 16, 2003, 02:07:06 AM »
Create thumbnail for: sign (laurammk.jpg) ....  
Warning: imagejpeg: unable to open './../data/thumbnails/18/laurammk.jpg' for writing in /usr/local/psa/home/vhosts/mysite.com/httpdocs/gallery/includes/image_utils.php on line 79

   Error creating thumbnail!


OK everything has always worked on my gallery until today when I tried to auto-create thnbnails....I got the error above! any ideas why and how to resolve this?

4
Mods & Plugins (Requests & Discussions) / XMB integration?
« on: February 27, 2003, 11:58:20 PM »
would there be ANY way for the XMB forums to beable to be integrated, so users of my gallery can use the forums, and people of the forums can login 2 the gallery?

5
Mods & Plugins (Requests & Discussions) / total images count on homepage?
« on: February 23, 2003, 11:19:19 AM »
Hi I had posted a while ago on this.  I would like to display the total number of images in my gallery on my home page. V@no had given me this code a while ago:


<?php

define('ROOT_PATH', './gallery/');// PATH to your 4images Gallery / PFAD zu Ihrer 4images Gallerie'

include(ROOT_PATH.'config.php');

include(ROOT_PATH.'includes/db_mysql.php');

include(ROOT_PATH.'includes/constants.php');

$site_db = new Db($db_host, $db_user, $db_password, $db_name);

$sql = "SELECT COUNT(*) as total_images

        FROM ".IMAGES_TABLE." a, ".CATEGORIES_TABLE." b

        WHERE a.image_active=1

        AND a.cat_id = b.cat_id

        AND b.auth_viewcat=".AUTH_ALL."

        AND b.auth_viewimage=".AUTH_ALL."

        ";

$row = $site_db->query_firstrow($sql);

$total_images = $row['total_images'];

echo $total_images;

?>


The problem is that when I run this it displays "0" instead of "287" 287 is how many images I have, but it displays 0....Does anybody have any ideas why?

6
Mods & Plugins (Requests & Discussions) / Admin can view users Lightbox's?
« on: February 13, 2003, 05:14:44 AM »
Is it possibble for the Admin to view the users lightbox's?  I have look at them in the MySL database, but that is a pain to do it that way.

7
Mods & Plugins (Requests & Discussions) / list the recent members?
« on: February 12, 2003, 10:02:41 AM »
Is there a way to display how many users have come to the gallery for the last day or like     Visitors Today:Jason,Sara,Jack   list users that have been logged in within the last 24 hours?

8
Mods & Plugins (Requests & Discussions) / main.php file is to large
« on: February 04, 2003, 09:18:39 PM »
I have a problem...My lang main.php file is over a megabyte! I dont know how this happened but it has like 1000 line spaces between each line of text.  Is there a program I can use that will remove all the blank lines? It would literally take like an hour to delete these manually!  I cant just start over with a new one because literally every line has been edited by me and I have added a lot of lines and i cant even view them in my file now because it is so many lines total lines is 527,000 lines! HELP!

9
Hi I know I have seen this somewhere on the forums before....In my gallery I have it set so only registered users can view fullsize pics.  I saw on someones gallery where when a non-registered user clicks on a thumbnail a javascript pops up "Only Registered Users can view full size pictures in this categroy"  how would I do this? Or if there is a thread on it can someone point me to it? Thank you
-Jason

10
Installation, Update & Configuration / change the time and date
« on: February 04, 2003, 06:08:49 AM »
Hi I searched and cant find an answer.  In which file would I change my servers date and time setting differences?

11
Mods & Plugins (Requests & Discussions) / total images?
« on: February 01, 2003, 10:35:40 PM »
Is there a way to display the Total number of images in my Gallery on my main site, totaly seperate from the gallery? I have a link that says Gallery I would like to have a thing next to it that says (190 images) and have it update itseld as I add pics

12
Mods & Plugins (Requests & Discussions) / 1 category have it's own message?
« on: February 01, 2003, 02:03:13 AM »
Hi, I have a Category called Fan SIgns, I would like it to be when a user goes into my Fan Signs category a message is displayed to tell them to upload fan sign.

How would I do this? If I just add it to the categories files, won't it show up under all my categories? I just want it to show up under 1 category

13
Installation, Update & Configuration / ecard from 10 days to 20 days
« on: January 28, 2003, 08:38:49 PM »
how would I change the amount of time an ecard is stored from 10 days to 20 days?

14
Mods & Plugins (Requests & Discussions) / moving gallery?
« on: January 15, 2003, 04:29:55 AM »
Hi I'm going to be moving my site to a new Host soon.  What will I have to do to get my gallery working right? Do I just transfer the file? Or is there other steps involded with the MySQL database?

15
Mods & Plugins (Requests & Discussions) / stats help
« on: January 10, 2003, 04:16:28 AM »
Hi, where would be a good place to put a script to call my stats script...Would I put it in home.html? or some other file?    I need to call it like this:

<? $table="ez_logezboo"; include ("http://www.siteurl.com/stats/write_logs.php"); ?>
<IMG border="0" SRC="http://www.siteurl/stats/w.comrite_logs.php?table=ez_logezboo&To=header.html" width="1" height="1"

Pages: [1] 2