vb.org Archive

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

Tulsa 10-21-2007 03:13 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1365117)
ok then why was the rest of the code not removed from the new update?

see thats the things i dont like now i got to go through the code and remove that part of the code

takes 2 mins in dreamweaver but if the feature aint there then it should be removed

The download code was removed from the template.

efc9 10-21-2007 03:16 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1365117)
ok then why was the rest of the code not removed from the new update?

see thats the things i dont like now i got to go through the code and remove that part of the code

takes 2 mins in dreamweaver but if the feature aint there then it should be removed

You must have modified the vBTube_view template which would stop it being updated with this update.. A hack update won't overwrite a user modified template, so to get the new one, you need to "revert" the template (I know it sounds a bit backwards, but that's the way vBulletin works)

If you were doing a clean install the download code is no longer in the template.

MiahBeSmokin420 10-21-2007 03:21 PM

Alright i see what you was saying

ya cause i was wondering why the lil template mod i did to it was still there

lol makes since

so was there anything else that was changed in the vBTube_view Template?

Here Is Mine

Code:


<table class="tborder" width="100%" cellpadding="6" cellspacing="0">
<tr><td class="tcat" colspan="3">$sect</td></tr>
<tr>
<td class="alt1">
<h2 align="center">$videos[title]</h2>
<h3 align="center">$videos[author]</h2>
<blockquote>$videos[description]</blockquote>
<div align="center">
<embed src="http://www.youtube.com/v/$vidid" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
</div>
</td></tr>
<tr><td class="alt1" align="center">
<img src="http://img.youtube.com/vi/$vidid/1.jpg">&nbsp;&nbsp;
<img src="http://img.youtube.com/vi/$vidid/2.jpg">&nbsp;&nbsp;
<img src="http://img.youtube.com/vi/$vidid/3.jpg">
</td></tr>
<tr><td class="thead">Extra Options</td></tr>
<tr><td class="alt1">
<form name="vidForm" id="vidForm">
<strong>Copy And Paste To Give The Direct Link To A Friend:</strong><br>
<input name="video_link" type="text" value="$vboptions[bburl]/vBTube.php?do=view&vidid=$vidid" class="vidURLField" onClick="javascript:document.vidForm.video_link.focus();document.vidForm.video_link.select();" size="80" readonly="true">
<br><br>
<strong>Copy And Paste To Embed Video To A Post On sFe Forums:</strong><br>
<input name="embed_link" type="text" value="http://www.youtube.com/watch?v=$vidid" class="vidURLField" onClick="javascript:document.vidForm.embed_link.focus();document.vidForm.embed_link.select();" size="80" readonly="true">
<br><br>
<strong>Copy And Paste To Embed On Sites Like MySpace:</strong><br>
<textarea rows="5" cols="75" name="embed_code" type="text" class="vidURLField" onClick="javascript:document.vidForm.embed_code.focus();document.vidForm.embed_code.select();" size="80" readonly="true"><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$vidid"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$vidid" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></textarea>
</form></div>

<br />
</td></tr>

</table>


And Of Course I Added This Part In That Template:

Code:


<strong>Copy And Paste To Embed Video To A Post On sFe Forums:</strong><br>
<input name="embed_link" type="text" value="http://www.youtube.com/watch?v=$vidid" class="vidURLField" onClick="javascript:document.vidForm.embed_link.focus();document.vidForm.embed_link.select();" size="80" readonly="true">
<br><br>

The Reason I Added That Part Is Cause I Have That Mod That Embed All Videos From All Sites And Sheit Ya You Get The Point

wizardan 10-21-2007 03:28 PM

Does the .php edit suggested in the first post to change the default category that shows on first view still work? Or what am I missing?

MiahBeSmokin420 10-21-2007 03:31 PM

ya it still works as far as i know
i took it out though cause

idk i just didnt like having people see the same types of videos right there when they first see that section

i felt that a user should be able to see a diffrent video on the main page or that section every time they go into it

Tulsa 10-21-2007 03:32 PM

What you're missing is the that change reflected "featured" and the code in the php file now calls "today" instead of "featured" but the change is still viable.

SBlueman 10-21-2007 03:37 PM

<a href="http://gridironfans.com/forums/vBTube.php" target="_blank">http://gridironfans.com/forums/vBTube.php</a>

Updated to the latest version. I am SOOOOO looking forward to 1.3 when I won't have to edit vbTube.php and the templates over and over!

MiahBeSmokin420 10-21-2007 03:38 PM

Quote:

Originally Posted by Tulsa (Post 1365142)
What you're missing is the that change reflected "featured" and the code in the php file now calls "today" instead of "featured" but the change is still viable.

Umm Im Not Really Following You With That One

Here Look At My vBTube Page And Tell Me If It Looks Like Im Missing Somethig From The New Updated Version If You Would Please

Click This Link Here To See My vBTube Page

wizardan 10-21-2007 03:45 PM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1365141)
ya it still works as far as i know
i took it out though cause

I am asked to find this in vBTube.php
Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
        $_GET['do'] = 'featured';
}

Someone show me where that is now???:D

What I see now is this...
Code:

if ($_GET['do'] == 'featured') {
include("vBTube/includes/featured.php");
}


Tulsa 10-21-2007 03:49 PM

Instead of finding this...

Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
        $_GET['do'] = 'featured';
}

Find this...

Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
        $_GET['do'] = 'today';
}



All times are GMT. The time now is 12:47 PM.

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.01280 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_code_printable
  • (4)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
  • (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