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.

Certain People See Certain Things Code

View previous topic View next topic Go down

Certain People See Certain Things Code

Post by Gramagamus Online on July 17th 2010, 2:54 am

Hey Guys,
If you've been to my forum before, you'll know that my homepage is a selection screen for what you want to open the page with. I have two selections: Computer or iPod/iPhone. The computer thing is fine, as it links directly to the normal forum, but iPod I have made a HTML Page for. This is probably a big ask, but I don't know how to do it myself.
What I want to do, or get someone else to do is a very big job. I have a log in button on my page that works as a spoiler, then a log in box shows up. I want the button for logging in to only display for guests. If you give me a code for that, I think I'll be able to use it with simple editting to do the rest of the page. I also would like it so when you click one of the Forum Links, it also works as a spoiler, and it drops down will all the sub categorys and threads. I could do this manually, but I think there should be a way to do it auto aswell. As I said this is a big job, but I would REALLY appreciate the help! Here is the HTML page code:
Code:
<html>
<head>
<title>Gramagamus Online for iPod & iPhone</title>
<link rel="shortcut icon" href="http://illiweb.com/fa/favicon/screen.ico">
<style>
body {
   background-color: #1a1a1a;
background-image: url('http://i191.photobucket.com/albums/z301/lastfmbadges/a1/body-repeat.png');

background-repeat: repeat;
margin-top:150px;   
        background-attachment: fixed;
   margin: 0px 0px 0px 0px;
        padding: 0px;
        border-color: #862121;
   border-width: 0px 0px 0px 0px;
   border-style: solid;
}
a:link{
 color: #0074E0;
 text-decoration: none;
 }
a:visited{
 color: #7F00E0;
 text-decoration: none;
 }
a:active{
 color: #0074E0;
 text-decoration: underline;
 }
a:hover{
 color: #00C0DA;
 text-decoration: underline;
 }
.spoiler
    {
    border:1px solid #ddd;
    padding:3px;
    }
.spoiler .inner
    {
    border:1px solid #eee;
    padding:3px;margin:3px;
    }
    </style>
    <script type="text/javascript">
function showSpoiler(obj)
    {
    var inner = obj.parentNode.getElementsByTagName("div")[0];
    if (inner.style.display == "none")
        inner.style.display = "";
    else
        inner.style.display = "none";
    }
    </script></style>
</head>
<body>
<font color="white"><center><img src=http://i48.tinypic.com/2laebmo.png></center><br>
<center><h3><b>iPod & iPhone</b></h3></center><br>

<b>Log In Form</b>
<div class="spoiler">
    <input type="button" onclick="showSpoiler(this);" value="Show/Hide" />
    <div class="inner" style="display:none;">
<form action="http://gramagamus.darkbb.com/login.forum" method="post"><table cellspacing="1" cellpadding="3" border="0"><tbody><tr><td width="20%" align="right"> Username:</td><td><input type="text" name="username" size="25" maxlength="40" /></td></tr><tr><td align="right">Password:</td><td><input type="password" name="password" size="25" maxlength="32" /></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input type="checkbox" name="autologin" checked="true" /></td></tr><tr align="center"><td colspan="2"><input type="submit" class="mainoption" name="login" value="Log in" /></td></tr></tbody></table></form>
    </div>
</div><br>

<b><font color=white>-- Gramagamus Online</b></font><br></font>

<font color=white>-<a href="http://gramagamus.darkbb.com/news<font color=white>-and<font color=white>-updates<font color=white>-f1/">News and Updates</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/rules<font color=white>-f3/">Rules</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/suggestions<font color=white>-f20/">Suggestions</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/complaints<font color=white>-f21/">Complaints</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/bugs<font color=white>-and<font color=white>-glitches<font color=white>-f22/">Bugs and Glitches</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/competitions<font color=white>-f19/">Competitions</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/community<font color=white>-polls<font color=white>-f25/">Community Polls</a></font><br>

<b><font color=white>-- Graphics</b></font><br>

<font color=white>-<a href="http://gramagamus.darkbb.com/tutorials<font color=white>-f4/">Tutorials</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/support<font color=white>-f5/">Support</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/requests<font color=white>-f6/">Requests</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/gallery<font color=white>-f7/">Gallery</a></font><br>

<b><font color=white>-- Magic</b></font><br>

<font color=white>-<a href="http://gramagamus.darkbb.com/tutorials<font color=white>-f8/">Tutorials</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/support<font color=white>-f9/">Support</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/requests<font color=white>-f10/">Requests</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/show<font color=white>-off<font color=white>-your<font color=white>-tricks<font color=white>-f11/">Show off Your Tricks</a></font><br>

<b><font color=white>-- Games</b></font><br>

<font color=white>-<a href="http://gramagamus.darkbb.com/guides<font color=white>-f12/">Guides</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/game<font color=white>-support<font color=white>-f13/">Game Support</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/console<font color=white>-support<font color=white>-f14/">Console Support</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/requests<font color=white>-f15/">Requests</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/discussion<font color=white>-f16/">Discussion</a></font><br>

<b><font color=white>-- Music</b></font><br>

<font color=white>-<a href="http://gramagamus.darkbb.com/latest<font color=white>-songs<font color=white>-f17/">Latest Songs</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/band<font color=white>-shack<font color=white>-f24/">Band Shack</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/discussion<font color=white>-f26/">Discussion</a></font><br>

<b><font color=white>-- General Discussion</b></font><br>

<font color=white>-<a href="http://gramagamus.darkbb.com/introductions<font color=white>-f18/">Introductions</a></font><br>
<font color=white>-<a href="http://gramagamus.darkbb.com/free<font color=white>-discussion<font color=white>-f23/">Free Discussion</a></font><br>
<br>
<font color=white><center>Copyright Gramagamus Online 2010</font><font color=#1a1a1a></font><br>
<font color=white>Powered & Hosted by </font><a href="http://www.forumotion.com"><font color=white>ForuMotion</font></a><br>
<font color=white>Forum Version - phpBB3<br>
Created by JOJ</center></font>
</body>
</html>
Before someone goes off at me for the footer, I'm pretty sure you're allowed a customized footer on HTML pages, as you don't even have to have one at all.

THANKS! Very Happy


Last edited by kirk on July 29th 2010, 11:57 am; edited 3 times in total (Reason for editing : Incorrect Information striked out.)

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Sanket on July 17th 2010, 7:56 pm

Please don't give incorrect information.

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 18th 2010, 1:53 am

Do I have to change my footer Sanket, even if it's on a HTML page? Sad Can someone please help me with this?

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Darren1 on July 18th 2010, 2:06 am

Hello,

To my knowledge, on HTML Pages you are only required to have a link to www.forumotion.com if it's your homepage, otherwise your not required to have a footer, of any kind.
However, I could be incorrect. I've been known to be wrong sometimes Razz

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 18th 2010, 4:59 am

I already have a link to ForuMotion Wink If you don't and you try to make it your homepage, it doesn't work. The link just looks like normal text, but if you hover or click, it's a link. So, do you have any idea how to solve my problem? Sad

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Sanket on July 18th 2010, 6:01 pm

You can have a customized footer, but recreate the links to forumotion & phpbb.

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 19th 2010, 12:39 pm

ForuMotion link is already there. I'll add the phpBB link tomorrow. Can you attract Typlo's attention to this, as he might have a way of doing it? I'd really like this to be solved.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Sanket on July 19th 2010, 4:16 pm

What is the problem though?

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 20th 2010, 8:42 am

I'm wondering whether there is any way to make a code so the contents of the code can only be seen by guests. Example: log in boxes/button.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by kirk on July 20th 2010, 8:50 am

@Gramagamus Online wrote:I'm wondering whether there is any way to make a code so the contents of the code can only be seen by guests. Example: log in boxes/button.

no you cant set permissions for a html code,footer etc..
I mean the code would have no way of detecting members that are logged in to those that are not.Technically everyone is a guest until they are logged in.

And like said above you do not need to have the footer in a html page only the forumotion link or banner.. once that is in there you can set your home page as that html page.

but remember just because your forum may be set to the html page as your home page.. if others are using the link to the index,or portal then thats the page that is going to show.

Nd also remember if you did want to include the footer then you can select show header and footer in the options upon you html page creation.

But once again there is no way to not allow guest to see whats in the footer custum or not.
Not that i know of anyway?

hope that helps a lil.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 21st 2010, 7:32 am

So I can't make it so only not logged in people can see the login box? Damn Sad This might be something Forumotion could add. I'd love that.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 25th 2010, 11:03 am

I don't know whether this is solved. Are you all SURE there are no ways to set something for only un-logged in people to see/only logged in people to see?

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 27th 2010, 10:28 am

BUMP?

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by kirk on July 27th 2010, 10:34 am

NO?
Plus you are confusing us.. but it will not matter anyone and everyone will see content on a html page regardless of whether they are logged in or not.
the only permissions you can set for guest not being able to see something is your forum permissions .. other then that anything you have on html page all will see logged in or not.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 29th 2010, 11:12 am

Damn, thanks. Solved I guess.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by kirk on July 29th 2010, 11:56 am

well you can always make a html page and have the link posted in a forums description or as the forums name. then have that forum set for only members to see.. but now if a member was to post the link somewhere or give to a guest then they would be able to get on and see the html page

Since i have replied with this new option/suggestion and the post was marked as solved. i will remove the solved icon and leave the thread open Gramagamus to reply if he has any questions on how to do this

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on July 30th 2010, 2:15 am

I was kinda meaning just a certain part of the page, like a log in form.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on August 1st 2010, 7:58 am

BUMP.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by Gramagamus Online on August 4th 2010, 8:03 am

BUMP.

Gramagamus Online
Forumember

Male Posts : 441
Reputation : 0
Language : English | HTML |
Location : Australia

http://gramagamus.darkbb.com/

Back to top Go down

Re: Certain People See Certain Things Code

Post by kirk on August 4th 2010, 5:11 pm

no if your you not able to do it like you asked the first time then you would not be able to it for what you are asking now.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

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