HTML - Hide Phpbb Login On Main Site Page
Ok, This might be a bit confusing but ill try my best.
On my main website homepage i have a splash image which when clicked redirects to the main website, also in another folder i have a phpbb3 Forum. Below the image on my homepage i have a login box for the forum as well. What i would like to do is to hide that login box unless a keyword is entered before hand, and make the domain.com/forum URL inaccessible unless you login through this route. basically hiding the forum completely so people dont actually know its there. I could do this through .htaccess however i was hoping there was a "cleaner" way to do this. Many Thanks Rob Similar TutorialsHi all, Here's the site I'm working on www.davidakerman.com.au/ukulele And I want to incorporate this forum (have only just installed it), into here... http://www.davidakerman.com.au/ukulele/sites.html ...so that it sits inside the blue panels where the text currently is. If anyone can help out it'd be much appreciated. Thank you. Hello again htmlforums and members, It has been 6 months since i uploaded phpbb3 to my domain as just a forum and still i want to remain a forum but i need a landing_page. I have finished the html and css in dreamweaver now i just need to be pointed the right way on where to upload my page and how to make it my domains first page or "squeez_page" thanks in advance... -tikki- I am attempting to use google analytics on a website someone else developed. I am now in charge of updating this site but am having a problem finding the home page so I may add a google meta tag which would verify me as site owner. The site is at http://www.vandam.com However when I look at the directory on my ftp site and open the file labeled main.html, it looks nothing like the source code I see via the web. What is going on with this. Which file should I be looking for? I'm getting rid of my index.html file, and replacing it with a brand new index.php file. But I have a problem... I have a forum which has an index.php file... If I rename my websites index.php file to homepage.php, am I able to have that page load up when someone visits my website, or does it have to be named index.php? I have a web page that has a gap between the main content page (lower) and the header piece(upper) and I can't figure out how to close this gap. If you're interested in taking a look at it. Here's the code and i've attached an image for a visual aid. Thanks. Code: <table width='770' border='0' cellpadding='0' cellspacing='0' id='maintable' align='center' table valign='top' align='left' cellpadding='0' width='770' height='500' table style='background-color:#ffffff; font-family:Arial, Helvetica, sans-serif; width:'770' height:'500'></td> <link href='custom.css' rel='stylesheet' type='text/css'> <td id='menu' align='left' valign='top' rowspan='500' width='165'> <br> <img src='images/bullet.gif' alt='' width='10' height='10'><a href='index.php'><font color='#DDCEA2'><font face='Arial' size='2'>Home</a></font><br> <img src='images/bullet.gif' alt='' width='10' height='10'><A href='index.php?command=signup_page'><font color='DDCEA2'><font face='Arial' size='2'>Sign Up</font></A> <br> <img src='images/bullet.gif' alt='' width='10' height='10'><a href='faq.html'><font color='DDCEA2'><font face='Arial' size='2'>FAQ</a><br> <img src='images/bullet.gif' alt='' width='10' height='10'><a href='legal.html'><font color='DDCEA2'><font face='Arial' size='2'>Terms of Use<br></a> <form method='POST' action='index.php'> <input class='field' type='hidden' name='command' value='account'> <input class='field' type='hidden' name='param' value='signup'> </form> <tr><td> </td></tr> <td valign=top colspan='2' class='pageTitle'><div class='hLine'><b> <font face='Arial' color='#EE7600' size='3'>Select The Payment Button Below To Continue</b></font></div></td></tr> <td class='fieldLabel' width='30%'> <font face='Arial' color='#A30100' size='2'><b>Transaction Type:</b></font></td> <td align='left' class='text' ><b>[account_type_title]</b></td> </tr> <tr> <td class='fieldLabel' width='30%'> <font face='Arial' color='#A30100' size='2'><b>Price:</b></font></td> <td align='left' class='text' ><b>$ [price]</b></td> </tr> <tr> <td class='fieldLabel' width='30%'> <font face='Arial' color='#A30100' size='2'><b>Subscription Period:</b></font></td> <td align='left' class='text' ><b><font face='Arial' color='#000000' size='2'>[period]</b> (month)</font></td></tr> <tr valign='top' height='55px' '> <td valign='top' class='fieldLabel' width='30%'> </td> <td valign='top'> <p><font face='Arial' color='#000000' size='2'>[payment_code]</font></p></td> </tr> <tr><td> </td></tr><tr><font face='Arial' color='#000000' size='2'></font> <tr height='30%' ><td colspan='2'><div class='hLine'> </div></td></tr> </table Hi, I am trying to figure out how to restrict users (guests) from browsing straight to a page within my site. I would like to ensure that all users must access the site via www.mysite.com Example: User- browses to www.mysite.com/pages/interestingpage.php (or .htm) I would prefer to force the "User" to click their manually via the links on my main page. I imagine some sort of session would be required for this. However I do not wish to require users to log in. I've heard that .htaccess or Apache's config file can be used but so far I have not been successful. I do have full access to the server/configuration. Hoping someone can assist. Examples would be most ideal. Thanks! I have wordpress installed at mydomain.com/blog and I want a simple splash page to show up at mydomain.com. I've created the page in html and it works the way I want it to but I can't get it to show up at mydomain.com. When I go to mydomain.com it shows up as INDEX OF and I can click the splash page file but I want the domain to point straight to the splash file. Thanks for any help you can offer. Where would i be able to learn how to make a script that goes like this: The person puts a script in the message box (eg. [.b]hello[/b] ), presses the button and on the main page it displays the code they put in. (hello) Thanks HI Im making a site at the mo and im looking to keep the menu and a picture stay in the same position constantly. So when then user moves the scoll wheel only the text are will scroll. I dont want there to be any border or scroll bars around the text, so the only visable scroll bar will be the browsers... any ideas? Hi Guys really hope you can help I have a site which runs off a couple of templates and what i need to do is add some code into one of the ditable regions so that it will pic up the Page title and drop it in the body off the page. e.g. the page title is 'Monkey23' and i require 'Monkey23' to automatically show up in the Body of the page. I have hundreds of pages all with different titles and therefore manual titling is not an option. Anyone got any awesome code to help me? Cheers Tom Hi guys, Is there a way I can have a page of links sat in a directory which I can call from via other pages on the server? I think I'm thinking of something that can be done with PHP, but the idea is: On main page, for example, links: 1 2 3 All call to 'links.html' Which has a list of page URL's, each with their own ID. So the links on the main page call to the ID's, which extracts the link listed at that moment in time. So if I later want to change the link, I have only to change the link.html and not every related link on the site. I know I could maybe use inline frames, but the layout I have makes that not possible, and it's still not a great solution. I'm sure someone must know what I'm talking about. Sorry if it sounds confusing! Cheers! im makeing a page to store files.. how do i hide the page link so it doesnt show the categories (btw my index is .com/*****/*****/index.html) & if its possible to make it so that the browser doesnt show the category in history... (only .com) Thanks! Hello everyone, ! Im trying to create a new area in a forum for advertising and so on. I use phpbb scripts that use stylesheets and html so not sure where to go for this help. I have a site which you can see a jpeg he now I want to change it to this: any help or suggestion on where to start on this would be terrific? I am having issues with a flash intro and decided to try and just place it on a separate page when visiting my father's website - www.raymorteam.com. So I took all of the code currently on his homepage and created a copy of the page - http://www.raymorteam.com/files/35241/Main_Page.html However, I only want the copy page to show www.raymorteam.com in the addressbar. How do I go about doing this? I've seen it at www.ch131.com. Take a look at that page - any link you click will only show the parent web address in the address bar. I want my father's page to do that for this specific page. Thanks. Hey there! I'm kinda new here, but I really need some help. I'm trying to show/hide the Swedish translation to our lyrics on our band WP page. It can be viewed here. I'm using a table with separate <td>'s for every individual lyric and every individual translation. The translations are in <div>'s. This is included in the header: <script type="text/javascript"><!-- function showhide(el){ el=document.getElementById(el); el.style.display=(el.style.display=="block")?"none":"block"; } //--></script> And this is the code for my little Swedish flag you click to make the translation DIVs visible. The names within '' are the different lyric DIVs. <p>Show/hide translation: <a href="#" onclick="showhide('armourswe');showhide('seamsswe');showhide('breathswe');showhide('cornersswe');sho whide('cunningswe');showhide('whiteswe');showhide('graniteswe');showhide('liliesswe');showhide('beac hesswe');showhide('pebblesswe');showhide('rockswe');showhide('ruinsswe');showhide('sarabandeswe');sh owhide('unknownswe');return false;"><img src="http://www.alpha60.net/wordpress/images/swedish.jpg" alt="Show/hide Swedish translation" /></a></p> Why does IE move the left column down when the translations are visible? It works fine in Firefox. I'm not a HTML king and tried a long time to get this far, so I'd really love some help! Address: http://www.alpha60.net/lyrics /Leo from Sweden Hi, I have the following situation. I want when the user types http://locahost/abc.html or http://locahost/xyz.html he should be automatically redirected to the http://locahost/login.html page User can only access http://locahost/xyz.html page when he clicks a link on http://locahost/abc.html and not by directlty typing it in the browser. By this i want only authorized users to have access to my web pages. My web portal is hosted on apache server on linux OS. How can i do this? Any help would be greatly appreciated. Hi i work for a web design company and im new to dreamweaver and html My client needs me to create a main landing page for his site and it will say click here to enter and when i click here to enter it will require a user name and password to get into the site, how do i do that? Hi, not sure weather this is the right category because it is related to phpBB but I Have tried there forums, with no luck! I think I'm in the right section though. Basically, I am building in the sessions and users of my forum into my personal site. I am using the following script to check if users are logged on: Code: <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../computerhelp/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); ?> Your existing page goes here <?php if ($user->data['user_id'] == ANONYMOUS) { echo 'Please login!'; } else { echo 'Thanks for logging in, ' . $user->data['username_clean']; } ?> I want to redirect visitors to a page on my site if they are not logged on, but can not figure out how to do it. Please can someone help me? Hi everyone, I need some help! I have a forum, as well as a separate website. I would like the homepage of my website, to have "recent posts" section, from the forum. I know it's possible, i've seen it on many sites, can somebody help me out? Thanks! If i make a login page in html like HTML Code: <html> <head> <title>Test Box</title> </head> <body> <br> <input text maxlength="15" onfocus="this.value=''" type="text" value="User name"> <input text maxlength="20"onfocus="this.value=''" type="password" value="Password"> <button disabled>Login</button> </body> </hmtl> Then how to i do it so when they enter there username and password the login button is active. |