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

Pages: [1]
1
Mods & Plugins (Requests & Discussions) / Simplifying Image Upload
« on: June 20, 2003, 01:48:06 PM »
a little question about this one, V@no you said:
Quote
open /member.php
find:Code:
  if ($image_name == "")  {
    $error = 1;
    $field_error = preg_replace("/".$site_template->start."field_name".$site_template->end."/siU", str_replace(":", "", $lang['image_name']), $lang['field_required']);
    $msg .= (($msg != "") ? "<br />" : "").$field_error;
  }

comment it or simply remove it


i my member.php there are two of these codes, does this mean i delete both of them?
thnx.

2
it works, and it's GREAT!!  :lol:

3
just so i know if it is worth installing this MOD, it will ONLY work if the 'test code' worked out for you?
(this one:)
Code: [Select]
<?php 
header 
&#40;"Content-type&#58; image/png"&#41;; 
$im imagecreate &#40;180, 30&#41;; 
$black imagecolorallocate &#40;$im, 0, 0, 0&#41;; 
$white imagecolorallocate &#40;$im, 255, 255, 255&#41;; 
imagettftext &#40;$im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test"&#41;; 
imagepng &#40;$im&#41;; 
imagedestroy &#40;$im&#41;; 
?>

4
Mods & Plugins (Requests & Discussions) / New Pics in Category
« on: June 11, 2003, 08:46:16 PM »
:cry:
it gives me another error after i commented (sorry, didn't know that it ment deleting :lol: ) the codes.
it now says:

Fatal error: Call to a member function on a non-object in /blablabla/get_new_pics.php on line 20

is there any other way to include this in a site?
thnx.

5
Mods & Plugins (Requests & Discussions) / New Pics in Category
« on: June 11, 2003, 02:55:57 PM »
thnx for your reply V@no, but where should i insert this code? in the home.html?
because this code is already in my get_new_pics.php
http://mobile-snapshots.com/Gallery/get_new_pics.php

6
Mods & Plugins (Requests & Discussions) / New Pics in Category
« on: June 11, 2003, 02:09:09 PM »
hello,

i got the get_new_pics.php working, but now i want to 'load' it in my home.html. i did this through the following code:

<?php include("get_new_pics.php"); ?>

but when i load my page, it gives the following error:

Fatal error: Cannot redeclare addslashes_array() (previously declared in /blablabla/global.php:32) in /blablabla/global.php on line 32

can someone help me with this? when i load the get_new_pics.php from where it's at, it works, but it doesn't when i try loading it up through home.html...

grtz

7
Discussion & Troubleshooting / uploading pictures for another user
« on: June 03, 2003, 01:00:17 PM »
thank you V@no, it worked!!!

8
Discussion & Troubleshooting / uploading pictures for another user
« on: June 03, 2003, 11:48:51 AM »
thnx for your reply. ok, but i don't think 'normal' members have the control panel option at the bottom of the screen right? they can only change their user info and password. at least that's what i'm seeing... i have, as the administrator, the control panel link at the bottom where i can check for new images. but the other members don't have this option right?

9
Discussion & Troubleshooting / uploading pictures for another user
« on: June 03, 2003, 11:03:16 AM »
hi,

i am the administrator of my site and i have a member who has given me permission to use his pictures from his site. but he doesn't have the time to upload them himself (to my site) so i want to do this for him, through ftp. but is it possible for me to upload the pictures, but then under his name? even though i don't have his password? or is there any other solution?
thanks in advance!

10
Discussion & Troubleshooting / need help changing paths
« on: May 10, 2003, 09:11:18 PM »
thnx! i'll give that a try then...

11
Discussion & Troubleshooting / need help changing paths
« on: May 10, 2003, 06:47:53 PM »
thnx for your reply lakeside! the first one is not an option because i've tried it already but it get's stuck with the /admin folder, it tries to load my server's admin instead of the 4images admin. And i've tried something with a redirection thing, and it works... however it still shows http://mydomain.com/4images
so people can just type in http://mydomain.com and will get to the 4images gallery, but it still shows the full path in the address bar: http://mydomain.com/4images/
 :cry:

12
Discussion & Troubleshooting / need help changing paths
« on: May 10, 2003, 06:22:59 PM »
hi,

i've got my site up and running with 4images, it's great. but i have it like this now: http://mydomain.com/4images.
i want people to just go to http://mydomain.com
do i then have to transfer everything (all files and folders) to that path, or is there some kind of php file which can fix this?
thnx in advance!

cheers

Pages: [1]