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

Reply
 
Thread Tools
Goldbrick Audio/Video Media System Details »»
Goldbrick Audio/Video Media System
Version: 1.5, by nix nix is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.0 Beta 2 Rating:
Released: 12-17-2007 Last Update: 01-07-2009 Installs: 547
DB Changes Uses Plugins Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

Goldbrick Media system for vBulletin 3.7

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



Planned Features:

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

Install Instructions:
  1. Upload file contents in the upload folder.
  2. Import the Product.xml

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



Supported Video Sites: 19 so far. Looking in goldbrick/sites folder for a full list. Users can create their own. I'll post a HOW-TO with the details.



Please report any issues or suggestions.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #682  
Old 05-12-2008, 04:13 PM
JayT123 JayT123 is offline
 
Join Date: Sep 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JayT123 View Post
Nix here is the generated source on the page where the attached mp3 is not working

Code:
		<!-- attachments -->
			<div style="padding:6px">

			

			

			

			
				<fieldset class="fieldset">
					<legend>Attached Files</legend>
					<table cellpadding="0" cellspacing="3" border="0">
					<tr>

	<td><img class="inlineimg" src="http://www.voice-overs.com/forum/morbid/attach/mp3.gif" alt="File Type: mp3" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.voice-overs.com/forum/attachments/lounge/324d1210260416-mp3-player-not-working-gravity2.mp3" target="_blank">gravity2.mp3</a> (845.7 KB, 2 views)</td>
</tr>
		<tr> 
			<td colspan="2"><div class="goldbrick">
	
	
	
	
	


	

	
</div>



	<embed 
	src="players/mediaplayer.swf" 
	width="470" 
	height="20"
	allowscriptaccess="always" 
	allowfullscreen="true" 
	flashvars="width=470&height=20&file=http://www.voice-overs.com/forum/attachment.php?attachmentid=324.mp3" 
	/>

</td>
		</tr>
					</table>
				</fieldset>
			

			

			</div>
		<!-- / attachments -->
The flashvar link is wrong. I have vbseo installed. Could this be the issue?
Quote:
Originally Posted by nix View Post
Did you add the mp3 extension to the allowed extension list to vbulletin? You also have to be using the flile system for vbulletin attachments. Make sure that path is also correct.
Yes the mp3 is in the options, I am using the file system and the path is correct. Like I said, the inline url to the attachment is correct but the flashvar url is not.

Correct : http://www.voice-overs.com/forum/att...g-gravity2.mp3
not correct: http://www.voice-overs.com/forum/att...mentid=324.mp3
Reply With Quote
  #683  
Old 05-12-2008, 05:18 PM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tom_S View Post
Just to avoid any confusion you can see I do have it selected as "media" however I think it is working now. I will see but I didn't do anything.

Go read all the post in this thread and the 3.6 thread and then let me know if my simple questions are a waste of time.

I've said not all features in implemented yet, so that bbcode tag options doesn't do anything.

For goldbrick to auto phrase a link this is what it needs.

What link are you posting that doesn't work?

Quote:
Originally Posted by JayT123 View Post
Yes the mp3 is in the options, I am using the file system and the path is correct. Like I said, the inline url to the attachment is correct but the flashvar url is not.

Correct : http://www.voice-overs.com/forum/att...g-gravity2.mp3
not correct: http://www.voice-overs.com/forum/att...mentid=324.mp3
open up goldbrick/functions_public.php

change this line to suit your setup. If that works let me know.

PHP Code:
            $url $vbulletin->options['bburl'] . '/attachment.php?attachmentid=' $attach_id .'.' $attach_ext
Reply With Quote
  #684  
Old 05-12-2008, 05:25 PM
sweeps78 sweeps78 is offline
 
Join Date: Sep 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nix
Quote:
Originally Posted by sweeps
Any word yet on why the thumbnail won't show up for DivX videos? The thumbs show up just fine on all other videos, just not DivX
For user posted content? If you want to fix it now look at the goldbrick_player tempalate for the divix
It was user posted content. After looking at the goldbrick_player tempalate though, I realized what was happening. I didn't quite understand how the thumbs were being added till now (still don't fully understand though). The user that was embedding DivX videos in her posts were embedding videos directly off of her server, which doesn't have any thumbnails associated with them.

So, my question is how do you need data sent to this plugin in order for thumbnails to work? She's totally cool with building whatever is needed to get her videos to display properly on my site, we just need to know how Goldbrick needs them to be sent

I had one other question though about the template. If I'm trying to troubleshoot what is going wrong with embedding in the forums threads/posts, why am I looking at a template that has the variable $info[profile] in it?

Code:
<if condition="$info[profile] == 'divx'">
Reply With Quote
  #685  
Old 05-12-2008, 05:31 PM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it's user posted content, there is no thumbnail to display. It will just show the default gif. I could add that as an option when posting media.
Reply With Quote
  #686  
Old 05-12-2008, 05:36 PM
Tom_S Tom_S is offline
 
Join Date: Jan 2007
Location: VA Beach
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nix View Post
Go read all the post in this thread and the 3.6 thread and then let me know if my simple questions are a waste of time.

I've said not all features in implemented yet, so that bbcode tag options doesn't do anything.

For goldbrick to auto phrase a link this is what it needs.

What link are you posting that doesn't work?



open up goldbrick/functions_public.php

change this line to suit your setup. If that works let me know.

PHP Code:
            $url $vbulletin->options['bburl'] . '/attachment.php?attachmentid=' $attach_id .'.' $attach_ext
It just is NOT that important to me my friend. You evidently still didn't get what I said out of all of that. Your bbcode for using the function simply was not working and I was merely pointing it out. If you didn't understand that then it is not my problem to keep trying to simplify my explanation of it over and over. I will just go back to what I was using. I don't see where you got so confused with what I considered somewhat well explained feedback.
Reply With Quote
  #687  
Old 05-12-2008, 05:45 PM
sweeps78 sweeps78 is offline
 
Join Date: Sep 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If it's user posted content, there is no thumbnail to display. It will just show the default gif. I could add that as an option when posting media.
I'm not sure I understand. What exactly do you mean by "user posted content"?

Isn't there something that you already have built into the DivX embedding that automatically grabs an image from a URL (much like YouTube)? If so, what do I need to have her do to make this work with the videos on her server?
Reply With Quote
  #688  
Old 05-12-2008, 06:26 PM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tom_S View Post
It just is NOT that important to me my friend. You evidently still didn't get what I said out of all of that. Your bbcode for using the function simply was not working and I was merely pointing it out. If you didn't understand that then it is not my problem to keep trying to simplify my explanation of it over and over. I will just go back to what I was using. I don't see where you got so confused with what I considered somewhat well explained feedback.
I'm not sure why you're getting so hostile. If there is a bug I'll fix it. I just need to know what the problem is. From reading your post, you've posted a link and when you hit reply it wraps it in url tags. If that is what is happing, goldbrick didn't do anything. Changing the acp setting to url doesn't do anything. That setting isn't live yet. If this isn't your problem I'm not sure what is.


Quote:
Originally Posted by sweeps78 View Post
I'm not sure I understand. What exactly do you mean by "user posted content"?

Isn't there something that you already have built into the DivX embedding that automatically grabs an image from a URL (much like YouTube)? If so, what do I need to have her do to make this work with the videos on her server?
By user posted content I mean any media that isn't part of a video site.
Reply With Quote
  #689  
Old 05-12-2008, 08:23 PM
JayT123 JayT123 is offline
 
Join Date: Sep 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nix View Post
open up goldbrick/functions_public.php

change this line to suit your setup. If that works let me know.

PHP Code:
            $url $vbulletin->options['bburl'] . '/attachment.php?attachmentid=' $attach_id .'.' $attach_ext
The attachments are being stored at forum/attachments/. What would that line of code need to be to pull those attachments?

So far I have :
PHP Code:
function goldbrick_process_attachment($attach_id$userid$postid 0$attach_ext$gb_options 0)
{
    global 
$vbulletin;

    
$id = array();

    require_once(
DIR '/goldbrick/includes/class_goldbrick.php');

    
$goldbrick = new goldbrick_media($vbulletin);

    
$url $attach_id;

    if (
$media $goldbrick->is_valid_attachment($attach_ext))
        {
            
$url $vbulletin->options['bburl'] . '/forum/attachments/' $attach_name .'.' $attach_ext;
            
            
$info $goldbrick->parse_url($url$gb_options);
            
$info['unique'] = $attach_id;
            
            
//$goldbrick->save($info, $userid, $postid, $posthash);
        
}
    
    return 
$info;

But it is not pulling the name. What is the variable to do so? And will it need to be added to the function line?
Reply With Quote
  #690  
Old 05-12-2008, 09:16 PM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nix View Post
I've test this version and of course it works for me. If anyone wants to test it before I release it I would apreciatie it.

This fixes most bugs. There are some left, this version just fixes the major ones.

Bug Fixes that I remember
  1. Removed highslide and replaced (smaller footprint now)
  2. Profiles fixed
  3. edit post fixed
  4. dailymotion fixed
  5. um, a lot more I just don't remember
  6. attachments fixed

I'll also have a working demo up soon.
I have upgraded to 1.8 and no other site but youtube is working now, dailymotion adn google video are not parsed even if I add Tags manually. Great work and thanks for keeping this hook updated.
Reply With Quote
  #691  
Old 05-12-2008, 09:26 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, only YouTube is working properly. Veoh is also working. Google is working but if you have more than 1 video in the same post, when you submit the new thread, you'll get error in google.php file.
And this monster Dailymotion is never worked for me at all.
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 01:48 AM.


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.04983 seconds
  • Memory Usage 2,364KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_php
  • (14)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_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