The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#222
|
||||
|
||||
All right guys, I've read through this whole thread, read the FAQ and everything, and I've tried to fix it myself. I come to you for help now. Everything works except for this one small problem:
Code:
Warning: Access denied for user: 'friday13f@fridaythe13thforum.com@jupiter.hostinggroup.com' (Using password: YES) in /home/virtual/site7/fst/var/www/html/upload.php on line 168 |
#223
|
||||
|
||||
ok i've tried everything i can think of, but when I run the script, I get no picture uploaded, but there are no errors shown either. I look into the /images/uploaded folder there is nothing there. It just shows the x box with no pic there, when right click it shows correct path.
PLEASE HELP, SPENT ABOUT 4 HRS TROUBLESHOOTING, MY BRAIN HURTS..... sorry url is http://connect.samstech.net/forums/m...nfo&userid=482 or http://connect.samstech.net/forums/upload.php |
#224
|
||||
|
||||
I also noticed that on this url
http://connect.samstech.net/forums/m...nfo&userid=482 the path to the missing picture isn't correct, it is missing the /forums before the /images tag in the upload.php though missing pic location is correct. I even tried full path urls |
#225
|
|||
|
|||
Everything works great!! I even see the picture in my USERCP and everywhere else except the main_photogallery.php. Why is that?
I think that the upload.php didnt execute the query line that suppose to or something, can someone please help! |
#226
|
||||
|
||||
If you're like me, the only reason you'll use the control panel to play with pictures is to make sure nobody uploaded stupid stuff. I found it long and annoying to see the list of all the members so here's two lines you can add to this script to make it faster and one little line to make it easier.
On user.php: find: Code:
$users=$DB_site->query("SELECT user.userid,username,email,picture_name,photodesc,ipaddress,userfield.* FROM user,userfield WHERE $condition AND userfield.userid=user.userid ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber"); Code:
$users=$DB_site->query("SELECT user.userid,username,email,picture_name,photodesc,ipaddress,userfield.* FROM user,userfield WHERE $condition AND user.picture_name != '' AND userfield.userid=user.userid ORDER BY $orderby $direction LIMIT $limitstart,$limitnumber"); Code:
$countusers=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,userfield WHERE $condition AND userfield.userid=user.userid"); Code:
$countusers=$DB_site->query_first("SELECT COUNT(*) AS users FROM user,userfield WHERE $condition AND user.picture_name != '' AND userfield.userid=user.userid"); find: Code:
makelinkcode("<font type=verdana color=#3366cc>edit</font>","user.php?s=$session[sessionhash]&action=photosuploadedit&userid=$user[userid]"). Code:
makelinkcode("<font type=verdana color=#3366cc>view</font>","../images/userpics/$user[picture_name]"). Also, this will prevent you from manually adding pictures to users but hey, if you installed the script, they should be able to do it themselves... no? Hope this help anybody... |
#227
|
||||
|
||||
Make sure you get the latest version, I fixed a little something I left in
admin/user.php. Edit: Whoa, what the hell does that post does in this thread? |
#228
|
|||
|
|||
Brad,
Firstly thank you very much for this hack, it is execellent. I have installed in on my board 2.2.6 and the members LOVE IT! A couple of questions have come up, unfortunatly, I do not have the PHP skillset to fix this, otherwise I would like to. Is it possible to add a "Photo" icon in the message information where their status and number of posts is, each time they post a message, to indicate if they have a photo. Clicking on it would launch it. Also, is there any possibility of a PHP page much like Leasane's Award hack (showaward.php). This would list only the users that have photos and display the photo and the description. Many thanks again, if anyone can help with any of the above I'd really appricate it, not just Brad. I am just directing this at him to give thanks to this hack. Harvey. |
#229
|
|||
|
|||
Quote:
also look for webhost, cause I do believe he posted one of the icons.. As for the second.. it was only done in his latest stuff.. but yes it is possible... as for to get him to doing it, might be like pulling teeth.. bradc = bradc@addictedusers.com |
#230
|
|||
|
|||
ok, guys, if you are sure that everything is right, i bet you ANYTHING that its jsut that yoru server is running safe mode....
i moved from a working non safe mode server, to one with sm enabled, and 100x checked the paths, and it wont work....everything but writing the darn image file works...db, everything, just no uploading....yes..i chmod...my lil 3 year old sister can chmod... |
#231
|
||||
|
||||
Is there a way to get this hack to work with safemode on? I had it installed on 3 different servers without a problem. Now I'm on a new server that has safemode turned on and can't get it to work. It will display the pictures already uploaded and everything seems to work fine except it won't actually upload the picture to the directory. Has anyone gotten this to work with safemode on?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|