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 - gti-the-sexy

Pages: [1] 2
1
Mods & Plugins (Requests & Discussions) / CAN'T DELETE HELP!
« on: June 16, 2003, 07:05:14 PM »
When I want to delete images or categories, a blank page is coming
I have been using 4images for 8 months and I didn't change anything about php and files

In addition, I have over 800 images.

I could only delete images from phpmyadmin

2
Mods & Plugins (Requests & Discussions) / prevent attackers
« on: June 06, 2003, 09:20:22 PM »
nobody :?:

3
Mods & Plugins (Requests & Discussions) / prevent attackers
« on: June 04, 2003, 03:19:08 PM »
let me explain...

for example in VB, there is a "session limit" function on admin panel

this is a limit for online users

if you set this to 20 and your vb has 20 online user, then 21th user can not enter the site

while attacking, too many proxies use for multiple registeration and so too many users are online and this force the server and the site'll be down.

so if we setup a session limit for the script, there'll be no problem (with image verification)

4
Mods & Plugins (Requests & Discussions) / prevent attackers
« on: June 04, 2003, 02:21:21 PM »
I want to prevent from attackers and I need 2 addon about 4images

firstly, I need "image verification" like in http://www.vbulletin.com/forum/register.php while registering

secondly, I need online user session limit function which I could change the limit later

could you help me about scripting

5
yeah it would be very good

6
Discussion & Troubleshooting / last commented image listing
« on: February 10, 2003, 11:51:47 PM »
how could we listing images that  had commented (last comment must be in the top.)

like:

last comments:
20:32 - abcd
20:30 - ghyas
19:32 - samet
19:24 - noyut
18:10 - cat
18:09 - dog
17:35 - elps
16:28 - oxxo
16:10 - bayal

with their image details links (hyperlink)
without images, only with image name and their links
for whole 4images (not category by category)

7
Discussion & Troubleshooting / using 4images to send ecards
« on: February 10, 2003, 07:07:20 PM »
thanks vano
I changed the two following lines:

Code: [Select]
$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>";


and
Code: [Select]
     $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$thumb."</a>";

8
Discussion & Troubleshooting / using 4images to send ecards
« on: February 10, 2003, 02:56:13 PM »
I want to use 4images to send ecards and when we click the images, postcard pages must be seen instead of images details and comment section.

for example I click an image , normally image details and comment section come like:
http://mydomain.com/4images/details.php?image_id=41

but I must see like directly:
http://mydomain.com/4images/postcards.php?image_id=41

how could I do this?

I think this is very simple but my php is bad  :evil:

9
Discussion & Troubleshooting / could I disable this?
« on: February 09, 2003, 05:50:58 PM »
thanks vano

10
Discussion & Troubleshooting / could I disable this?
« on: February 09, 2003, 05:24:54 PM »
I want to disable "forcing people to enter the comment subject to comment"

how could I cancel this?

11
Discussion & Troubleshooting / I can't use auto-thumbnailer
« on: February 08, 2003, 12:14:53 AM »
and I can't use this with *.JPG :(((

same error

Create thumbnail for: s20030121 (s20030121.jpg) ....  
Fatal error: Call to undefined function: imagecreatefromgif() in /vhosts/mydomain.com/http/image/includes/image_utils.php on line 71

12
Discussion & Troubleshooting / I can't use auto-thumbnailer
« on: February 07, 2003, 11:28:42 PM »
I can't use auto-thumbnailer
when I want to use, an error gives:

"Create thumbnail for: 20030101 (20030101.gif) ....  
Fatal error: Call to undefined function: imagecreatefromgif() in /vhosts/mydomain.com/http/imaj/includes/image_utils.php on line 71"

how could I fix this?

13
Discussion & Troubleshooting / adding 1000 images in 5 minute
« on: February 07, 2003, 11:08:21 AM »
how could I add 1000 images by uploading from ftp? or?
Is there no alternative to add images by ftp?
not one by one (with entering the image name thumbnail image....)
I want to add thumbnail images first then normal image by ftp

14
Mods & Plugins (Requests & Discussions) / New Pics in Category
« on: January 24, 2003, 11:25:54 AM »
of course I did, but it removes only "xxx found in xxx category" sentence and list the new X images for X categories

I dont want to list categories by categories

ONLY LIST LAST X IMAGES FOR ALL 4IMAGES

thanks for help

15
Mods & Plugins (Requests & Discussions) / New Pics in Category
« on: January 24, 2003, 12:13:59 AM »
ok then my last question :)

this code gives me last x images for x times
but I want it to give me last x images for 1 time :)

Code: [Select]

<?php 

define
&#40;'ROOT_PATH', './'&#41;; 
include&#40;ROOT_PATH.'global.php'&#41;; 
require&#40;ROOT_PATH.'includes/sessions.php'&#41;; 
$user_access get_permission&#40;&#41;; 
$cat_id_sql get_auth_cat_sql&#40;"auth_viewcat", "NOTIN"&#41;; 
$number_of_news 5

$sql "SELECT i.image_name, i.image_id, i.image_date, c.cat_name, u.user_name 
        FROM "
.IMAGES_TABLE." i, ".CATEGORIES_TABLE." c, ".USERS_TABLE." u 
        WHERE i.image_active = 1 AND i.cat_id NOT IN &#40;
$cat_id_sql&#41; AND i.cat_id = c.cat_id AND i.user_id = u.user_id $cat_match_sql 
        ORDER BY i.image_date DESC 
        LIMIT 
$number_of_news"
$result $site_db->query&#40;$sql&#41;; 
$new_images_list = array&#40;&#41;; 
$i 1
while &
#40;$row = $site_db->fetch_array&#40;$result&#41;&#41; &#123; 
  
$new_images_list[$i&#93; = $row; 
  
$i++; 
&
#125; 
$site_db->free_result&#40;&#41;; 


for &#40;$i = 1; $i <= $number_of_news; $i++&#41; &#123; 
  
if &#40;isset&#40;$new_images_list[$i&#93;&#41;&#41; &#123; 

$result $site_db->query&#40;$sql&#41;; 
 
while &#40;$row = $site_db->fetch_array&#40;$result&#41;&#41; &#123;  
 
$image_id = &#40;$row['image_id'&#93;&#41;;
 
$image_name = &#40;$row['image_name'&#93;&#41;;
$image_link = &#40;"<a href=\"" . ROOT_PATH . "details.php?image_id=" . $image_id . "\">"&#41;;
$image_date format_date&#40;$config['date_format'&#93;." ".$config['time_format'&#93;,$new_images_list[$i&#93;['image_date'&#93;&#41;; 
$news = &#40;"&#58;&#58; <b>" . $new_images_list[$i&#93;['image_name'&#93; . "</b> &#40; <b>" . $new_images_list[$i&#93;['cat_name'&#93; . " </b>&#41; <br>" &#41;; 


echo "<ul><b>$image_name</b> &nbsp;&nbsp;&nbsp;$image_link ...view image </a></ul>";

  &
#125; 
&#125;
&#125; 
?>



this code gives me last 5 images for 5 times :)
I WANT TO LIST LAST 5 IMAGES FOR 1 TIME

please help me with this code , without any other codes

Pages: [1] 2