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)
-   -   New Posting Features - View Myspace Profile [Small Mod], Youtube Info Updated. (https://vborg.vbsupport.ru/showthread.php?t=157512)

Weapon-x 09-09-2007 10:00 PM

View Myspace Profile [Small Mod], Youtube Info Updated.
 
This mod will let users add there Myspace Friend ID Number to there profile and users can simply click and check on other members profiles.

Step One: Admin CP > User Profile Fields > Add New User Profile Field.

Profile field type: Single-line Text Box
Title: Myspace Friend ID
Description: "Please enter your myspace.com friend ID number. This number can be found after logging into myspace. You copy and paste everything after myspace.com/[your url is located here]
-Click Save-

Step Two: Admin CP > Styles and Templates > Style Manager > [<< Your Template >>] Postbit Templates > Postbit_Legacy

Find:
Code:

$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></if>
Below this add:
Code:

<!-- / Myspace.com Profile System -->
<if condition="$post['field8']">
<div id="myspacemenu_$post[postid]"><a href="http://www.myspace.com/$post[field8]"><img src="$stylevar[imgdir_misc]/myspace_profile.jpg" alt="View Myspace Profile" border="0"></a></div>
</if>
<!-- / End Myspace.com Profile System -->

Note: Replace "field8" with the Field ID for your Myspace ID you set on step one

Upload the include image to your styles img directory.

Done. Easy huh?

Update: 9/11/07
This mod works for youtube too. All you have to do is add
Code:

<!-- / Youtube.com Profile System -->
<if condition="$post['field8']">
<div id="youtubemenu_$post[postid]"><a href="http://www.youtube.com/profile?user=$post[field8]"><img src="$stylevar[imgdir_misc]/youtube_profile.jpg" alt="View Youtube Videos" border="0"></a></div>
</if>
<!-- / End Youtube.com Profile System -->

If someone could make a youtube image just like the myspace one it would work out pretty well.

Please Click Install If You Install This

enjoyyaself 09-10-2007 07:20 PM

very nice..installed

Weapon-x 09-10-2007 08:27 PM

Thank You. Your site is cool!

Weapon-x 09-11-2007 02:06 AM

Remember to change the field8 value.

FreshFroot 09-11-2007 04:29 AM

Thanks mate, will use this hack. Nice and simple too :D

Weapon-x 09-11-2007 12:37 PM

Quote:

Originally Posted by FreshFroot (Post 1336745)
Thanks mate, will use this hack. Nice and simple too :D

No prob.

Weapon-x 09-12-2007 03:49 PM

Please if you use this please click install. Thanks!

letsjoy 09-13-2007 09:01 AM

very nice mod please provide any demo :)

Herc 09-16-2007 05:27 PM

Thanks, Weapon.....:cool::cool:
Nice and sweet..

Weapon-x 10-15-2007 09:30 PM

Quote:

Originally Posted by Herc (Post 1340277)
Thanks, Weapon.....:cool::cool:
Nice and sweet..

Your Welcome.


All times are GMT. The time now is 09:16 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.01112 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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