Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB AnyMedia Player / Media Sites (youtube, google and many more) Details »»
VB AnyMedia Player / Media Sites (youtube, google and many more)
Version: 1.5, by nix nix is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 06-23-2007 Last Update: 01-26-2008 Installs: 581
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

Goldbrick Media system for vBulletin 3.6.x

Thanks to all who nominated or voted this for MOTM.

Some of you might be looking for Anymedia. Well this has replaced it. It's a total rewrite from the ground up. A huge thanks goes to Sir Adrian for creating the framework. He can't cook soup but he sure can code.

Why the name goldbrck?

From Wikipedia:
Quote:
Goldbricking, in today's terms, generally refers to staff who use their work internet access for personal reasons while maintaining the appearance of working.
From Urban Dictionary:
Quote:
Goldbricking: To loaf or goof around on the job. Supposedly an old union term describing laborers (or more specifically, bricklayers) who were going so slow, it was as if each brick were made of solid gold. One can alse be referred to as a "goldbricker".

Dude, I spent all day at work goldbricking - surfing the web, making long distance phone calls - basically just picking my ass.
Goldbrick uses the following third party Products:

What's new in Goldbrick?
  • Complete code overhaul.
  • Plays most media types.
  • Forum admins can add their own video sites
  • Updated Highslide.js
  • Attachment Images work with Goldbrick
  • Don't need to use BBCODE
  • Auto Phrases URL's
  • Media Options per post
  • Much more on the way!

Goldbrick's Requirements:
  • Vbulletin :P
  • PHP 5

Goldbrick Version 1.5:
- Fixed Vbadvanced integration
- Fixed extensions permissions checking
- Added pickup of old [media] tags
- More code changes for later features


Goldbrick Version 1.4:
- Fixed Apple trailers
- Added Added Viemo videos
- More code changes for later features


Goldbrick Version 1.3:
- Fixed Images
- Fixed MP3's
- Fixed Myspace, now supports myspacetv.com
- Added Increase or decrease video size for the classic player (testebr gets the credit for this one)
- Added Added ESPN videos
- Added Veoh video site.


Goldbrick Version 1.2:
- Added Videos for Profiles for vbulletin 3.7
- Added Classic Skin
- Added Vblog Support
- Added Vbadvanced Support
- Fixed Attachments
- Rewrote some of the code


Planned Features:

- Youtube like interface
- Video Comments
- Media Tags
- Media Searching


Please report any issues or suggestions.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #292  
Old 07-07-2007, 02:20 AM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops, no one version is work here more.

I will check it, sorry for my possible fake report.
Reply With Quote
  #293  
Old 07-07-2007, 02:36 AM
ammoskumar ammoskumar is offline
 
Join Date: Apr 2007
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NIX suddenly divX video want embed got error unsupported media type. any idea why...i havnt change anything also dint upgrade to 3.9.1
Reply With Quote
  #294  
Old 07-07-2007, 02:58 AM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, ok, ok... my hack is a mess

1. I want to center the Player into the center of the thread
2. It doesn't show footer/download
3. Where can I adjust the size of the player?

Thaaaaanks!
Reply With Quote
  #295  
Old 07-07-2007, 03:19 AM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
Ok, ok, ok... my hack is a mess

1. I want to center the Player into the center of the thread
2. It doesn't show footer/download
3. Where can I adjust the size of the player?

Thaaaaanks!
1) Install any bbcode like [center]media_tag_here[/center] and add video with this new bb. Or just edit anymedia template and insert center html code by yourself. Exemple <div align="center"> ALL CODE FROM TEMPLATE HERE </div>.

2) Go to anymedia admincp options and check the option Show the download link?

3) Go to anymedia admincp options and check the option Default Media Object Width and Default Media Object Height.

-------------

About my problem, the version 3.0.9.1 dont work with my host (linux).

In windows (localhost) here my test work fine.

And nix, can you fix the problem with accentuated chars in movie titles? Try get an movie from br.youtube.com and test for you see the problem.

Other error from my test here:

Quote:
[media]ajshdadsasdfgsdfsdfgfdg[/media]

Result:

Warning: file(ajshdadsasdfgsdfsdfgfdg) [function.file]: failed to open stream: No such file or directory in \includes\class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in \includes\class_anymedia.php on line 237
Can you add an friendly message error for this action? :P
Reply With Quote
  #296  
Old 07-07-2007, 03:26 AM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by testebr View Post
oops, no one version is work here more.

I will check it, sorry for my possible fake report.
so you're good?

Quote:
Originally Posted by Dannyloski View Post
Upgraded to 3.0.9.1 ... It seems that Photobucket is not working ... in FireFox it displays the Flash Player and it says "click to play" but when you click it it styas in the "loading ..." screen and does nothing ... In IE it doesn't show the player at all, just the box with the title of the player and title of the video ... Unless maybe I'm using the incorrect like for PhotoBucket, I used http://s37.photobucket.com/albums/e5...t=MOV00857.flv

Anyways, in addition to that, when you click on "edit" to edit a post that has a [media] tag it deletes it from the post after you save. If you try to re-edit it and re-add the code it wont do it. It's really buggy this time. After I saw theis bug, I tried refreshing the page and got the following:

Warning: file(http://s37.photobucket.com/albums/e5...t=MOV00857.flv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in /includes/class_anymedia.php on line 237

Warning: file(http://s37.photobucket.com/albums/e5...t=MOV00857.flv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in /includes/class_anymedia.php on line 237

Warning: file(http://s37.photobucket.com/albums/e5...t=MOV00857.flv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in /includes/class_anymedia.php on line 237

The it said on vB "Unable to add cookies, header already sent.
File: /home/*******/public_html/forum/includes/class_core.php
Line: 3083"

Although, you fixed the other issues where it wasn't loading before on IE and now it does this is a way bigger one ... Might want to take a look into this ...
Fixed this. But everyone should be fine until the next release.

Quote:
Originally Posted by ammoskumar View Post
NIX suddenly divX video want embed got error unsupported media type. any idea why...i havnt change anything also dint upgrade to 3.9.1
Its working fine on my test board. What link are you trying to use?
Reply With Quote
  #297  
Old 07-07-2007, 03:30 AM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by testebr View Post
1) Install any bbcode like [center]media_tag_here[/center] and add video with this new bb. Or just edit anymedia template and insert center html code by yourself. Exemple <div align="center"> ALL CODE FROM TEMPLATE HERE </div>.

2) Go to anymedia admincp options and check the option Show the download link?

3) Go to anymedia admincp options and check the option Default Media Object Width and Default Media Object Height.

-------------

About my problem, the version 3.0.9.1 dont work with my host (linux).

In windows (localhost) here my test work fine.

And nix, can you fix the problem with accentuated chars in movie titles? Try get an movie from br.youtube.com and test for you see the problem.
Pretty everything testebr said is h how you do it. Also check your anymedia template and make sure its the latest.

I'll add an option to have it center in the next release.

I'll look into the br.youtube.
Reply With Quote
  #298  
Old 07-07-2007, 03:31 AM
xnt xnt is offline
 
Join Date: Feb 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nix View Post
I changed it from saying Download here to have the title of the video. You don't see that?
It works with YouTube but NOT with an mp3 file. Thanks for coming out with new features and fixes so fast.
Reply With Quote
  #299  
Old 07-07-2007, 04:11 AM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nix View Post
Pretty everything testebr said is h how you do it. Also check your anymedia template and make sure its the latest.

I'll add an option to have it center in the next release.

I'll look into the br.youtube.
Nooo!
lol! I spent 45 mins in each updating... I prefer to pay you for a new hack
and I was usin this old Anymedia's template and was working fine:
Quote:
<!-- AnyMedia BBCode By Crist Chsu Start -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$media[layout]" align="center">
<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'">
<!-- Adode Flash -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_flash('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</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>
</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;over flow:hidden;"></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">$vbphrase[anymedia_download]</a></td>
</tr>
</if>
</tbody>
</table>
<!-- AnyMedia BBCode By Crist Chsu End -->

It's the footer and the height the problem in the new...
Reply With Quote
  #300  
Old 07-07-2007, 06:33 AM
Ftu-forum's Avatar
Ftu-forum Ftu-forum is offline
 
Join Date: Apr 2007
Location: Viet Nam
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got problem, seems it can't use media in the same host
Warning: file(): URL file-access is disabled in the server configuration in /includes/class_anymedia.php on line 236

Warning: file(http://ftu-forum.net/data/dk/Yeu%20t...%20MyTam.MP3): failed to open stream: no suitable wrapper could be found in /includes/class_anymedia.php on line 236

Warning: implode(): Bad arguments. in /includes/class_anymedia.php on line 237
Reply With Quote
  #301  
Old 07-07-2007, 08:39 AM
benjaminbih benjaminbih is offline
 
Join Date: May 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vinniecolaiuta View Post
Users reports bugs with iE
After the first embed forum will e truncate:

[img=http://img65.imageshack.us/img65/8153/anymediael8.th.jpg]
After i get this nice mod in latest version to work, i have the same error, how to fix it??

The replies and footer in Internet Explorer are cut. In FireFox it displays all OK
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05918 seconds
  • Memory Usage 2,363KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (12)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete