Page Index Toggle Pages: 1
Topic Tools
Normal Topic Display Multimedia Attachments in Post (Read 4,286 times)
George Maschke
Full Member
***
Offline



Posts: 315
Re: Display Multimedia Attachments in Post
Reply #7 - Sep 8th, 2009 at 6:22am
Post Tools
Jet Li wrote on Sep 3rd, 2009 at 3:33pm:
George Maschke wrote on Sep 3rd, 2009 at 4:26am:
to display an attachment anywhere in a post, and not just at the end.

Why not copy attachment link in a media tag?

Code
Select All
[media]http://www.yourdomain.com/yabbfiles/Attachments/media.avi[/media] 



As xnoddyx indicated, YaBB doesn't make it easy to know what the link to an attachment is. Not only may the names of attachments be changed (and not just changes to avoid duplicate file names, but also with spaces being replaced by underscores: "My Great Movie.avi" becomes "My_Great_Movie.avi"), but as things now stand (with v.2.4), links to attachments are rendered through JavaScript which conceals the attachment's URL. So a poster who isn't very familiar with YaBB's inner workings may not be able to figure out the proper hyperlinks.
« Last Edit: Sep 8th, 2009 at 6:30am by George Maschke »  

Back to top
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,587
Location: UK:Scotland/livingston

None
Re: Display Multimedia Attachments in Post
Reply #6 - Sep 5th, 2009 at 1:39pm
Post Tools
Jet Li wrote on Sep 3rd, 2009 at 3:33pm:
George Maschke wrote on Sep 3rd, 2009 at 4:26am:
to display an attachment anywhere in a post, and not just at the end.

Why not copy attachment link in a media tag?

Code
Select All
[media]http://www.yourdomain.com/yabbfiles/Attachments/media.avi[/media] 


as then you will have to post message then edit to do that as if you have media.avi in Attachments all redy then when saved yabb will rename media01.avi or sumthing George Maschke wrote on Sep 3rd, 2009 at 4:26am:
For example, if a user could insert code like "[displayattachment]Attachment 1[/displayattachment]"

this way if media.avi is in Attachments the new media.avi yabb will rename and will desplay with out edit
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Display Multimedia Attachments in Post
Reply #5 - Sep 3rd, 2009 at 3:33pm
Post Tools
George Maschke wrote on Sep 3rd, 2009 at 4:26am:
to display an attachment anywhere in a post, and not just at the end.

Why not copy attachment link in a media tag?

Code
Select All
[media]http://www.yourdomain.com/yabbfiles/Attachments/media.avi[/media] 

  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
George Maschke
Full Member
***
Offline



Posts: 315
Re: Display Multimedia Attachments in Post
Reply #4 - Sep 3rd, 2009 at 4:26am
Post Tools
deti wrote on Jun 15th, 2009 at 3:23pm:
Do I understand you right? You want to upload media files and want them to be shown the same way they are with the media-tag in posts, but then in the attachments place. So, like attached images are shown if "Display Picture Attachments in Posts?" is enabled by the Admin.
Right?


deti,

Sorry for the late reply! Yes, this is what I was suggesting. However, your question gave me an idea. It would be great if attached images, audio, or video could be displayed within the text of a post. For example, if a user could insert code like "[displayattachment]Attachment 1[/displayattachment]" to display an attachment anywhere in a post, and not just at the end.
  

Back to top
IP Logged
 
deti
Legacy Dev Team
Development Team
****
Offline



Posts: 2,650
Location: Prien am Chiemsee, Germany
Re: Display Multimedia Attachments in Post
Reply #3 - Jun 25th, 2009 at 5:55pm
Post Tools
Off-Topic replies have been moved to this Topic.
  

Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
Back to top
WWW  
IP Logged
 
cepheid
Senior Member
****
Offline



Posts: 516
Re: Display Multimedia Attachments in Post
Reply #2 - Jun 18th, 2009 at 6:59am
Post Tools
deti wrote on Jun 15th, 2009 at 3:23pm:
Right?

That's how I interpret it, too.  The problem with this is that you have to make use of the <embed> tag, which means you also need to know the correct mime-type.  Not horrible, but not foolproof, either.
  
Back to top
WWW  
IP Logged
 
deti
Legacy Dev Team
Development Team
****
Offline



Posts: 2,650
Location: Prien am Chiemsee, Germany
Re: Display Multimedia Attachments in Post
Reply #1 - Jun 15th, 2009 at 3:23pm
Post Tools
Do I understand you right? You want to upload media files and want them to be shown the same way they are with the media-tag in posts, but then in the attachments place. So, like attached images are shown if "Display Picture Attachments in Posts?" is enabled by the Admin.
Right?
  

Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
Back to top
WWW  
IP Logged
 
George Maschke
Full Member
***
Offline



Posts: 315
Display Multimedia Attachments in Post
May 30th, 2009 at 9:10am
Post Tools
Just as images uploaded as attachments may be displayed in-line, it would be nice if there were an administrator's option to enable in-line display of attached audio and video files (all the file formats supported by the "media" tags).

Smiley
« Last Edit: May 30th, 2009 at 9:11am by George Maschke »  

Back to top
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top