SMF For Free Support Forum
Signup For Free Forum
September 02, 2010, 11:46:09 pm *
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 924 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 825


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

Check out Revolution X's Brand new Code Index!
McLovin
SMF For Free Member
*
Offline Offline

Posts: 45


View Profile
« Reply #1 on: August 15, 2010, 11:16:35 pm »

What is a mini profile?
Logged


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting
Page created in 0.289 seconds with 17 queries. (Pretty URLs adds 0.02s, 2q)