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.

HTML Page only for users

View previous topic View next topic Go down

HTML Page only for users

Post by The_Snoopy_ on December 15th 2012, 3:42 pm

Hello. How can i put my html page that it can be seen only by registered users?

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by Sozinho on December 16th 2012, 1:30 pm

Edit Template.

Sozinho
Forumember

Male Posts : 172
Reputation : 4
Language : English
Location : Philippines

http://appzxor.omgforum.net

Back to top Go down

Re: HTML Page only for users

Post by Mariofan13 on December 16th 2012, 3:08 pm

No, that's wrong.
You can't disable a html page for guests. But yuo can choose a complicated name for the site, and give the URL to the site only to your members. BEcause guests will not know the whole URL to the HTML page, they will not be able to visit it Wink

Mariofan13
Forumember

Male Posts : 188
Reputation : 6
Language : German, English, Latin, 1337, HTML, CSS, BBCode, Wikitext
Location : Mushroom Kingdom

http://mario-forum.net

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 3:09 pm

They will be able to visit html page, because they are giving that link to everybody on the internet :O

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 6:55 pm

I think you are wrong Mariofan13,snoopy you could create html page that you want and add it in your navigation bar that only members can see,and that will they give url of the page you can not disable it,i think that is impossible Smile

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 6:59 pm

No sorry that doesn't work out. I get views with adfly on the html, but i could get more views basicly money if people shouldn't share that non shortened link Sad(

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 7:02 pm

you should google about your problem,but i think that cant be done but you could shut down adfly links and do something else,you could pm me...

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 7:24 pm

Don't understand

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 7:27 pm

you should go to your administration panel>>Modules>>HTMl Pages>>Create New or edit your created html then select use your header & footer select yes

Then after <head> tag add that code rideem3 provided to you

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 7:28 pm

Yes, it goess right to my forum home page?

Here is that html page --> http://www.action-salkkarit.com/h1-salkkarit-1712

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 7:34 pm

yes that means use forum header and footer but it will be visible only for members and not guest's

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 7:36 pm

What? How do i get that video don't show to people how aren't logged in?

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 7:37 pm

did you added the code from above?

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 7:39 pm

Where should i put it?

Spoiler:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />

<title></title>
</head>

<body>
<div id="fb-root"></div>


<center>
<h1><font color="green"><u>17.12.2012 Salkkarit - Pepin kupit kuumottavat Sergeitä.</u></font></h1>

<iframe frameborder="0" width="1080" height="611" src="http://www.dailymotion.com/embed/video/k52fNdbaNDKB6f3D3zv?theme=slayer&foreground=%23FF0000&highlight=%23FFFFFF&background=%23000000"></iframe><br /><a href="http://www.dailymotion.com/video/xvxmzh_salkkarit-17-12_school" target="_blank">Salkkarit 17.12</a> <i><a href="http://www.dailymotion.com/The_Snoopy_" target="_blank"></a></i>




<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'actionsalkkarit'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>


<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'actionsalkkarit'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 7:44 pm

Code:
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />

<title></title>
</head>

right after <title> that should look like this

Code:
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />

<title></title>
<script type="text/javascript">
if (!document.getElementById('logout')) window.location.pathname = "/forum";</script>
</head>

hope that helps

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

Back to top Go down

Re: HTML Page only for users

Post by The_Snoopy_ on December 16th 2012, 7:53 pm

Thanks man, if your not logged in it goes to home page. But is there any way i could lock the video, that people can see the html page but not the video. Basicly text "Login to see the video"

The_Snoopy_
Forumember

Posts : 36
Reputation : 1
Language : finnish

Back to top Go down

Re: HTML Page only for users

Post by MarkoNinic1994 on December 16th 2012, 8:04 pm

well i don't know about,maybe someone here could explain you that kind of options :/

MarkoNinic1994
Forumember

Posts : 89
Reputation : 2
Language : English,Danish,Serbian,Romanian

http://fantasypub.serbianforum.info/forum

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