vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   AnyMedia BBCode for 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=106239)

DannyMilner 02-16-2006 05:53 PM

Nice work!

Is it safe to allow users to post swf? I have heard many times that it isn’t safe.

Anyway great extension!

Crist 02-16-2006 06:07 PM

Quote:

Originally Posted by Silvio
Hi Crist,
Excuse my bad english, I hope is understandable
Little problem,
I upgraded your hack from 1.1 perfectly working on VB3.5.3 to anymedia1.2

1) unload old product-anymedia.xml (1.1)
2) removed modifcations on includes/class_bbcode.php File
3) uploaded and overwritten old files on my site from your new 1.2 Upload directory
4) reloaded new product-anymedia.xml (1.2)
5) set up all permissions on usergroup.

The medias posted with 1.1 are all working and visible, as are the one posted with new 1.2; But if I try to preview a post with a new media, then an issue is there.

Don't worry.
You upgraded it perfectly,



Quote:

Originally Posted by Silvio
here what happen (example)

1) I create a post
2) I insert the url where my media is, and in this example I insert : http://www.myurl.xyz/mypath/forum/fl.../flashfile.swf
3) I highlight it and then press on M picture of allmedia hack and it correctly write on the writing pane [MEDIA]http://www.myurl.xyz/mypath/forum/flashpath/flashfile.swf[/MEDIA]
4) press preview

It will show up 2 errors --> Error: Non supported media type.

If I look what happend to the code on my editing pane after preview, I can see that it was translated in an unspected way, and in the specific case will be :

PHP Code:

 [media][url="http://www.myurl/mypath/forum/flashpath/flashfile.swf"]http://www.myurl/mypath/forum/flashpath/flashfile.swf[/url][url="http://www.myurl/mypath/forum/flashpath/flashfile.swf"][/url][/media][url="http://www.myurl/mypath/forum/flashpath/flashfile.swf"][/url] 

What I did wrong???
4B) If not preview is pressed but POST, then all seems to work great!

You added other bbcodes between the [Media] Code.
So it didn't work.

Don't insert other bbcodes (or html tags) to the [Media] code.
JUST THE URL.



Quote:

Originally Posted by Silvio
ciao and take care & ty for great hack!!

Ciao = Goodbye?
the only Italian word that I know.

:nervous:

Quote:

Originally Posted by Silvio
Edit : How is possible to :
Enable Users to see medias posted by authorized Users?
I do explain better: If I do not authorize a group, then that group wont see that media.
But if I want to let them see it and Just dont' post a media? how that could be possible?
again ciao & have fun

You could do this in this version,
Maybe I will add it into the new version.
:)

Crist 02-16-2006 06:15 PM

Quote:

Originally Posted by Dez_U
I am puting this in a post after instal, is this correct or should I be adding something else?

[MEDIA=640,480,autostart]http://www.theurbans.co.uk/wmp/Ram2big.wmv[/MEDIA]

thanks

It's Ok,
but it will not autostart.
use "yes" or "1" instead of "autostart"

smdani 02-16-2006 06:34 PM

Quote:

Originally Posted by Crist
I May let it support YouTube & Google Video in the next version.
:)

Thancks a lot Crist!! :up:

S@NL - BlackBik 02-16-2006 06:44 PM

Quote:

Originally Posted by Crist
It's hard to let it be compatable for all the browsers,
but I try my best to make it with most of them.

:(

Hey, you can't do more than your best :)
Thanks in advance for looking into it.

Dez_U 02-16-2006 07:00 PM

Quote:

Originally Posted by Crist
It's Ok,
but it will not autostart.
use "yes" or "1" instead of "autostart"

thanks for that reply.

problem I get is it just shows as the link, nothing else.

any ideas?

Silvio 02-16-2006 08:02 PM

Quote:

Originally Posted by Crist
You added other bbcodes between the [Media] Code.
So it didn't work.

Don't insert other bbcodes (or html tags) to the [Media] code.
JUST THE URL.

Nope sir i did not inserted any othr bbcodes. I inserted just 1 regular url to a flash file, then presse "preview" and it does all that. (pressing "post" wont do that).
Quote:

Originally Posted by Silvio
2) I insert the url where my media is, and in this example I insert : http://www.myurl.xyz/mypath/forum/fl.../flashfile.swf

To be able to show you here what it was doing, I had to post it on a php tag, so vbull wont parse it and show to you what the result was.(*)

Quote:

Originally Posted by Crist
Ciao = Goodbye?
the only Italian word that I know.

Ciao is a very common italian word used in different occasion during talks between ppl (normally with friends and confidents, always in 2nd person singular)
it means both
1) ciao when u meet a person or when u start a phone call and is something like Hi, hallo
2) ciao when u leave a person or b4 hunging a phone call and in that case means bye

ciao ;)


(*) that also is 4 me very strange because if then I post here that "strange" triple url, vbull will parse it on a regular one even on code tag.
To show you that, I discovered that the only way was using php tag to paste here that "strange" issue, een now if i edit that post on edit pane will show up the regular one but you see all that confused url...
...that is matrixxxx -->red pill :D


again ciao

Aerith_Freak 02-18-2006 04:28 PM

Just a couple of suggestions.

1) Support for the Google Video .gvp extension and Google Player
2) Along with the restrictions, possibly make media entries show up as hyperlinks that when clicked on will open in a pop-up window where the media can be viewed - thus stopping people from raping page loading times with massively huge files etc or cluttering thread pages up with millions of files.

chairman miaow 02-18-2006 09:29 PM

I like the sound of those suggestions too !

OrangeFlea 02-19-2006 08:41 PM

Great hack.

1). Are there plans to support the .wav format? Many soundclips on the web are in this format, so I'd really to see it included.


2.) When posting media files, is there a way to have AnyMedia centered on the page by default?


3.) Is there a way to modify the code so that, instead of a default width/height, the tool would pick the ideal dimensions for the media file in question?
For example, when you embed different media with HTML, you cant use a default height and width because it won't look right from one format to the next (i.e. .wmv to .mov.). I discovered the best way to embed was to simply leave the height and width out and not specify, so the media would auto-size itself to the best fit.

Right now, I'm having trouble with the default setting when posting .mov files. Wmv. works great, but the default cuts off parts of some .mov files.


All times are GMT. The time now is 10:58 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
  • Page Generation 0.02420 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete