vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Awesome Flash Music Player For Members Profile (https://vborg.vbsupport.ru/showthread.php?t=264078)

socialteenz 09-20-2011 04:41 PM

Quote:

Originally Posted by Papa Bear (Post 2247991)
Installed..works great in 4.1.5 thanks

Cheers :)

CoffeeLovesYou 09-26-2011 08:45 PM

Can anyone help me try to make a profile field? I would like to make a profile field to toggle Autostart. For example;
It would be Radio Buttons Yes or No. If you select Yes, it will set autostart music to true. If you select No, it will not autostart music. How would I do this vB 4.1.x? Thanks.

socialteenz 09-26-2011 09:03 PM

Quote:

Originally Posted by CoffeeLovesYou (Post 2250341)
Can anyone help me try to make a profile field? I would like to make a profile field to toggle Autostart. For example;
It would be Radio Buttons Yes or No. If you select Yes, it will set autostart music to true. If you select No, it will not autostart music. How would I do this vB 4.1.x? Thanks.

why make it complicated?

You can disable the Auto play option by changing this line

Code:

so.addParam('flashvars','&file={vb:raw userinfo.fieldx}&volume=100&autostart=false');
Please mark as Installed, if you are using this mod.

Kraxell 09-27-2011 12:15 PM

2 questions:
-Possible to link youtube-url?
-Get the song load (traffic) when i click the button or when i load the hole page?

socialteenz 09-27-2011 04:11 PM

Quote:

-Possible to link youtube-url?
Nope

Quote:

-Get the song load (traffic) when i click the button or when i load the hole page?
The song gets loaded after the page loads. You can disable the auto play option.

93Corvette 09-28-2011 12:57 PM

I haven't downloaded this yet since I'm still trying to understand it...

I am running 4.1.5, and a couple times in this area the below was said, but it never tells you where to put the code. Do I edit a template or something? Please remember, I'm a total noob....

Code:

Change log:

Vb4.1.4 users should add the code below.

Code:
{vb:raw blocks.stats_mini}


socialteenz 09-28-2011 02:09 PM

Quote:

Originally Posted by 93Corvette (Post 2250899)
I haven't downloaded this yet since I'm still trying to understand it...

I am running 4.1.5, and a couple times in this area the below was said, but it never tells you where to put the code. Do I edit a template or something? Please remember, I'm a total noob....

Code:

Change log:

Vb4.1.4 users should add the code below.

Code:
{vb:raw blocks.stats_mini}


Yes, you need to edit the templates.

Then Style Manager>>>Your Style>>>Edit Templates>>>Member Info Templates>>>MEMBER INFO

Find:

taavipost 09-29-2011 02:17 PM

Gonna try it soon.

socialteenz 09-29-2011 02:45 PM

Quote:

Originally Posted by J40544756F6D (Post 2251263)
Gonna try it soon.

Let me know how it goes!!

Good luck.

Laurvick 10-02-2011 11:43 PM

Is there any way, I can set this up as Auto Play, but with half volume?

socialteenz 10-03-2011 07:26 PM

Quote:

Originally Posted by Laurvick (Post 2252502)
Is there any way, I can set this up as Auto Play, but with half volume?


Here you go, don't forget to mark it as INSTALLED!!
Code:

<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
  <div class="visitors">
    <h5 class="blocksubhead smaller">My Profile Song</h5>
      <div class="blockbody">
        <div class="blockrow">
          <div class="meta">
                <li>
<center><tbody><tr>
                                <td class="alt1" style="font-family: Verdana; font-size: 10pt">
                               


<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=50&autostart=true');
so.write('player');
</script>

</td>
                        </tr>
                        </tbody></center>
 </div>


fxwoody 10-04-2011 12:30 PM

socialteenz, did you had time to look for the song list to add in your hack like i asked before?

Members don't seem to find the way to go on KIWI, upload and paste into their page!! I know, lazyness....lollll

So if we, admin could upload a few songs and add them in some choice window, it would probably make this easier on them ?!?!

Tks anyway, i like my page, it rocks ;)

socialteenz 10-04-2011 02:19 PM

Quote:

Originally Posted by fxwoody (Post 2253111)
socialteenz, did you had time to look for the song list to add in your hack like i asked before?

Members don't seem to find the way to go on KIWI, upload and paste into their page!! I know, lazyness....lollll

So if we, admin could upload a few songs and add them in some choice window, it would probably make this easier on them ?!?!

Tks anyway, i like my page, it rocks ;)

Hey, sorry for the wait!! I looked but didn't have enough time to find a solution!! My college life drives me NUT!! It's TERRIBLE. I am sorry, i am running out of ideas. I hope some one can look in to this!!

Thanks :)

fxwoody 10-06-2011 11:01 AM

ok no prob! i will try to help out if i can ;)

socialteenz 10-10-2011 01:03 PM

Quote:

Originally Posted by fxwoody (Post 2253901)
ok no prob! i will try to help out if i can ;)

Thanks for your understanding.

chrissyplum79 10-10-2011 06:07 PM

Thank you very much for the mod and help with the setup! :)

Omniverse 10-14-2011 11:24 AM

Firstly thank you so much for this mod. I've nominated for mod of the month about 5 minutes into the future... This is where you could upgrade:

Firstly, as usual, a coder assumes the user knows certain things. And I don't fault you for that, it's very hard to understand cluelessness from an informed/knowledgeable PoV. Being a clueless person about VB code etc myself, Ttis is what you could change in your OP:

instead of saying change field x to your field number, which could mean a lot of different things, specify how to do that Exactly. This is where I got screwed up.

Firstly, you put TWO x's, and said change field x. So that confused me. "Do I change one x or two?" The red color helped in that area but I did ponder that when finding it not work right.

Secondly, you put replace field x with a space. I was trying to read between the lines a bit. I put "Field 5", and that did not work.

Also, if you want to make this mod more user friendly to install, please include a small description of what a field is and how to get the field number. you get the field number by going to your field editor and it shows you the field number for all of them. This is how I figured out the right code, which was NOT Field 5 or Field5x or simply 5 (you did say replace field x with your field number, so naturally i replaced both field and the x's with my field number) ,....

it was field5 (5 was just the field i added it in to users installing this mod so yours may be like 3 or 7 etc).

So just trying to help your mod reach more people, if you integrate these into your hack description, it will help out the ease of installing for people like me who use only logic and no experience with a vb forum(which btw i LOVE).

Next, I need to do this: Center the "My Profile Song" to be centered above the song. Not a big deal, but it's aesthetically pleasing to me and is a small upgrade. I could assume it's just a simple center code of html, but Im a pretty big noob at coding etc and something that simple could screw everything up in VB code in my clueless logic, so I figure I will ask how (plz), and also suggest you implement this into your OP coding.

Another suggestion to implement into your coding, is this modification I made(and i really do recommend it because most users have no clue what to do to the profile option, so this would help ease of use):

Change the description to: "To add a more personalization to your profile, you may add a song. To do this, enter the full URL of the song in this field. We do not host the song for you, so you will have to upload it somewhere yourself." Or you can word it however you like, but that is what I put it on my forum. Many users will not know what to do with that blank text space. So this is a bar none upgrade to your instructions. I hope you do not take this as you being flawed !! Pretty much everything can be upgraded :) And I whole heartedly am thankful for this mod.

Peace
-Omni

socialteenz 10-14-2011 12:15 PM

Quote:

Originally Posted by Omniverse (Post 2257124)
Firstly thank you so much for this mod. I've nominated for mod of the month about 5 minutes into the future... This is where you could upgrade:

Firstly, as usual, a coder assumes the user knows certain things. And I don't fault you for that, it's very hard to understand cluelessness from an informed/knowledgeable PoV. Being a clueless person about VB code etc myself, Ttis is what you could change in your OP:

instead of saying change field x to your field number, which could mean a lot of different things, specify how to do that Exactly. This is where I got screwed up.

Firstly, you put TWO x's, and said change field x. So that confused me. "Do I change one x or two?" The red color helped in that area but I did ponder that when finding it not work right.

Secondly, you put replace field x with a space. I was trying to read between the lines a bit. I put "Field 5", and that did not work.

Also, if you want to make this mod more user friendly to install, please include a small description of what a field is and how to get the field number. you get the field number by going to your field editor and it shows you the field number for all of them. This is how I figured out the right code, which was NOT Field 5 or Field5x or simply 5 (you did say replace field x with your field number, so naturally i replaced both field and the x's with my field number) ,....

it was field5 (5 was just the field i added it in to users installing this mod so yours may be like 3 or 7 etc).

So just trying to help your mod reach more people, if you integrate these into your hack description, it will help out the ease of installing for people like me who use only logic and no experience with a vb forum(which btw i LOVE).

Next, I need to do this: Center the "My Profile Song" to be centered above the song. Not a big deal, but it's aesthetically pleasing to me and is a small upgrade. I could assume it's just a simple center code of html, but Im a pretty big noob at coding etc and something that simple could screw everything up in VB code in my clueless logic, so I figure I will ask how (plz), and also suggest you implement this into your OP coding.

Another suggestion to implement into your coding, is this modification I made(and i really do recommend it because most users have no clue what to do to the profile option, so this would help ease of use):

Change the description to: "To add a more personalization to your profile, you may add a song. To do this, enter the full URL of the song in this field. We do not host the song for you, so you will have to upload it somewhere yourself." Or you can word it however you like, but that is what I put it on my forum. Many users will not know what to do with that blank text space. So this is a bar none upgrade to your instructions. I hope you do not take this as you being flawed !! Pretty much everything can be upgraded :) And I whole heartedly am thankful for this mod.

Peace
-Omni

Thank you :)
By default it should be centered!
I tried my best to make it sample, if you still have problems pm me, I will install this on your site!!

Omniverse 10-14-2011 07:26 PM

Thanks for the offer, but I don't feel comfortable giving someone access to my forum's admin panel without knowing them a good bit or a scenario you probably wouldn't believe so I'll censor myself :P. I will just leave it how it is.

Here is a display of my profile if you want to look at how it's working. I will change profiles to not be viewable by guests in a few days(or somewhere around there). Perhaps you can suggest something? My intuition tells me you would not do something to my site, and it would be fine. Regardless, I have to be careful given the company that lurks around me and the importance(to me anyway) of what I have on my site.....

http://www.omniverse101.com/forum/me...hp?1-Omniverse

socialteenz 10-14-2011 07:40 PM

Quote:

Originally Posted by Omniverse (Post 2257283)
Thanks for the offer, but I don't feel comfortable giving someone access to my forum's admin panel without knowing them a good bit or a scenario you probably wouldn't believe so I'll censor myself :P. I will just leave it how it is.

Here is a display of my profile if you want to look at how it's working. I will change profiles to not be viewable by guests in a few days(or somewhere around there). Perhaps you can suggest something? My intuition tells me you would not do something to my site, and it would be fine. Regardless, I have to be careful given the company that lurks around me and the importance(to me anyway) of what I have on my site.....

http://www.omniverse101.com/forum/me...hp?1-Omniverse

It's centered already!! Yeah, no problem, i have installed this modification on 6 sites already :p

Omniverse 10-14-2011 08:02 PM

Quote:

Originally Posted by socialteenz (Post 2257289)
It's centered already!! Yeah, no problem, i have installed this modification on 6 sites already :p

On both Safari and Firefox it's on the left side, not centered for my view. Really not a big deal.

Thanks again for the mod, it's great :)

iSins 10-17-2011 09:38 AM

Question, is it possible to block usergroups from using the player?

bada_bing 10-17-2011 04:45 PM

I have added this nice feature but I wanted to see how I can allow my members to choose auto start or not auto start within the usercp when added the URI of the song?

socialteenz 10-17-2011 05:02 PM

Quote:

Originally Posted by iSins (Post 2258096)
Question, is it possible to block usergroups from using the player?


You can grant access only to specific user groups by adding this code!!

Code:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Music Player code Goes here </vb:if>
Replace 1,2,3 with the usergroups which you want to allow to use this player.!!

socialteenz 10-17-2011 05:10 PM

Quote:

Originally Posted by bada_bing (Post 2258259)
I have added this nice feature but I wanted to see how I can allow my members to choose auto start or not auto start within the usercp when added the URI of the song?


I don't think i can help you in this!! Can be done by changing the code for sure!!

iSins 10-17-2011 08:45 PM

Quote:

Originally Posted by socialteenz (Post 2258266)
You can grant access only to specific user groups by adding this code!!

Code:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">Music Player code Goes here </vb:if>
Replace 1,2,3 with the usergroups which you want to allow to use this player.!!

Not working =/ where exactly do i add the code?

ofir24 10-18-2011 02:51 PM

"Replace the field x with your field number"

userinfo['fieldxx']">

what is my field number?

iSins 10-18-2011 06:34 PM

Quote:

Originally Posted by ofir24 (Post 2258595)
"Replace the field x with your field number"

userinfo['fieldxx']">

what is my field number?

Under User Profile Fields/User Profile Field Manager, You will see the music player part you added it will have a field number in it, for instance mine says field7

socialteenz 10-20-2011 07:46 PM

Quote:

Originally Posted by iSins (Post 2258351)
Not working =/ where exactly do i add the code?

In the Member Info Template, replace the current code with this!


Code:

<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">
<!---Flash Music Player--->
<vb:if condition="$userinfo['fieldxx']">
<div class="block">
  <div class="visitors">
    <h5 class="blocksubhead smaller">My Profile Song</h5>
      <div class="blockbody">
        <div class="blockrow">
          <div class="meta">
            <li>
<center><tbody><tr>
                <td class="alt1" style="font-family: Verdana; font-size: 10pt">
               


<script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script>

<div id="player"></div>

<script type="text/javascript">
var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
so.write('player');
</script>

</td>
            </tr>
            </tbody></center>
 </div>
 </div>
    </div>
  </div>
</div>
<div class="underblock"></div>
</vb:if>
<!---Flash Music Player--->
</vb:if>

Replace 1,2,3 with the usergroups which you want to allow to use this player.!!

socialteenz 10-20-2011 07:47 PM

Quote:

Originally Posted by iSins (Post 2258696)
Under User Profile Fields/User Profile Field Manager, You will see the music player part you added it will have a field number in it, for instance mine says field7


Yes exactly, i might post a screen shot of this later!!

kylek 11-16-2011 08:28 AM

Works great, just did a fresh install on 4.1.8. Thanks for this!!

Marked installed, rated, and nominated.

socialteenz 11-16-2011 04:18 PM

Quote:

Originally Posted by kylek (Post 2268468)
Works great, just did a fresh install on 4.1.8. Thanks for this!!

Marked installed, rated, and nominated.


Thank you :)

durruti 02-01-2012 01:19 AM

Hi, doesn't work for me.
When tried, it says: You have entered an invalid birthday.

I think I've followed everything.

2 - Edit the Member Info Template

If this mean adding the code and the field, yes, I already did it.
Since my forum is in public_html, I didn't edit the link.

socialteenz 02-01-2012 05:35 AM

Quote:

Originally Posted by durruti (Post 2294827)
Hi, doesn't work for me.
When tried, it says: You have entered an invalid birthday.

I think I've followed everything.

2 - Edit the Member Info Template

If this mean adding the code and the field, yes, I already did it.
Since my forum is in public_html, I didn't edit the link.

This means that you have not edited the birthday field in your profile, it has nothing to do with my mod. If you need any personal help, send me a pm here.

durruti 02-01-2012 08:25 AM

Hi, works now - thanks.
Question though, what's that full screen button suppose to function?
And is there a way to make the autoplay repeat itself continuously (unless the stop button is pressed)?

socialteenz 02-07-2012 02:35 PM

Quote:

Originally Posted by durruti (Post 2294903)
Hi, works now - thanks.
Question though, what's that full screen button suppose to function?

It is of no use, you can remove this line from the code
Code:

so.addParam('allowfullscreen','true');
Quote:

And is there a way to make the autoplay repeat itself continuously (unless the stop button is pressed)?
Try changing this line
Code:

so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autostart=true');
to
Code:

so.addParam('flashvars','&amp;file={vb:raw userinfo.fieldxx}&volume=100&autoRepeat=true');
The code i had given is not tested.

whoareyou82605 04-13-2013 02:19 PM

installed, the block shows up in profile but does not show the player -

socialteenz 04-13-2013 04:25 PM

Quote:

Originally Posted by whoareyou82605 (Post 2416125)
installed, the block shows up in profile but does not show the player -

Pm me your site url.

whoareyou82605 04-14-2013 02:28 PM

Fixed issue.. Thanks for the fast replys

n00bl3t 06-13-2013 07:40 PM

Quote:

Originally Posted by whoareyou82605 (Post 2416125)
installed, the block shows up in profile but does not show the player -

Getting same issue.


All times are GMT. The time now is 09:34 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.01448 seconds
  • Memory Usage 1,861KB
  • 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
  • (10)bbcode_code_printable
  • (24)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
  • (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