jetiro
Head Administrator
Global user
Registered: 10-2006
Location: Under a Spruce Bow
Posts: 203
Karma: 1 (+1/-0)

|
|
Reply | Quote
|
|
Code for Personal visitor greeting
This bit of code will welcome your visitors with a personal greeting when visiting your HP..!
You can edit this where it says TXT YOU WANT but do not alter anything else or it won't work.
Just Copy Ctrl+c and Paste Ctrl+v in the panel where you want it to show.
<script>
allTags=document.getElementById("headerbox").innerHTML.split(">");
for(i=0;i<allTags>-1)
{
idx=allTags[i+1].indexOf("Guest")*1;
vName=allTags[i+1].substring(((idx<0)?0:idx+6),allTags[i+1].length-3);
document.write("TXT YOU WANT BEFORE THEIR AVI NAME "+ vName +" TXT YOU WANT AFTER THEIR AVI NAME");
};
</script>
--- Live Learn Love and Laugh
|
|
14/Dec/2007, 4:19 pm
|
Send Email to jetiro
Send PM to jetiro
Blog
|
ImpDragon
Registered user
Global user
Registered: 01-2008
Posts: 44
Karma: 0 (+0/-0)

|
|
Reply | Quote
|
|
Re: Code for Personal visitor greeting
lol none of these are working for me at all owell.
--- The way of the Dragon...

|
|
13/Jan/2008, 12:55 pm
|
Send Email to ImpDragon
Send PM to ImpDragon
AIM
MSN
Yahoo
|
ImpDragon
Registered user
Global user
Registered: 01-2008
Posts: 44
Karma: 0 (+0/-0)

|
|
Reply | Quote
|
|
Re: Code for Personal visitor greeting
quote: jetiro wrote:
This bit of code will welcome your visitors with a personal greeting when visiting your HP..!
You can edit this where it says TXT YOU WANT but do not alter anything else or it won't work.
Just Copy Ctrl+c and Paste Ctrl+v in the panel where you want it to show.
<script>
allTags=document.getElementById("headerbox").innerHTML.split(">");
for(i=0;i<allTags>-1)
{
idx=allTags[i+1].indexOf("Guest")*1;
vName=allTags[i+1].substring(((idx<0)?0:idx+6),allTags[i+1].length-3);
document.write("TXT YOU WANT BEFORE THEIR AVI NAME "+ vName +" TXT YOU WANT AFTER THEIR AVI NAME");
};
</script>
ok i did just what u said an nothing happens each time what gives? where it says vname do i have to actually type a certain name in it?
--- The way of the Dragon...

|
|
15/Jan/2008, 12:19 am
|
Send Email to ImpDragon
Send PM to ImpDragon
AIM
MSN
Yahoo
|
jetiro
Head Administrator
Global user
Registered: 10-2006
Location: Under a Spruce Bow
Posts: 203
Karma: 1 (+1/-0)

|
|
Reply | Quote
|
|
Re: Code for Personal visitor greeting
NO hun don't edit the code or it won't work
IMVU servers will recognize, any logged in member, don't add their avi name..!
Leave the +vname alone...!
the part you can alter is :
" TXT YOU WANT BEFORE THEIR AVI NAME"
" TXT YOU WANT AFTER THEIR AVI NAME"
be sure to keep your message/text between the quotes " "
Last edited by jetiro, 15/Jan/2008, 1:59 pm
--- Live Learn Love and Laugh
|
|
15/Jan/2008, 1:53 pm
|
Send Email to jetiro
Send PM to jetiro
Blog
|
ImpDragon
Registered user
Global user
Registered: 01-2008
Posts: 44
Karma: 0 (+0/-0)

|
|
Reply | Quote
|
|
Re: Code for Personal visitor greeting
I did doesn't work for me at all. does it matter which panel its in?
--- The way of the Dragon...

|
|
15/Jan/2008, 2:07 pm
|
Send Email to ImpDragon
Send PM to ImpDragon
AIM
MSN
Yahoo
|
jetiro
Head Administrator
Global user
Registered: 10-2006
Location: Under a Spruce Bow
Posts: 203
Karma: 1 (+1/-0)

|
|
Reply | Quote
|
|
Re: Code for Personal visitor greeting
no it shouldn't matter what panel.
--- Live Learn Love and Laugh
|
|
16/Jan/2008, 8:36 pm
|
Send Email to jetiro
Send PM to jetiro
Blog
|