vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Goldbrick Audio/Video Media System (https://vborg.vbsupport.ru/showthread.php?t=165505)

cosy 10-12-2008 05:17 AM

i have the version 1.91 and still get problems when edit the post

is there any way to clear the tag[media] from all post ?

Medina 10-18-2008 06:53 PM

Yoehoeee nix. lol

Time for an update!

Medina 10-21-2008 06:43 PM

Is it possible to use this product with vBlog?

And how do you activate it? Because i doesnt work for me (version 1.91).

pjaco 10-21-2008 07:36 PM

very nice mod:D

Greenskull 10-22-2008 12:50 AM

im getting a problem when i go into a thread/try to post a new one:

Parse error: syntax error, unexpected T_STRING, expecting ')' in /homepages/38/d208038817/htdocs/goldbrick/plugins/bbcode_create.php on line 53

Any ideas?

Medina 10-23-2008 01:40 PM

@ Greenskull;

Download and upload the package 1.5 and also upload the 1.91 package. (both!)
Chmod goldbrick/cache to 777.

mangus580 11-05-2008 06:26 PM

Ok... I give...

I have been trying all afternoon to set this up to accept images via the attachment manager, and use the goldbrick media player to run them as a slideshow

what am I doing wrong?

I can post a link to an image in the message box, it works fine. I can upload a video via the attachment manager, it works fine.

If I upload an image normally, it uses lightbox still... If I turn lightbox off, and upload an image, it just makes a new window.

HELP!!

mangus580 11-11-2008 01:31 AM

anyone?

:confused:

ultimatearco 11-11-2008 10:50 PM

Hey, you should add compatibility with Revver, that would be great!

alexsinev 11-15-2008 02:13 AM

Hi, nix!

I installed the mod 3 months ago. It works fine for me. But I had problems with the pages with lots of photos, they opend very slowly (about 3 min). I didn't know the cause of this until I found out that the tables gb_cache and gb_media in my database have about 1,5 million records each.

After that I turned on Goldbrick Cache in Goldbricks options, as you wrote here, and set the chmod for the cache folder to 777.

The cache works fine! The pages with lots of photos load slowly only the first time, after that they open very quickly. But I have one question.

You wrote:
Quote:

Originally Posted by nix (Post 1552971)
This version will empty the gb_cache, gb_media and vb's postparsed tables in the database to prevent any errors.

Unfortunately the tables gb_cache and gb_media haven't been emptied. They still have about 1,5 million records each. How can I empty them? Can I simply delete all the records from them? And what about vb's postparsed tables?

Please, answer.

And thanks again for the mod.

alexsinev 11-16-2008 01:32 AM

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.

rveram 11-18-2008 08:41 PM

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 :(

moon_spell 11-23-2008 11:41 AM

is not working ! the pages hang up ! and nothing works ! how to slove ?

legija 11-26-2008 08:55 AM

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.

FPJ 11-29-2008 03:24 PM

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

Love this mod, looking forward to the fix.

TomasDR 12-03-2008 04:38 AM

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') . '";'); }

Mesohu 12-03-2008 01:58 PM

How to add the Google Video Player ?

Mesohu 12-08-2008 08:29 AM

Quote:

Originally Posted by Mesohu (Post 1677780)
How to add the Google Video Player ?

Any idea ? :confused::confused:

Nadeemjp 12-09-2008 12:03 AM

how is it different from AME hack?

sensimilla 12-09-2008 07:28 AM

Quote:

Originally Posted by Nadeemjp (Post 1681323)
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.

tirol07 12-16-2008 02:37 PM

Thanks you for this usefull plugin!
I have a question how can i add other Video sites to this plugin?

The bbcode is:
PHP Code:

<div style="width:465px;"><embed src="http://www.izlesene.com/player2.swf?video={param}" wmode="window" bgcolor="#000000" allowfullscreen="true" scale="noScale" width="100%" height="355" type="application/x-shockwave-flash"></embed><div style="background:#000000; padding:7px 0px  7px 7px;"></div></div


rungok 12-25-2008 03:29 AM

Looks like a promising project. Thanks for all your hard work! :)

But I have a couple of problems.

1. When I upload wmv-files as attachment the thumbnails look like this:
http://www.nettkafeen.no/forums/gold...dbrickplay.gif

Could it be possible to make it display the first frame in the wmv-file instead?

2. The "thumbnail" doesn't render on vBadvanced portal either.

Have I done something wrong?

Vackrick 12-27-2008 04:33 AM

pls help

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

ADomoWorld 12-28-2008 09:08 AM

Can I get support for putting it on the CMPS page it states its supported but the Docs dont help at all.

Nick Harris 01-07-2009 10:25 AM

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

I thought I'd take a look at this and it has one very nasty feature not mentioned anywhere. If someone posts a youtube video on your site this product sets a PORN COOKIE in the header of the page with the youtube video and it disables warning messages.

If you have already installed this product look in your "goldbrick/includes/sites/youtube.php" file for example and REMOVE THE FOLLOWING ASAP (else Google will take notice and hurt your site rankings... and thats IF your host provider doesn't take offense first and ban your site)

Code:

'header'        => 'Set-Cookie: 18plus=1; expires=Wed, 25-Oct-2017 02:49:15 GMT; path=/; domain=.megarotic.com',
        'activeregex' => array('#\<div class\="errorBox"\>#i' => false)

megarotic.com is a PORN site and this plugin sets a cookie on user computers who visit your website that won't expire until 2017.

You've been warned, check your files asap.

halkum 01-09-2009 09:01 AM

May I suggest adding BlogTV?

Aeolian 01-09-2009 10:54 PM

works with vB 3.8?

edit: seems to have :)

Vackrick 01-11-2009 03:05 AM

Someone help

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

It Happen to me on the profile video

and

i using 3.7.3

Please help pls

amaarvell 01-12-2009 05:09 AM

when ever I try and use this i get
Code:

Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir is not writable' in /home/virtual/site36/fst/var/www/html/Zend/Cache.php:144 Stack trace:
#0 /home/virtual/site36/fst/var/www/html/Zend/Cache/Backend/File.php(149): Zend_Cache::throwException('cache_dir is no...')
#1 /home/virtual/site36/fst/var/www/html/Zend/Cache/Backend/File.php(121): Zend_Cache_Backend_File->setCacheDir('./goldbrick/cac...')
#2 /home/virtual/site36/fst/var/www/html/Zend/Cache.php(127): Zend_Cache_Backend_File->__construct(Array)
#3 /home/virtual/site36/fst/var/www/html/goldbrick/includes/class_goldbrick.php(988): Zend_Cache::factory('Core', 'File', Array, Array)
#4 /home/virtual/site36/fst/var/www/html/goldbrick/includes/class_goldbrick.php(282): Goldbrick_Media->cacheCheck('389f7ae4bbd8209...')
#5 /home/virtual/site36/fst/var/www/html/goldbrick/includes/class_goldbrick.php(160): Goldbrick_Media->check_existing('http://uk.youtu...')
#6 /home/virtual/site36/fst/var/www/html/goldbrick/includes/functions_public.php(48): Goldbr in /home/virtual/site36/fst/var/www/html/Zend/Cache.php on line 144

any ideas?

9clics 01-14-2009 11:45 AM

Hi,

Someone on my board has this error when posting :
PHP Code:

Fatal errorCannot redeclare goldbrick_hook_google_complete() 

Do you know a fix about this?

Thanks in advance.

Here is the message :
Quote:

Hello

Vous avez vu le nouveau Google Insights for Search http://www.google.com/insights/search/ ?

C'est assez int?ressant, on peut extraire des informations valables sur la
France et depuis 2004 ? nos jours. Voici les 3 principales options de l'outil :

1) Volume "search term" permet de voir l'?volution des recherches et de
comparer plusieurs recherches. En lan?ant Google Insights avec "youporn"
et "sexe", on se rend compte que les visiteurs fran?ais tapent dans google
"youporn" plus souvent que le mot cl? "sexe" depuis d?but 2008. ?tonnant,
non?

2) "Location" permet, apr?s avoir choisi la France comme territoire, de voir
les mots cl?s les plus recherch?s. Il est m?me possible de choisir la cat?gorie
pour afiner les mots cl?s les plus recherch?s. Il y a de nombreuses
cat?gories pour le mainstream mais malheuresement pas de cat?gorie
"adulte". On peut ?galement voir les mots cl?s ayant la plus forte progression.

3) "Time range" donne des r?sultats similaires ? l'option 2, la diff?rence est
que l'on choisi d'abord la p?riode analys?e. C'est int?ressant pour voir les
recherches les plus fr?quentes ou m?me celles qui ont eu la plus forte
croissance les 7 derniers jours, pour savoir de quoi bloguer sur le
mainstream par exemple.

Conclusion : L'option 1 est la plus int?ressante pour les webmasters adultes
mais les options 2 et 3 peuvent permettre d'extraire des informations int?ressantes
pour les webmasters actifs sur le mainstream.

Pour aller plus loin, je vous invite ? visiter la section aide de Google Insights
http://www.google.com/support/insights/

Si vous trouver d'autres utilisations de Google Insights, partagez les avec la
communaut? de Bizpowa
With only one jpg picture attached.

Fynnon 01-15-2009 09:09 AM

i want to update so it would be great if this mod works with vB 3.8.0
10x

seanadl 01-21-2009 11:13 PM

When i upgrade to this newer version, old posts across my forum with embedded video's no longer play. New youtube video's and such will play, but old ones will not. Do i need to rebuild my post cache or something?

seanadl 01-21-2009 11:37 PM

I am getting the "media" tags around all the old video's on my forum, rather than the video's themselves.

Goldbrick is only working on new posts...

Vackrick 01-24-2009 09:08 AM

tis thread should be modification grayard since the developer dun support and dun reply

wolfstream 01-24-2009 03:48 PM

Quote:

Originally Posted by Vackrick (Post 1723123)
tis thread should be modification grayard since the developer dun support and dun reply

Or people should stop trying to use a 3.7 modification for a 3.8 forum, or whatever.

Does the code work? Absolutely. I've seen it work, and I've gotten it to work myself, so it definitely DOES work.

Will it be buggy? Hey, that's what "beta" software is all about. Give the developer a chance to fix things.

Remember, people, these guys aren't paid a dime to release their code. Sometimes development will be slow. Since it works (at least on 3.7), there's no reason to put it in the graveyard.

Noosphere 01-24-2009 10:20 PM

Quote:

Originally Posted by seanadl (Post 1720678)
I am getting the "media" tags around all the old video's on my forum, rather than the video's themselves.

Goldbrick is only working on new posts...

I've seen that, but if you click 'refresh', 99% of the time it posts the media properly. I agree, although Goldbrick can be a bit 'glitchy', hey, it's free and for the most part it works wonderfully. I appreciate the work that went into it.

mavikumsal 02-17-2009 04:22 PM

sorry my bad english
Site installation has worked successfully, but fla swf flv mpeg wma wmv videos error please help very urgent about this issue

iogames 02-19-2009 01:40 PM

Mr Nix do u know if it works on 3.6x ?

McMendo 02-20-2009 03:38 PM

Quote:

Originally Posted by iogames (Post 1749006)
Mr Nix do u know if it works on 3.6x ?

It used to when it was Anymedia. Alternatively there is one modification for 3.6.x versions based on Anymedia's code, here.

Quote:

Originally Posted by wolfstream (Post 1723405)
Or people should stop trying to use a 3.7 modification for a 3.8 forum, or whatever.

Does the code work? Absolutely. I've seen it work, and I've gotten it to work myself, so it definitely DOES work.

That's a problem when you installed it first on a 3.7 or even 3.6 version and you have upgraded to a 3.8 version.

But you are right. Some people just ignore the time that it takes to answer users' questions and that modifications are offered by independent developers at no cost and no profit.

nrms? 02-20-2009 05:14 PM

Quote:

Originally Posted by Nick Harris (Post 1704056)
WARNING WARNING WARNING WARNING WARNINGWARNING WARNING WARNING WARNING

I thought I'd take a look at this and it has one very nasty feature not mentioned anywhere. If someone posts a youtube video on your site this product sets a PORN COOKIE in the header of the page with the youtube video and it disables warning messages.

If you have already installed this product look in your "goldbrick/includes/sites/youtube.php" file for example and REMOVE THE FOLLOWING ASAP (else Google will take notice and hurt your site rankings... and thats IF your host provider doesn't take offense first and ban your site)

Code:

'header'    => 'Set-Cookie: 18plus=1; expires=Wed, 25-Oct-2017 02:49:15 GMT; path=/; domain=.megarotic.com',
    'activeregex' => array('#\<div class\="errorBox"\>#i' => false)

megarotic.com is a
PORN site and this plugin sets a cookie on user computers who visit your website that won't expire until 2017.

You've been warned, check your files asap.

Anyone confirm this...?

is really Warming...
:confused:


All times are GMT. The time now is 03:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06808 seconds
  • Memory Usage 1,864KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete