Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
KrazyFire's Avatar
KrazyFire : Admin
KrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant future
offline Joined: Sep 2007 Location: UK Posts: 698 Thanked: 1,001
  #1  
Thread Starter Unread 11-02-07
Myspace button in signature

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!

	<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:
		<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:
		<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:
		<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!
Attached Images You must register or login to view attachments.
Attached Files Click the thanks button to view this attachment.
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
signature, button, myspace
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021