The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Pop-up message only for guest

+5
Sanket
darylldelfin
tid
zinex
Gunhack X
9 posters

Page 1 of 2 1, 2  Next

Go down

Pop-up message only for guest Empty Pop-up message only for guest

Post by Gunhack X November 9th 2008, 1:05 am

Hello,

Well, I just want to know If someone here knows a good script code or HTML Code that can I add in my forum to welcome all new people that visit my forum for the first time.
Gunhack X
Gunhack X
Forumember

Male Posts : 479
Reputation : 14
Language : English, Español
Location : USA

http://windows.topgoo.net

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Gunhack X November 10th 2008, 6:38 pm

Well nobody?

~ Please close this thread!
Gunhack X
Gunhack X
Forumember

Male Posts : 479
Reputation : 14
Language : English, Español
Location : USA

http://windows.topgoo.net

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by zinex November 10th 2008, 8:46 pm

there wont be one edward, as it would need to have permissions also, to make sure it only shows for guests. I used to have one, but it would pop up for anyone and everyone, members alike, everytime they came to the forum. What i did instead was make a forum widget and set it just to show for guests so i could entice them to join. Sorry i cant be of more help.
zinex
zinex
Hyperactive

Female Posts : 2804
Reputation : 93
Language : scotch och aye!
Location : Whats harder than a rock?!

http://asylum.forumotion.co.uk/forum.htm

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 10th 2008, 9:05 pm

You may not be able to add a pp up for new members only however i have recently went thru a code that acts as a small pop up and display's once a browser session

Look into the following ink for more details

=> Following Message

Regards








Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 10th 2008, 10:14 pm

Hi Craig. I actually want to put that script on my board, but that message wan't show up. What's wrong?
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 10th 2008, 10:17 pm

Placehold wrote:You may not be able to add a pp up for new members only however i have recently went thru a code that acts as a small pop up and display's once a browser session

Look into the following ink for more details

=> Following Message

Regards


Craig

Glad you are still here!

What would be the code for version 2 css
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 10th 2008, 10:25 pm

If you copy and paste that code

Spoiler:

Into the Homepage content

Then add the CSS code in to the CSS stylesheet section

Spoiler:

remembering to press "Submit" to save then it should work automatically

To personalise the message that appears you will have to find the last part of the code which looks like


Code:
<div id="topbar">
 <a href="" onClick="closebar(); return false"><b>X</b></a>
 <font face="arial" color="#000000">ADD YOUR MESSAGE HERE. </font></td>

 </div>
</body>
</head>

Now you must only replace the words "ADD YOUR MESSAGE HERE. " otherwise the code will not work, if you add anuything before or after it wont work Very Happy

Hey Kilsek, M around a bit longer i guess lmao

The code itself seems to work on all versions of the forum however there is two functions,You can have the message pop up every time they go to the homepage or just once the browser session.

Look for the part near the very very top that looks like

Code:
<body><script type="text/javascript">
 var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session

Change var persistclose=0
to var persistclose=1 to have it pop up once per browser session


Hope i explained it well enough lmao

Regards








Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 10th 2008, 10:29 pm

k thanks
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 10th 2008, 10:38 pm

I have added CSS Code in CSS Stylsheet, i've added HTML Code on homepage message, i've changed "ADD Your message [...]" to some another, but it's still not showing. That's very cool thing, but i don't know, how to set it... Thanks Craig, you're really very Helpful Very Happy
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 10th 2008, 10:40 pm

Hmmmmmmmm

Do you have a link to your forum and i'll see if something is effecting your code

Regards









Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 10th 2008, 11:46 pm

Sorry, that i'm late, but i've got VERY critical Windows XP Error...

That's my forum.

I hope, you're using Mozilla FireFox Very Happy
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 10th 2008, 11:57 pm

Hmmm to be honest i'm not too sure as to why its not appearing the code appears to show properly

Have you added anything else into the CSS or anything else in the content message section?

regards









Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 11th 2008, 12:01 am

To Content Message i've added only that HTML code, what you've given to us. In CSS code Have i something for Forum Width, to fixing background image, to chatbox image. I can send all that, i've added to CSS Stylesheet, if you want Smile
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 11th 2008, 12:11 am

Hmmm try replacing the CSS i gave you with this one and add it to the very top of the CSS box

Code:
#topbar{
        position:absolute !important;
        border: 1px solid black;
        padding: 5px !important;
        background-color: white;
        width: 560px;
        visibility: hidden !important;
        z-index: 400 !important;
 }


I think maybe one of the codes are effecting it

Regards







Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 11th 2008, 12:22 am

Still nothing... is there possibility, that this gadget don't work on phpBB3 Version style?

PS.

#topbar{
position:absolute !important;
border: 1px solid black;
padding: 5px !important;
background-color: white;
width: 560px;
visibility: hidden !important;
z-index: 400 !important;
}

Isn't something wrong on bolded part?

PPS.

I've changed this part to "visible", and now it's showing up Very Happy But it don't want to scrolling down with page Sad And X don't work.

Also, i can change
Code:
position:absolute
to
Code:
position:fixed
and that will work, i'm sure, but that's not so cool efekt, like we want.

I think, there is something wrong with HTML part.
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 11th 2008, 7:11 pm

I have tested the code out on several different forums and ALL the versions available and it works on them all

Also the "visibility: hidden !important;" may be bringing the background up however it covers the X which is why its set to hidden, this is because of the way its coded.

The code again is coded perfectly however other codes can effect they way this performs. The last thread that i posted this onto, They had another code in the homepage content box above this code which obviously effected its display

We took ALL the codes out and tried it and it worked

Try taking out all the codes from the CSS (Temporarily) and from the homepage content to see if it will show properly without the tweaks you suggested, This way we can rule out any interference from other codes


Regards







Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Gunhack X November 11th 2008, 9:30 pm

Well, anyway this thread became helpful for some of us.... hehehe.... and I was trying to get this close. :s Thank you every one for your help!
Gunhack X
Gunhack X
Forumember

Male Posts : 479
Reputation : 14
Language : English, Español
Location : USA

http://windows.topgoo.net

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 11th 2008, 9:35 pm

Not a problem at all edward90 Smile

tid if you are still having issues please create a new thread relating to the issue Smile

Regards






Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 12th 2008, 1:36 pm

OK, but can i ask one more questin in this topic? I've also found a script, that work without kicking all codes from CSS Stylesheet. And here is my question, is there a way, to do, that this pop-up will be displayed only for quest's, without editing forums files? Cause we have not permisson to do that. I've found two scripts, where one of them was with thing like
Code:
if (!iMEMBER) {
echo'<style type="text/css">
and i think, that's for CSS Stylesheet. But
< style type="text / css">
(without spaces, cause without spaces weird thing are becoming in this forum :O) don't want show in CSS, after Submit. That is Aplet for Php-Fusion forums. In second script was option
Code:
<!-- BEGIN switch_user_logged_out -->
and
Code:
<!-- END switch_user_logged_out -->
and that's to HTML part (foundet on phpBB support site). Don't work... maybe you know, how to do something, what will be working, like message only for guests.
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Gunhack X November 13th 2008, 1:22 am

I saw a forum that has the code that I want, but I forgot the URL of the Forum Neutral I wish someone can tell me the code to show the message only for guest. Sad
Gunhack X
Gunhack X
Forumember

Male Posts : 479
Reputation : 14
Language : English, Español
Location : USA

http://windows.topgoo.net

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by darylldelfin November 13th 2008, 7:07 am

activate forum widgets then set the visibility to "guests only" . then inject there Placehold's script on the widget ..

preview : http://hidecodesgalore.org/forum.htm

the floating thing will be gone if youre not a guest ..

if you want just a pop up alert, just put
Code:
<script>alert('your message');</script>
to the widget ..


Last edited by darylldelfin on November 28th 2008, 12:20 am; edited 1 time in total
darylldelfin
darylldelfin
Forumember

Posts : 47
Reputation : 0
Language : english

http://www.hidecodesgalore.org

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Sanket November 13th 2008, 9:34 am

darylldelfin wrote:activate forum widgets then set the visibility to "guests only" . then inject there Placehold's script on the widget ..

preview : http://hidecodesgalore.forumotion.net/forum.htm

Which code of Placehold are you talking about. There is a hell lot of them. That thing on the website looks nice. Please tell me which code should i add to the widget?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by darylldelfin November 13th 2008, 9:52 am

okay . this is the code i used at the widget for guests :



Code:
<script src='http://hcg.net76.net/floatregbar.js'></script>

then added these scripts on the forum.js

Code:
document.write("<div id=\"floatregbar\">");
document.write("<br class=\"clear\" /><div class=\"panel introduction\"><div class=\"inner\"><span class=\"corners-top\"></span><div class=\"h3\">Hide Codes Galore");
document.write("<div align=\"right\">");
document.write("<a href=\"#\" onClick=\"closebar(); return false\">(x)</a>");
document.write("</div>");

document.write("</div>");
document.write("<div align=\"left\">");
document.write("Welcome to Hide Codes Galore! <br><br>You\'ll need to <a href=\"http://hidecodesgalore.forumotion.net/login.forum?connexion\">login</a> in order to fully use all the features and view all the sections of this site.");
document.write("<br>");
document.write("<br>");
document.write("Please <a href=\"http://hidecodesgalore.forumotion.net/profile.forum?mode=register\">register</a> if you\'re not yet a member. <img src=\"http://hidecodesgalore.forumotion.net/users/33/67/54/smiles/192262.gif\"/> ");
document.write("</div>");
document.write("<span class=\"corners-bottom\"></span></div></div>");
document.write("</div>");



then added these on the css :

Code:



#floatregbar{
   position: absolute;
   font-family: Verdana;
   width: 432px;
   visibility: hidden;
   z-index: 100;
}

you might want to see the original script :

http://www.dynamicdrive.com/dynamicindex17/floatbar.htm

or you also might want to view my forum's source code ..
darylldelfin
darylldelfin
Forumember

Posts : 47
Reputation : 0
Language : english

http://www.hidecodesgalore.org

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Drakaneo November 13th 2008, 12:03 pm

Sorry for being a noob but what is the forum js?
Drakaneo
Drakaneo
Forumember

Posts : 68
Reputation : 0
Language : English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by darylldelfin November 13th 2008, 12:18 pm

^ i put this on my site description :


Code:
<script src='http://hcg.net76.net/forum.js'></script>

that's why it can be loaded on all of the pages of my forum .. you may study what im using : http://hcg.net76.net/forum.js
darylldelfin
darylldelfin
Forumember

Posts : 47
Reputation : 0
Language : english

http://www.hidecodesgalore.org

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by tid November 13th 2008, 2:01 pm

Wait xD I'm Lost Right now... so...

What do i put to the widget, what to CSS code, if i wan't to have a pop-up for guests? Thanks for response.

Regards,
tidius1
tid
tid
Forumember

Male Posts : 115
Reputation : 0
Language : Polish, Lil bit English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Drakaneo November 13th 2008, 3:19 pm

Yes I am lost to. Would really like to know what will be working.
Drakaneo
Drakaneo
Forumember

Posts : 68
Reputation : 0
Language : English

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by Guest November 13th 2008, 7:20 pm

If you are having issues with this please start a new thread rather than hijacking someone elses, This means your issue will be dealt wit properly

regards









Craig
avatar
Guest
Guest


Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by dogman February 25th 2009, 9:40 am

At is hand but i wouldnt try only if you know what you doing
dogman
dogman
Forumember

Male Posts : 57
Reputation : 0
Language : English
Location : New Zealand

http://urbanfans.forumotion.net/forum.htm

Back to top Go down

Pop-up message only for guest Empty Re: Pop-up message only for guest

Post by mikohshin September 8th 2009, 2:07 pm

darylldelfin:

please explain it clearly...........

where do i paste the code..??
mikohshin
mikohshin
Forumember

Male Posts : 30
Reputation : 0
Language : English
Location : here infront of computer!

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

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