 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
May 1st, 2007, 06:12 AM
|
#1 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
| show videos for inc_featured
In PP, the recent images section (inc_features i think) it shows videos works fine... i call the same script and include the latest images on my vBa front page.... but absent the videos every time (cat 509) I'm stumped... Code: Content visible to verified customers only.
Please help
|
| |
May 1st, 2007, 07:35 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
The external block written for vbulletin forumhome is not written to show video's in any way shape or form thats why.
|
| |
May 1st, 2007, 11:24 AM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2006 Location: Yorkshire
Posts: 603
|
Although it is not a huge leap to make it work  I did it and got fed up with it...
|
| |
May 1st, 2007, 12:02 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
Nope nothing is a huge leap if one chooses to play with it and add functionality they want
|
| |
May 2nd, 2007, 05:21 PM
|
#5 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
| Code: Content visible to verified customers only.
not a valid resource....i thought that would do it
|
| |
May 2nd, 2007, 06:04 PM
|
#6 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
ok i get it... i remove the ! and or add '500,509' etc... although for me that doesn't work... it seems the featured images code are for all those outside of cat 500? but my video section is not showing... ok no matter... i have a working photopost which displays the absolute latest uploads to the gallery... now similar to the vB profile block where you see the latest uploads... in that vein i wanted the same on my vBa index as on my photopost index... i copied and renamed inc_featured and it's called successfully.... minus the videos, which isn't representative of the upload situation... so there must be a simple piece of code to include all cats... regardless... i hope one you could help me, i'll insert it into my renamed inc_featured for my vBa index page and here's hoping... i've been without this for ages... i should have done something long ago |
| |
May 2nd, 2007, 06:22 PM
|
#7 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
ok, about line 78.. Code: Content visible to verified customers only.
and heres my new latest query Code: Content visible to verified customers only.
seems to work... i see the videos on the index and everything else in order... just one thing though... the videos don't have thumbs :/... you can click and link... just no thumbnails... can see the custom borders....
|
| |
May 2nd, 2007, 07:30 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
I suggest you might want to look at the showgallery.php script on how to show multimedia. What you need to do is a bit more complex that what your posting. You may also post modification questions in the mod corner about hacking questions.
|
| |
May 3rd, 2007, 04:43 AM
|
#9 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
ok thanx
|
| |
May 3rd, 2007, 09:17 AM
|
#10 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2006 Location: Yorkshire
Posts: 603
|
To get the thumbs you need to tell the script to look for the video file in the thumbs folder strip the extension and change it to .jpg.
I made a comments on the front page block and did it like this.
I called up bigimage from the db table it had either a wmv or a .avi so i stripped and replaced it with this. Code: Content visible to verified customers only.
Then when it came upon an image (thumbnail) with a video extension it changed it
HTH
Sybaris...
|
| |
May 3rd, 2007, 10:40 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
Not really how you want to do it cause remember not every video has a thumbnail. The default way to do it would be to also copy the is_multimedia function in that file and then do like an if else statement like so to load the video.gif in the images directory Code: Content visible to verified customers only.
Just my thoughts
|
| |
May 4th, 2007, 06:23 PM
|
#12 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
Hi, that works well, i had to also copy the 'get_ext' function also...but one thing, I'm having trouble getting the thumb borders for multimedia... I've tried and I'm stuck again... i thought i would nail it... but I'm doing something wrong, the code below will show you... I have my borders, i just need to apply them over the new $mthumb ... please help me a little further if poss, cheers Code: Content visible to verified customers only.
-b6
|
| |
May 4th, 2007, 08:57 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
You cant do a background like that. Remember the video cant be used as a background and thumbs for them might not exist
|
| |
May 5th, 2007, 06:02 PM
|
#14 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
I think i know what you mean... well, I'm getting all the thumbnails i need (multimedia ones) and of course I'm seeing my custom borders... it's just mixing the two... i was going to duplicate the code that exists for the borders... but if i did that it broke the code... just showed my border with the $mthumb (whatever) showing as raw code and not the desired image... I'm not too sure of the syntax to correctly integrate this... the image below is of my vBa index page showing the last video uploaded which is cool... but the second image is the actual gallery and you can see the custom border...
I'm sure i could get it..  but I'm not great at coding  - just when you thinm it's all gonna work i saw that raw code and said...bugger... i'll keep trying, i bet it's a bracket or a ; out of place to show my videos with borders
-b6
|
| |
May 5th, 2007, 08:22 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,649
|
The code I posted you are free to use as that is what I have shared and I know that works. Sorry but I do not participate on modification discussions.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | videos / media | DementedMindz | vBGallery Suggestions | 1 | March 19th, 2007 07:15 PM | | Uploading videos?? | Smoke | General Discussion | 1 | December 11th, 2005 08:14 PM | | Trying to upload videos! | doggy1 | Photopost Pro Installation & Upgrades | 2 | October 30th, 2005 01:36 PM | All times are GMT -5. The time now is 10:41 AM. | |