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)
-   -   Add-On Releases - Mini YouTube Video in Profile (right side block) (https://vborg.vbsupport.ru/showthread.php?t=169824)

Chadi 08-14-2008 04:50 AM

Quote:

Originally Posted by chadi (Post 1595214)
I'm trying to get this working for Godtube.com, since no one responded to my post last month, I gave it a shot. I got eveything working, except the actual video showing up :x

Templates all there, video block shows up - just without the actual video.

This is the xml file I used:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="godtube_member_profile" active="1">
    <title>Mini GodGube for Member Profile</title>
    <description>Displays a mini GodTube video on the right side of member profile.</description>
    <version>2.1</version>
    <url />
    <versioncheckurl />
    <dependencies>
    </dependencies>
    <codes>
    </codes>

<plugins>
    <plugin active="1" executionorder="5">
        <title>Mini GodGube for Member Profile</title>
        <hookname>member_build_blocks_start</hookname>
        <phpcode><![CDATA[if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
        {
            eval('$blocks[godtube] = "' . fetch_template('memberinfo_block_godtube') . '";');}]]></phpcode>
    </plugin>
        <plugin active="1" executionorder="5">
            <title>Mini right side godtube for Member Profile - Cache Template</title>
            <hookname>cache_templates</hookname>
            <phpcode><![CDATA[$globaltemplates[] = 'memberinfo_block_godtube';]]></phpcode>
        </plugin>
      </plugins>

<templates>
   
    <template name="memberinfo_block_godtube" templatetype="template" date="" username="stangger5" version="2.1"><![CDATA[
<!-- godtube -->
<if condition="$userinfo[fieldi]">
<div id="godtube" class="tborder content_block">
    <h4 class="thead block_title">
        <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('godtube')"><img id="collapseimg_godtube" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
        <a name="albums"></a>
        <span class="block_name">godtube Video</span>
    </h4>
    <div class="block_content" id="collapseobj_godtube" style="">
       
    <div class="alt1 smallfont block_row"><if condition="$userinfo[fieldt]">Title:&nbsp;$userinfo[fieldt]</if></div>
           
    <div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.godtube.com/view_video.php?viewkey=$userinfo[fieldi]"></param><param name="wmode" value="transparent"></param>
<embed src="http://www.godtube.com/view_video.php?viewkey=$userinfo[fieldi]$userinfo[fielda]" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object>
    </div>
</div>
</div>
</if>
<!-- / godtube -->
   
    ]]></template>
   
</templates>
    <phrases>
    </phrases>
    <options>
    </options>
    <helptopics>
    </helptopics>
    <cronentries>
    </cronentries>
    <faqentries>
    </faqentries>
</product>



Does anyone know how to get this working for godtube.com? Thanks in advance.

DJ Hutch 08-16-2008 09:46 PM

I've installed, edit the permissions and stuff but it doesn't seem to be appearing on the profile?

EDIT: Scrap this, figured out the problem. I had mixed up the profile field numbers haha, woops! Thanks anyway. Good mod. Works perfectly.

Chadi 08-20-2008 05:09 AM

If someone could *please* figure out how to get this working as a godtube.com version that would be appreciated.

Heafycore 08-20-2008 01:44 PM

Works, perfectly. Thanks!

Wheezy 08-22-2008 07:17 PM

I had lots of trouble with the URL version of this, but this ID version seems to work splendidly. So thank you; I am enjoying it on my forum!

john102774 08-23-2008 08:55 AM

Installed and working great! Thanks!

vb3.7.2 pl2

mlthmp 08-23-2008 09:17 PM

Installed, works well! I have a question though.

Right now only Admins/GMs can see it (via permissions) my question is.. how does this impact a forum's bandwidth? I realize this may be a dumb question.. but when the mod streams from youtube.. is it having a big impact on our bandwidth as well? (before I open it to my registered users) can I expect a big hit to my bandwidth?

Digital Jedi 08-24-2008 01:10 AM

Video hosted on a different site than yours will have no effect on your bandwidth, because nothing being pulled from your server.

Chadi 08-26-2008 03:47 AM

Would appreciate getting help on a godtube.com version of this.

yotsume 08-31-2008 02:20 PM

Installed... works great!


All times are GMT. The time now is 09:12 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.01242 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)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