![]() |
Offering payment for...!
Hi,
I just purchased VB 229 to find out what i have seen around on other boards wasent in the VB:( I need users to be able to see a thumbnail instead of a text attachment when uploading a jpg picture. I have ImageMagik installed and already running with Image Folio. I have root access and the latest php installed on a apache server. I am willing to pay to get this done if somebody is interested? HEEEEEEELP! resultater@hotmail.com |
there is an option in default vb installation, to show image instead of text link, maybe this is what you are after.
|
Hi,
Thx but no...i wish to display a thumb and if people want to see the full size image they can click on the thumb to see it full size. like ex on this vb board who has auto creation of thumbnail. http://mistressdestiny.com/forums/sh...?threadid=3978 Any suggestions/ideas/? :cross-eyed: |
1 Attachment(s)
Replace your postbit_attachmentimage template with:
Quote:
Larry |
What happens to the picture if it isn't perfectly square? Like 640x480? Won't it look wierd then? :)
|
What if the image is smaller than 150x150;)
Satan |
Quote:
I am sorry guys I just learned html in feb and now with the php stuff I am not that good;) Look forward to your response Larry |
This may not be that hard, theres a gallery hack that uses ImageMagik that creates thumbnails for image based attachments, you would just need to modify the buildpostbit function to get it to use the thumbnail display it if its an image.
|
Would you be willing to lend a hand on incorprating this, my friend? :)
|
I may have a look at it as I use the gallery hack already. I'll take a deeper look now and see if I think I can do it or not ;)
|
It seems even easier than I first thought! First though you need this hack installed: https://vborg.vbsupport.ru/showthrea...threadid=21602
I'll post up the edits after I've checked and tested :D |
Where do we get the hack? It's not in the first post. :)
|
Its in the second post: https://vborg.vbsupport.ru/attachmen...&postid=133145
After taking a look all thats needed is a template edit, change postbit_attachmentimage to: Code:
<!--<p>--><smallfont>$post[username] has attached this image:<br> |
NTLDR, I can't get this to work. I am getting db errors all over the place. Can you take a look at it and help me out?
|
Post the errors:)
Maybe that can help us sort it out;) Satan |
Quote:
|
Quote:
Now a question if you know :cheeky: If i wish to have multiple attachments in the post what do i change? Also how about a limit for nomal posters and a diffrent posting level for admins/moderators? And is it possible to set it so that only registred users can see the full size picture and unregistred only have permission to see the thumbnail? Hope the questions arent too stupid :classic: but i got this VB resently and are trying to get it all setup so i can open it. Best Regards Buss |
If i wish to have multiple attachments in the post what do i change?
Good Luck I have tried to figure that one out with no luck at all And is it possible to set it so that only registred users can see the full size picture and unregistred only have permission to see the thumbnail? Yes I would imagine in the showthread php code you could add rescritions to the attachment part How much cash did I make so far? :nervous: feel free to email me if you need some help larryjude@hotmail.com Larry |
Quote:
Quote:
|
Quote:
Thx for the info. I just thought it was a simple code adding a extra attachment field in the postingform but i guess it?s much more complicated then that. The disallowing of viewing attachments is exactly what i wish. Only to let unregistred see the thumbnail and not the full picture. Do you by any chance know of wich hack is needed for that? :classic: Best Regards Buss |
Quote:
|
Thank you wery much for helping out NTDLR!!
Last question :nervous: How do i set the limit for normal users and moderators limit of attachments. Like if i want normal registred users to be able to upload 5 pictures and no limit for moderators/admins? Hope this is simple to integrate or there is a hack some were out there that can do this? Best Regards Buss |
All times are GMT. The time now is 02:45 AM. |
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:
|