Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Nov 2016, 21:09
wolfe wolfe is offline
 
Join Date: Jan 2002
Question PHP page for guests...

Hi I tried to make a PHP landing page using the global.php so its links to the database but it always requires people to login before showing it how can I make it visible even if the rest of the site is locked out for guests thanks
__________________
Thanks
Reply With Quote
  #2  
Old 08 Nov 2016, 21:22
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
You can use a conditional but I'm not exactly sure what you are trying to do.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #3  
Old 08 Nov 2016, 21:29
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Real name: Eric
sounds like he has a vb page which he wants to display to guests, even though VB is not viewable to guests (forces a login to view)
Reply With Quote
  #4  
Old 08 Nov 2016, 23:01
wolfe wolfe is offline
 
Join Date: Jan 2002
Originally Posted by Dragonsys View Post
sounds like he has a vb page which he wants to display to guests, even though VB is not viewable to guests (forces a login to view)
thats exactly what im after on vB 4.2.3
__________________
Thanks
Reply With Quote
  #5  
Old 08 Nov 2016, 23:13
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Post your page code. You probably have some code in there that requires the user to login.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #6  
Old 08 Nov 2016, 23:20
wolfe wolfe is offline
 
Join Date: Jan 2002
it happens when i include the global.php file if I dont it works but it does not grab the theme info..

Im trying to use the Standard error template and add an intro video inside where the error message is as a welcome page but it requires a login when I include the global.php which I have to when displaying the theme / templates.
__________________
Thanks
Reply With Quote
  #7  
Old 09 Nov 2016, 15:36
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Real name: Eric
You probably need to add the below conditional to your page template

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

or use the below in your php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #8  
Old 09 Nov 2016, 19:13
wolfe wolfe is offline
 
Join Date: Jan 2002
Originally Posted by Lynne View Post
Post your page code. You probably have some code in there that requires the user to login.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Thanks
Reply With Quote
  #9  
Old 09 Nov 2016, 20:44
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Real name: Eric
Since you don't have any custom php code in there (you are just displaying a template), I would try adding the conditional to your template
Reply With Quote
  #10  
Old 10 Nov 2016, 03:13
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Do you allow Unregistered Users to view the regular start page of your site?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #11  
Old 10 Nov 2016, 08:39
wolfe wolfe is offline
 
Join Date: Jan 2002
Originally Posted by Dragonsys View Post
Since you don't have any custom php code in there (you are just displaying a template), I would try adding the conditional to your template
its more than a condition issue mate.

Originally Posted by Lynne View Post
Do you allow Unregistered Users to view the regular start page of your site?
no thats why im trying to make it viewable to guests like he login.php or sendmessage.php files are they use the template / theme but are visible to guests without allowing guests to see the forum before logging it
__________________
Thanks
Reply With Quote
  #12  
Old 10 Nov 2016, 18:09
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Hmmm, I'm not so sure how easy it is going to be then to get them to see the page. If it's just a welcome page, perhaps you can just do an HTML page instead?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #13  
Old 10 Nov 2016, 21:56
wolfe wolfe is offline
 
Join Date: Jan 2002
all sorted editing the class_bootstrap.php thanks for the help people.
__________________
Thanks
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Redirect guests to register page from no permission page. Increase Registrations SEOvB vBulletin 3.7 Add-ons 96 11 Jan 2009 07:42



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:45.

Layout Options | Width: Wide Color: