SMF For Free Support Forum
Signup For Free Forum
December 04, 2008, 11:16:14 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Add Text To Mini-Profile  (Read 409 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 669


Do not PM me for Code Support or Request


View Profile
« on: November 14, 2007, 10:14:16 pm »

Add this to your Headers if you don't have it already.  If you already have it, don't add it:
Code:
<script src="jquery.js"></script>

Footers:
Code:
<script>
function addText_toMiniProfile(){
$(function(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var addText = new Array()
addText[addText.length] = ["USERNAME","TEXT/HTML"]

if(location.href.match(/topic/i)){
for(v=0;v<addText.length;v++){
$("td b a:contains(addText[v][0])").after("<br>"+addText[v][1]);
};};});}
addText_toMiniProfile();
</script>

USERNAME = Place the Username of the person to add the text/html to.
TEXT/HTML = The Text or HTML that wil show in the usere mini-profile.  Remember, use Single Quotes ('), Not Double (").

Enjoy Smiley
« Last Edit: December 17, 2007, 07:32:00 pm by Agent Moose » Logged



SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.[/cen


Pages: [1]
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.337 seconds with 17 queries.