![]() |
Thank you
|
I'm getting this database error on a fresh install
Code:
Database error in vBulletin 3.6.0: |
Quote:
|
Waiel Great job Bro!
One of the best add-ons here! Installed! |
*clicks install*
Fresh install, upgraded from 3.5.1 to 3.6 a few hours ago along with cmps 2.2.0 and a few other hacks. This installed and is working perfectly with out a single error. w00t!! is there a future plan to add a "this picture has been viewed X amount of times" ?? and/ or a "whos viewed this image" |
Quote:
|
This hack is so great! realy! (clicked install), however I must write down some hopefully future option. It would be nice if hack would also have option:
- users can set fotos for view to specific user(s), usergroups... (now is only public and private) |
Quote:
it does this on .jpg Code:
Warning: imagecreatefromjpeg(/public_html/forum/imagehosting/imagehosting/144e42de04b356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175 Code:
Warning: imagecreatefrompng(/public_html/forum/imagehosting/imagehosting/144e43b354b6e7.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170 Code:
Warning: getimagesize(/public_html/forum/imagehosting/imagehosting/144e43a8640ba2.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279 |
Quote:
it doesn't look like you did it should be something like this /home/yoursiteusername/public_html/forums all the errors are becase the path is not set correctly in the options |
Is there a way I can set this up so that a random image from what my members have uploaded appears on my home page, vbAdvanced. Kinda like the thumbnails from Photoplog but with these (which will be used for signatures, avatars, and userbars).
Thanks in adavance! |
Quote:
|
Quote:
it will tell you the path to your forums |
Quote:
check this post https://vborg.vbsupport.ru/showpost....&postcount=667 if you want to set it up as a module copy the code of the blugin into a php file and put it into the module folder and set it up in the vbadvanced |
I get this error, how do I fix it? Other then that everything works fine. Great mod.
Quote:
|
Quote:
that's why you getting the error .. why your doing this ?! |
I didnot remove it, I translated it
On my forum I didn't call VBimghost, I called it User album, I change it to that and translate it into my language. If that is now allow I'll change it back. |
Will this allow users to hot link photos using [img] tags in their posts??? Just curious.. didn't read all the replies/questions in this thread yet.
|
Bug : There is no way to Remove an image from database when it is not exist (physicaly removed from images folder.)
|
i uploaded and did every thing as it it says in the install file, but it will still not work, here is a link to what I uploaded...
http://www.boostconcept.com/forum/vb...es&pp=9&page=1 and its blank and while it was uploading it gave me an error... this is the error: Warning: move_uploaded_file(imagehosting/tmp_144eb210e836b0) [function.move-uploaded-file]: failed to open stream: Permission denied in /vbimghost.php on line 640 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpQtnLBP' to 'imagehosting/tmp_144eb210e836b0' in /vbimghost.php on line 640 Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/http://boostconcept.com/forum/images/watermark.png) is not within the allowed path(s): (/home/alex:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 221 Warning: getimagesize(/home/user/public_html/forums/imagehosting/http://boostconcept.com/forum/images/watermark.png) [function.getimagesize]: failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 221 Warning: imagecreatefromjpeg(imagehosting/144eb210e84653.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 53 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 56 Warning: imagejpeg() [function.imagejpeg]: Unable to open 'imagehosting/thum_144eb210e84653.jpg' for writing in /includes/vbimghost_include.php on line 61 Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 86 ---------------------------------------------------- the only thing I dont know how to do is change the permission for the upload directory to 777, how would I do this?... :( |
Quote:
|
Quote:
Warning: getimagesize(/home/alex/public_html/forum/imagehosting/http://boostconcept.com/forum/images/watermark.png) [function.getimagesize]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 221 what could this be now? |
Hello Ranma ,
What about Last 5 images uploaded that appear in member profile , I don't want 5 images and i need just 2 image show in members profile , from where can i edit this , Regards |
Quote:
/home/alex/public_html/forum/imagehosting/http://boostconcept.com/forum/images/watermark.png) <-- that is wrong for watermark just put hte name of the watermark file in the filed and in the path set the just the path NOT the url |
Quote:
and set the limit to 2 in the SQL there |
Error found when uploading an image. Looks like it is referring to the watermarking feature. The image is uploaded fine, despite the error, so maybe it's just not able to apply the watermark?
Quote:
Code:
$img2 = imagecreatefromjpeg($img); Code:
$text_color = imagecolorallocate($img2, $red, $green, $blue); Code:
$pos_x=(int)(imagesx($img2) / 2) - ($text_width / 2); Code:
imagestring($img2, $wmtexts, $pos_x, $pos_y, $wmtext, $text_color); Code:
imagejpeg($img2,$img,100); |
Quote:
MAKE SSURE YOU SET THE PATH CORRECTLY !! |
EDIT: Nevermind. I have one of the letters backwards. Thanks for the help. ;)
Also, I'm making a tons of changes to make it more "pleasing" to the eye, so if you don't mind, I'll be posting some changes that I would like to see in the next release (template and phrase fixes). One more thing, is there a method to deleting the images from the "imagehosting" directory when it is deleted from the database (like when you click Delete Image from the forums)? |
Quote:
it will delete the file from the folder and the database but if you removed it from the database you'll have to delete it manually as for the modification i don't mind i'm already working on some of the request i received |
Alright, I got the templates and phrases all worked out. I have attached my fixes and modifications to make them look as close to the default look vB gives as possible. I would really love to see these changes in the next update as they make it look more professional and more like it was integrated into the existing vB styles.
Only problem that remains is the $pages command in the templates. Template: vbimghost_main Find: Code:
$pages Is there a way to make this not show unless pages actually exist? When viewing the VB Image Host pages, it shows this as a break and gives it a weird look. View the attached screenshot (vbimghost_main_pages.jpg). |
Here are screenshots of the changes to the phrases and templates. Please let me know if you will make these changes for the next version as I think they look like they fit more with the rest of vBulletin. :)
|
installed, thanks
|
is it possible to have an option for indivual user groups to be denied access to the hosting.
for example if a person visits the site and is not logged in they have to register/log in before they can see images? |
Usergroups > Usergroup Manager > X Usergroup > Scroll to Bottom > Help VB Image Hosting > Can upload images ? > Select No
:) |
no thats not what I mean.
I am meaning so that if you go to my site http://skindev.jmfemedia.com and click on the memberslist it blocks you saying you dont have permission, I am looking for the same kind of thing for the vbimghost.php page. |
Hello Ranma ,
Quote:
Regards |
Quote:
it's a problem with MySQL connection as the error says it says that it lost connection to your Database contact your host and see what caused the connection to be lost |
Quote:
but i'll add it in the next ver |
Quote:
i'll add it to the next ver |
It'll look much nicer and this way, with the next version I won't have to go back and edit them all again. ;)
Only one I couldn't really upgrade to a better look was this one: https://vborg.vbsupport.ru/attachmen...7&d=1156437019 The Row version looks ok and fits the whole table, but the Column version seems to be aligned to the left always. If you could possibly improve this as well, I would (and so would a lot of others) very much appreciate it and it would make the whole system look like it was built right into vB. Keep up the great work, Ranma!! :) |
Thank you! Works like a charm.
|
All times are GMT. The time now is 12:53 PM. |
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:
|