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)

JayT123 05-12-2008 04:13 PM

Quote:

Originally Posted by JayT123 (Post 1516583)
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 (Post 1516709)
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

nix 05-12-2008 05:18 PM

Quote:

Originally Posted by Tom_S (Post 1517254)
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.

http://kmaoffroad.com/work/gbmedia.jpg

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 (Post 1517386)
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


sweeps78 05-12-2008 05:25 PM

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'">

nix 05-12-2008 05:31 PM

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.

Tom_S 05-12-2008 05:36 PM

Quote:

Originally Posted by nix (Post 1517452)
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.

sweeps78 05-12-2008 05:45 PM

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?

nix 05-12-2008 06:26 PM

Quote:

Originally Posted by Tom_S (Post 1517467)
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 (Post 1517476)
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.

JayT123 05-12-2008 08:23 PM

Quote:

Originally Posted by nix (Post 1517452)
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?

sensimilla 05-12-2008 09:16 PM

Quote:

Originally Posted by nix (Post 1514043)
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.

rapidphim 05-12-2008 09:26 PM

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.

TheProphet 05-13-2008 02:01 PM

Quote:

Originally Posted by nix (Post 1516275)
Make sure the javascript and css is being included in vbadvanced.

Mm you know how i can do that...

YLP1 05-13-2008 02:18 PM

Quote:

Originally Posted by nix (Post 1514348)
Did you set up the usergroup permissions and forum permissions? This hack works for 3.7 and i'm just fixing some small bug.

You can post the link that is not working for you also.

I have admin privilages and Goldbrick is enabled for the usergroup.

Here is a link that demonstrates a .wmv video added to a post with GoldBrick enabled. It only shows as a link - no inline video.

I am running current versions of VB and Goldbrick.

liljimmy 05-13-2008 05:48 PM

Quote:

Originally Posted by YLP1 (Post 1518325)
I have admin privilages and Goldbrick is enabled for the usergroup.

Here is a link that demonstrates a .wmv video added to a post with GoldBrick enabled. It only shows as a link - no inline video.

I am running current versions of VB and Goldbrick.

Well, I thought I would have to search the whole thread to find someone with my problem, must be my lucky day that the last post in here deals with my issue :D

One of my users tried posting a link to a .wmv file. All the usergroup settings are correct and windows media is enabled in my vb options. However, it only shows up as a link. I've tried it myself with the same results. Any fix or workaround for this?

:confused:

nix 05-13-2008 09:39 PM

Quote:

Originally Posted by YLP1 (Post 1518325)
I have admin privilages and Goldbrick is enabled for the usergroup.

Here is a link that demonstrates a .wmv video added to a post with GoldBrick enabled. It only shows as a link - no inline video.

I am running current versions of VB and Goldbrick.

Are you using Goldbrick 1.8 and do you have goldbrick setup to check attachments?

YLP1 05-13-2008 11:36 PM

I am using the 1.5 goldbrick from this topic (download in first post) and I have GoldBrick turned on to check attachments.

YLP1 05-13-2008 11:52 PM

Nix... I found the 1.8 version and installed and now the player shows but it doesn't play my .wmv file example here: http://lincolnparkforums.com/showthr...992#post207992

Any ideas on why it won't play? Thanks in advance and I can't wait to get this working --- it was a much easier install then the old anymedia mod ---- it will be awesome once the kinks are out of it.

Edited to add... I got .flv files to play but no go on .wmv or .swf
http://lincolnparkforums.com/showpos...3&postcount=12

shadowevil 05-14-2008 11:43 AM

Hi nix,

Goldbrick can't be played in mms://, rstp://, ...v...v.....Can u add them in new version plz?

BrOkEn.HaLo 05-14-2008 12:40 PM

Quote:

Originally Posted by BrOkEn.HaLo (Post 1514756)
Everything is working beautifully on my forum. I only have one issue. When you click on "Profile Video" in the UserCP and it takes me to "Add a Profile Video" page at the I get the error message

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/goldbrick/plugins/profile_start.php(19) : eval()'d code on line 2


It still takes the URL and submits it and works beautifully. I'd just like to clear up the error message. What do I need to do to fix this error?

Any luck with this yet Nix?

YLP1 05-14-2008 02:13 PM

Quote:

Originally Posted by YLP1 (Post 1518877)
Nix... I found the 1.8 version and installed and now the player shows but it doesn't play my .wmv file example here: http://lincolnparkforums.com/showthr...992#post207992

Any ideas on why it won't play? Thanks in advance and I can't wait to get this working --- it was a much easier install then the old anymedia mod ---- it will be awesome once the kinks are out of it.

Edited to add... I got .flv files to play but no go on .wmv or .swf
http://lincolnparkforums.com/showpos...3&postcount=12

I found another issue in addition to the above:
Using 3.7 Gold; Goldbrick 1.8 - profile video on in ACP.

When attempting to edit signature via profile page, this error occurs:
Quote:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [path]/goldbrick/plugins/profile_start.php on line 44
I looked at the Plugin Manager for this mod and found that the "Goldbrick: Editpost Update Process" is inactive. Would this have anything to do with the signature error?

Thanks in advance.

nix 05-14-2008 06:21 PM

I'll fix this stuff shortly. Suffering form 2nd DEG burns. This is the first day that I'm able to sit in a chair :(.

unitedpunjab 05-14-2008 06:32 PM

Quote:

Originally Posted by nix (Post 1519626)
I'll fix this stuff shortly. Suffering form 2nd DEG burns. This is the first day that I'm able to sit in a chair :(.

I wish you a very speedy recovery, Don't worry about the mod.Take care.

droid101 05-14-2008 07:05 PM

Suggestion: Make the "My Media" tab not show up when the person has not added a profile video.

Edit: Not trying to be a ++++. Hope you feel better bro.

YLP1 05-14-2008 07:25 PM

Quote:

Originally Posted by nix (Post 1519626)
I'll fix this stuff shortly. Suffering form 2nd DEG burns. This is the first day that I'm able to sit in a chair :(.

I hope your burns heal quickly. Nothing worse, except child birth, then burns.

rapidphim 05-15-2008 02:00 PM

Nix... sorry to hear you had 2nd deg. burn. just take your time with your medical treatment. When you are about to release next version, please make sure that we do not have to manual fix all the bbcode tag for existing threads. This is heck of job to do. And please please please look into DailyMotion. This thing never worked for me.

Option to:
1/ assign custom size
2/ auto play
3/ honestly, I do not like the current highslide that you use from vB. The old highslide version looks much better
4/ option to have "Next, Previous..." if we have series of video in the same topic so that user can click on Next button and it will automatically bring up the next video.

naisho 05-15-2008 02:17 PM

Quote:

3/ honestly, I do not like the current highslide that you use from vB. The old highslide version looks much better
The old highslide never worked on my forum (firefox bug).
This new version is simpler but at least works (whatever browser I tested). A few minor bugs to fix (admincp choices not taken into account). that's all.

nix 05-15-2008 03:34 PM

Quote:

Originally Posted by rapidphim (Post 1520516)
Nix... sorry to hear you had 2nd deg. burn. just take your time with your medical treatment. When you are about to release next version, please make sure that we do not have to manual fix all the bbcode tag for existing threads. This is heck of job to do. And please please please look into DailyMotion. This thing never worked for me.

Option to:
1/ assign custom size
2/ auto play
3/ honestly, I do not like the current highslide that you use from vB. The old highslide version looks much better
4/ option to have "Next, Previous..." if we have series of video in the same topic so that user can click on Next button and it will automatically bring up the next video.

1. You can already.
2. You can already. (don't know if its working though, haven't checked. thanks for the reminder).
3. It's no longer using Highslide. I might add that in as an options later.
4. It does it now.

If you empty your postphrased table you don't have to redo threads. I'm going to add that in.

rapidphim 05-15-2008 03:57 PM

Thanks Nix...

Sorry to be a pest but please do not forget to check DailyMotion, MegaVideo, Google Video (for Google, if you post multiple video within 1 post, you'll get error message in google.php file).

I did try to test the custom size and autoplay. They did not work.

Once you release the final version, please post your PP email. Thanks.

nix 05-15-2008 04:18 PM

Quote:

Originally Posted by rapidphim (Post 1520516)
Nix... sorry to hear you had 2nd deg. burn. just take your time with your medical treatment. When you are about to release next version, please make sure that we do not have to manual fix all the bbcode tag for existing threads. This is heck of job to do. And please please please look into DailyMotion. This thing never worked for me.

Option to:
1/ assign custom size
2/ auto play
3/ honestly, I do not like the current highslide that you use from vB. The old highslide version looks much better
4/ option to have "Next, Previous..." if we have series of video in the same topic so that user can click on Next button and it will automatically bring up the next video.

Quote:

Originally Posted by rapidphim (Post 1520667)
Thanks Nix...

Sorry to be a pest but please do not forget to check DailyMotion, MegaVideo, Google Video (for Google, if you post multiple video within 1 post, you'll get error message in google.php file).

I did try to test the custom size and autoplay. They did not work.

Once you release the final version, please post your PP email. Thanks.

I can't reproduce the google bug. I'll keep trying. Did you use the Goldbrick Options when posting a link?

rapidphim 05-15-2008 04:22 PM

Yes Nix. I had to post only with 1 Google link and edit the post with the rest, then it's okie. I couldn't post all the Google link at the same time like YouTube and others.

mdvaldosta 05-15-2008 04:52 PM

MOTM for sure once it's stable. Can't wait. PS - it'd be great to have the option via ACP to center the videos and/or make it look "exactly" like it's 3.6 predecessor.

shadowevil 05-16-2008 10:28 AM

Quote:

Originally Posted by shadowevil (Post 1519269)
Hi nix,

Goldbrick can't be played in mms://, rstp://, ...v...v.....Can u add them in new version plz?

can u answer this question ? i'm using version 1.8, thanks :)

Old Man River 05-16-2008 05:33 PM

I gotta ask is there anyway currently to alow full screen flv? I have tried everyhting i can to get full screen flv to work but it doesn't bite.

Chadi 05-16-2008 08:07 PM

Quote:

Originally Posted by rmxs (Post 1512619)
For 3.7 users to get video works on profile you must make this changes

edit gb_usercp_profile template


change

Code:

    <input type="hidden" name="s" value="$session[sessionhash]" />
to

Code:

    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />


After doing this, I was able to submit the link without errors. However, where is the actual video now in my profile? :) I cannot find it anywhere. For the record, I have all options enabled for my admin group, including "use GB in profiles..."

tafreeh 05-16-2008 08:41 PM

hey .. i have smilar hack installed called anymedia
do i need to uninstall that mod first....

or can u just explain me wats the difference between this mod and anymedia...

tafreeh 05-16-2008 09:47 PM

<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=73346&stc=1&thumb=1&d= " target="_blank">https://vborg.vbsupport.ru/attac...c=1&thumb=1&d=</a>

do you must have to check this option in order to make it work
..... ????

cosy 05-17-2008 11:54 AM

<a href="http://wuapi.com/" target="_blank">http://wuapi.com/</a> is supported ? if not i will like to be included

nix 05-17-2008 05:24 PM

Quote:

Originally Posted by Old Man River (Post 1521830)
I gotta ask is there anyway currently to alow full screen flv? I have tried everyhting i can to get full screen flv to work but it doesn't bite.

I'll add it in
Quote:

Originally Posted by shadowevil (Post 1521433)
can u answer this question ? i'm using version 1.8, thanks :)

I'll see about adding them.
Quote:

Originally Posted by chadi (Post 1521978)
After doing this, I was able to submit the link without errors. However, where is the actual video now in my profile? :) I cannot find it anywhere. For the record, I have all options enabled for my admin group, including "use GB in profiles..."

Download goldbrick 1.8. It's a couple of pages back.
Quote:

Originally Posted by tafreeh (Post 1522016)
hey .. i have smilar hack installed called anymedia
do i need to uninstall that mod first....

or can u just explain me wats the difference between this mod and anymedia...

Goldbrick is now anymedia. Download the install instructions and it will tell you want to do.
Quote:

Originally Posted by tafreeh (Post 1522072)
https://vborg.vbsupport.ru/attachmen...c=1&thumb=1&d=

do you must have to check this option in order to make it work
..... ????

You click the tickbox and those options work.

Chadi 05-17-2008 05:43 PM

Thanks nix, upgraded to 1.8 but still do not see anything in my profile showing the video I posted. Its not under "my media" tab either, which honestly I do not even remember if that tab is default vb or part of GB itself. However, its empty either way.

shadowevil 05-19-2008 02:54 AM

Quote:

I'll see about adding them.
I hope in next version will have this feature, thanks nix. :X

tafreeh 05-19-2008 05:04 AM

i think i m having a lil issue with this hack ...

when i put a youtube link and click post ... it dose not embed/auto phrases it

second when i try to put a vdo in my profile media tab .. i get security tokken error....


All times are GMT. The time now is 04:34 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.02259 seconds
  • Memory Usage 1,898KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (33)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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