vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   myspace profile icon (like yahoo, aim, msn etc) (https://vborg.vbsupport.ru/showthread.php?t=111701)

intrigue 03-29-2006 10:00 PM

myspace profile icon (like yahoo, aim, msn etc)
 
ok this is a very simple edit and i thought i would just quickly give it to others as im sure they will appreciate it too.

Firstly add a new profile field
Profile field type = Single-line text box
fill in the required details and click save and make a note of the field name
(most likely be fieldX) where X is the number of the field mine is field7 for example.

Now
Find
Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
And add below

Code:

                                <!-- my space display start -->
                                <if condition="$post[fieldX] != ''"><a href="http://$post[fieldX]" target="_blank">
<img src="images/misc/im_myspace.gif" title="View myspace profile" border="0"></a>
                                </if>
                                <!-- Myspace display end -->

Make sure you change the two value fieldX where X is the number you noted down at the start

Upload the im_myspace.gif to your images/misc/ folder and thats it.
I will support this but i doubt it will need support

EDIT - Screenshot attatched

Snake 03-30-2006 11:52 AM

Thanks, first one to install!

FleaBag 03-30-2006 04:10 PM

w00t! Never thought of this before. Sweet!

Mr Chad 03-31-2006 12:58 AM

Screen Shot? or Live demo?

TunerNetwork 04-04-2006 09:08 PM

Here's a quick ? for you, I installed this in my postbit, works great! Now, I did the custom profile edit of the MEMBERINFO template to look kinda like myspace.

My profile is here: http://www.tunernetwork.com/forum/member.php?u=2

What I want to know is, how do I now get that Icon to show up to the right of the MSN one, under Contacting Zazza CEO. That would be a cool add on.

In the MEMBERINFO file, it has the other messengers coded as the following:

Code:

<if condition="$userinfo['showaim']">$userinfo[aimicon]</if> <if condition="$userinfo['showicq']">$userinfo[icqicon]</if> <if condition="$userinfo['showyahoo']">$userinfo[yahooicon]</if> <if condition="$userinfo['showmsn']">$userinfo[msnicon]</if>
Basically, what would I have to add for code, in order for the myspace icon to show up? Thanks for your help!

melodyt 04-05-2006 03:04 AM

You might want to include what files you would be editing. :)

DJDarknez 04-05-2006 07:55 AM

Quote:

Originally Posted by melodyt
You might want to include what files you would be editing. :)

It would be the postbit or postbit_legacy templates, depending on which one you use.

snowman872 04-07-2006 06:09 AM

Great! Thank you! *clicks install*

MustangLisa 05-11-2006 07:31 PM

Great idea, thanks!!

bashy 06-23-2006 07:29 PM

Great hack, thanks


All times are GMT. The time now is 02:25 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.01116 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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