The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Image Hosting Details »» | |||||||||||||||||||||||||
Image Hosting v1.20b
What Does it Do? This script will allow your users to upload images onto your server and use them in forums and other sites. You can limit how many images a person can upload and how big the files can be. There is also a watermark feature which will allow you to watermark upload images with any text you want. Features - Admin cp settings - Limit Filetypes - Limit File size - Limit What usergroups can upload - Add Watermark to JPEG's (Removed ) - View uploaded images - View Forum image code(NEW!!!) - Different limits for different usergroups(NEW!!!!) - Improved Layout and design - Installer - More.... Installer I have used the Hack Installer System to make it easier for the end use to upload to their site Live Demos 1.Sig-Mania 2. Pm me with your site Support I will fully support thios project and will fix and bugs or gliches in the script. I also offer a installation process for anyone who needs it. Donations This project takes alot of my time and so will the updates to come i would appricate any donation thought paypal email:martinj.porter@btinternet.com, Thanks Future Features - Moderate uploads - Different Limits for users and usergroups(Compeleted) - User Gallery for uploaded images - Stats(in progress) Bugs Fixed 1. Templates should be to the default vbstyle 2. Can't get image size fixed (hopefully) 3. blank screen when uploading an image please visit www.sig-mania.co.uk Supported on vbulletin version 3.0.7 Hope you enjoy thanks Loneranger Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
|||
|
|||
have you all tried a clean install removing all the phrases
what version of vbulletin are you using plz try a 3.07 to keep the same as my server as can't find a fault |
#53
|
|||
|
|||
Quote:
Also I had a lot of troubles during the install, also during the uninstall, the file edits did not work. So I manually uninstalled everything the reinstalled it manually. I opened the files and figured out the queries, I am going to try to do another clean install and see if I can come up with any solutions, I will let you know. |
#54
|
|||
|
|||
You missed uninstall groups in your uninstall query.
Also, I redownloaded and uploaded, and installed...I still run into the same exact problem. User groups are set correctly too. |
#55
|
|||
|
|||
I found an error.
In index.php you have it looking for template_mods.php instead of template.php Change: install\hacks\image_hosting\12\index.php Code:
if ($_REQUEST['do'] == "genreadme") { if ($_REQUEST['upgrade'] != 1) { require_once('./file_mods.php'); require_once('./template_mods.php'); } else { require_once('./upgrade_mods.php'); } } Code:
if ($_REQUEST['do'] == "genreadme") { if ($_REQUEST['upgrade'] != 1) { require_once('./file_mods.php'); require_once('./templates.php'); } else { require_once('./upgrade_mods.php'); } } Change: install\hacks\image_hosting\12\uninstall_queries.p hp Code:
<?php // Queries $query['uninstall'][] = 'ALTER TABLE '.TABLE_PREFIX.'language DROP phrasegroup_imghost'; $query['uninstall'][] = 'DELETE FROM '.TABLE_PREFIX.'phrasetype WHERE phrasetypeid=956'; $query['uninstall'][] = 'DROP TABLE IF EXISTS '.TABLE_PREFIX.'hosted'; ?> Code:
<?php // Queries $query['uninstall'][] = 'ALTER TABLE '.TABLE_PREFIX.'language DROP phrasegroup_imghost'; $query['uninstall'][] = 'DELETE FROM '.TABLE_PREFIX.'phrasetype WHERE phrasetypeid=956'; $query['uninstall'][] = 'DROP TABLE IF EXISTS '.TABLE_PREFIX.'hosted'; $query['uninstall'][] = 'DROP TABLE IF EXISTS '.TABLE_PREFIX.'groups'; ?> 'subscription' => vbphrase['group_paid_subscriptions'], which should be 'subscription' => $vbphrase['group_paid_subscriptions'], |
#56
|
|||
|
|||
I too am getting an error installing this.
It happens after I click the DONE button on the page that "Rebuild Style Information". Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /path/forum/includes/db_mysql.php on line 389 Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/share/pear') in /path/forum/includes/db_mysql.php on line 389 I'm running 3.0.7 RedHat Linux 2.4.21-15.0.3.ELsmp MySQL 3.23.58 GD 2.0.12 Hacks: v3Articles vBadvanced |
#57
|
|||
|
|||
ok i have noticed there is some errors with the installation process i will re-write this part and send you all the files hopefully i will be able to solve some problems
|
#58
|
|||
|
|||
I could be wrong, but in image_host.php on line 144 aren't you missing a close bracket?
|
#59
|
|||
|
|||
right think i have sorted it if a couple of you can test it and let me know thanks
this file should fix the problem with the blank screen when attempting to upload images try this now |
#60
|
|||
|
|||
Almost
Warning: getimagesize(home/doyouwa/public_html/bbb/hosted_images/1.gif): failed to open stream: No such file or directory in /image_host.php on line 196 unable to get image size Also I think you need to remove the / in the $dir/ in that copy Code:
//upload image if all correct @copy($_FILES['img'][tmp_name], "$dir/".$_FILES['img']['name']) ; //check the image size delete if too big and print error if(!$size = getimagesize($dir .$host_filename)) die('unable to get image size'); |
#61
|
|||
|
|||
Ok,
My uploading is now working. After doing the edit above, removing the / from the $dir/ In the admin panel where it has Upload Directory The full local path to the upload directory eg. home/user/www/forum/hosted_images Change that to The full local path to the upload directory eg. /home/user/www/forum/hosted_images/ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|