vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

miner 11-07-2012 05:58 AM

Nice article.

Lynne 11-07-2012 05:09 PM

Quote:

Originally Posted by aryung (Post 2379045)
i am waiting for response according to non registered / not logedin users permissions

I don't understand your question. We have covered code for conditions based on members versus guests viewing the page. I'd suggest reading through the thread or using the Search option for the thread.

mokujin 11-09-2012 09:56 AM

Quote:

i do not need to do anything with test.php i put my Text Here
Code:

<h2 class="blockhead">Title</h2>
    <div class="blockbody">
      <div class="blockrow">
        Our Forum is Private to our Academy Students Only
      </div>
    </div>


I think this article help you: https://vborg.vbsupport.ru/showthread.php?t=231525

aryung 11-17-2012 05:46 PM

Thanks Mokujin for the link but this would not help me
as i did this on first attempt
though worked fine but messed

however i achieve with
PHP Code:

define('THIS_SCRIPT''register'); 


mokujin 11-18-2012 01:34 PM

Quote:

Originally Posted by aryung (Post 2381978)
Thanks Mokujin for the link but this would not help me
as i did this on first attempt
though worked fine but messed

however i achieve with
PHP Code:

define('THIS_SCRIPT''register'); 


You know I really dont understand what you have with register.php file?
Lets say you are the administrator and your usergourpid is 6, right?
New members who registered have usergroupid 2 .
And your students, you will have to move them to an another usergroup, lets say usergroupid is 15

And your file test.php will allow your students (and yourself) to access it - test.php file?

aryung 11-20-2012 04:56 AM

Actually if some one is already registered he is not restricted to access forum

PHP Code:

define('THIS_SCRIPT''register'); 

if registered user visit register.php it will say you already a member go login and if guest it will load registration page

on my test.php
if user is loged in in it will load some instructions because i cant say "you are restricted" to those whom are not restricted.

and if guest test.php will tell why you are restricted to access

that's why i use this script 'register'
if condition works fine for content load but create problems when i add some input fields for guests
Code:

<vb:if condition="$show['guest']">Show this to guest only</vb:if>

richardevans123 01-03-2013 01:13 PM

I have a problem, when I load the page, it logs me out, and when I log in, it gives me an invalid redirect.

Any way to resolve this? Thanks

Lynne 01-04-2013 02:02 AM

Quote:

Originally Posted by richardevans123 (Post 2394480)
I have a problem, when I load the page, it logs me out, and when I log in, it gives me an invalid redirect.

Any way to resolve this? Thanks

Can we get a link to the page and a test username/password.

GameOverViper 01-25-2013 09:17 PM

How would I go about making a new page layout like this for a sub-domain?

Lynne 01-26-2013 12:53 AM

Quote:

Originally Posted by GameOverViper (Post 2399547)
How would I go about making a new page layout like this for a sub-domain?

I'm not sure what you mean.


All times are GMT. The time now is 01:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02815 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete