vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - EPC MySpace Music Player to Profile (https://vborg.vbsupport.ru/showthread.php?t=156039)

blogtorank 08-24-2007 09:37 AM

One had an issue and PM me to look at what could be causing an issue with 4 players showing up in their profile here is a fix for this:

If you used this inside your memberinfo_customfields:

Quote:

  • Edit the memberinfo_customfields template
    • Add the following at the end:
Quote:
<tr>
<td>
$myplayercode
</td>
</tr>
Replace with:

PHP Code:

<if condition="$profilefield[profilefieldid]=='5'"

See the 5? Remove this 5 with the profile ID that's within your User Profile Field Manager when you set up the new field within the user profile.

This is only for the ones that are facing 4x players within their profile or perhaps multiples :) So we went for an if conditional and found this to work fine even with a new install!

Best regards!

applyimage 08-24-2007 10:57 AM

Installing this now good sir!

edit: Installed but a 'page cannot be displayed page' is shown whenever I click a profile that has their ID entereted. This may because I don't have 'curl' :(

edit2: Going to contact my server admin, this 'curl' is far too confusing for me.

Quote:

The server uses f_open() instead of cURL()
Does this mean anything to anybody? :) guessing the plugin would have to re-written to work for 'f_open()'

blogtorank 08-24-2007 06:49 PM

f_open() = more resources used on your server vs the cURL(), however you can have f_open and cURL() on the same time on a server... It's advisable to use cURL over fopen....

applyimage 08-24-2007 09:40 PM

ok he will be installing curl in the next few days. thanks blogtorank.

rb290 08-24-2007 11:16 PM

Damn this hack is awesome but that CURL stuff is confusing do I have to get my host admin to install for me? Or can I do it myself?

blogtorank 08-24-2007 11:41 PM

Quote:

Originally Posted by applyimage (Post 1325059)
ok he will be installing curl in the next few days. thanks blogtorank.

You got it man, it's not that hard to compile into php and if you have cpanel you can simply do this via

Quote:

Originally Posted by rb290 (Post 1325101)
Damn this hack is awesome but that CURL stuff is confusing do I have to get my host admin to install for me? Or can I do it myself?

Do you even know if you have it compiled into PHP? Have you viewed your PHP info?

applyimage 08-25-2007 11:20 AM

Quote:

Originally Posted by blogtorank (Post 1325111)
You got it man, it's not that hard to compile into php and if you have cpanel you can simply do this via

Yeah I have access to cpanel and ftp, but I downloaded the curl package and there where files that I have no idea what im supposed to do with them, never heard of curl before this thread. No worries though man I'll just be patient :cool:

blogtorank 08-25-2007 11:25 AM

Ummm if you have cPanel just run /scripts/easyapache pick option 7, and then go from there, if you aren't too familiar with SSH or anything like that it's best you hire someone to do it or have your host do it ASAP.

We did get a guy write in the yesterday about how he went from 100 plays a day to over 800+ from using this MOD :)

applyimage 08-26-2007 09:46 PM

Knowing me, I'd just f*** it up :)

Yeah how this mod was never created earlier idk, Myspace is becoming huge for aspiring musicians now and they love their play counts, so this should be a popular mod as soon as people know about it.

blogtorank 08-26-2007 10:28 PM

Well do you have SSH? Send me a PM if you do I'll compile it into your PHP if you like... Sunday Free day :D


All times are GMT. The time now is 12:56 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.01336 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (5)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
  • (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