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)

ang2el 05-21-2006 03:10 PM

I updated class_anymedia.php, re-install the product .xml and used this code

[media="300,100,0,false"]url[/media]

[media="300,100,0"]url[/media]

still not working. Crist, please do something.

redlabour 05-21-2006 03:18 PM

Quote:

Originally Posted by ang2el
I updated class_anymedia.php, re-install the product .xml and used this code

[media="300,100,0,false"]url[/media]

[media="300,100,0"]url[/media]

still not working. Crist, please do something.

Please read some postings ago before you post.

Thats the same :

https://vborg.vbsupport.ru/showpost....&postcount=677

and that is the Reason :

https://vborg.vbsupport.ru/showpost....&postcount=679

ang2el 05-21-2006 03:33 PM

I went through that I posted this as
Quote:

Originally Posted by Crist
I added a new option named "loop",
it must defined before the "autostart" option,
such as:

[media="220,100,1,false"] [/media]

You could read the "Hot to use" in the install guide again to detail it.

Anyway lets wait for Crist :)

redlabour 05-21-2006 03:35 PM

Quote:

Originally Posted by ang2el
I went through that I posted this as

Anyway lets wait for Crist :)

Anyway if you read that why did you not read the rest of the Postings ? :cool:

Anyway - this can happen. But now lets wait for a Bugfix and a correct PlugIn *.xml.

Crist 05-21-2006 03:49 PM

Quote:

Originally Posted by deta
Hello!

That "http://www.myvideo.de/watch/10620" is not shown after CLICK,
it loads themselves to death...

cu Deta

They changed the video url,
I'll fixed it later.

Please notice my post :).

GrCh_Jeff 05-21-2006 03:50 PM

Quote:

Originally Posted by Crist
I'll write a module if I have some spare time

I'm trying to get this to output to either a custom page or a module.I will let you know if I have any sucess.

Crist 05-21-2006 03:59 PM

Quote:

Originally Posted by wolfyman
true true, the functions are definately above the average forum posters abilities, and even trying to exlain it will become a serious headache.

You know what would rock? A dropdown menu to check the options you want when posting media. :D

It's a goode idea,
I'll try to make it more convenient.

Crist 05-21-2006 04:18 PM

Quote:

Originally Posted by FleaBag
Hello Crist! Would just like to say I am eternally greatful for this hack! It has given a great new aspect to my site. I have a couple of suggestions for new features if you'd be at all interested!

Thanks for your supporting! :)

Quote:

Originally Posted by FleaBag
First of all, is there any way to include support for Photopost vBGallery? I currently use this hack here to play media files in-line. Due to the way my Gallery is set up, the download link [file location] for a media file hosted in the gallery takes the following format.
Code:

http://www.dragonninja.co.uk/gallery/misc.php?do=downloadfile&i=754
And will actually point to the file here...
Code:

http://www.dragonninja.co.uk/gallery/files/3/7/9/2/RepeatRep.mp3
Is there a way for your hack to interprit these URL's also? So I can use the [media] tag in the forums to play a file in my gallery?

You meant to auto-detect the file type?
if photopost is integrated with your vB,
we could try to write a add-on to query the type of this file,
and then use [media]http://www.dragonninja.co.uk/gallery/misc.php?do=downloadfile&i=754[/media] to play it.

and you could also play it manually, ex.
[media="0,0,0,0,mp3"]http://www.dragonninja.co.uk/gallery/misc.php?do=downloadfile&i=754[/media]

Quote:

Originally Posted by FleaBag
Secondly, would it be possible to have an icon shown on Forumdisplay, next to the 'sticky' icon for example, to show that a thread contains a file with [media] tags?

Thanks!

Emmm....
this could be rather complex,
and personnally i think it's now very useful.

:)

FleaBag 05-21-2006 04:21 PM

Yes it is Photopost vBGallery, previously vBadvanced Gallery - you can see it in action here... http://www.dragonninja.co.uk/gallery...mages.php?c=13

I think simply having it work out what the extension would work. As it's just going to be a regular filetype as supported already, only at the moment if you enter the above mentioned URL it says the filetype is not supported.

rinkrat 05-21-2006 05:20 PM

This newest version isn't playing youtube.com videos for me.

FleaBag 05-21-2006 05:21 PM

It does for me, the version before didn't.

Crist 05-21-2006 06:37 PM

Quote:

Originally Posted by redlabour
And maybe i am to stupid - this dont work in anyway. Every *.wmv Video is playing in Autostart.

Example :


[media=false]http://web1.spawnie03.com/filebase/upsala/armishparadise.wmv[/media]

[media=1,false]http://web1.spawnie03.com/filebase/upsala/armishparadise.wmv[/media]

[media="220,100,1,false"]http://web1.spawnie03.com/filebase/upsala/armishparadise.wmv[/media]

etc.

The only thing that works is the Height and Width - but the Autostart allways runs.

BTW - if i say "NO" in the AdminCP i mean "NO".

If there are other Functions i think they have only to work if i say the Missing Point in AdminCP "Choosen by User".

It is impossible to say to every User that he can only post Quicktime and AVI without Autostart or has to use a large Number of Extraoptions. BTW - why does QT and AVI look for what i am saying in AdminCP and not WM ?

Now i will and have to deactivate all Microsoft-Extensions till this Handicap/Bug is fixed.

Update / Another Bug :

Every Extensiontype that is uncheck is checked again after saving the Options in AdminCP. :surprised:

I've fixed these bugs already,
it seems that you did not upgrade successfully.

It is strongly recommended that you follow these steps:

1. Upload to overwrite all the files in the 'upload' dir.
2. Import the xml file in your language (such as German.xml) , and with the "Overwrite" option on.
3. Rebuild the usergroup permission cache. (Go to admincp -> Benutzergruppen verwalten -> Benutzergruppe w?hlen -> AnyMedia BBCode Berechtigungen). Submit the form even without any change, the action will rebuild the cache.
4. Rebuild the anymedia setting cache. (vBulletin Optionen -> AnyMedia BBCode Einstellungen)
5. Done.

If you still get the issues above, let me know.

Crist 05-21-2006 06:42 PM

Quote:

Originally Posted by redlabour
Your Package from 3.5.1 is missing the normal Plugin *.xml - there are only the Translations *.xml?s in it.

I thought i have made the update with the german.xml and now i see that there is still "AnyMedia BBCode 3.0.0" in the PlugIn Manager.

And BTW - i think the Autoplay Function has to be killed completely. There are allways Users that do not have all needed Codecs or have a small Bandwith. But this is only what i mean.

I do not miss any xml file,
the xml in your language is the product xml file,
you could choose one of them to import.

Crist 05-21-2006 06:53 PM

Videos from MyVideo.de are supported agian.
I change the way to fetch video urls as they changed them.

To update the function,
you should upload and overwrite the 'includes/class_anymedia.php' file in the 'upload' dir.

redlabour 05-21-2006 07:02 PM

Quote:

Originally Posted by Crist
I've fixed these bugs already,
it seems that you did not upgrade successfully.

It is strongly recommended that you follow these steps:

1. Upload to overwrite all the files in the 'upload' dir.
2. Import the xml file in your language (such as German.xml) , and with the "Overwrite" option on.
3. Rebuild the usergroup permission cache. (Go to admincp -> Benutzergruppen verwalten -> Benutzergruppe w?hlen -> AnyMedia BBCode Berechtigungen). Submit the form even without any change, the action will rebuild the cache.
4. Rebuild the anymedia setting cache. (vBulletin Optionen -> AnyMedia BBCode Einstellungen)
5. Done.

If you still get the issues above, let me know.

1. There is still 3.0.0 standing in Versionhistory.

2. The Mediaextensions can not be unselected after saving they are still selected.

3. Everything is the same - everything is going to Autoplay.

Maybe a Error in the German.xml ?

coffee 05-21-2006 07:57 PM

I wonder if [ media ] tag can be disabled within [ quote ] tags, Better explained here:

https://vborg.vbsupport.ru/showthread.php?t=77173 (3.0.7)

rareclownfish 05-21-2006 09:29 PM

Quote:

Originally Posted by Crist
see Frequently Asked Questions

refreshing doesn't work.

redlabour 05-21-2006 10:26 PM

Is for anybody Version 3.0.1 shown in the AdminCP ?

I deinstalled it now and installed the German.xml again. Same Errors and only 3.0.0 !

Crist 05-21-2006 10:47 PM

Quote:

Originally Posted by redlabour
1. There is still 3.0.0 standing in Versionhistory.

2. The Mediaextensions can not be unselected after saving they are still selected.

3. Everything is the same - everything is going to Autoplay.

Maybe a Error in the German.xml ?


okay,
Contact me sometime,
I'll check it for you.

coffee 05-21-2006 10:59 PM

Quote:

Originally Posted by redlabour
Is for anybody Version 3.0.1 shown in the AdminCP ?

I deinstalled it now and installed the German.xml again. Same Errors and only 3.0.0 !

I installed Arabic.xml (العربية) and It shows as 3.0.1 here.

redlabour 05-21-2006 11:02 PM

Quote:

Originally Posted by Crist
okay,
Contact me sometime,
I'll check it for you.

You have PM ! ;)

Crist 05-21-2006 11:08 PM

Quote:

Originally Posted by rareclownfish
refreshing doesn't work.

If it's shown a White screen,
It's a bug of the flvplayer,
you should refresh to show it until I find a perfect one.

:)

Crist 05-21-2006 11:20 PM

Quote:

Originally Posted by redlabour
You have PM ! ;)

I installed the latest version for you,
what you should do is to overwrite all the files in 'upload' dir.

rareclownfish 05-22-2006 12:42 AM

Quote:

Originally Posted by Crist
If it's shown a White screen,
It's a bug of the flvplayer,
you should refresh to show it until I find a perfect one.

:)

I went ahead and re installed it. But still a white screen.
What should I do now?

FleaBag 05-22-2006 01:27 AM

Crist I am trying to get the [media] tag to work in another vB script, inside a subfolder of the forum folder. I am using the following code.

Code:

//anymedia on browseimages

$inlinemedia = "[media]http://www.dragonninja.co.uk/gallery/files/1/PetesSake-YouLeftEndOfStory.mp3[/media]";

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$inlinemedia = $parser->do_parse($inlinemedia, false, false, true, false, false, false);

if ($vbulletin->options['anymediaenable'] && ($vbulletin->userinfo['permissions']['anymediapermissions'] & $vbulletin->bf_ugp_anymediapermissions['canuse']) )
{
        $globaltemplates = array_merge($globaltemplates, array('anymedia'));
}

//anymedia on browseimages

When using the $inlinemedia variable on my page, it is showing the surrounding table, and the "download" link at the bottom - but the media player itself does not load. There are no error messages. I have tried putting a copy of the 'players' and 'clientscript' folder inside this subfolder, but it makes no difference. I cannot find anything in the plugins that relate to relative files - I cannot explain why it does not work. Hope you are able to help!

djwins 05-22-2006 01:27 AM

When I try running 3gp video, I get an error message above my forum header

Parse error: syntax error, unexpected T_STRING, expecting ']' in forums/includes/class_anymedia.php(297) : eval()'d code on line 1

The any media player displays a "Error: unsupported media type." error

3GP play support would be huge for those of us who use our cellphone video cameras as their primary video camera.

Is there anyway we can change the "click to play" text to say something about having to click twice to see google videos?

3dsoft 05-22-2006 06:14 AM

Version: 3.01
The Anymedia Usergroup permissions are missing in 3.01!
Can anyone confirm this.

gwhooooey 05-22-2006 10:11 AM

Can you get this working with myspace videos?

Dermo-MIO 05-22-2006 02:25 PM

cool i was wondering why mine stopped working this 1 is alot better good work

bada_bing 05-22-2006 03:41 PM

I just upgraded to the latest version but now im getting two icons for the anymedia. Look at the attachment

Crist 05-22-2006 04:32 PM

Quote:

Originally Posted by gwhooooey
Can you get this working with myspace videos?

I'm working with it,
will support it in the later versino.

Crist 05-22-2006 04:41 PM

Quote:

Originally Posted by bada_bing
I just upgraded to the latest version but now im getting two icons for the anymedia. Look at the attachment

Oh, you forgot to remove the old ones.

Edit editor_toolbar_on Template,

search for :
HTML Code:

<!-- AnyMedia BBCode By Crist Chsu Start -->
you'll find two,
remove the one without these ocdes.
HTML Code:

<if condition="$show['anymedia_bbcode']">

FleaBag 05-22-2006 06:30 PM

Crist I was thinking, to get this on a non vB page, would I need to use the contents of the plugin inside my call? Or would the script's call to functions_bbcode.php be enough?

Crist 05-22-2006 07:36 PM

Quote:

Originally Posted by FleaBag
Crist I was thinking, to get this on a non vB page, would I need to use the contents of the plugin inside my call? Or would the script's call to functions_bbcode.php be enough?

I'm running a flv download site,
it uses a class file as this hack.

read class_anymedia.php to get what you need.

3dsoft 05-22-2006 07:37 PM

I am not able to enable any "Supported extensions" in AnyMedia BBCode Options.

What's wrong?

redlabour 05-22-2006 08:01 PM

Quote:

Originally Posted by Crist
I installed the latest version for you,
what you should do is to overwrite all the files in 'upload' dir.

Same Errors - every unchecked Checkbox is checked after saving the preferences.

I have deleted the old Files before overwriting with the new ones.

Another Question - in the 3.0.1 Package the Googleplayer is missing - why ?

The only Thing that works now is that 3.0.1 is in the PlugInManager.

Are you sure that your Package is not defect ?

And as you can see i am not the only one - look at 3dsoft Posting before he has the same problem in the other way of order.

Crist please do something. All i want (and the most others here) is to completely deactivate the Autostart for all (!) Filetypes when we say this in the AdminCP and we want to deactivate some Types like ed2k etc. .

I love your work and this PlugIn normally but this Version 3.0.1 is a Version from hell ! ;) (Just kidding !)

And Crist i am not a Newb - i knew that i did not made any mistakes at his upgrade from 3.0.0 to 3.0.1 !

3dsoft 05-22-2006 08:33 PM

I downgraded back to 2.3.0
- removed all 3.0.1 files
- deinstalled anymedia 3.0.1

Now, the old 2.3.0 version won't work anymore. The permissions in usergroups won't shop up. I rebuild the bitfuilds manually with "admincp/index.php?do=buildbitfields" but I still can't see the permissions settings.

FleaBag 05-22-2006 08:49 PM

Here is the code I am using in my file - with the addition of the line you mentioned.

Code:

//anymedia on browseimages

require_once('./includes/class_anymedia.php');
$inlinemedia = "[media]http://www.dragonninja.co.uk/gallery/files/1/PetesSake-YouLeftEndOfStory.mp3[/media]";

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$inlinemedia = $parser->do_parse($inlinemedia, false, false, true, false, false, false);

if ($vbulletin->options['anymediaenable'] && ($vbulletin->userinfo['permissions']['anymediapermissions'] & $vbulletin->bf_ugp_anymediapermissions['canuse']) )
{
        $globaltemplates = array_merge($globaltemplates, array('anymedia'));
}

//anymedia on browseimages

A screenshot is attached of the result of calling $inlinemedia. I hope you do not mind me asking here, if you do not have the time please say so and I won't pester you any longer! I'm very new to this, as you may have noticed.

redlabour 05-22-2006 08:55 PM

Quote:

Originally Posted by 3dsoft
I downgraded back to 2.3.0
- removed all 3.0.1 files
- deinstalled anymedia 3.0.1

Now, the old 2.3.0 version won't work anymore. The permissions in usergroups won't shop up. I rebuild the bitfuilds manually with "admincp/index.php?do=buildbitfields" but I still can't see the permissions settings.

Wait for Crist !

rareclownfish 05-22-2006 10:09 PM

Any fix for me?


All times are GMT. The time now is 04:43 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
  • Page Generation 0.03163 seconds
  • Memory Usage 1,856KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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