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)

Ultimate Killer 06-07-2008 03:15 PM

Installed thanks!

BigDog56 06-08-2008 01:58 PM

Quote:

Originally Posted by dancue (Post 1521566)
For those of you interested in making the radio Yes/No Buttons do the following.

STEP ONE:
When making the auto play profile field follow these directions instead:
3:
Single-Selection Radio Buttons
Title: YouTube Auto-play?
Description: Select whether or not you would like the video to start automatically.
Options(each on a separate line): Yes
No
Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number..
Say the field number is 11,,you will need to change the
a in $userinfo[fielda] to 11 like this,, $userinfo[field11]


STEP TWO:


After replacing the field values (fielda, fieldt, and so on) in template memberinfo_block_youtube you will need to replace $userinfo[fielda] (only one instance) with <if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>

That's it. You are done. Hopefully the author can add this and make it default.

Thank you! very nice. A lot easier for members to understand.

Keyser S?ze 06-08-2008 04:35 PM

but what do i put in this field? if im suppose to copy whats above it ehy not just have it auto filled?

or a selection for the user, "do u want it toauto play?"

mine works fine but everyone else gets this on top of their profile, i did fix the user groups in plugin manager

Parse error: syntax error, unexpected T_DNUMBER in /home/asylum/public_html/forums/member.php(463) : eval()'d code on line 1

ceho 06-10-2008 01:48 PM

Hi there,

I am about to finish the installation of this fantastic Mod. Technically no problems, all works fine. I just got stuck with a small problem I cannot fix myself. I cannot make the block title work exactly like the other ones (please see the attachment). And as my skills with all that are more than limited, I really have to ask for help. Do you have any idea where and how to fix this problem?

Thank you very much in advance!

EvilJohn 06-20-2008 11:49 PM

Wow! Awesome! Clicked everything. :D <3 So how do i get the mp3 player in your profile?

stangger5 06-21-2008 05:05 AM

Quote:

Originally Posted by Keyser S?ze (Post 1544228)
but what do i put in this field? if im suppose to copy whats above it ehy not just have it auto filled?

or a selection for the user, "do u want it toauto play?"

3:
Single-Line Text Box
Title: YouTube Auto-play
Description: Put &autoplay=1 in the input box below,to have it auto-play..

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

You forgot to put the Description in for autoplay..


Quote:

Originally Posted by ceho (Post 1545882)
Hi there,

I am about to finish the installation of this fantastic Mod. Technically no problems, all works fine. I just got stuck with a small problem I cannot fix myself. I cannot make the block title work exactly like the other ones (please see the attachment). And as my skills with all that are more than limited, I really have to ask for help. Do you have any idea where and how to fix this problem?

Thank you very much in advance!

Look and see if you have the image..... images/buttons/collapse_generic.gif..

Right click on one of the working arrows and then save picture as,,this will tell you the name of the image..

Quote:

Originally Posted by EvilJohn (Post 1555014)
Wow! Awesome! Clicked everything. :D <3 So how do i get the mp3 player in your profile?

I`m still working on the mp3 player..;)

Ticinofelino 06-21-2008 06:43 AM

Great, I love it, thanks! :D
*installed*

EvilJohn 06-22-2008 05:37 AM

Quote:

Originally Posted by transparent (Post 1538620)
My members pointed out a possible bug...

I have the permissions set so that only VIPs & above are able to use the YouTube vids. What I didn't realize is that if you don't have permission to use it you also don't have permission to view anyone else's.

I'm hoping this has just never been noticed. Anyone know how to fix this?


I discovered this myself. Ugh Can we get a fix oh great one. :D stangger5

dschips 06-27-2008 02:53 PM

I installed the Mini You Tube Video in Profile last night. Now the profiles are messed up. We're using vBulletin version 3.7.1 patch. Is the plugin compatible with that release? Has someone else run into this problem?

dschips 06-27-2008 03:13 PM

Not only are the profiles messed up, the video won't play at all. I'm very new at this. Any help in finding where I messed up would be very appreciated!

dschips 06-28-2008 03:37 AM

Ok, I replaced the forum with a very recent backup, updated to 3.7.2, and edited the code as necessary. The profiles are fine now, and it looks like the you tube videos should work, only they don't. I can enter the settings as expected, and the box is displayed ok, but I can't get the video to play.

EvilJohn 06-28-2008 05:21 AM

Here is a "How To" Which seemed to work for my forum members. But still had to do a few in the CP for a few users. http://evilrtcw2.com/forums/showthread.php?t=7889

stangger5 06-28-2008 09:22 AM

Quote:

Originally Posted by dschips (Post 1560883)
Ok, I replaced the forum with a very recent backup, updated to 3.7.2, and edited the code as necessary. The profiles are fine now, and it looks like the you tube videos should work, only they don't. I can enter the settings as expected, and the box is displayed ok, but I can't get the video to play.

Send me a link to your site,,so I can have a look..

dschips 06-28-2008 01:56 PM

Thank you EvilJohn, but the video still doesn't play.

I set up a test account,
username: testmode
password: testing
so you can login. Here's the link: http://www.writeaprisoner.com/vbforum/

Thank you

stangger5 06-29-2008 10:28 AM

dschips....I made two version of youtube in profile...

One with just the youtube number..The one in this post..

One that uses youtube embed url...Posted here..

You installed the youtube embed url one...
Yours works fine by useing the embed url...

dschips 06-30-2008 02:45 PM

Thank you stangger5! I thought maybe I'd installed it wrong. This will be a great addition to the forum.

Diane

dvbusuario 07-01-2008 05:20 AM

Install!!!

Very good!

Digital Jedi 07-02-2008 06:32 PM

Stangger, I don't think this has been suggested before, but I did the autoplay option a little differently.

Instead of a text field where they have to put in &autoplay=1, I made it a single selection check box called Check to have your video auto-play when your profile loads.

Then I put &autoplay=1 in the emebed code and wrapped it in the IF conditional: <if condition="$userinfo[field20]">&autoplay=1</if>

PHP Code:

<object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$userinfo[field17]"></param><param name="wmode" value="transparent"></param>
<
embed src="http://www.youtube.com/v/$userinfo[field17]<if condition="$userinfo[field20]">&autoplay=1</if>" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object

Works perfectly, and simplifies it for users. Figured I'd share it with you.

Demo: http://www.cogonline.net/forums/prof...do=editprofile

User and Password: test

Chadi 07-02-2008 08:59 PM

Does this have moderation queue option?

UNRE4L 07-03-2008 01:41 AM

Has anyone had problems with this where some users can see it and others cant? As far as I know I havent set any permissions to say some users cant :S

Chadi 07-05-2008 11:26 PM

Can you please make one for godtube.com also?

Nzo 07-07-2008 08:28 AM

*installed
Quote:

Originally Posted by Digital Jedi (Post 1565109)
Instead of a text field where they have to put in &autoplay=1, I made it a single selection check box called Check to have your video auto-play when your profile loads.

Works like charm. Thx for sharing :)

protoolers 07-07-2008 06:47 PM

Great Plug!

SHalliday 07-11-2008 04:35 AM

Thank you for this great plug-in. Our members love it. Two thumbs up as index finger clicks install :)

towermatt 07-16-2008 02:01 PM

Great mod, thanks for putting it out here.

I have a custom skin and these do not appear in the MEMBERINFO template.

Can I just add them? And if yes, where?

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]

NM--needed to upgrade my skin.

danielcompton 07-19-2008 08:46 PM

I couldnt get mine to show up in the member page at all, no matter what I tried..

I made silly mistake when entering the Field IDS, I viewed them and noted down the Display Order, rather than the Field ID

soon as changed that it worked,, silly error but maybe someone else has done this and might help them.

and had to change width to 200 otherwise it went right off the page

stangger5 07-20-2008 02:33 AM

Quote:

Originally Posted by towermatt (Post 1576838)
Great mod, thanks for putting it out here.

I have a custom skin and these do not appear in the MEMBERINFO template.

Can I just add them? And if yes, where?

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[youtube]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]

NM--needed to upgrade my skin.

Looks to me,, your still useing 3.6.X user profile page...

Should work just fine in your Default 3.7 skin...

Fax 07-22-2008 02:05 PM

if anyones intrested in using the actual url of youtube rather than the id number, you will need to manually create a plugin:

Hook Location: "member_execute_start"
Plugin PHP Code:
PHP Code:

$test $userinfo[field27];
$youtube substr_replace($test""031);[/B

And simply change in the template "memberinfo_block_youtube"
PHP Code:

<div class="alt2 block_row block_footer"><object width="240" height="200"><param name="movie" value="http://www.youtube.com/v/$youtube"></param><param name="wmode" value="transparent"></param>
<
embed src="http://www.youtube.com/v/$youtube&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="240" height="200"></embed></object


Virtualshiner 07-23-2008 05:51 PM

I installed this just and added all the codes and now my profile is all messed up. No one elses is just mine.

The link is here

I have now un-installed this mod until I can get my profile back into shape.

I have no backup of recently so I cant do that.

Please, any help?

stangger5 07-23-2008 11:45 PM

Looks like you have your profile fix back....

I `m working on a new version...
Please wait and install it...

ABeautifulBrown 07-31-2008 12:22 AM

I've installed it but the video isn't showing... I did it twice just to make sure I'd done it correctly. :(

anyone have any ideas?

Digital Jedi 07-31-2008 12:44 AM

Quote:

Originally Posted by ABeautifulBrown (Post 1587901)
I've installed it but the video isn't showing... I did it twice just to make sure I'd done it correctly. :(

anyone have any ideas?

Is this the page your talking about?

http://www.sofreshforums.com/member.php?u=1

It looks like there's another modification on your forum that causing an error.

ABeautifulBrown 07-31-2008 01:10 AM

I disabled everything, same thing :(

ABeautifulBrown 07-31-2008 01:14 AM

I figured it out. LOL.

However, why do the fields show up in my about me. I made them private... or can I only see them?

Digital Jedi 07-31-2008 01:50 AM

Quote:

Originally Posted by ABeautifulBrown (Post 1587919)
I figured it out. LOL.

However, why do the fields show up in my about me. I made them private... or can I only see them?

What fields would those be, exactly?

trilljester 08-07-2008 06:21 AM

Quote:

Originally Posted by NeuroLancer (Post 1455943)
stangger5, thanks :)

I idea though, instead of telling a user to put the &autoplay=1 in the text box, could you not have a single selection radio using a case? Or is that not possible in vBulletin? I added an if to mine instead, i made it

Code:

http://www.youtube.com/v/$userinfo[fieldi]<if condition="$userinfo['fielda'] == 'Yes'">&autoplay=1</if>
that way its 2 radios- Yes, No. Nicer for the user.

That's exactly what I did on my site. I figure, the less user input, the better. I wrote out a fairly detailed example for the YouTube ID field. Basically, went as far to bold the ID in the YouTube URL. I have a BBCode that does a similar thing, so my users are fairly comfortable with it.

Great little block, thanks.

Digital Jedi 08-07-2008 02:25 PM

Quote:

Originally Posted by trilljester (Post 1593169)
That's exactly what I did on my site. I figure, the less user input, the better. I wrote out a fairly detailed example for the YouTube ID field. Basically, went as far to bold the ID in the YouTube URL. I have a BBCode that does a similar thing, so my users are fairly comfortable with it.

Great little block, thanks.

I did a single selection check box myself: https://vborg.vbsupport.ru/showthread.php?p=1565109

gatorenvy 08-07-2008 02:42 PM

I just installed this on my forum, but can't get it to work. Followed all the steps perfectly (I think).

Here's my member profile.
http://gatorenvy.com/forums/member.php?u=1

The mini youtube block is there, but no video is showing up.

Any suggestions?

trilljester 08-07-2008 05:36 PM

Quote:

Originally Posted by gatorenvy (Post 1593465)
I just installed this on my forum, but can't get it to work. Followed all the steps perfectly (I think).

Here's my member profile.
http://gatorenvy.com/forums/member.php?u=1

The mini youtube block is there, but no video is showing up.

Any suggestions?

I don't see the block when I visit your profile.

stangger5 08-08-2008 01:57 AM

Quote:

Originally Posted by gatorenvy (Post 1593465)
I just installed this on my forum, but can't get it to work. Followed all the steps perfectly (I think).

Here's my member profile.
http://gatorenvy.com/forums/member.php?u=1

The mini youtube block is there, but no video is showing up.

Any suggestions?

I dont see it..
Get the box to show again and then I`ll have a look..


All times are GMT. The time now is 04:57 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.01939 seconds
  • Memory Usage 1,849KB
  • 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
  • (3)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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