vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Forum Main Page (https://vborg.vbsupport.ru/showthread.php?t=323028)

trollshrooms 07-13-2016 08:26 PM

Forum Main Page
 
On a friendly note.

How would one go about making the main page.
Like this image:
https://vborg.vbsupport.ru/external/2016/07/14.png
Being unable to view forums until logged in, of course with a registration button aswell on that page?

Kinda like a mainpage with a logo or w/e, and you can't access the forums unless you either register or have a login already?

alcazarx 07-14-2016 11:05 AM

If your not already using it, install german language phrases and turn it on to receive this display :rolleyes: :D

Me is no coder, but you could make a new login/starting page with the elements shown (link the buttons to the login/register files) and on the "original" ones like "forum.php", "index.php" just check if the user is logged in, if not redirect to login page.

RichieBoy67 07-14-2016 03:34 PM

You want your forums and posts kept private? You do realize that this will completely kill your seo?

Dave 07-14-2016 05:37 PM

Pretty easy, hook into one of the first few hooks that get executed, check if logged in, if not, force that template to be shown and exit the script.

trollshrooms 07-14-2016 09:22 PM

Quote:

Originally Posted by RichieBoy67 (Post 2573251)
You want your forums and posts kept private? You do realize that this will completely kill your seo?

Ya I didn't consider that.. thats for the reminder.
Quote:

Originally Posted by Dave (Post 2573258)
Pretty easy, hook into one of the first few hooks that get executed, check if logged in, if not, force that template to be shown and exit the script.

Thanks Dave.

Mattwhf 07-16-2016 02:51 PM

Quote:

Originally Posted by RichieBoy67 (Post 2573251)
You want your forums and posts kept private? You do realize that this will completely kill your seo?

It is still possible to do that without killing SEO for the forum :)

trollshrooms 07-16-2016 05:21 PM

Explain pl0x, because i really wanna do this lol but dont want to kill my PR


All times are GMT. The time now is 07:02 PM.

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.01104 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete