PDA

View Full Version : New Posting Features - VB AnyMedia Player / Media Sites (youtube, google and many more)


Pages : 1 2 3 [4] 5 6 7

kollam003
09-04-2007, 12:09 PM
Hello i have installed your any media for this to work on my forums but it also does nor help could you please help me with this i want to play this video channel live on my forums VB 3.6.8 http://www.moneycontrol.com/cnbctv18/live_video_audio/live_videohigh.php hoping to hear from you soon with a solution .

Thanks

Kollam003

RedGTiVR6
09-04-2007, 03:10 PM
I'm having an issue with .swf files attached to a post.

It will play fine and everything, but I get a blank box for the image. Is this by design?

nix
09-04-2007, 07:31 PM
Hello i have installed your any media for this to work on my forums but it also does nor help could you please help me with this i want to play this video channel live on my forums VB 3.6.8 http://www.moneycontrol.com/cnbctv18/live_video_audio/live_videohigh.php hoping to hear from you soon with a solution .

Thanks

Kollam003Do they have an embed code?

I'm having an issue with .swf files attached to a post.

It will play fine and everything, but I get a blank box for the image. Is this by design?

Nope. I'll fix it. Thanks for bringing it to my attention.

bigjoe7
09-04-2007, 08:53 PM
can you provide instructions in how to setup on vbadvanced.....cheers

nix
09-04-2007, 09:51 PM
for vb advanced you'll probably just need to include the css and js files.

kollam003
09-05-2007, 12:53 AM
<td>
<embed width="430" height="359" src="mms://a1873.l2639649579.c26396.g.lm.akamaistream.net/D/1873/26396/v0001/reflector:49579" bufferingtime="5" autostart="1" animationatstart="1" showtracker="1" showstatusbar="1" showpositioncontrols="0" showgotobar="0" showdisplay="0" showaudiocontrols="1" showcontrols="1" pluginspage="http://www.microsoft.com/netshow/download/player.htm" type="video/x-ms-asf-plugin"/>
</td>

This is the embeded code of it ?

Thanks

Kollam003

rchelifan
09-05-2007, 01:45 AM
It seems like the new version does not work when you post the video via the Quick Reply text box. After I went to edit and then advanced and saved it, it works???

rchelifan
09-05-2007, 01:51 AM
What link did you use?

Here is the myspace link. It used to work with prior version. Should it be a different link?

http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=10201525

ang2el
09-05-2007, 01:56 AM
Thanks I installed it but its not working

a click here to listen and clos link appears and below is
1You need to upgrade your Flash Player1

what does that mean?

I had to unistall as it brought many issues with my existing media files

nix
09-05-2007, 02:42 AM
its means you need to refresh the page. What problems? It shouldnt.

rchelifan
09-05-2007, 02:53 AM
Also my forum members just reported and I verfified that it is not working the Preview as well. It is nice mod and I don't want to downgrade it back to prior version so I hope that bugs can be removed.

nix
09-05-2007, 03:05 AM
That think works fine.

I've said it doesn't work in the quick reply and preview right now. All you have to do is refresh the page.

rammbs
09-05-2007, 05:42 AM
installed with out any problem on 3.6.8! Thanks for sharing!!! :up:

racechick20
09-05-2007, 07:36 AM
*installed* with thanks! :D

princeedward
09-05-2007, 08:22 AM
...but not yet stable...sometimes it has error...i don't know why this happen...sometimes it works but as i said...sometimes it create error, especially no preview and quick reply... anyway thanks a lot for the hardwork...also for adding ESPN...

you might add also next the http://www.teachertube.com there's a lot of interesting video also there...

keep it up!:up:

nix
09-05-2007, 08:33 AM
I would say its stable. Its not going to mess up your forums. But a few sites need tweaking. The no preview and quick reply I've tried to tell people so they don't freak out. I'll look for away to get it in there.

racechick20
09-05-2007, 09:06 AM
Hey.

I have followed all installation instructions very carefully, have ensured that the 'Enable video sites globally' is set to yes and all individual video settings are set as I want them. I am getting an 'Unsupported file type' error when pasting and tagging YouTube and Google videos. These are the only two I have tried. Have I goofed up somewhere? :confused:

nix
09-05-2007, 10:58 AM
post a link that wont work.

racechick20
09-05-2007, 11:42 AM
post a link that wont work.

http://youtube.com/watch?v=rAg5kTLeMh4

Thanks for checking.

GrendelKhan{TSU
09-05-2007, 01:16 PM
updated and working great! (for what I have tested so far)

vb3.6.8

GREAT JOB!! :D :D

GrendelKhan{TSU
09-05-2007, 01:49 PM
yikes!! VB ERROR!!



Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE post SET anymedia_yes=1 WHERE postid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Wednesday, September 5th 2007 @ 10:48:32 AM
Script : http://www. ---------- .com/forums/editpost.php?do=updatepost&p=63350
Referrer : http://www. ------- .com/forums/editpost.php?do=editpost&postid=63350
IP Address : XXXXXXXX
Username : GrendelKhan{TSU}
Classname : vb_database

GrendelKhan{TSU
09-05-2007, 01:59 PM
btw... yah... major problems after try to EDIT a post with a media tag.

both in quick edit (post would DISAPPEAR then edits wouldn't "take") and advanced edit (got that db error :()

GrendelKhan{TSU
09-05-2007, 02:53 PM
hmmm... browsers really don't like playing uploaded media file (like wmv file).

- does weird thing, plays, then freezes/crashes FireFox.
- IE7: doesn't play, close the player (close button only appears on mouseover), then crashes page if try to play again.

AGain, videos work for flashsite permalinks as long as you don't try to edit the post. and don't seem to work and crashes browsers for uploaded wmv files.

demo: http://www.unrealaddicts.com/forums/multimedia/183-funny-videos.html

schlottkej
09-05-2007, 02:58 PM
How can blip.tv be added to this list of active files?

kollam003
09-05-2007, 04:06 PM
<td>
<embed width="430" height="359" src="mms://a1873.l2639649579.c26396.g.lm.akamaistream.net/D/1873/26396/v0001/reflector:49579" bufferingtime="5" autostart="1" animationatstart="1" showtracker="1" showstatusbar="1" showpositioncontrols="0" showgotobar="0" showdisplay="0" showaudiocontrols="1" showcontrols="1" pluginspage="http://www.microsoft.com/netshow/download/player.htm" type="video/x-ms-asf-plugin"/>
</td>

This is the embeded code of it ?

Thanks

Kollam003

I have uninstalled it my requirement does not work and even a youtube link is showing a database error for me ...

thanks

Kollam003

GrendelKhan{TSU
09-05-2007, 04:45 PM
BUG:
using the [ noparse ] bbcode with the [ media ] tag causes a db error.


INCOMPATIBILITY:
[ media ] causes db error when post a new wiki article using nuWiki (http://www.nuhit.com/nuwiki/features.html)

demo:
Unreal Tournament WIKI (http://www.unrealaddicts.com/forums/unreal-tournament-wiki/13879-unreal-tournament-wiki.html)
UA's wiki for Unreal Tournament

GrendelKhan{TSU
09-05-2007, 04:49 PM
I have uninstalled it my requirement does not work and even a youtube link is showing a database error for me ...

thanks

Kollam003


that's not the code you are supposed to use. you are supposed to use the PERMANENT LINK URL.

NOT the embed code.

racechick20
09-05-2007, 07:20 PM
http://youtube.com/watch?v=rAg5kTLeMh4

Thanks for checking.
Hey, Nix.

I have also tried this with a .flv file we have on another of our servers which works perfectly on the old AnyMedia running on 3.5.4 but all I get is a blank post on 3.6.8. :confused:

nix
09-05-2007, 07:54 PM
btw... yah... major problems after try to EDIT a post with a media tag.

both in quick edit (post would DISAPPEAR then edits wouldn't "take") and advanced edit (got that db error :()edit post shouldn't effect it. I wonder if its because of vbseo.

hmmm... browsers really don't like playing uploaded media file (like wmv file).

- does weird thing, plays, then freezes/crashes FireFox.
- IE7: doesn't play, close the player (close button only appears on mouseover), then crashes page if try to play again.

AGain, videos work for flashsite permalinks as long as you don't try to edit the post. and don't seem to work and crashes browsers for uploaded wmv files.

demo: http://www.unrealaddicts.com/forums/multimedia/183-funny-videos.htmlThats weird. Plays fine in firefox on mac. I'll look into it.

I have uninstalled it my requirement does not work and even a youtube link is showing a database error for me ...

thanks

Kollam003
Hum. you don't use the embed code.

nix
09-06-2007, 01:05 AM
Fixed the wmv files. Any others?

Khalid-B
09-06-2007, 08:11 AM
1- is any way to add mms video links with this mod ??
2- some stage 6 videos are not work with this mod and some works , as here is an example .
www[dot]stage6.divx.com/user/sn2k7/video/1604933/part@gina/'s

this video not work with this mod , can u check please??

admolot
09-06-2007, 01:08 PM
Works great so far, great mod, thanks, clicked installed

nix
09-06-2007, 02:40 PM
1- is any way to add mms video links with this mod ??
2- some stage 6 videos are not work with this mod and some works , as here is an example .
www[dot]stage6.divx.com/user/sn2k7/video/1604933/part@gina/'s

this video not work with this mod , can u check please??

I can't even get to stage6 with the www in the address. Only http://stage6.com. Also that video doesn't seem to exist. It says that user doesn't have any videos.

Chadi
09-06-2007, 09:00 PM
I'm guessing this does not play mp3?

I tried this from sermonindex.net

http://64.34.176.235/sermons/SID13928.mp3

It told me this:

" Error: unsupported media type."

flash mp3 player is enabled in my anymedia options too

nix
09-06-2007, 09:37 PM
That link worked for me. Check your settings one more time to make sure you didn't over look anything.

Chadi
09-06-2007, 09:49 PM
Maybe its vbseo? I certainly have all enabled.

Chadi
09-06-2007, 09:53 PM
PS: it would be truly awesome if you can also have power point presentation format allowed! Just thought of this :)

Chadi
09-07-2007, 08:37 PM
Ok, I realize when posting its best to hard refresh the page before trying to click the link ( most of the time).

Anyway, streaming windows audio (wax format) shows the player, but it assumes it a video so it shows it as video player instead of the mini audio player. Can you fix this please?

Thanks.

nix
09-07-2007, 08:58 PM
You shouldn't have to hard refresh the page unless you use quick reply. But I'm going to fix that for the next release.

The mini player only works for mp3. Flash players can't play windows media.

iogames
09-07-2007, 09:36 PM
Wow! what a thread what a hack, why don't you branch off in a product?
still waiting for final version :P

nix
09-07-2007, 09:46 PM
branch off in product?

princeedward
09-08-2007, 01:51 PM
:eek: what this??? or is it normal...that all link i submit to any post...the media tag overtake it...how can we avoid this???...

what i mean...even if i attach normal link it will use the media tag...??? and also the image will automatic thumbnail size...???

can we avoid all of this or is there any solution for this...

thanks and best regards...

:confused:

Wolf_Hook
09-08-2007, 07:22 PM
I am pretty sure that this question has been asked before but I would like to ask myself for piece of mind.

My forum is quite reliant on members posting videos that are hosted on our own server or others, they are encoded into flv format and posted with media tags around them

Here is an example.

http://www.madamejapan.com/WEMANIACS/league/season4/matchday18/gdvhhhl.flv

Is there something that I am not doing correctly or a setting somewhere I haven't turned on?

I have recently just imported an old VB forum into the latest release and installed this hack. I have to say that the implementation of Highslide AJAX is quite impressive.

Tralala
09-08-2007, 07:34 PM
https://vborg.vbsupport.ru/external/2007/09/40.jpg

I preferred the old "single, frozen video frame" of AnyMedia 3.0.x.

In the absence of that, how about a way to customize the default image?

nix
09-08-2007, 10:15 PM
:eek: what this??? or is it normal...that all link i submit to any post...the media tag overtake it...how can we avoid this???...

what i mean...even if i attach normal link it will use the media tag...??? and also the image will automatic thumbnail size...???

can we avoid all of this or is there any solution for this...

thanks and best regards...

:confused:Do you mean media links? or just regular urls?

I am pretty sure that this question has been asked before but I would like to ask myself for piece of mind.

My forum is quite reliant on members posting videos that are hosted on our own server or others, they are encoded into flv format and posted with media tags around them

Here is an example.

http://www.madamejapan.com/WEMANIACS/league/season4/matchday18/gdvhhhl.flv

Is there something that I am not doing correctly or a setting somewhere I haven't turned on?

I have recently just imported an old VB forum into the latest release and installed this hack. I have to say that the implementation of Highslide AJAX is quite impressive.
What happens when you post that link on your forum?


https://vborg.vbsupport.ru/external/2007/09/40.jpg

I preferred the old "single, frozen video frame" of AnyMedia 3.0.x.

In the absence of that, how about a way to customize the default image?
I'm going to add the old style back so you'll have a choice. If you want to change the image just upload a new one and overright it.


Also I've fixed the quick-reply and preview post. I really appreciate everyone being patient to get this were it needs to be.

JayT123
09-08-2007, 10:49 PM
Isn't there supposed to be the players image? All I am getting is a link. If not, is there a way to add the image instead of the link?

nix
09-08-2007, 11:23 PM
Yea its just a template. I have the image in the next version that will be out. If you don't want to wait just edit the anymedia template for mp3's.

Basboss
09-09-2007, 08:42 AM
Thanks for sharing :)

I have tried posing a link with real media file, I have tried .ram, .ra, and .rm but none works!
After sumbitting the post I get nothing.

Thanks again

princeedward
09-09-2007, 09:06 AM
:eek: what this??? or is it normal...that all link i submit to any post...the media tag overtake it...how can we avoid this???...

what i mean...even if i attach normal link it will use the media tag...??? and also the image will automatic thumbnail size...???

can we avoid all of this or is there any solution for this...

thanks and best regards...

:confused:what i mean here bro nix is if i post or include all kinds of url's link...even if its not came from video sites...just a normal... like http://www.vbulletin.org or image url link
when i press the preview post button... the media tags overtake it...it will become...

http://www.vbulletin.org

and also if i post image now, it all becomes thumbnail size...or sometimes...they are inside the media player...:p
i guess i don't like this idea or the styles, or is there any possible solution for all of this not to happen...sorry for that bro...just my 2 cents...

so at the moment i just put back or install the old version..

:(

Wolf_Hook
09-09-2007, 12:03 PM
Hi Nix, thanks for your reply.

I have included a screenshot of what happens when I post that supplied link.

It just doesn't like it.

hnjco
09-09-2007, 12:19 PM
I installed the latest version but don't like the small thumbnail and link so any one knows how can i go to old version?

In old version users stay on your site but in this one some user clicks on link then thumbnail and left the site.

JayT123
09-09-2007, 06:07 PM
Yea its just a template. I have the image in the next version that will be out. If you don't want to wait just edit the anymedia template for mp3's.

I edited the template but the original player image is too big. I tried to shrink it but the template won't read the width code. I even made a smaller one and it stretches it to the original 130px width. A 40 x 31 would be perfect.

Any ideas?

nix
09-09-2007, 07:49 PM
Thanks for sharing :)

I have tried posing a link with real media file, I have tried .ram, .ra, and .rm but none works!
After sumbitting the post I get nothing.

Thanks again
Cause I'm a bone head and forgot to add real media back in :(

what i mean here bro nix is if i post or include all kinds of url's link...even if its not came from video sites...just a normal... like http://www.vbulletin.org or image url link
when i press the preview post button... the media tags overtake it...it will become...

http://www.vbulletin.org

and also if i post image now, it all becomes thumbnail size...or sometimes...they are inside the media player...:p
i guess i don't like this idea or the styles, or is there any possible solution for all of this not to happen...sorry for that bro...just my 2 cents...

so at the moment i just put back or install the old version..

:(Do you have another hack installed? Anymedia won't do that.

Hi Nix, thanks for your reply.

I have included a screenshot of what happens when I post that supplied link.

It just doesn't like it.Yea I'll look into it. Thanks for the pic. What version of vb do you have?

I installed the latest version but don't like the small thumbnail and link so any one knows how can i go to old version?

In old version users stay on your site but in this one some user clicks on link then thumbnail and left the site.If they have js disabled it will do that. I'll have a backup for users with js disabled in a new version.

I edited the template but the original player image is too big. I tried to shrink it but the template won't read the width code. I even made a smaller one and it stretches it to the original 130px width. A 40 x 31 would be perfect.

Any ideas?
You can change it in the anymedia.css.

Dreykan
09-09-2007, 09:05 PM
Nix

First of all I have to congratulate you and thank you for keeping up with your code and answering pretty much every post with real patience. It is very commendable and rare.

I have downloaded and installed the mod, and have read every post but still cannot get it to work properly. Can you help please?

First, when I provide a link I get double tags.
Example;

http://www.youtube.com/watch?v=0PwkgjGjaHc

I have to edit my post and remove the excess tags, and after that, I get unsupported media.

I have set all file types as No in vBOptions and still the same problem.

I assume I am doing something wrong, but cannot figure out what.

Suggestions?

nix
09-09-2007, 09:22 PM
You can pm me details to your forum and I'll take a look.

nix
09-10-2007, 01:07 AM
I just tried it on your forum and it seems to be working fine. All I did was post a youtube link and hit reply. I didn't sue the M button. Thats only needed if you want to use custom options.

Dreykan
09-10-2007, 01:15 AM
I just tried it on your forum and it seems to be working fine. All I did was post a youtube link and hit reply. I didn't sue the M button. Thats only needed if you want to use custom options.

I just did the same thing, post a youtube link and hit reply. It didn't work.

nix
09-10-2007, 01:40 AM
are you using the quick reply?

Dreykan
09-10-2007, 01:41 AM
are you using the quick reply?


Nope, just regular Post Reply.

nix
09-10-2007, 01:43 AM
every thing seems to be working.

Dreykan
09-10-2007, 01:45 AM
every thing seems to be working.

I really don't understand.

Can you tell me exactly how you make it work, because on my end it just doesn't.

I cut and paste a link and just hit Post Reply...doesn't work.

I cut and paste a link and wrap it with the Blue "M" and I get an error.

nix
09-10-2007, 01:54 AM
try a link that you haven't used yet.

Dreykan
09-10-2007, 01:57 AM
All I get is a link.

nix
09-10-2007, 02:01 AM
its something to do with your post. You're adding color and size to the url. So it wont convert.

Dreykan
09-10-2007, 02:03 AM
its something to do with your post. You're adding color and size to the url. So it wont convert.

That makes sense, since it works for you and not me. Any idea how to fix that because I am not adding anything, manually anyway.

nix
09-10-2007, 02:05 AM
its either a setting you have or a hack. I've tried both the standard editor and the wsyg one and they both work. Switch to the standard one and see if any extra text is being added.

Dreykan
09-10-2007, 02:08 AM
its either a setting you have or a hack. I've tried both the standard editor and the wsyg one and they both work. Switch to the standard one and see if any extra text is being added.

I changed from Enhanced WYSIWYG to Standard and it now works.

Isn't that a bit odd? Could it be a conflict?

nix
09-10-2007, 02:09 AM
no. it works in both. There has to be something you have installed or set that is messing with your post. I tried both on your forum and it works fine.

Dreykan
09-10-2007, 02:11 AM
no. it works in both. There has to be something you have installed or set that is messing with your post. I tried both on your forum and it works fine.

I don't know what to say then. It must be a personal setting if it works for you and not me. I don't get it.

nix
09-10-2007, 02:14 AM
I agree it's weird. I've looked through forum and I don't see anything. But it does work with both editors. What browser you using?

Dreykan
09-10-2007, 02:16 AM
I agree it's weird. I've looked through forum and I don't see anything. But it does work with both editors. What browser you using?

Internet Explorer 6 with SP2.

I just upgraded to vBulletin 3.6.8, would that make a difference?

I also asked other members to make a post, see if it entirely my problem.

nix
09-10-2007, 02:19 AM
It could. Did you fix all the templates?

Dreykan
09-10-2007, 02:21 AM
It could. Did you fix all the templates?

Yes, I did. I upgraded to 3.6.8 and then edited the templates in your instructions.

Should I double check? It's possible I missed something.

Dreykan
09-10-2007, 02:34 AM
Yes, I did. I upgraded to 3.6.8 and then edited the templates in your instructions.

Should I double check? It's possible I missed something.

Well I check and it all appears to be correct.

:confused:

Krumbz
09-10-2007, 02:48 PM
hey nix im having the same problem i can't seem to get it working. i dont see anything in the editor as well. i uploaded media.gif to my images folder as well as my skins images/editor folder.

im going to PM you with my information.. maybe you can check it out.

El Burro
09-10-2007, 03:35 PM
Hi Nix,

I'm getting a database error when I preview a post.

Invalid SQL:
UPDATE post SET anymedia_yes=1 WHERE postid=;

I saw the same error in a previous post so I followed your advice given then and uninstalled then reinstalled

I'm still getting the errors :(

Tralala
09-10-2007, 04:11 PM
I installed the latest version but don't like the small thumbnail and link so any one knows how can i go to old version?


Hmm. Yeah, I'm kinda torn on it too. There was something to be said about the simplicity of the simple embedded video window in AnyMedia 3.0.x.

But I like the bug fixes and new compatibility (like QT and movie trailers) in 3.1b.

I can see how folks would like the new way, but also some other folks preferring the original.

It might be nice to make this display (window vs. highslidable thumbnail) a configurable option (either via global admin setting, or per user in the UserCP.)

strotter
09-10-2007, 05:59 PM
I installed everything and I am getting the dreaded "Error: unsupported media type." error. Please Help!

Here is a link to my config: http://www.gofastnews.com/lt/media.pdf

Here is the link I am trying:
http://video.google.com/videoplay?docid=319213537896530774&q=power+boat+racing&total=549&start=0&num=10&so=0&type=search&plindex=2

Here is the link to my thread:
http://www.gofastnews.com/board/boat-racing/146-awesome-power-boat-video-apba.html

Thank you in advance.

Sean

nix
09-10-2007, 07:55 PM
hey nix im having the same problem i can't seem to get it working. i dont see anything in the editor as well. i uploaded media.gif to my images folder as well as my skins images/editor folder.

im going to PM you with my information.. maybe you can check it out.
Just looked at your site and seems to be working fine.
Hi Nix,

I'm getting a database error when I preview a post.

Invalid SQL:
UPDATE post SET anymedia_yes=1 WHERE postid=;

I saw the same error in a previous post so I followed your advice given then and uninstalled then reinstalled

I'm still getting the errors :(
I fixed this in the next version.
Hmm. Yeah, I'm kinda torn on it too. There was something to be said about the simplicity of the simple embedded video window in AnyMedia 3.0.x.

But I like the bug fixes and new compatibility (like QT and movie trailers) in 3.1b.

I can see how folks would like the new way, but also some other folks preferring the original.

It might be nice to make this display (window vs. highslidable thumbnail) a configurable option (either via global admin setting, or per user in the UserCP.)
I'm going to add an option. Would you rather it be a user or admin option?
I installed everything and I am getting the dreaded "Error: unsupported media type." error. Please Help!

Here is a link to my config: http://www.gofastnews.com/lt/media.pdf

Here is the link I am trying:
http://video.google.com/videoplay?docid=319213537896530774&q=power+boat+racing&total=549&start=0&num=10&so=0&type=search&plindex=2

Here is the link to my thread:
http://www.gofastnews.com/board/boat-racing/146-awesome-power-boat-video-apba.html

Thank you in advance.

Sean

I just tried that link on my test site and it worked fine.




Just to clear somethings up.

1. The template edits are only needed if you want to user attachments or options.

2. The database errors, quick reply and preview are fixed in the next version.

3. I'll make an option on how the media displays. Do you guys want it to be a user or admin setting?

4. Thanks for helping get rid of all the bugs!

Tralala
09-10-2007, 08:16 PM
3. I'll make an option on how the media displays. Do you guys want it to be a user or admin setting?

Ideally I think I'd like it to be a UserCP setting... with an Admin setting for what the "default" should be. Seems that would please everybody. :)

El Burro
09-10-2007, 09:11 PM
2. The database errors, quick reply and preview are fixed in the next version.


Any chance of PM'ing me the changes I need to make.

I don't like my users getting db errors.

Do you have an idea of when you are releasing the update?

Thanks for this Nix

cyclone-uk
09-10-2007, 09:33 PM
Installed and double checked and i'm getting this: Error: unsupported media type

What i'm using:
http://www.xbox-corner.com/video/nhl081.flv

Any ideas?

greggus
09-10-2007, 10:13 PM
Hi Nix,

I'm getting a database error when I preview a post.

Invalid SQL:
UPDATE post SET anymedia_yes=1 WHERE postid=;

I saw the same error in a previous post so I followed your advice given then and uninstalled then reinstalled

I'm still getting the errors :(

If i remembered correctly, just edit the inclides/class_anymedia.php
and search for :

$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET anymedia_yes=1 WHERE postid=$post[postid]");

replace it with :

$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET anymedia_yes=1 WHERE postid='" . $post[postid] ."'");

Hawaiian-TV
09-10-2007, 10:56 PM
AnyMedia 3.1 Beta zip file is corrupted

I just tried to download the zip file for the AnyMedia Player 3.12 Beta and WinRAR says the file is corrupted ("unexpected end of archive"). Please check and fix. Thanks :)

cyclone-uk
09-10-2007, 11:02 PM
AnyMedia 3.1 Beta zip file is corrupted

I just tried to download the zip file for the AnyMedia Player 3.12 Beta and WinRAR says the file is corrupted ("unexpected end of archive"). Please check and fix. Thanks :)

Just tryed it and its working fine Hawaiian, must be your end.

nix
09-10-2007, 11:02 PM
its fine. Its been downloaded almost 4,000 times.

NitroXploit
09-10-2007, 11:17 PM
Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE post SET anymedia_yes=1 WHERE postid=;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Tuesday, September 11th 2007 @ 02:11:56 AM
Script : http://domain/newthread.php?do=postthread&f=24
Referrer : http://domain/newthread.php?do=postthread&f=24
IP Address : ipaddress
Username : username
Classname : database

I'm getting this error when previewing a post with media.

The field is correctly set in the database. Could it be a syntax error?

nix
09-10-2007, 11:21 PM
Just to clear somethings up.

1. The template edits are only needed if you want to user attachments or options.

2. The database errors, quick reply and preview are fixed in the next version.

3. I'll make an option on how the media displays. Do you guys want it to be a user or admin setting?

4. Thanks for helping get rid of all the bugs!
:up:

El Burro
09-10-2007, 11:22 PM
Thanks Greggus & Nix

NitroXploit
09-10-2007, 11:31 PM
:up:

I'll give you that, you have patience, i should've read a few posts earlier.

Thanks

Ksb2050
09-10-2007, 11:58 PM
I can't get this to work for the life of me. I did all of waht the read me says, all videos options are set to on, but I can't get a video to display. why? How to fix???

nix
09-11-2007, 12:18 AM
did u set up usergroups?

cyclone-uk
09-11-2007, 12:20 AM
When will the next version be released?

nix
09-11-2007, 12:24 AM
today or tomorrow.

Ksb2050
09-11-2007, 12:44 AM
did u set up usergroups?

Yes I did. All the user groups have both options set to yes.

nix
09-11-2007, 01:15 AM
what link are you trying to get to work?

nix
09-11-2007, 02:09 AM
Updated

3.1 Beta3

Fixed Database errors
Fixed preview and quick reply (still have to refresh with Safari)
Added google.ca
Fixed MTV so it supports more videos
Added option for old style template (if you see any problems let me know)
Fixed FLV extensions (well they work on my test site :))


I left the last version up just incase this one has problems. Let me know how it works!

Ksb2050
09-11-2007, 02:42 AM
Let me just update the new version and get back to you nix on my status. =)

Edit - This new version is working good for me. Thanks nix!

Chadi
09-11-2007, 03:57 AM
Something is wrong. Just upgraded to 3.1.0.2 and now I get this error when attempting to view any thread that has embedded videos

Fatal error: Call to undefined function: krumo() in /home/user/public_html/includes/class_postbit.php(426) : eval()'d code on line 23

I upgraded by uploading/overwriting all files and uninstalling old plugin, uploading new.

nix
09-11-2007, 04:10 AM
download it again and import the product again. I just noticed that and fixed it already.

that krumo function is something i use for testing.

Artist67
09-11-2007, 05:08 AM
Please help! Have recently installed this mod on a new board we are building, I was assured by the installer that this mod as well as remotly attaching media files also attaches files direct from your local PC I can't for the life of me see any posts on here refering to that, the site needs members to be able upload local mp3 & wmv wma files from their machine, please tell me I am wrong about this & that the mod dose do this & if not wich one dose.
Cheers Guys.

nix
09-11-2007, 05:16 AM
Yes it does. You have to add the extension type to your attachment manager in vbulletin. Then set the options up for anymedia to convert attachments. It just uses vbulletin's attachments. Make sure you move the attachments from the database to files.

Artist67
09-11-2007, 05:25 AM
I would be greatful if you would go and have a look, i have added the relevent attachment types in in vb manager etc .wma .wmv .flv etc but it just dosnt do anything, i presume once attached you then just click the blue M but how on earth do you insert it? or do you highlight it in the attachment window then c & p it into the reply window between the media tags- im lost here. http://www.areyouanartist.com/forum
Appreciated- thanks.

nix
09-11-2007, 05:30 AM
Just upload them as attachments like you do normally.

Artist67
09-11-2007, 06:12 AM
Sorry to be a pain, but i cant find specific text: 'Then set the options up for anymedia to convert attachments' - or do you mean 'AnyMedia BBCode Enabledand or 'Supported extensions' as most settings are set to 'yes. What do you mean 'Make sure you move the attachments from the database to files' I have got another established vb board but never come across this befor, was recently sent this, if you can sus it out 'I believe there is a 2Mb limit set. If you have access to the php.ini file then you can edit it' its driving me nuts.
Cheers.

nix
09-11-2007, 06:43 AM
Auto-detect the Attachment Type - Set this to yes.

Use AnyMedia BBCode when upload an attachment - Set this to yes.

Then look on the left hand side of your admincp. You'll see attachments. Look for

Attachment Storage Type. Create a folder in your forum directory and put the path in there. Select move from database to file system.

Make sure you do the template edit.

Then you just make a normal post and attach the media like you normaly do with other attachments. You don't need to do anything with the M button.

Basboss
09-11-2007, 06:57 AM
Cause I'm a bone head and forgot to add real media back in :(


Guess real media is still missing from 3.1b3 :D

nix
09-11-2007, 06:58 AM
doh. I knew i was forgeting something. I'll put it out tomorrow.

testebr
09-11-2007, 08:15 AM
you are the man ;)

classic skin owns!

My last request is for you upgrade the default FLV player to latest version.

nix
09-11-2007, 08:21 AM
I upgraded it last time. Did another one come out? Don't know if you noticed but you can insert your own image for the player.

Ftu-forum
09-11-2007, 08:43 AM
Now it's so cool ... :x
works perfectly

eurofunny
09-11-2007, 09:02 AM
Hi,

thx for this great hack.
When i attach .mp3 at posts the Flashplayer don?t autostart. Is ther a solution??

Here a example http://www.my-checkpoint.de/neu-my-checkpoint-de-t1307.html?t=1307

Autostart is marked true attachmentid=152&autoStart=true&showDownload=false&repeatPlay=false

nix
09-11-2007, 09:15 AM
It would probably work if i added it back in :(

I'll see if i can get it back in quick.

Artist67
09-11-2007, 09:38 AM
Auto-detect the Attachment Type - Set this to yes.

Use AnyMedia BBCode when upload an attachment - Set this to yes.

Then look on the left hand side of your admincp. You'll see attachments. Look for

Attachment Storage Type. Create a folder in your forum directory and put the path in there. Select move from database to file system.

Make sure you do the template edit.

Then you just make a normal post and attach the media like you normaly do with other attachments. You don't need to do anything with the M button.

Right we are moving- i think? have had the server extend my php file size upload as it was capped at 2mb to 50mb wich i can now extend my self, I have no idea where to do the template edit, where might this be? and what do i need to change? and what shall I call the file path, I cant believe the person that installed this for me- want a job dooing- do it yer self lol, your help greatly appreciated.

Wolf_Hook
09-11-2007, 10:28 AM
Thank you Nix! It now works perfectly and my membership is extremely happy.

I love it when a hack is actually supported.

cyclone-uk
09-11-2007, 10:51 AM
Still not working for me, i get a slightly different error now - Error: unsupported media type.2

Artist67
09-11-2007, 10:54 AM
nix, i think i have found the template in plugins, what and where do i edit it?- much appreciated

cyclone-uk
09-11-2007, 10:54 AM
Manged to get it working ;-)

nix
09-11-2007, 11:22 AM
nix, i think i have found the template in plugins, what and where do i edit it?- much appreciated

download the install anymedia text file. If you can see the M button the guy who installed it for you probably already did it.

testebr
09-11-2007, 12:09 PM
nix,

In next release can you dont load all .js files (highslide.js etc..) if user selected classic skin?

nix
09-11-2007, 12:14 PM
well that would make sense huh. Will do.

Tralala
09-11-2007, 01:44 PM
Is there a way to preserve the 3.0.x behavior that requires the [media] tags to be used? My users don't like the autoparsing, and want links to stay as links. Only when they use the [media] tags do they want AnyMedia to kick in. Is that possible to do, by default?

nix
09-11-2007, 01:52 PM
go into the plugins and uncheck the newpost process plugin.

Tralala
09-11-2007, 02:42 PM
go into the plugins and uncheck the newpost process plugin.

Gotcha. Cool, and thanks for the quick response. Also thanks for such fantastic support of my favorite mod. You set a fine example and my hat's off to you!

For future users, in a future version may I suggest making this "autoparsing of links" an AdminCP setting, so they don't need to manually disable the process...

RedGTiVR6
09-11-2007, 03:39 PM
updated without any issues! thanks!

ragtek
09-11-2007, 05:37 PM
1. how can i change the phare click here to listen
2. my links are parsed false:
<a href="http://www.ragtek.org/forum/players/mp3player.swf?f=http://www.ragtek.org/14-Milkman_Mango_Chutney.mp3&amp;autoStart=false&amp;showDown load=false&amp;repeatPlay=false" onclick="return hs.htmlExpand(this, { swfObject: so981, contentId: 'highslide-html-981' } )" class="highslide"<br />Click here to listen</a>

nix
09-11-2007, 06:31 PM
Right now its just in the template. So just edit the text to what you want.

ragtek
09-11-2007, 06:35 PM
i've found it

but thx for the answer :)

ragtek
09-11-2007, 06:48 PM
can i make the background dark?

nix
09-11-2007, 06:50 PM
background of what?

All the style is controlled by the anymedia.css file.

ragtek
09-11-2007, 07:41 PM
if i click on a picture in my gallery the background is going black and i can'd do anything other
http://www.ragtek.org/gallery/

and whats going wrong by me:
when i click on close, the sound is still playing

nix
09-11-2007, 07:54 PM
Its working fine for me on safari. What problem are you having? Is that anymedia or another mod?

hnjco
09-11-2007, 08:02 PM
from 3.1b2 to 3.1b3 do i just have to upload just product or all files?

nix
09-11-2007, 08:25 PM
i would also upload the files. I updated some of the other files also.

Artist67
09-12-2007, 07:05 AM
Nix have had disaster with trying to alter the settings from database to file, keep getting error messages saying that the server dosnt have permission to write their, even thou i have altered the chmod to 777 & tried to turn safe_mode on. I recently tried to attach a file via data base opption and it just uploaded it as a link to down load not as a playable link as it dose do when you use the media, big blue M button with remote stuff, what am i dooing wrong? I did this btw with safe_mode off as it will not turn on.

thanks.

Artist67
09-12-2007, 11:28 AM
Right I managed to turn safe_mode on a simple fix by just creating a ini file and turning it on, wich resulted in the same error message of my server has not got the permissions, having since found out my server dose not support 777 chmod! What other way round this is their? do I have to have my attachments in a sub public_html file or can I not just use the database to store my files, mps flv wna local files?

testebr
09-12-2007, 11:40 AM
Nix,

I user mark the option "Show the download link?" to YES, you forget to add the link to movie website in video title of classic skin like in original version of anymedia by chinese boy Crist Chsu.

Can you fix it in next version? Thanks.

Mr.D
09-12-2007, 11:52 AM
any idea when will the final be out?

and why is there m image for some sites like break and not the image of the video?

How can we shot down the text that is next to an image?????

Acers
09-12-2007, 12:15 PM
Is the auto parsing of media working on someone's site running vbseo?
I am just getting the URl replaced by the title(i have the vbseo title fetch option on)
Tried plugin order change to make anymedia as the priority plugin. It hasn't helped.

nix
09-12-2007, 12:18 PM
Nix,

I user mark the option "Show the download link?" to YES, you forget to add the link to movie website in video title of classic skin like in original version of anymedia by chinese boy Crist Chsu.

Can you fix it in next version? Thanks.Yea

any idea when will the final be out?

and why is there m image for some sites like break and not the image of the video?

How can we shot down the text that is next to an image?????
The final is a long way away. Once I add all the features I want it to have.

Because some sites make it a pain in the arse to get the thumbnail of the video.

The text next to the image is the title of the video.

El Burro
09-12-2007, 12:30 PM
Hi Nix

I've tried reading through the thread so as not to bother you.
But ... sorry
:)

Can I get rid of the link next to the video that takes users to YouTube

I've tried options ' Show the download link?' but I still get the link.

I'd prefer it if people couldn't leave my forum so easily ...?

Thanks

nix
09-12-2007, 12:36 PM
The text is just the title of the video. Its the same link as the image. It doesn't take you off your site unless you have js disabled. It should pop up with the video. If you dont want that feature, uncheck use new style in options.

nix
09-12-2007, 01:00 PM
Is the auto parsing of media working on someone's site running vbseo?
I am just getting the URl replaced by the title(i have the vbseo title fetch option on)
Tried plugin order change to make anymedia as the priority plugin. It hasn't helped.

If you want to pm me details to your board I'll take a look at it. If would like to find out if there is a problem with VbSEO.

CasperCBT
09-12-2007, 01:09 PM
if i dont wrong, we has to create a media tag, but what i has to put on replacement ?

nix
09-12-2007, 01:15 PM
You don't have to you can just use the default media tag. You also don't need to use it. You can just paste the link and hit reply. I think that's what you're asking about.

CasperCBT
09-12-2007, 01:19 PM
ok, thanks, but now

Your Admin has disabled this video site.4 Your Admin has disabled this video site.4

CasperCBT
09-12-2007, 01:38 PM
can be posible porne tube dont work ?

http://www.cibertangas.es/pruebas/showthread.php?p=6#post6

vnairp11
09-12-2007, 02:45 PM
thanks awesome mod

forte
09-12-2007, 03:01 PM
The anymedia_header wont get added by the plugins to the headinclude. Its probably its because of the missing hook. I use 3.6.4.

parabat
09-12-2007, 03:23 PM
Hi Nix

Me again wanting to mention that wmv still doesn't work correctly. If fact it's worse :(
I upload a wmv file to my site and try and run it using the default with no other parameters. I have attached a scren dump. Also clicking the "M" icon show has this link and does not show the clip. "http://mysite.com/Forums/showthread.php?p=28924#" which as you can see only redirects you.
Maybe I'm doing something wrong. Any help would be great :D

Andyucs
09-12-2007, 03:25 PM
since i installed latest version

it looks like its causing problems with another hack i have installed

Intergrate Highslide Javascript for Attachments

now loading images and next etc can not be seen

like

fullexpand.gif

controlbar2.gif

etc

any ideas

Chachacha
09-12-2007, 07:31 PM
First I've heard of most of them except College Humor. Its already in 3.1.

I see you didn't bother adding the sites I requested. Thanks.

nix
09-12-2007, 09:48 PM
The anymedia_header wont get added by the plugins to the headinclude. Its probably its because of the missing hook. I use 3.6.4.
Just add the contents of the anymedia_header to your headinclude
can be posible porne tube dont work ?

http://www.cibertangas.es/pruebas/showthread.php?p=6#post6
No it doesn't right now. They changed some stuff. i'll get it going again.
Hi Nix

Me again wanting to mention that wmv still doesn't work correctly. If fact it's worse :(
I upload a wmv file to my site and try and run it using the default with no other parameters. I have attached a scren dump. Also clicking the "M" icon show has this link and does not show the clip. "http://mysite.com/Forums/showthread.php?p=28924#" which as you can see only redirects you.
Maybe I'm doing something wrong. Any help would be great :DYou can pm a link to your site and I'll take a look.

GrendelKhan{TSU
09-13-2007, 11:00 AM
woot! update fixed some of my bugs! :D :D haven't tested all of it yet...but so far so good :)

Andyucs
09-13-2007, 11:50 AM
Reverted back to anymedia 3.0.7

till my issue is addressed

GrendelKhan{TSU
09-13-2007, 12:14 PM
yikes spoke too soon...
got this fatal error when trying to upload an MP3 as an attachment to a post:

Fatal error: Call to undefined function: krumo() in /home/******/public_html/forums/includes/class_postbit.php(426) : eval()'d code on line 23

+_+

EDIT:
Even worse!! ALL threads with attachments (even old ones) get this error now. :(
(had to disable this until get fix +_+)

Disabling in vboptions didn't fix it. had to disable it from Manage Products. yikes!! please help
v3.1b3

nix
09-13-2007, 09:05 PM
since i installed latest version

it looks like its causing problems with another hack i have installed

Intergrate Highslide Javascript for Attachments

now loading images and next etc can not be seen

like

fullexpand.gif

controlbar2.gif

etc

any ideas
Remove the other hack or use the old style in anymedia Options.
yikes spoke too soon...
got this fatal error when trying to upload an MP3 as an attachment to a post:



+_+

EDIT:
Even worse!! ALL threads with attachments (even old ones) get this error now. :(
(had to disable this until get fix +_+)[/B]

Disabling in vboptions didn't fix it. had to disable it from Manage Products. yikes!! please help
v3.1b3

Redownload the file and upload files and import it again. I fixed that right away. That krumo function i use for testing.

Emaginsoft
09-13-2007, 09:40 PM
tried adding the autostart flashvar manually in the templates. not working. did you do something special on the mp3 player portion? Doesnt look like any of the flashvars are being read other than the music url.

WMV files just do not play. Get invalid module type errors when trying to play WMVs.

Other than that, super job.

ChU v2
09-14-2007, 12:14 AM
Can't get it to work. I download the latest version, imported the product uploaded all the files and the image doesn't appear on the Reply box and the media tags do not work. I don't understand what I did wrong. Can you maybe make a text file detailing the install. I think I upload the files in the wrong spot but I'm not sure.

nix
09-14-2007, 01:00 AM
There is a text file in the post up top. Just upload the files so they match your forum directory. Import the product. Goto usergroups and it will rebuild permissions. If you want to use attachments do the template edits. If not just post a link and hit reply.

XFSImperial
09-14-2007, 03:17 AM
I've just installed. The mod seems to be running great. I've done numerous test posts, many videos from YouTube, one from Metacafe, a few from Gametrailers and the mod seems to handle them all quite well. Only complaint is that sometimes the media opens directly, not using the flash player. Other than that, great mod and I can't wait for the final product.

nix
09-14-2007, 03:39 AM
if it opens directly its your browser. It need javascript to open if you use the new style.

Andyucs
09-14-2007, 07:48 AM
Remove the other hack or use the old style in anymedia Options.


even with the old style options it interferes with Highslide install

not the answer i was looking for and not good for members with Highslide installed

but still a good hack i will continue to run anymedia 3.0.7

until this is looked at seriously

NoDRaC
09-14-2007, 08:39 AM
i want to ask a question to use this script Do i have to delete AME - auto media embedding script? This script makes AME's work?
thanks

parabat
09-14-2007, 02:42 PM
Nix, would it be possible to add a parameter to the tag to select between the old and new versions for individual postings?

-PB

ChU v2
09-14-2007, 08:00 PM
Got it to work! Great mod!
*Installed

nix
09-14-2007, 08:40 PM
even with the old style options it interferes with Highslide install

not the answer i was looking for and not good for members with Highslide installed

but still a good hack i will continue to run anymedia 3.0.7

until this is looked at seriouslyWell this hack also uses Highslide. So not sure what I could do.

i want to ask a question to use this script Do i have to delete AME - auto media embedding script? This script makes AME's work?
thanksYou don't need AME installed if you use this. You can just disable it to see which one you like best.

Nix, would it be possible to add a parameter to the tag to select between the old and new versions for individual postings?

-PBThe problem with that is that it would change it for all users. But if people want this I can.

Got it to work! Great mod!
*Installed
TY!

Emaginsoft
09-15-2007, 12:45 PM
any quick shortcuts to get autostart to work in MP3's? I tried hacking the templates and put the autostart flashvar into the template but it refuses to obey. Any suggestions?

nix
09-15-2007, 01:07 PM
I'll look at it today and give ya a fix.

Emaginsoft
09-15-2007, 02:40 PM
I added:

so$media[id].addVariable('autostart',true);

to the template and it shows up in the html -> source on the page. Just acts like the player is not getting the var.

My next step is to hack the player flash source to always auto play and I dislike flash so I'll be extremely grateful. :)

nix
09-15-2007, 09:52 PM
I added:

so$media[id].addVariable('autostart',true);

to the template and it shows up in the html -> source on the page. Just acts like the player is not getting the var.

My next step is to hack the player flash source to always auto play and I dislike flash so I'll be extremely grateful. :)

What you have is correct. Go here http://www.jeroenwijering.com/?item=JW_MP3_Player and download the latest mp3player and it will work. Thought I updated it.

nix
09-15-2007, 10:00 PM
if you want it to work with anymedia settings use this.

so$media[id].addVariable("file","$media[link]");
so$media[id].addVariable("repeat","$media[loop]");
so$media[id].addVariable("showdigits","true");
so$media[id].addVariable("showdownload","$media[download]");
so$media[id].addVariable("autostart","$media[autoplay]");

ammoskumar
09-15-2007, 10:57 PM
NIX in beta 3 i can not embed any video from any site what am i doing rong.... if you can installtion instruction that'll be appreciated

nix
09-15-2007, 11:06 PM
I would have to look at your forum to see.

Emaginsoft
09-16-2007, 01:36 AM
Thanks. I had previously downloaded that player but did not want to upload it cause the filesizes were extremely different. I'll give this a shot and let you know how it goes.

Thanks.

tminus
09-16-2007, 04:01 AM
Finally .flv is working on my site! Thanks Nix!

I would love for local videos to appear like supported site videos with the video thumbnail versus the Anymedia icon, and the video title versus "click here to watch video." I am sure you are working on this for a future release, so in the meantime, can you suggest a way I can make it work? Like maybe adding an html file with the video embedded and specific code for Anymedia, then using that as the link versus the actual file link. Any help you can give would be appreciated.

Thanks

The problem with that is that it would change it for all users. But if people want this I can.
Why not just add it in user options and let the user select their Anymedia style preference? I think allowing admin to decide upon install or allowing users to select their style preference is a good idea. Even though I prefer Highslide, I can see why others might prefer the original.

nix
09-16-2007, 05:24 AM
The reason why it can't really be a user setting is that it goest in the posted phrased and isn't converted again. So it would it would what ever the style is for the person who posted.

Not sure about the thumb for the local files. They don't have thumb nails by default. You would have to create one.

bing11
09-16-2007, 10:26 AM
nice code but can someone teach me how can use vbblog

nix
09-16-2007, 10:38 AM
You want to use this in vblog? I haven't tried.

Freesteyelz
09-16-2007, 11:38 AM
Nice. The DB error upon post preview and Quick Reply seems to have been fixed. Thank you. :)

bing11
09-16-2007, 01:14 PM
You want to use this in vblog? I haven't tried.
yes I try . But not work . Can help?

Emaginsoft
09-16-2007, 06:24 PM
the mp3's refused to play so I had to add:

so$media[id].addVariable("type","mp3");

now they play just fine with autostart. Hopefully this is helpful to you. :D

eurofunny
09-16-2007, 07:39 PM
the mp3's refused to play so I had to add:

so$media[id].addVariable("type","mp3");

now they play just fine with autostart. Hopefully this is helpful to you. :D

Hi, can you attach the anymedia Template with your modifications please??

Emaginsoft
09-16-2007, 07:44 PM
I made all the changes to the anymediaold template. Note that I uploaded the full mp3 player instead of using the modified version. here is my full modified version of the template:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$media[layout]">
<tr>
<td class="tcat"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>>
<span style="float:$stylevar[right]"><a href="#" onclick="return toggle_collapse('media_$media[id]')"><img id="collapseimg_media_$media[id]" src="$stylevar[imgdir_button]/collapse_tcat.gif" border="0" /></a></span>
<a href="#" onclick="return toggle_collapse('media_$media[id]')"><if condition="$vboptions['anymediatitle']"> $vboptions[anymediatitle]<else />$vbphrase[anymedia_player]</if></a></td>
</tr>
<tbody id="collapseobj_media_$media[id]"<if condition="$vboptions['anymediacollapse']"> style="display:none;"</if>>
<if condition="$media['type'] != 'p2p'">
<tr>
<td class="alt1" align="center">
<if condition="$media['type'] == 'adobe_flash' AND !in_array($media['extension'], array('mp3','mtv','flv','youporn','godtube'))">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediavidsites", "$media[width]", "$media[height]", "7", "#FFFFFF");
<if condition="$media['url2']">so$media[id].addVariable("$media[url2]");</if>
so$media[id].addParam("wmode", "transparent");
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['extension'] == 'mp3'">
<div id="vid-$media[id]">
<script type="text/javascript">
var so$media[id] = new SWFObject("players/mp3player.swf", "line", "420", "20", "7");
so$media[id].addVariable("file","$media[link]");
so$media[id].addVariable("width","420");
so$media[id].addVariable("repeat","$media[loop]");
so$media[id].addVariable("type","mp3");
so$media[id].addVariable("showdigits","true");
so$media[id].addVariable("showdownload","$media[download]");
so$media[id].addVariable("autostart","$media[autoplay]");

so$media[id].write('vid-$media[id]');
</script>
</div>
</if>
<if condition="$media['attachment'] == 'flv'">
<!-- Adobe Flash -->
<div id="$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "flvattach", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("file","$media[url3]");
so$media[id].addParam("wmode", "transparent");
so$media[id].addVariable("image","anymedia/anyMediaplay.gif");
so$media[id].addVariable('type','flv');
so$media[id].write('$media[id]');
// ]]>
</script></div>
</if>
<if condition="$media['extension'] == 'flv' AND $media['attachment'] != 'flv'">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediaflash", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("file","$media[link]");
so$media[id].addParam("wmode", "transparent");
so$media[id].addVariable("image","anymedia/anyMediaplay.gif");
so$media[id].addVariable('type','flv');
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['extension'] == 'mtv'">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediavidsitesmtv", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("CONFIG_URL","$media[url2]");
so$media[id].addParam("AllowScriptAccess", "never");
so$media[id].addParam("base", ".");
so$media[id].addParam("wmode", "transparent");
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['extension'] == 'godtube'">
<div id="vid-$media[id]">
<script type="text/javascript">
// <![CDATA[
var so$media[id] = new SWFObject("$media[url]", "anymediavidsitesgodtube", "$media[width]", "$media[height]", "7", "#FFFFFF");
so$media[id].addVariable("type","$media[url2]");
so$media[id].addParam("wmode", "transparent");
so$media[id].write('vid-$media[id]');
// ]]>
</script>
</div>
</if>
<if condition="$media['type'] == 'divx_video'">
<!-- Divix -->
<object codebase="http://download.divx.com/webplayer/stage6/windows/DivXBrowserPlugin.cab" height="$media[height]" width="$media[width]" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><param name="autoplay" value="false"><param name="src" value="$media[url]" /><param name="custommode" value="Stage6" /><param name="showpostplaybackad" value="false" /><embed type="video/divx" src="$media[url]" pluginspage="http://go.divx.com/plugin/download/" showpostplaybackad="false" custommode="Stage6" autoplay="false" height="$media[height]" width="$media[width]" /></object>
</if>
<if condition="$media['type'] == 'quick_time'">
<!-- Quick Time -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_quicktime('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'real_media'">
<!-- Real Media -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_realmedia('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'windows_media'">
<!-- Windows Media -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_windowsmedia('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'adobe_pdf'">
<!-- Adobe PDF -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_adobepdf('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]');</script>
</if>
<if condition="$media['type'] == 'image'">
<!-- Image -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<img src="$media[url]" id="anymedia_image_$media[id]" border="0" onload="if(this.width>$media[width]) {this.resized=true; this.width='$media[width]'; this.alt='$vbphrase[anymedia_resized]';}" onmouseover="if(this.resized) this.style.cursor='pointer';" onclick="if(!this.resized) {return false;} else {window.open('$media[url]');}" onmousewheel="return imgzoom(this);" />
</if>
<if condition="$media['type'] == 'pplive'">
<!-- PPLive -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_pplive('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]');</script>
</if>
<if condition="$media['type'] == 'torrent_error'">
<!-- Torrent Error -->
$vbphrase[anymedia_torrent_error]
</if>
<if condition="$media['type'] == 'unknown'">
<!-- Wrong Type -->
$vbphrase[anymedia_wrong_type]
</if>
<if condition="$media['type'] == 'error'">
<!-- Error -->
$vbphrase[anymedia_error]
</if>
<if condition="$media['type'] == 'vidsiteoff'">
<!-- Error -->
$vbphrase[anymedia_vidsiteoff]
</if>
</td>
</tr>
<else />
<if condition="$media['extension'] == 'torrent'">
<!-- Torrent -->
<if condition="$media['extra']['name']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_name]: </td>
<td class="alt1">{$media[extra][name]}<if condition="$media['extra']['length']"> ( {$media[extra][length]} )</if></td>
</tr>
</if>
<if condition="$media['extra']['publisher']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_publisher]: </td>
<td class="alt1"><if condition="$media['extra']['publisher_url']"><a href="{$media[extra][publisher_url]}" target="_blank" title="$vbphrase[anymedia_torrent_publisher_url]">{$media[extra][publisher]}</a><else />{$media[extra][publisher]}</if></td>
</tr>
</if>
<if condition="$media['extra']['created_by']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_created_by]: </td>
<td class="alt1">{$media[extra][created_by]}</td>
</tr>
</if>
<if condition="$media['extra']['creation_date']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_creation_date]: </td>
<td class="alt1">{$media[extra][creation_date]}</td>
</tr>
</if>
<if condition="$media['extra']['encoding']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_encoding]: </td>
<td class="alt1">{$media[extra][encoding]}<if condition="$media['extra']['codepage']"> ( $vbphrase[anymedia_torrent_codepage]: {$media[extra][codepage]} )</if></td>
</tr>
</if>
<if condition="$media['extra']['piece_length']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_piece_length]: </td>
<td class="alt1">{$media[extra][piece_length]}</td>
</tr>
</if>
<if condition="$media['extra']['announce']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_announce]: </td>
<td class="alt1">{$media[extra][announce]}</td>
</tr>
</if>
<if condition="$media['extra']['nodes']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_nodes]: </td>
<td class="alt1">{$media[extra][nodes]}</td>
</tr>
</if>
<if condition="$media['extra']['files']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_files]: </td>
<td class="alt1">{$media[extra][files]}</td>
</tr>
</if>
</if>
<if condition="$media['extension'] == 'foxy' || $media['extension'] == 'emule'">
<!-- Foxy -->
{$media[extra][content]}
<tr class="alt2">
<td align="left" width="80%">
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<span style="float: right;"><input type="button" value="$vbphrase[anymedia_download_checked]" onClick="anymedia_download('$media[id]', 0, 1)" class="button"> <input type="button" value="$vbphrase[anymedia_copy_checked]" onClick="anymedia_copy('$media[id]')" class="button"><div id="copy_anymedia_$media[id]" style="position:absolute;height:0px;width:0px;overflow:hi dden;"></div></span> <input type="checkbox" id="checkall_anymedia_$media[id]" onClick="anymedia_checkall('$media[id]', this.checked)" checked="checked" /> <label for="checkall_anymedia_$media[id]">$vbphrase[anymedia_check_all]</label>
</td>
<td align="center" width="20%" class="alt1">
$vbphrase[anymedia_total_size]<span id="size_anymedia_$media[id]">{$media[extra][size]}</span>
</td>
</tr>
</if>
</if>
<if condition="$media['download']">
<tr>
<td class="tfoot" align="center"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>><a href="$media[link]" target="_blank"><if condition="$media['title']">$media[title]<else />$vbphrase[anymedia_download]</if></a></td>
</tr>
<else />
<tr>
<td class="tfoot" align="center"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>><strong>$media[title]</strong></td>
</tr>
</if>
</tbody>
</table>

eurofunny
09-16-2007, 07:58 PM
thx now it works :D

ammoskumar
09-16-2007, 09:20 PM
I would have to look at your forum to see.

Ya can you please check.....

jamestanker
09-16-2007, 10:20 PM
I am being told to upgrade my flash player and it just puts the M logo in the spot

help!

RockStrongo
09-16-2007, 11:25 PM
Nice Mod! Thanks!

Any chance you'll ever get NFL.com videos to work? ;)

nix
09-16-2007, 11:34 PM
I'll take a look at them. Didn't know they had videos.

I have this working in the vblogs. I'll release it sometime this week.

RockStrongo
09-17-2007, 12:07 AM
Here's a sample of their video link they provide if that helps at all. :up:

http://www.nfl.com/videos?videoId=09000d5d8026755c

Once again....GREAT MOD!

tminus
09-17-2007, 04:19 AM
Not sure about the thumb for the local files. They don't have thumb nails by default. You would have to create one.
That is fine. I wouldn't mind because we will only have a limited amount of local videos anyways and they would be content posts, not video sharing. So if you could give me some html so Anymedia will grab the title and thumbnail it would be great. Either way I will take a look at it. Thanks!

GrendelKhan{TSU
09-17-2007, 05:44 AM
Redownload the file and upload files and import it again. I fixed that right away. That krumo function i use for testing.

ok. that worked thanx!! will continue testing to make sure no other issue.
Great job so far.

voted for you for mod of the month. :)

SUGGESTION: make the player title (ie: Anymedia Player v3.02 or whatever we name it) appear in the actual title bar area of the player. Also same for video title -- not just next to the thumbnail.)

QUESTION: can one turn it OFF for inline but ON for attachment use? (ie: if I want to use anymedia for when someone uploads a file...but not for linking in youtube etc).

nix
09-17-2007, 06:10 AM
Yea you can turn video sites off or turn all video sites off. But other media types will still work.

GrendelKhan{TSU
09-17-2007, 07:03 AM
Yea you can turn video sites off or turn all video sites off. But other media types will still work.

1. ah I get it cool. so I can turn off individual sites and it'll still work for the others.
awesome!! (the point is some sites I think I want AME to pick up. Though I want most with AnyMedia and for attachments.)

(edit:
* ok tried disabling individual ones -- didn't work. AnyMedia still picks em up.
* AND then tried disable globally (Enable Video Sites Globally) and still AnyMedia still picks em up. ie. disabling doesn't seem to actually do anything. At least its working...but now toooo well. lol)

2. Different question:
* in the ADminCP:
Supported extensions for Image File
This setting allows you to enable and disable various extensions for Image.

I have this set to YES. Doesn't this mean "regular" image attachments will use AnyMedia Player? (eg: upload an image and anymedia player detects and kicks in? like with mp3 files?)

If so, it doesn't seem to do anything. attached images behave as normal (just open in regular new window).

nix
09-17-2007, 07:08 AM
Images work as attachments in the version I have on my test server. When I release this I try just to put a few added features back in to see how it goes. I planned on have more updates out but this has been a bad week for me. My dad is dying and I'm going to be looking for a new job in 2 months after 13 years of the Air Force.

GrendelKhan{TSU
09-17-2007, 07:49 AM
Images work as attachments in the version I have on my test server. When I release this I try just to put a few added features back in to see how it goes. I planned on have more updates out but this has been a bad week for me. My dad is dying and I'm going to be looking for a new job in 2 months after 13 years of the Air Force.

I'm sorry to hear to that nix. I hope he gets better and it works out for you.

so just put mine in the list for when you get around to it:
1. disable not working right
2. attachments not working for images


Life and family first... so take your time and do what you gotta do. Its amazing work you do here ..and for free!! We'll be here annoying you with requests and bugs when you get back. heh. hang in there and thanks again.

maf1973
09-17-2007, 01:52 PM
Still not working for me, i get a slightly different error now - Error: unsupported media type.2

I still get the same error, any ideas how to fix this?
I upgradet to Beta3 today.

hnjco
09-17-2007, 11:40 PM
I'm missing some thing or there is something wrong.

in Vbull options there is option for AnyMedia Player Title on header but its not working for me.

dacho
09-18-2007, 06:14 AM
Several problems :

There is a problem with left right in the presentation In several languages of the direction is from right to left ( Hebrew for example )
It's impossible to define a size of different display
The link is representable in spite of that defined that will not demonstrate


Several site to add :

Flix.co.il
Sport5.co.il

parabat
09-18-2007, 09:35 AM
My dad is dying and I'm going to be looking for a new job in 2 months after 13 years of the Air Force.

Nix I'm sorry to hear this :(
Hope you get your next job sorted out.
Thanx for all the hard work and an awesome mod with awesome support form the coder. Many others should learn from you.
Thanx again.

-PB

USAMustangs.com
09-18-2007, 10:04 AM
My dad is dying and I'm going to be looking for a new job in 2 months after 13 years of the Air Force.

Sorry to hear that.

Best wishes!

El Burro
09-18-2007, 04:12 PM
Sorry to hear about your Dad :(

Hope you get a new job real soon. :)

El Burro

dacho
09-18-2007, 05:22 PM
My dad is dying and I'm going to be looking for a new job in 2 months after 13 years of the Air Force.
Best wishes!

xandizitxu
09-18-2007, 06:47 PM
Just a question, when I upload a Image it would open like utube videos? and Flash opens in a new window.

EDIT:
Sorry for disturbing you.
:\ I hope your father gets better.

mach-o
09-18-2007, 07:18 PM
Hey if I install this will videos work in my profile pages? anyone know?

SBlueman
09-19-2007, 03:44 AM
I can't seem to get video to work from break or youporn....any suggestions?

fsbmax
09-19-2007, 06:23 PM
umm nothing is showing when i did a test on my forums???

this is the code i attached...

http://www.fsbmax.com/videos/overclocking.flv

Here is the link to the test page...

http://www.fsbmax.com/forum/showthread.php?t=30

Anyone know whats up?

jGas
09-20-2007, 08:06 AM
this modification is great!!! thanks a lot really! :D

it works like a charm! ;)


i have only a question: my board is italian, how do i edit "Click here to listen" ?

i can't find it inside langueges search!

thanks!

jGas
09-20-2007, 08:16 AM
Right now its just in the template. So just edit the text to what you want.

i've found, thanks!

COOLover
09-20-2007, 12:24 PM
Hello together,

first your Addon is realy good.
But i use your Addon on a German Community, but it's too few german Video hosts. How, can i Insert as sample Clipfish.de or Sevenload.de

thanks in forwards.

Chadi
09-20-2007, 06:09 PM
I don't know why but I'm getting this error suddenly

Error: unsupported media type.2

I was using youtube (which I have enabled along with all media types enabled except images, pdf, p2p)

http://www.youtube.com/watch?v=ztC41HDL9mk

The strange part it works sometimes, then other times it doesn't with the same link.

I tried a godtube.com link also, http://www.godtube.com/view_video.php?viewkey=9e7c4b40cf5a13cea6ca

It did not work, yet I posted another godtube.com link myself and it worked. Then, I tried another godtube.com video and it showed the same "error 2.." unsupported message.


Feature Request:
- remove the description text on right side of video (on post that is, not pop-up)

SBlueman
09-21-2007, 12:15 AM
I can't seem to get video to work from break or youporn....any suggestions?
:confused:

nix
09-21-2007, 04:09 AM
The youtube and godtube links you posted work fine. If the sites go down then they wont work until it comes back up.

Break video works fine. If you think you found a link that doesn't work let me know. Youporn doesn't work. They have theirs locked down pretty good.

cynthetiq
09-21-2007, 02:20 PM
for vb advanced you'll probably just need to include the css and js files.
Include them where?

Chadi
09-21-2007, 04:29 PM
This is happening too often again and Youtube is certainly not down at all.
http://www.youtube.com/watch?v=U3GijrnfStk

Error: unsupported media type.2

I really do not understand. If youtube was down, it would not work directly and it shows an error message that the media is unsupported. I can only guess its a bug somewhere.

trilljester
09-21-2007, 05:20 PM
I like the idea of this, I'm wanting to have a forum that allows people to post topics with these videos, all in a central location. I see that the idea is a planned expansion, so I'll wait for that a feature. Good stuff so far though!

nix
09-21-2007, 09:59 PM
Include them where?
In the headinclude template
This is happening too often again and Youtube is certainly not down at all.
http://www.youtube.com/watch?v=U3GijrnfStk

Error: unsupported media type.2

I really do not understand. If youtube was down, it would not work directly and it shows an error message that the media is unsupported. I can only guess its a bug somewhere.If you send me a link I'll take a look at it.

cynthetiq
09-22-2007, 12:28 AM
In the headinclude template
If you send me a link I'll take a look at it.

That's what I thought, I do have them in the headinclude. we're talking about the highslide.js and highslide.css right?

script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">
// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
{
thumbnailId: null,
overlayId: 'controlbar2',
position: 'bottom left',
hideOnMouseOut: true,
opacity: 0.75
}
);

hs.graphicsDir = '/highslide/graphics/';
hs.outlineType = 'rounded-white';
window.onload = function() {
hs.preloadImages(5);
}
</script>
<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=368"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=368"></script>


full headinclude:



<link rel="shortcut icon" href="http://belowdelancey.com/forum/favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>
<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->
<script type="text/javascript">
<!--
var SESSIONURL = "";
var IMGDIR_MISC = "images/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
<script type="text/javascript">
<!--
var SESSIONURL = "";
var IMGDIR_MISC = "images/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>

<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">
// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
{
thumbnailId: null,
overlayId: 'controlbar2',
position: 'bottom left',
hideOnMouseOut: true,
opacity: 0.75
}
);

hs.graphicsDir = '/highslide/graphics/';
hs.outlineType = 'rounded-white';
window.onload = function() {
hs.preloadImages(5);
}
</script>
<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=368"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js?v=368"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
</if>
</if>

nix
09-22-2007, 01:57 AM
Yea if you look at anymedia_header you can just add that part to the head include or you can add vbadvanced to the check so it will display. I can post it up in a bit of what you would need.

cynthetiq
09-22-2007, 02:32 AM
Yea if you look at anymedia_header you can just add that part to the head include or you can add vbadvanced to the check so it will display. I can post it up in a bit of what you would need.
Yes Please. Sorry I'm not too keen as to what you mean. I understand what I could do to the anymedia_header, but I don't see how that would affect the vbadvanced.

nix
09-22-2007, 03:09 AM
If you know how to edit plugins look for the plugin under anymedia called

global_setup_complete

Change it to this.

if($foruminfo['anymenable'] || in_array(THIS_SCRIPT, array('blog', 'adv_index'))) {
eval('$headinclude .= "' . fetch_template('anymedia_header') . '";');
}


or if you don't have the blogs installed change it to this.

if($foruminfo['anymenable'] || THIS_SCRIPT == 'adv_index') {
eval('$headinclude .= "' . fetch_template('anymedia_header') . '";');
}

cynthetiq
09-22-2007, 03:36 AM
Now you've really lost me. We started with anymedia_header and then the headinclude. Now you're talking about the plugin and global_setup_complete.

So I don't do anything with the other templates. I just use the last php code from

if($foruminfo['anymenable']) {
eval('$headinclude .= "' . fetch_template('anymedia_header') . '";');
}


change to this:

if($foruminfo['anymenable'] || THIS_SCRIPT == 'adv_index') {
eval('$headinclude .= "' . fetch_template('anymedia_header') . '";');
}

nix
09-22-2007, 05:30 AM
Yea. Just change the plugin.

Chadi
09-22-2007, 04:29 PM
It happened again on this link

http://www.godtube.com/view_video.php?viewkey=39c962b771ff17d41aeb

Error: unsupported media type.2

I am sending you a pm with login details. Please help me out on this.

nix
09-22-2007, 11:42 PM
For those of you using VBSEO and want the auto phrasing of links to work for Anymedia change the plugin newpost_process in anymedia and set the Execution Order to 4. I'll fix this in an update.

Chadi
09-23-2007, 05:14 PM
This is happening again with this link for example:
http://www.godtube.com/view_video.php?viewkey=7e18e50b58eb7e0c6ccb

All I did was change "Enable Video Sites Globally" to no, I noticed you put it on yes. If I turn it back to yes, it works. Of course, this is not suitable for my Christian site to allow all options global.

Please let me know how to correct this bug. Thanks nix, appreciate the great support!

nix
09-23-2007, 07:57 PM
Its not a bug. If that setting is set to no it turns all sites off regardless of what their individual setting is set to. You have to put that to yes and turn the ones you don't want off.

Wild Bronco
09-23-2007, 09:12 PM
Looks extra good

I will wait til its final and then give it a go :rolleyes:

nickypoooo
09-24-2007, 05:50 AM
Works great for me, can you add www.flix.co.il to the list

yahoooh
09-24-2007, 12:51 PM
can this play local files like : wma and 3gp ?
i have alot of files in my server but i need to play them in vbulletin
and only permission for adding by administrator or specific user group ?

pjan
09-24-2007, 04:04 PM
Thanks for the hacks.
amazing and i hope my user will love it
keep up the good work friend

nix
09-24-2007, 05:10 PM
can this play local files like : wma and 3gp ?
i have alot of files in my server but i need to play them in vbulletin
and only permission for adding by administrator or specific user group ?

Yea

CMGU
09-24-2007, 07:09 PM
im a actulized the anymedia en found nice but when i open a new thread say this

Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/adictmuz/public_html/forums/includes/class_anymedia.php on line 1324

i donĀ“t know why. please help me

nix
09-24-2007, 08:51 PM
I'm using that function with myspace. It's a php 5 function only.

ruger
09-24-2007, 10:04 PM
im a actulized the anymedia en found nice but when i open a new thread say this

Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/adictmuz/public_html/forums/includes/class_anymedia.php on line 1324

i don?t know why. please help me


Got the same issue when someone posted a myspace vid. Any fix for it besides setting to off on myspace category?

nix
09-24-2007, 10:37 PM
upgrade php or edit the the function to work with php4

cynthetiq
09-24-2007, 10:39 PM
Yea. Just change the plugin.
thanks, I got the media bbcode to work in vbadvanced, but not in GARS. If you know a fix for that it would be cool also.

What I can't get it to do in vbadvanced is get the highslide popup.

nix
09-24-2007, 11:32 PM
I could of sworn I posted this. But you can use this or the 2nd one i posted. This will make it work with highslide.

if($foruminfo['anymenable'] || in_array(THIS_SCRIPT, array('blog', 'adv_index'))) {
eval('$headinclude .= "' . fetch_template('anymedia_header') . '";');
}

cynthetiq
09-24-2007, 11:37 PM
I could of sworn I posted this. But you can use this or the 2nd one i posted. This will make it work with highslide.

if($foruminfo['anymenable'] || in_array(THIS_SCRIPT, array('blog', 'adv_index'))) {
eval('$headinclude .= "' . fetch_template('anymedia_header') . '";');
}

yeah i got that in the global_setup_complete from your earlier post, but it doesn't slide.

you can check it out here:

http://belowdelancey.com/

nix
09-24-2007, 11:48 PM
Do you have allow bbcode for your news enabled in vbadvanced?

cynthetiq
09-25-2007, 12:05 AM
yes, the top one tho isn't vbadvanced, the one that's not parsed, that's a GARS module. the one further down that has a thumbnail, that one is the same post but via vba.

yes bbcode is active in the vba options and the module.

nix
09-25-2007, 01:16 AM
bump up the count for allowed characters for the news module.

cynthetiq
09-25-2007, 01:32 AM
pushed it up to 1000, and it put the inline up now, but still same effect. opens in another window

diesalot
09-25-2007, 03:05 AM
Keep getting unsupported file type.

http://www.youtube.com/watch?v=OMa5_1jkpbE

cynthetiq
09-25-2007, 10:32 AM
I'm wondering, do I have to put the full path to the highslide.js anywhere?

CMGU
09-25-2007, 05:27 PM
Got the same issue when someone posted a myspace vid. Any fix for it besides setting to off on myspace category?

ok thanks problem solved

nix
09-25-2007, 09:48 PM
Keep getting unsupported file type.

http://www.youtube.com/watch?v=OMa5_1jkpbEDid u set up the permissions?

I'm wondering, do I have to put the full path to the highslide.js anywhere?

If you want to make a temp admin account i'll set it up for you.

cynthetiq
09-25-2007, 09:53 PM
pm sent

diesalot
09-25-2007, 10:10 PM
Did u set up the permissions?


Yep all permissions setup. other links work. Latest Anymedia installed yesterday but keep getting unsupported file type 2.

nix
09-25-2007, 10:12 PM
well that link works just tried it on my test board. did you try and just pasting the link and hit reply?