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

Pages: [1]
1
Hey all , I ran into a problem that i can't seem to get working.

I am trying to make a template tag to disallow thumbnails in my custom thumbnail_bit_10.html , depending on what the user has chosen in there control panel.

Here is what i Have done so far

In db_field_definitions.php i added:
Code: [Select]
$additional_user_fields['user_adult_view'] = array($lang['user_adult_view'], "radio", 0);
In the Database under 4images_users  i created a new feild called user_adult_view tinyint(1)   No Null and Defualt 0

In member_editprofile.html i added:
Code: [Select]
<tr>
            <td class="row2"><b>Allow Adult Images?</b></td>
            <td class="row2">
              <input type="radio" name="user_adult_view" value="1"{user_adult_view_yes} />
              <b>Yes</b>&nbsp;&nbsp;&nbsp;
              <input type="radio" name="user_adult_view" value="0"{user_adult_view_no} />
              <b>No</b>
            </td>
          </tr>

that field seems to working ok but i can seem to get a template tag working for this modification.

Shouldn't {if user_adult_view}{endif user_adult_view} work in the thumbnail_bit_10.html ?

any help would greatly appreciated.

2
Discussion & Troubleshooting / Think my settings got hacked
« on: February 14, 2007, 04:20:38 PM »
 :cry:

some how my "Valid file extensions" was changed to only php , and php wasnt a option before.

and someone uploaded a php file to one of my catogories called root.php.

I thought i had done all the bug fixes for 1.7.1

Did i miss a possible bug fix that would allow those settings to be changed?


3
Mods & Plugins (Requests & Discussions) / Record Ip Addresses
« on: December 26, 2006, 01:44:17 AM »
Is there a way to Record last Ip of members or to Capture Ip address on Image upload?

I have a person uploading malacious images to my site and I want to Ban him via IP address.

I have V@nos Ban 1.7 mod, but need a way to cature this person IP address

any help would be appreciated.

4
Discussion & Troubleshooting / Backdoor Trojan Problem
« on: December 12, 2006, 04:40:46 PM »
I have someone that is adding a trojan to my gallery.  :evil:

The trojan is a  PHP.RSTBackdoor file.

And is uploaded with file names like tryag.jpg


Looking at what this Trojan can do:
When PHP.RSTBackdoor is executed, it performs the following actions:

Creates the following files:


/tmp/bdpl
/tmp/back
/tmp/bd
/tmp/bd.c
/tmp/dp
/tmp/dpc
/tmp/dpc.c


Opens a back door via HTTP access. It allows the remote attacker to perform any of the following actions:


Execute shell commands on /bin/bash
Change file permissions
Delete files and directories
Upload files
Edit files
Find files
Show system information
Dump SQL database

Is there anyway to stop these types of files from being uploaded?

5
I just changed hosts , and from a Win sever to a linux server. And now I have these Errors on my gallery.

I did a a couple of searches but im not sure what im looking for, alot of topics returned with problems with mysql 5.

PHP version 4.4.2
MySQL version 4.1.21-standard
Apache version 1.3.36 (Unix)

Can anyone help me?


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, 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) AND c.cat_id = i.cat_id LIMIT 3327, 1
Unknown column 'i.user_id' in 'on clause'

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_md5, 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.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 8
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/fbiss/public_html/gallery/includes/db_mysql.php on line 116

Thanks for the help

6
Chit Chat / 4homepages.de Forum Search
« on: September 11, 2006, 04:00:50 AM »
Jan or V@no


Can u please add the ability to search within a topic..

Some mods have a ton of pages, and if u are looking for a specific thing, it takes forever to have to go back and read it again.

Thanks

7
Mods & Plugins (Requests & Discussions) / I need help with a mod
« on: May 04, 2006, 04:02:02 AM »
I have a Catogory on my gallery that is for adults only.

What i need is a way for the numbnails from this catogory dont show up any other place (Random Images and New Images)
I have tried several things i have found relating to Random images, but none work.

I would rather not set this catogory as private , unless there is some way for members to add and remove them self from a group that is allowed to see these images.

Does anyone have a Ideas, Suggestion, mods , or anything thing that will help.

Alot of my members including myself view the gallery at work, and its not such a good thing to have such thumbnails viewable.

Any help would be appreciated.

8
Can Someone help me with this.

Is it possible for members to add/remove themself from a specific User Group from there Control Panel

Example:

I have a Catogory in my gallery that is for adult images, adult images are not supposed to be added to any other catogory.
What I would like is for members to be able to control if they can see this Catogory or not, prefrebly from the users control panel.

The Idea that I have is that you can make this catogory visible to only a certain group, and the users would be allowed to add or remove themselves to this group at will. Some members would rather not see these images in the " New Images" or "Random images"  , so using groups is the only way I can see making this possible.

Reading threw this post, http://www.4homepages.de/forum/index.php?topic=6566.15
I believe the answer maybe in there somewhere, I just dont know enough to be able to change it.

Please , would someone help, I know alot of people need somekind of adult filter for there galleres.

Thank you

9
Chit Chat / JavaScript + CSS = Nice Picture Display
« on: January 10, 2006, 06:19:47 PM »
This doesnt work for my needs , but I thought someone on here maybe able adapt it for there use.

http://www.huddletogether.com/projects/lightbox/

pretty nice way to display a picture

10
Mods & Plugins (Requests & Discussions) / zoom and rotate
« on: December 11, 2005, 03:16:17 AM »
I looked on the forum and cant find this mod , can anyone help?

http://www.photochart.com/photo_244_Autumn%20Bench.html

See where you can zoom, rotate, flip, and BW a pictures.


11

Since I am using Venos /admin/images.php mod , it is alot faster to edit images this way.

I was wondering if it is possible to allow a certain usergroup or userlevel (not admin) to be able to use this also, without having permission to use the rest of the admin functions.

12
Chit Chat / New- Google free website Analytics
« on: November 14, 2005, 05:16:45 PM »
Thought I would share with everybody what I found.

http://www.google.com/analytics/

All u have to do is Signup and place the the Javascript code they give you in your header file.

I just signed up, it says it may take up to 12 hours to start reporting back to you.


13
Batch Add members to a Usergroup from ACP

I Did a Search couldnt find anything like this?

Can anyone write this?

Soon i will have to add over 1000 members to  a usergroup and if it was automated that would alot better then editing everyone by hand


14
Mods & Plugins (Requests & Discussions) / Hotlink image branding
« on: July 09, 2005, 04:08:38 AM »
Hello all, I was wondering if someone can help me out

Im looking for a way to put a little logo on the bottom left of only my gallery pictures and only on pictures that are hotlinked and displayed on other places on the net.
Is this possible to do? I believe Cardomain.com does this with there images.

Any help would be greatly appreciated
 8)
i dont mind that people hotlink my images, but i want to advertise while they do it.

Pages: [1]