The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Visior Message

View previous topic View next topic Go down

Visior Message

Post by Raze on May 15th 2011, 5:21 pm

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?

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Re: Visior Message

Post by sign da tits on May 15th 2011, 6:15 pm

@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?
I'd like this too or comment Cool, I think it's possible via Templates, but I don't know if there's a New Visitor message variable.

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Re: Visior Message

Post by Guest on May 15th 2011, 9:20 pm

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

Guest
Guest


Back to top Go down

Re: Visior Message

Post by sign da tits on May 16th 2011, 11:40 pm

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
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 <_<


Last edited by sign da tits on May 16th 2011, 11:42 pm; edited 1 time in total

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Re: Visior Message

Post by Raze on May 16th 2011, 11:40 pm

Is that made to pop up when you get a new visitor message?

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Re: Visior Message

Post by Guest on May 16th 2011, 11:42 pm

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


Back to top Go down

Re: Visior Message

Post by sign da tits on May 16th 2011, 11:46 pm

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
>Javascript goes with CSS, it's Netskape <_<

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Re: Visior Message

Post by Guest on May 17th 2011, 12:01 am

so you mean to say that this code is useless

Guest
Guest


Back to top Go down

Re: Visior Message

Post by !_NICK_! on May 17th 2011, 12:04 am

Not sure about this. Can you be a little more specific? kamz89

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Visior Message

Post by Guest on May 17th 2011, 12:06 am

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


Back to top Go down

Re: Visior Message

Post by sign da tits on May 17th 2011, 12:13 am

kamz89 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
it is, basically. It does NOT work

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Re: Visior Message

Post by Guest on May 17th 2011, 12:49 am

k so did you try it on your forum? because it works on my test forum

Guest
Guest


Back to top Go down

Re: Visior Message

Post by sign da tits on May 17th 2011, 1:48 am

kamz89 wrote:k so did you try it on your forum? because it works on my test forum
Yep, I sent Raze a message, had someone to send me one, nothing.

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Re: Visior Message

Post by sign da tits on May 18th 2011, 9:04 pm

Anyone one with a working "click here, you've got a new comment or visitor message" code?

sign da tits
Forumember

Male Posts : 236
Reputation : 30
Language : British English, AutoIt
Location : England!

http://www.devforumz.com/

Back to top Go down

Re: Visior Message

Post by Raze on May 20th 2011, 10:23 pm

Any Help?

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Re: Visior Message

Post by Raze on May 30th 2011, 5:58 pm

I still want to know how to get this can any one help?

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Re: Visior Message

Post by Raze on June 2nd 2011, 4:49 am

Bump.

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

Re: Visior Message

Post by Raze on June 10th 2011, 10:59 pm

bump

Raze
Forumember

Male Posts : 406
Reputation : 12
Language : English, HTML, CSS

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum