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)
-   -   Portal Software - VideoMax 1.0 (https://vborg.vbsupport.ru/showthread.php?t=178729)

gwerzal 05-13-2008 09:48 AM

I use passivevid to display my youtube video's.

Would there be anyway to make this work with that.

Defkalion 05-13-2008 10:06 AM

Thanks RagingPenguin, I will be waiting. :)

RagingPenguin 05-13-2008 10:13 AM

Def, what version of the CMPS are you using? I have the 3.6.8 vbtest forum up and need to know so I can export it for you in the right format.

Defkalion 05-13-2008 12:04 PM

Hey, I'm using

CMPS v3.0.0

and

CMPS v3.0 RC2

on my two diferrent websites. I plan to use this mod in both. If I have to upgrade to a CMPS specific version just say so, don't waste any time on my account. :)

Defkalion 05-14-2008 06:56 AM

Ok I managed to make it work with CMPS v3.0.0. :)

The only problem is this:

It brings in my frontpage let's say 4 videos, but only one has a preview - the rest only have the thread title where the video was posted. So it only brings back videos that are posted like this:

Quote:

[youtube]5da9sd43[/youtube]
bbcode type and not the codes that are posted like this:

Quote:

[youtube]http://youtube.com/watch?v=-gVtWZ36_BA[/youtube]
Is this correct?

If so, is there any way to make it work with the second bbcode type also, or if that is not possible, to make it work ONLY with the second bbcode? Because all my members post the second type in the forums.

Thanks. :)

RagingPenguin 05-14-2008 01:45 PM

Yes, I tried it with an older CMPS as well and got the same result. The module was exported from CMPS 3.0.1 (vB 3.6 - vB 3.7) - Released 04-24-2008.

And yes! you can make it work with the second option. Go into the videomaxbit_video template and make the following change:

*DELETE TEXT IN RED - TWO INSTANCES*

Code:

<td align="center" valign="center">
        <div>
                <object type="application/x-shockwave-flash" width="$videomaxbit[width]" height="$videomaxbit[height]" data="http://www.youtube.com/v/$videomaxbit[pagetext]">
                <param name="movie" value="http://www.youtube.com/v/$videomaxbit[pagetext]" />
                <param name="play" value="$videomaxbit[play]" />
                <param name="wmode" value="$videomaxbit[wmode]" />
                <param name="quality" value="$videomaxbit[quality]" />
                <param name="loop" value="$videomaxbit[loop]" />
                </object>
        </div>
        <if condition="$videomaxbit[showlinks]">
                <div class="smallfont">$vbphrase[videomax_postedby]&nbsp;<a href="$vboptions[bburl]/member.php?u=$videomaxbit[userid]">$videomaxbit[username]</a></div>
                <div class="smallfont">$vbphrase[videomax_inthread]&nbsp;<a href="$vboptions[bburl]/showthread.php?t=$videomaxbit[threadid]#post$videomaxbit[postid]">$videomaxbit[title]</a></div>
        </if>
</td>

As long as your BB Code works you should be ok.

I'll put an option in v2 to specify full url use, or code only.

RagingPenguin 05-14-2008 01:49 PM

Quote:

Originally Posted by gwerzal (Post 1518082)
I use passivevid to display my youtube video's.

Would there be anyway to make this work with that.

I am unfamiliar with that product. As such I cannot say with any certainty. Can you provide me with a link to said product?

veenuisthebest 05-14-2008 07:26 PM

hiii..

plz tell me if there's a way to display those videos on a separate page, say youtube.php
as I am not willing to display them on my vbadvanced page.. thanks !!

gwerzal 05-14-2008 10:51 PM

Quote:

Originally Posted by RagingPenguin (Post 1519354)
I am unfamiliar with that product. As such I cannot say with any certainty. Can you provide me with a link to said product?

Hi

The link to the product is below

https://vborg.vbsupport.ru/showthrea...ght=passivevid

If this can be done with this then your mod would be an excellent addition to my forum.

Its just that there is already a lot of video's on the site and it would be very time consuming to go and change each post and edit the video's

Thanks for looking anyway

Waiting hopefuly
Ben Jones

RagingPenguin 05-15-2008 04:35 AM

Quote:

Originally Posted by veenuisthebest (Post 1519726)
hiii..

plz tell me if there's a way to display those videos on a separate page, say youtube.php
as I am not willing to display them on my vbadvanced page.. thanks !!

I am going to write a standalone page in version 2. However, you can create a "Module" page in vBa CMPS and show just that one module. In this, you can set it to say: 8 rows and 3 columns? or more? This page would show up in the vBa Nav menu. It's a good alternative until I get a real page written.

----------

gwerzal, I'll take a look at that tomorrow. bedtime now.


All times are GMT. The time now is 11:03 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.01165 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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