![]() |
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. :)
|
All times are GMT. The time now is 06:02 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:
|