Myspace button in signature

KrazyFire

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

Bratzer
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!

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>

Add After:
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>
Add After:
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!
 
This small modification will add a small button to your signature space.

Bratzer
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!

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>

Add After:
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>
Add After:
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!
 
Back
Top