inherit
52561
0
Nov 18, 2005 22:35:11 GMT -8
zatleam
29
July 2005
zatleam
|
Post by zatleam on Jul 28, 2005 19:32:12 GMT -8
What is the coding for the name thing in a forums such as if you username was rock101me2sleep and u entered a forums such as mine you would see on one of the forum discriptions "Greetings rock101me2sleep welcome to the forum sign up here" Also i was wondering isnt there a code where i can place pictures in the forum name Like this EX:--------------- :)THISHEREISASMILEY --------- Substitue the smiley as an icon though you know wot i mean ?
|
|
inherit
25709
0
Jun 12, 2009 20:55:02 GMT -8
hpmad
1,017
June 2004
hpmad7
|
Post by hpmad on Jul 28, 2005 20:26:08 GMT -8
For the first one... try this:
<script language="javascript"> //Welcome Message //Copyright Zeno Designs 2005 //Do Not Remove this Header or repost this code //http://z102designs.proboards34.com var daWelcome = 'Greetings, guest!'; var cell = document.getElementsByTagName("td"); if(cell[2].innerHTML.match(/Hey,\s(.+?),\syou\shave/i)){ daWelcome = 'Greetings, ' + RegExp.$1 + '!'; } document.write(daWelcome); </script>
For the first bold part, put the message a guest would see. Then for the second bold, the RegExp.$1 part will display the name of the user.
|
|
inherit
RIP- Proboards Legend
39218
Conquester777 Conquester777
0
Oct 11, 2005 6:36:29 GMT -8
Conquester777
CirclesAreFun
4,008
March 2005
cq777
|
Post by Conquester777 on Jul 28, 2005 23:20:40 GMT -8
for the second question:
EX:--------------- <img src="http://www.proboards.com/v4images/smiley.gif">THISHEREISASMILEY <img src="http://www.proboards.com/v4images/smiley.gif">---------
will give you the desired result.
|
|