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

Pages: [1]
1
How can I limit, If user uploaded 2 or more photos, he can add comments to another photo.

Else, if he has <2 photo, he can see text «Add 2 or more photos before you can comment» instead commentform.

2
Discussion & Troubleshooting / Re: Users still cannot logout
« on: August 25, 2008, 06:46:50 AM »
Nothing suspicious in server logs :(

May be any PHP-options?

3
Discussion & Troubleshooting / Re: Users still cannot logout
« on: August 25, 2008, 05:28:07 AM »
V@no, check PM, please. There URL and login/password

4
Discussion & Troubleshooting / Re: Users still cannot logout
« on: July 24, 2008, 08:22:09 AM »
I hsve same problem :(

PHP Version -- 5.1.6, 4images -- 1.7.6

6
thunderstrike, thnx, now there no mysql-errors.

But now it shows 404 error instead of photo, and Guest instead of nick of photo-owner :(

7
 :(

Code: [Select]
DB Error: Bad SQL Query: SELECT COUNT(*) as user_count_images FROM 4images_images WHERE user_id =
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

DB Error: Bad SQL Query: SELECT COUNT(i.user_id) AS images 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 c.cat_id = i.cat_id AND i.user_id = AND i.cat_id NOT IN (0)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND i.cat_id NOT IN (0)' at line 4

DB Error: Bad SQL Query: SELECT 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, i.image_aboutme, i.image_realname, i.image_birthday, i.image_interests, i.image_network, i.image_chatnick, i.image_chatchan, i.image_icq, i.image_email, i.image_phone, i.image_aboutlove, i.image_aboutpet, i.image_petname, i.image_petbreed, i.image_petage, i.image_aboutavto, i.image_avtomodel, i.image_avtoyear, i.image_aboutvirt, i.image_virtgame, i.image_aboutprotest, 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 c.cat_id = i.cat_id AND i.user_id = AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 0, 20
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 0, 20' at line 4

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\www\people\includes\db_mysql.php on line 116

8
How can I make to put all photos added by user to detail.html? I`ve added {user_profile_images} to detail.html but nothing happens :(

9
I have some categories in my gallery, Cat1 = People, cat2 = Auto, cat3 = Dogs

How can I do {new_images_1} from category 1, {new_images_2} from category 2, {new_images_3} from category 3 etc. on main page?

11
:)

For Example, first category (cat_id=1) is People. I wanna make uploadform, which is enabled on link http://mylink/member.php?action=uploadform&cat_id=1

Uploadform is (like in browser)):

================================

Category                                People
{lang_media_file}                [_________________]   [_Browse..._]
{lang_image_realname}    [_________________]
{lang_image_name}            [_________________]
{lang_description}               [_________________]

                 [__OK__]  [___Cancel_]

================================

Second category (cat_id=2) is auto, link to uploadform is http://mylink/member.php?action=uploadform&cat_id=2

and I wanna upload form like

================================

Category                                Auto
{lang_media_file}                [_________________]   [_Browse..._]
{lang_image_autocolor}   [_________________]
{lang_image_name}            [_________________]
{lang_description}               [_________________]

                 [__OK__]  [___Cancel_]

================================

Where I need put IF? :)

12
thunderstrike, thanks. I guess, it hide field from view. if its empty?
Can you give some examples?

So I need different uploadforms for different categories?

13
I have 2 categories - People (cat_id=1) and Auto (cat_id=2) in my gallery.

I've added custom fields - "Real Name" and "Color" and it`s work great (http://www.4homepages.de/forum/index.php?topic=747.60)


1) How can I put different fields to different categories in details.html? "Real Name" - for category People and "Color" for Auto.

2) How can I add this fields to member_uploadform, "Real Name" is shown there only if the category "People" is choosen, "Color" is shown only if "Auto" is choosen.

Pages: [1]