Simple Machine Codes
April 19, 2024, 05:17:10 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Quick Message V1

Pages: [1]   Go Down
  Print  
Author Topic: Quick Message V1  (Read 286 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: June 21, 2007, 07:27:43 pm »

Add to headers if you don't have it already...
Code:
<script src="/jquery.js"></script>

Code:
<script>
if($("td.titlebg2 span b").not($("td.titlebg2 span b:contains(News)")).html()){
$(".maintab_back:contains(Logout)").after('<td class="maintab_last"> </td><td class="maintab_first"></td><td valign="top" class="maintab_back"><a href="http://XXXXXXX.smfforfreeX.com/index.php?action=pm;sa=send">New Message</a></td>')
};
</script>

Place in Headers.

This just adds a tab with a New Message link in it.  Simple, yet helpfull.

You will need to change the X's in the code to your board name and server.
« Last Edit: May 02, 2008, 09:21:05 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #1 on: January 04, 2008, 01:24:33 pm »

nice job
Report Spam   Logged

Newest:

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy