![]() |
Wait, so you are saying you are removing .jpeg as well as .jpg? If so removing those should do the trick.
I'm kind of confused, sorry. Derek |
I'm trying to disallow "jpeg" and allow "jpg". ;)
Quote:
It's odd that it's not even recognizing the file format. From add_site: Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png") |
Yeah, just remove the following code in each file:
PHP Code:
PHP Code:
Derek |
But my code looks correct otherwise, eh? :\
I do like the check, just not sure why it isn't working. Btw, making those edits hoses the page. It kills the if loop. |
Well, I got it half working. I added:
OR $image_ext = ".jpg" to the statement. If I add a site, it accepts the image, but the image shows up as a red X. If I edit that same site and readd the same image, it works. I'm looking at the loop for add and edit, and they look identical. /me scratches his head |
Can you paste me the if statement that you have?
|
Code:
if ($image_type == "image/gif" OR $image_type == "image/pjpeg" OR $image_type == "image/jpeg" OR $image_type == "image/x-png" OR $image_ext == ".jpg" OR $image_type == "image/jpg") |
Try this:
PHP Code:
|
Recently my users have been asking questions regarding their anonymity as far as IP addresses are concerned. I've taken several precautions against ip's being logged, but now someone wants to know what keeps track of things coming in and out if IPs aren't logged. Are they being logged somewhere? haha, if so probably can't really disable that, and wouldn't want to i guess for incoming to the site atleast. :(
My next step is to see if phpadsnew logs ip addresses, I'm sure my cpanel stat software does too. |
Hi,
The IP Addresses are stored in the toplist_clicks table. Thats basically the only way to keep track of who clicked in. They are only stored there for In clicks, not out clicks. I don't see why your users would care though because even your web server logs all ip addresses that go to your site... Derek |
All times are GMT. The time now is 09:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|