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
  #1052  
Old 11-16-2008, 01:32 AM
alexsinev alexsinev is offline
 
Join Date: Jun 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not await a reply, tried by myself. Initially, I renamed the tables gb_cache and gb_media. Nothing happened, the forum works fine. Then I just created new tables gb_cache and gb_media, using queries from the file product-goldbrick.xml, and renamed the old tables removed. I understand that when installed option Zend cache these tables are not used. Forum works fine -- quickly, without delay. Well this information would be added to the first message describing Goldbrick.
Reply With Quote
  #1053  
Old 11-18-2008, 08:41 PM
rveram's Avatar
rveram rveram is offline
 
Join Date: Jun 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to "hide" this variable?

so24437.addVariable("file","http://www.myforum.com/forum/attachment.php?attachmentid=24437.mp3");

Users can't download the mp3 (they can only listen to it), but when they view the page source code and copy / paste this url, they can download the mp3
Reply With Quote
  #1054  
Old 11-23-2008, 11:41 AM
moon_spell moon_spell is offline
 
Join Date: Oct 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is not working ! the pages hang up ! and nothing works ! how to slove ?
Reply With Quote
  #1055  
Old 11-26-2008, 08:55 AM
legija legija is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With firefox this doesnt work at all, with IE it works, but on close it hangs.

IE7 and FF 3.xx, VBB 3.7.x

I have some *.swf videos, and sadly it did worked before, cant remember in what config.
Reply With Quote
  #1056  
Old 11-29-2008, 03:24 PM
FPJ FPJ is offline
 
Join Date: May 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Recently upgraded to 3.7.4 and pages hang up. Ran fine on 3.7.0.

Love this mod, looking forward to the fix.
Reply With Quote
  #1057  
Old 12-03-2008, 04:38 AM
TomasDR TomasDR is offline
 
Join Date: Feb 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried 1.91 and my header is messed.

On a thread with media inside it I see the following at the top of the page.

Code:
";'); } if ($vbulletin->options['gb_enabled']) { eval('$headinclude .= "' . fetch_template('goldbrick_header') . '";'); } tin->options['gb_height'], 'autoplay' => $vbulletin->options['gb_autoplay'], 'loop' => $vbulletin->options['gb_loop'] ); return $gb_options; } } /** * Fetches all old content from the database, and checks if it's still active. * If it's not, it will be reverted to its [url] form. * * @param integer Expiration period */ function goldbrick_exec_cleanup($hashes) { global $vbulletin; require_once(DIR . '/goldbrick/includes/class_goldbrick_cache.php'); $goldbrick = new Goldbrick_Cache($vbulletin); $media = $goldbrick->fetch_expired_media($hashes); $to_revert = array(); $to_remove = array(); $to_bump = array(); foreach ($media as $link) { if (empty($link['postids'])) { $to_remove[] = $link['hash']; continue; } if ($goldbrick->is_inactive($link['url'])) { $to_revert[] = $link; $to_remove[] = $link['hash']; continue; } $to_bump[] = $link; } if (defined('GOLDBRICK_DEBUG_CLEANUP')) { goldbrick_debug('revert, remove, bump', $to_revert, $to_remove, $to_bump); } if (!empty($to_revert)) { $goldbrick->revert_posts($to_revert); } if (!empty($to_remove)) { $goldbrick->remove($to_remove); } if (!empty($to_bump)) { $goldbrick->bump($to_bump); } } /** * undocumented function * * @return $value **/ function multiarrayearch($needle, $haystack) { $value = false; $x = 0; foreach ($haystack as $temp => $k) { $search = array_search($needle, $k); if (strlen($search) > 0 && $search >= 0) { $value[0] = $x; $value[1] = $search; $found = array($k[$search], $temp); } $x++; } return $found; } ?>of postids */ public function set_uniques($uniques) { if ($this->debug) { goldbrick_debug('PostIDs', $postids); } /*if (is_array($uniques)) { $this->media = $this->fetch_media_from_cache(implode(',', $postids)); } else { $this->media = $this->fetch_media($fetch_hash); }*/ if (!$this->media = $this->fetch_media($uniques)) { return null; } return $this->media; if ($this->debug) { goldbrick_debug('Fetched Media', $this->media); } } /** * Fetches all media associated with $postids from the cache. * * @param string Comma-separated list of post ids * @return array Media records */ private function fetch_media_from_cache($postids) { $result = $this->registry->db->query_read(" SELECT cache.* FROM " . TABLE_PREFIX . "gb_media LEFT JOIN " . TABLE_PREFIX . "gb_cache as cache using (hash) WHERE postid IN ($postids) "); $records = array(); while ($record = $this->registry->db->fetch_array($result)) { $records[] = $record; } $this->registry->db->free_result($record); return $records; } private function fetch_media($uniques) { global $vbulletin; /*$result = $this->registry->db->query_read(" SELECT * FROM " . TABLE_PREFIX . "gb_cache WHERE $uniques = hash "); $records = array(); while ($record = $this->registry->db->fetch_array($result)) { $records = $record; }*/ if ($vbulletin->options['gb_cache']) { $result = $this->cacheCheck($uniques); return $result; } else { return $this->registry->db->query_first(" SELECT * FROM " . TABLE_PREFIX . "gb_cache WHERE hash = '$uniques' "); } } private function cacheCheck($uniques) { require_once(DIR . '/Zend/Cache.php'); $frontendOptions = array( 'lifetime' => 604800, // cache lifetime of 7 days 'automatic_serialization' => true ); $backendOptions = array( 'cache_dir' => './goldbrick/cache/' // Directory where to put the cache files ); // getting a Zend_Cache_Core object $cache = Zend_Cache::factory('Core', 'File', $frontendOptions, $backendOptions); if(!$result = $cache->load($uniques)) { // cache miss; connect to the database $result = $this->registry->db->query_first(" SELECT * FROM " . TABLE_PREFIX . "gb_cache WHERE hash = '$uniques' "); $cache->save($result, $uniques); return $result; } else { return $result; } } }
On every page I see just

Code:
'";'); } if ($vbulletin->options['gb_enabled']) { eval('$headinclude .= "' . fetch_template('goldbrick_header') . '";'); }
Reply With Quote
  #1058  
Old 12-03-2008, 01:58 PM
Mesohu Mesohu is offline
 
Join Date: Jan 2008
Location: Kosova / Albania
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to add the Google Video Player ?
Reply With Quote
  #1059  
Old 12-08-2008, 08:29 AM
Mesohu Mesohu is offline
 
Join Date: Jan 2008
Location: Kosova / Albania
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mesohu View Post
How to add the Google Video Player ?
Any idea ?
Reply With Quote
  #1060  
Old 12-09-2008, 12:03 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how is it different from AME hack?
Reply With Quote
  #1061  
Old 12-09-2008, 07:28 AM
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Location: Poland
Posts: 555
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nadeemjp View Post
how is it different from AME hack?

Ame is working and is updated and supported. This one is dead since a year.
I would recommand AME if you didnt chose yet.
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 12:58 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.06192 seconds
  • Memory Usage 2,323KB
  • 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_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