vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Myspace button in postbit (https://vborg.vbsupport.ru/showthread.php?t=142290)

jet2000 10-05-2007 11:21 AM

my contribution:

To add full clickable myspace URL of user to Contact Info:

in memberinfo:

Find:

Code:

                                <if condition="$show['homepage']">
                                <tr>
                                        <td>
                                                $vbphrase[home_page]:<br />
                                                <a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
                                        </td>
                                </tr>
                                </if>

add above:

Code:

                                <if condition="$userinfo[fieldX]">
                                <tr>
                                        <td>
                                                Myspace:<br />
                                                <a href="http://myspace.com/$userinfo[fieldX]" target="_blank">http://myspace.com/$userinfo[fieldX]</a>
                                        </td>
                                </tr>
                                </if>

fieldX being the custom field for myspace.

SLY LS1 10-14-2007 02:07 PM

Quote:

Originally Posted by sunnycher (Post 1341411)
Are there any hacks/mods like this for Facebook?

I just modifided it for Facebook, see link below

https://vborg.vbsupport.ru/showthread.php?t=160214

ChU v2 10-14-2007 10:03 PM

Here is my hack with detailed instructions on how to put it on the profile and in the postbit.

https://vborg.vbsupport.ru/showthread.php?t=160232

DieselMinded 05-09-2008 02:45 AM

Running this mod on 3.7.0 and made face book work also and put it in new 3.7.0 Profiles

BigDog56 05-11-2008 08:35 PM

With a little tweaking, I got this to work in 3.7 Thanks!

BucWiLd 10-15-2008 04:23 AM

can you help us noobs get it on 3.7?

SnapOff Racing 10-27-2009 05:30 AM

Quote:

Originally Posted by basilrath (Post 1243622)
dont know if this hasbeen mentioned but the icon wont appear if members dont fill out a msn addy etc ...........in other words it dosnt create the field on its own, but as soon as you add a msn addy it appears etc...................just a thought

Quote:

Originally Posted by DieselMinded (Post 1243643)
Thats the way it should be , If it showed up all the time then members would be clicking dead Myspace buttons and would quit even trying to use it , I dont want the icon there for members who dont have a myspace ,

The Only Tweak would be to show the icon when viewing profile or atleast hyperlink the number

No he's right and your misunderstanding what he is saying.

If a user doesn't have an MSN or Yahoo listed in their profile, then the MySpace button WILL NOT SHOW UP regardless if they have any info listed in their myspace field or not. So let's say a user has listed info in their myspace field but they haven't listed a yahoo or msn etc, then the myspace button will not show up. Like basilrath said the field doesn't get created.


All times are GMT. The time now is 01:57 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.01079 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
  • (2)bbcode_code_printable
  • (3)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
  • (7)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