#1  
01-21-2010, 07:24 AM
JonathanEntertainment's Avatar
JonathanEntertainment JonathanEntertainment is offline
Premium Member
 
Join Date: Jun 2005
Location: North Carolina
Posts: 77
Thanked 0 Times in 0 Posts
Ok so I have looked around the internet and didnt really find anything that would confirm what I am trying to do... I am working on creating a web page from for one of my sites but what I would like to do is give them a login section. Sort of like the login form above on this site. However I need it to be on my front page which is seperate from the forum. Has anyone done this or been able to ? I have done some test from the different codes I have seen what looks like its logging in but redirects back to the home page which is fine but still looks like a normal login back in short doesnt show that your logged in or pms...etc
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-21-2010, 07:26 AM
JonathanEntertainment's Avatar
JonathanEntertainment JonathanEntertainment is offline
Premium Member
 
Join Date: Jun 2005
Location: North Carolina
Posts: 77
Thanked 0 Times in 0 Posts
While this front page is far from ready as I need to test the overall design on different browsers... but I am using vbulletin on the main site now.
Reply With Quote
  #3  
01-21-2010, 11:22 AM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,310
Thanked 654 Times in 457 Posts
There are methods for displaying and tying into vBulletin data on external pages. Much of it is documented on vBulletin.org, amongst others.

However, you may not be able to put it on an HTML page. It will be PHP code, meaning that you either:
  1. Make php pages, not html pages, -OR-
  2. Run html as php on the server. This can be done, but is often not suggested for various reasons.
A php page can hold pure HTML code.

I do it for includes on one of my new sites, because this helped me cheat a WordPress crossover. Having the menu.php stored in the theme directory, I can now directly access site-wide menu from with WordPress, instead of having to edit the external html file separately. I've replaced the standard WordPress menu with a JS-powered one, a manual fix. The WP CSS version only displays when a person has JS disabled in the browser, or is running NoScript with the site not in the exceptions list. It also includes the warning "please enable Javascript to view the site as intended" -- or something to that effect, still writing it.

As far as login-specific suggestions, I saw one at daniweb, although it fails to mention the version of vB and is from early 2008. See http://www.daniweb.com/forums/thread109707.html

As with anything else "crossover" in nature, you may just be in for a wild ride here, ending up with nothing functional after investing a lot of time in such a "hack". Just be warned.

Sometimes it's better to just include a link to the login page. For example, http://www.digitalFAQ.com/forum/login.php and then be done with it

- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
  #4  
01-21-2010, 07:11 PM
JonathanEntertainment's Avatar
JonathanEntertainment JonathanEntertainment is offline
Premium Member
 
Join Date: Jun 2005
Location: North Carolina
Posts: 77
Thanked 0 Times in 0 Posts
yea thanks as it describes in that site exactly as far as I got.. I was able a little ago playing around to make a vbulletin page which the login box work'd its just going to be tricky here I did hear it would be me having to replace the index.php with my custom page. Yea if all else fells i will just link it to the login form..
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing a header with an image via CSS only, not HTML code Sossity Website and Server Troubleshooting 1 11-10-2011 09:48 PM
How to convert Word HTML tables to Dreamweaver code naimeiiz Website and Server Troubleshooting 1 10-02-2011 04:41 PM
HTML/CSS website fundamentals class - textbook vs other books? Sossity Website and Server Troubleshooting 8 10-02-2011 04:21 PM
Code edits to send HTML email via admincp in vBulletin admin Website and Server Troubleshooting 0 03-06-2011 08:14 PM
Add HTML option to vBulletin 3.x "Send Email to Users" admincp admin Website and Server Troubleshooting 0 04-28-2010 08:29 AM

Thread Tools



 
All times are GMT -5. The time now is 07:33 AM