The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#242
|
||||
|
||||
Quote:
Personally I would install this on a dev site first before going live. It was a pain in the butt and I still haven't got out all the bugs. 99 percent there though. Some php pages and templates need to be alterted slightly from the original hack. Mike |
#243
|
||||
|
||||
Following up on my own post, this hack should work with 2.2.9. I installed it successfully on 2.2.8 and have it running live on my own site which is 2.2.5 (hacked to death).
The original hack should be touched up, most of the answers to the problems are all in the follow up threads, though I still couldn't get gif's to work. So if you combine the original hack and all the solutions in the threads and put them together it still works. I am just really pleased with myself that I was able to get this to work, one of the toughest hacks I think I have ever installed, errrr....I should say easy to install but tough to get to work properly. Here is my profile page just to show it off. http://www.indiamike.com/india/membe...tinfo&userid=1 Yeah baby...I did it. Mike |
#244
|
|||
|
|||
hey . please post your solutions here ^^
|
#245
|
||||
|
||||
i couldnt get it to upload the pics to the web site, any solutions
|
#246
|
|||
|
|||
Well, same problem here, files just won't be uploaded.
Yes, I'm absolutely sure my CHMOD-permissions are correct and that all modifications to the files are correct as well(as stated in the instructions). Yet, I always get the same error: "Image upload successful. Warning: Unable to create '/vbb/images/uploaded/1_photo.jpg': No such file or directory in /var/www/planetliebe.de/vbb/upload.php on line 190" This is the error I get when replace exec("cp $picture $path/$chacha"); With: copy("$picture", "$path/$chacha"); (this is my line 190) otherwise the script will only say the upload was successful, but yet nothing will happen. The database is by the way updated correctly, ONLY THE IMAGES ARE NOT UPLOADED. The text in the "current image"-field is: "Error: file 1_photo.jpg not found." I tried uploading a file called 1_photo.jpg but the script will also not overwrite this with the correct file... Any idea what one can do about this? |
#247
|
||||
|
||||
It's probably the path setup.
I was going to rewrite the instructions for this hack but since it's going to be in the new version of vbulletin I felt it was a waste of time and I didn't think Brad C would approve. Anyway I have uploaded the exact script that I use on my site with this. I have left everything intact in this script except for my database names and password. All the paths and everything else are directly off of my site so you can see the way I set it up. Look at the script lines 1-105 and view carefully the way I have set up the paths.....that is the key. I had left my paths in this script on purpose so you can see what it should look like. If you change all the stuff between 1-105 and get a photo to upload then we can go on to the next steps which is displaying it in your users profile page. There are a bunch of errors in the templates that needed to be changed to. Mike |
#248
|
|||
|
|||
Thanks, that really worked. I've checked and rechecked the scripts and couldn't find any difference, yet it works...
Now I have the image in my /uploaded-directory, yet the script says "no photo uploaded" (the image doesn't display) and the user-info-template also says "sorry, no photo available". If you could walk me through the rest of the steps that'd be really great. Thanks in advance... |
#249
|
||||
|
||||
Patrick,
Since I have to rush off to work, I will post how I did it with the template changes later on today. I did it another way than the templates that where in the original download file. It's simpler and cleaner. Give me till later on today okay. Mike |
#250
|
||||
|
||||
Just a quick tip before I head off for work Patrick so you can try this before I add the other template changes I did.
If your photo in the script uploads and it's showing up in your web folders that means the script is working correctly. So I am assuming that you got that far and are having troubles in the users profile page getting it to show up. If you have used the template and file changes as listed in the download script, which I used differantly, you should have created a template in your vb admin called photo_show. The original file changes instructions has it as <img src=/images/uploaded/$userinfo[picture_name]><br> I changed it to an exact url instead. So mine looks like <img src=http://www.indiamike.com/india/images/uploaded/$userinfo[picture_name]><br> Try that and let me know. |
#251
|
|||
|
|||
Thanks for all your help, I really apreciate it.
I've actually been playing around with the script myself (couldn't wait for you to get back from work) and got it working... Great script, thanks again for all the help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|