The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Goldbrick Audio/Video Media System Details »» | |||||||||||||||||||||||||||
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:
Quote:
What's new in Goldbrick?
Goldbrick's Requirements:
Planned Features: - Youtube like interface - Video Comments - Media Tags - Media Searching Install Instructions:
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
|
Благодарность от: | ||
Comments |
#1052
|
|||
|
|||
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.
|
#1053
|
||||
|
||||
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 |
#1054
|
|||
|
|||
is not working ! the pages hang up ! and nothing works ! how to slove ?
|
#1055
|
|||
|
|||
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. |
#1056
|
|||
|
|||
Recently upgraded to 3.7.4 and pages hang up. Ran fine on 3.7.0.
Love this mod, looking forward to the fix. |
#1057
|
|||
|
|||
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; } } } Code:
'";'); } if ($vbulletin->options['gb_enabled']) { eval('$headinclude .= "' . fetch_template('goldbrick_header') . '";'); } |
#1058
|
|||
|
|||
How to add the Google Video Player ?
|
#1059
|
|||
|
|||
|
#1060
|
|||
|
|||
how is it different from AME hack?
|
#1061
|
|||
|
|||
Ame is working and is updated and supported. This one is dead since a year. I would recommand AME if you didnt chose yet. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|