Simple Machine Codes
October 23, 2018, 08:08:20 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  

Add Custom Message V1

Pages: 1 [2]   Go Down
  Print  
Author Topic: Add Custom Message V1  (Read 6038 times)
Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #15 on: March 08, 2008, 06:25:13 pm »

+-ღMyrtleღ-+

Alright,  Grin

Placed on the headers.  Cheesy



Code:
<script>
function custom_message(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var message = new Array();
message[message.length] = ["Myrtle","Testing if this works"]

if(location.href.match(/topic/i)){
for(f=0;f<message.length;f++){
$("a").each(function(){
if(this.innerHTML == message[f][0] && $(this).parent("b").parent("td").html()){
$(this).after("<div class='windowbg2'><span class='smalltext'><b>Custom Message:</b><br>" + message[f][1] + "</span></div>");
};});};};};
custom_message();
</script>

Report Spam   Logged

Blahs
100 Club Member

Offline Offline

Posts: 184


Rockstar!


View Profile WWW
« Reply #16 on: March 21, 2008, 09:24:22 pm »

On your forum you have a custom message above your post this code puts it under your name how do you guys do it?
Report Spam   Logged


Join my forums!!!!
Url: http://silabforums.smfforfree4.com/index.php
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,671



View Profile WWW
« Reply #17 on: March 22, 2008, 08:50:34 am »

Its only for SMC Smiley  I will release it when A new one comes out though.
Report Spam   Logged

Myrtle
The Girl With The Forum.
100 Club Member

Offline Offline

Gender: Female
Posts: 480


Death Note(Credits to Kai): Myrtle_Gail, Myr-chan


View Profile WWW
« Reply #18 on: March 22, 2008, 09:24:07 pm »

Oh, so for the moment this isn't really working?
Report Spam   Logged

legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #19 on: April 08, 2008, 02:04:37 am »

i tried putting in headers and footers

dont work though :S

legend 1234
« Last Edit: April 08, 2008, 02:07:58 am by legend 1234 » Report Spam   Logged

GodGurl25
xXGodGurl25Xx
Members

Offline Offline

Gender: Female
Posts: 32



View Profile WWW
« Reply #20 on: May 02, 2008, 08:45:19 pm »

Oh noes! It is not working for me. T_T
Report Spam   Logged

Hope I'm welcum here guys.
from:
xXGodGurl25Xx
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,671



View Profile WWW
« Reply #21 on: May 03, 2008, 11:24:19 am »

Can you give me the code that your using?
Report Spam   Logged

GodGurl25
xXGodGurl25Xx
Members

Offline Offline

Gender: Female
Posts: 32



View Profile WWW
« Reply #22 on: May 04, 2008, 01:35:38 am »

The 1st code. The one in the 1st post. T_T
Code:
<script>
function custom_message(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var message = new Array();
message[message.length] = ["USERNAME","CUSTOM MESSAGE"]

if(location.href.match(/topic/i)){
for(f=0;f<message.length;f++){
$("a").each(function(){
if(this.innerHTML == message[f][0] && $(this).parent("b").parent("td").html()){
$(this).after("<div class='windowbg2'><span class='smalltext'><b>Custom Message:</b><br>" + message[f][1] + "</span></div>");
};});};};};
custom_message();
</script>

That one... hm
« Last Edit: May 04, 2008, 03:59:02 am by GodGurl25 » Report Spam   Logged

Hope I'm welcum here guys.
from:
xXGodGurl25Xx
FinishTheFight
Newcomers!

Offline Offline

Gender: Male
Posts: 3


Smiles all around!


View Profile WWW
« Reply #23 on: May 04, 2008, 03:22:00 am »

 He means paste the code you used. Which means copy the one you put in your footers and paste it here so he can look at it and see what is wrong. Be sure to put the code in between the code tags
Code:
example
Report Spam   Logged

GodGurl25
xXGodGurl25Xx
Members

Offline Offline

Gender: Female
Posts: 32



View Profile WWW
« Reply #24 on: May 04, 2008, 03:59:17 am »

edited post. I edited it up... hehe
Report Spam   Logged

Hope I'm welcum here guys.
from:
xXGodGurl25Xx
Phoebe Jordan
100 Club Member

Offline Offline

Gender: Female
Posts: 266



View Profile WWW
« Reply #25 on: May 30, 2008, 08:12:08 pm »

It's not working and what is the point of posting this code if we can't use it until you make an better one? (The _ is part of the user name)

Code:
<script>
function custom_message(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var message = new Array();
message[message.length] = ["Phoebe_Jordan","Whatever..."]

if(location.href.match(/topic/i)){
for(f=0;f<message.length;f++){
$("a").each(function(){
if(this.innerHTML == message[f][0] && $(this).parent("b").parent("td").html()){
$(this).after("<div class='windowbg2'><span class='smalltext'><b>Custom Message:</b><br>" + message[f][1] + "</span></div>");
};});};};};
custom_message();
</script>
« Last Edit: May 30, 2008, 08:13:08 pm by Phoebe Jordan » Report Spam   Logged
Brendan
100 Club Member

Offline Offline

Gender: Male
Posts: 219



View Profile
« Reply #26 on: July 09, 2008, 08:23:41 am »

I use smf... but That code doesn't work for me...I can't seem to get some of your codes to work, do I need 1 thing in headers for it to work?
Report Spam   Logged



Signature made by me. This is my first gif I ever made.
legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #27 on: July 10, 2008, 12:06:51 am »

yea ull need:

HEADERS:
Code:

<script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>


legend 1234
Report Spam   Logged

Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum | Buy traffic for your forum/website

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