vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

BiZiMDiYaR 06-04-2009 02:18 PM

Hi,

In my admincp I get below item. I have been trying to add this to the vbseo settings, but this doesn't go away... even if I add it. Any idea on how to solve this.. ? I added the code in: Custom Rewrite Rules in the vbseo...

Thanks.

Obviously you have installed vBSEO, but the video-directory isn't integrated in vBSEO yet.

To rewrite the links of the video-directory, add in your vBSEO-control center in "user definded rewrite rules" what follows:

'video.php?do=viewdetails&categoryid=(d+)&category title=(.*)&videoid=(d+)&videot itle=(.*)'=>'videos/$2-$1/$4-$3.html'
'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)&page=(d+)'=>'video s/$2-$1/$3/'
'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)'=>'videos/$2-$1/'
'video.php'=>'videos/'

xTerMn8R 06-04-2009 07:19 PM

I got a question, I have been using a mod called VBYes which integrated You Tube very nicely with our site, and was working Great until You Tube ONCE again changed the method of converting Videos and Now the Quality is less the I'd like.

So my question is.....

Can I use this Mod to Link to Video's that get save directly on our Web site, I sure hope so? It appears this is the only way I'm going to get the quality i need and I have unlimited disk space with my Web host.

This Looks exactly what I was looking for and really looks like it integrates well with vb.

Very Nice work folks I hope it will be the answer to saving me Hours (sometimes days) of wasted time messing with You Tube.

Nice Job,
xT

***Note***

I definitly am willing to make a donation if ya could help code an xml for Windows Media, from my Site "superskunkracing.com/videos/" folder for the media

************************************************** *********

Thank you...
xT

Digital Jedi 06-05-2009 05:08 AM

Quote:

Originally Posted by xTerMn8R (Post 1823517)
I got a question, I have been using a mod called VBYes which integrated You Tube very nicely with our site, and was working Great until You Tube ONCE again changed the method of converting Videos and Now the Quality is less the I'd like.

So my question is.....

Can I use this Mod to Link to Video's that get save directly on our Web site, I sure hope so? It appears this is the only way I'm going to get the quality i need and I have unlimited disk space with my Web host.

This Looks exactly what I was looking for and really looks like it integrates well with vb.

Very Nice work folks I hope it will be the answer to saving me Hours (sometimes days) of wasted time messing with You Tube.

Nice Job,
xT

***Note***

I definitly am willing to make a donation if ya could help code an xml for Windows Media, from my Site "superskunkracing.com/videos/" folder for the media

************************************************** *********

Thank you...
xT

This just embed the video from YouTube and a few others (so far, anyway). Nothing is uploaded to your site. If you want the HD videos, all you have to do is have your users follow the instructions that Jaxel posted in the first post.

xTerMn8R 06-05-2009 12:19 PM

Thanks Jedi for your responce, Its not HD videos I'm looking to stream, it's HQ (High Quality), HD videos must be just that HD 1280x720 Mine are not that But are of HIGH quality resolutions and Minimal Re-encoding. 780x480 you can add ALL the &fmt=18, &fmt=35 to the embedding command but it dont do nothing Cause You Tube never rendered it as such. (this is a New change from them this week) Anyway I have also installed the AME and see it has a script that works locally. Anyway I'll post on your thread and Not hijack this one, as I do have a few more questions.

Thank you to both of you Guys on 2 great mods, wish i could blend the 2 together, as I want to have the Front end of this one and the ability to point it locally as AME does.

xT

BiZiMDiYaR 06-05-2009 05:12 PM

Quote:

Originally Posted by BiZiMDiYaR (Post 1823306)
Hi,

In my admincp I get below item. I have been trying to add this to the vbseo settings, but this doesn't go away... even if I add it. Any idea on how to solve this.. ? I added the code in: Custom Rewrite Rules in the vbseo...

Thanks.


Obviously you have installed vBSEO, but the video-directory isn't integrated in vBSEO yet.

To rewrite the links of the video-directory, add in your vBSEO-control center in "user definded rewrite rules" what follows:


'video.php?do=viewdetails&categoryid=(d+)&category title=(.*)&videoid=(d+)&videotitle=(.*)'=>'videos/$2-$1/$4-$3.html'
'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)&page=(d+)'=>'videos/$2-$1/$3/'
'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)'=>'videos/$2-$1/'
'video.php'=>'videos/'

Hi,

I have this text as above, after I installed the Video directory, so that everything is clear.. :-) Is this the correct way to integrate this with vbseo or the code is wrong, or I am adding this to the wrong area ??

Please advise and thanks.

dancue 06-06-2009 03:01 PM

1 Attachment(s)
Quote:

Originally Posted by Espeacke (Post 1821364)
Hello All.
Excuse me ,as inserting advertising in these parts of the video.

http://img34.imageshack.us/img34/8822/dibujognl.jpg

Greetings.

Ads beside video-directory:
  • Below is an attachment to see what this does.
  • Replace the text in red with your ad code.
  • This is designed for ads that are 250x250. Changing the size of the ad would mean you have to change the padding, the area I highlighted in blue.
  • I have tested this on FF 3 and Safari, both on Mac. Don't know about the others yet.
Open template "video_details_embed" and replace all of its contents with the following:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat">
                <a href="$videourl" target="_blank">$videoinfo[title]</a>
        </td>
</tr>

<tr>
        <td class="panelsurround" align="center">

                <div class="alt2" style="float:left; padding-left:40px; padding-top:70px; padding-right:40px; padding-bottom:70px;">
PLACE AD CODE HERE
                </div>

                <div class="alt1" style="float:left; width:50%; padding-top:5px; padding-bottom:5px;">
                        <if condition="$canwatchvids">
                                $embedhtml
                        </if>
                        <if condition="!$canwatchvids">
                                $vbphrase[videos_cant_watch]
                        </if>
                </div>

                <div class="alt2" style="float:left; padding-left:40px; padding-top:70px; padding-right:40px; padding-bottom:70px;">
PLACE AD CODE HERE
                </div>
</div>
        </td>
</tr>

</table>

<br />


ArnyVee 06-06-2009 04:34 PM

Thanks for sharing that code! :D

And, if we wanted to disable them for members, I would assume that we put the <if> conditionals around the new <div> codes?

Also, how will this effect the HDEF videos? There won't be enough room on the sides when it's the large videos, right?

dancue 06-06-2009 04:59 PM

You would have to set if conditionals for both of those. Disabling for members and disabling for HDEF.

Let me know if you figure those out. I'd like to add those also.

ArnyVee 06-06-2009 06:10 PM

The IF statement for the members is as follows....

Code:

<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if>

...but not sure how to do the disabling for HDEF. Anyone have an idea as to what to do there?

skubaman 06-06-2009 10:13 PM

First. This is a great mod. Just installed and like it a lot.

Here are 2 questions:

1)
I feel like we would get users to submit more videos if we had the Add Video button on the video directory home. I modified the template for that but it doesn't work because the Category ID is a requirement.
I think it would make more sense to let users choose to Add a Video from anywhere, then on the add video form they can pick which category it belongs to.

Did anybody also think of that? Done that?

2)
I read through the entire thread and still can't figure out how to add something like "random videos" as a module on my CMPS. Would someone please shed some light?

Thanks so much for the help


All times are GMT. The time now is 07:40 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.02663 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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