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 signature (https://vborg.vbsupport.ru/showthread.php?t=146377)

Bratz-Designs 05-02-2007 10:00 PM

Myspace button in signature
 
Hey all,

This small modification will add a small button to your signature space.

Bratzer
http://www.bratz-designs.net


1. Make a profile field
Profile field type = Single-line text box
Title: Myspace ID
Description: Type your Myspace ID number.
You can leave the rest to default.

**Note down the number of the field! Example: field16. You need to replace the XX in the next code with the number!**


2.1 Template changes - In postbit_lecacy Replace XX with the # of the profilefield two times!

Find:
Code:

                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                                <em>
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                                </em>                        </div>
                <!-- / edit note -->
                </if>

After ad:
Code:

                <if condition="$post[fieldXX]">
                <!-- Myspace button -->
                        <div class="smallfont"><a href="http://www.myspace.com/$post[fieldx]" alt="View my myspace" target="_blank">
<img src="images/misc/buttondeviantart.png" border="0"></a></div>
                <!-- / Myspace button -->
                </if>


2.2 Template changes - In postbit Replace XX with the # of the profilefield two times!

Find:
Code:

                <if condition="$show['postedited']">
                <!-- edit note -->
                        <div class="smallfont">                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                                <em>
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                                </em>                        </div>
                <!-- / edit note -->
                </if>

After ad:
Code:

                <if condition="$post[fieldXX]">
                <!-- Myspace button -->
                        <div class="smallfont"><a href="http://www.myspace.com/$post[fieldx]" alt="View my myspace" target="_blank">
<img src="images/misc/buttondeviantart.png" border="0"></a></div>
                <!-- / Myspace button -->
                </if>


3. Button upload

Upload it in your: images/misc folder!


4. Click install!

Please click the install button!


Bratzer
http://www.bratz-designs.net

PoetJA-1975 05-04-2007 06:09 AM

Nice! Thanx for the sharing.
Another MySpace image: http://jpicforum.info/images/misc/myspace.png

Jacquii.

Chicago_VLNU_4s 05-07-2007 10:41 PM

Interesting.. could use. thanks


All times are GMT. The time now is 06:51 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.01043 seconds
  • Memory Usage 1,721KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete