Visior Message
3 posters
Page 1 of 1
Visior Message
I was wondering if I could get a code so when you get a visitor message on your profile you'll get a pop-up saying you got a "New Visitor Message Click Here"
Can someone make me a code?
Can someone make me a code?
Raze- Forumember
- Posts : 406
Reputation : 12
Language : English, HTML, CSS
Re: Visior Message
I'd like this too or comment , I think it's possible via Templates, but I don't know if there's a New Visitor message variable.Raze wrote:I was wondering if I could get a code so when you get a visitor message on your profile you'll get a pop-up saying you got a "New Visitor Message Click Here"
Can someone make me a code?
Re: Visior Message
there is a feature like this i saw it on a site made by proboards
answer to your question:
To install, just cut and past this code into your HTML
document- just below the <BODY> tag. You can change
the ZZZZZ to be your name or whatever.
Of course, also change the message- just be sure to keep
the ENTIRE message on ONE line!
How it will look like:
NOTE:you can add this to your css style sheet and it will fix the codes up for uoi
answer to your question:
To install, just cut and past this code into your HTML
document- just below the <BODY> tag. You can change
the ZZZZZ to be your name or whatever.
Of course, also change the message- just be sure to keep
the ENTIRE message on ONE line!
- Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
function GetCookie(name) {
var arg=name+"=";
var alen=arg.length;
var clen=document·cookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if (document·cookie.substring(i,j)==arg)
return "here";
i=document·cookie.indexOf(" ",i)+1;
if (i==0) break;
}
return null;
}
var visit=GetCookie("ZZZZZ");
if (visit==null){
alert("Your Message Goes here and you only get to see it once!");
var expire=new Date();
expire=new Date(expire.getTime()+7776000000);
document·cookie="ZZZZZ=here; expires="+expire;
}
// -->
</SCRIPT>
How it will look like:
NOTE:you can add this to your css style sheet and it will fix the codes up for uoi
Guest- Guest
Re: Visior Message
I don't think that's correct, and it's punBB there's no direct saying of new visitor message or any variables that link to it, only cookies <_<kamz89 wrote:there is a feature like this i saw it on a site made by proboards
answer to your question:
To install, just cut and past this code into your HTML
document- just below the <BODY> tag. You can change
the ZZZZZ to be your name or whatever.
Of course, also change the message- just be sure to keep
the ENTIRE message on ONE line!
- Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
function GetCookie(name) {
var arg=name+"=";
var alen=arg.length;
var clen=document·cookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if (document·cookie.substring(i,j)==arg)
return "here";
i=document·cookie.indexOf(" ",i)+1;
if (i==0) break;
}
return null;
}
var visit=GetCookie("ZZZZZ");
if (visit==null){
alert("Your Message Goes here and you only get to see it once!");
var expire=new Date();
expire=new Date(expire.getTime()+7776000000);
document·cookie="ZZZZZ=here; expires="+expire;
}
// -->
</SCRIPT>
How it will look like:
NOTE:you can add this to your css style sheet and it will fix the codes up for uoi
Last edited by sign da tits on May 16th 2011, 11:42 pm; edited 1 time in total
Re: Visior Message
Is that made to pop up when you get a new visitor message?
Raze- Forumember
- Posts : 406
Reputation : 12
Language : English, HTML, CSS
Re: Visior Message
just try to enter it because css style sheet,templates etc fix the codes a little bit so just try and YES IT IS MADE TO POP OUT WHEN YOU GET A MESSAGE
Guest- Guest
Re: Visior Message
>Javascript goes with CSS, it's Netskape <_<kamz89 wrote:just try to enter it because css style sheet,templates etc fix the codes a little bit so just try and YES IT IS MADE TO POP OUT WHEN YOU GET A MESSAGE
Re: Visior Message
Not sure about this. Can you be a little more specific? kamz89
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Visior Message
sure now i went to three different sites and they had this code for the pop out message thing and this user is trying to say that my code is useless tho i did a small research nick
Guest- Guest
Re: Visior Message
it is, basically. It does NOT workkamz89 wrote:sure now i went to three different sites and they had this code for the pop out message thing and this user is trying to say that my code is useless tho i did a small research nick
Re: Visior Message
Yep, I sent Raze a message, had someone to send me one, nothing.kamz89 wrote:k so did you try it on your forum? because it works on my test forum
Re: Visior Message
Anyone one with a working "click here, you've got a new comment or visitor message" code?
Re: Visior Message
I still want to know how to get this can any one help?
Raze- Forumember
- Posts : 406
Reputation : 12
Language : English, HTML, CSS
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum