vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Remove NewReply and NewThread Buttons for Guests (https://vborg.vbsupport.ru/showthread.php?t=77610)

David_R 03-06-2005 04:52 PM

Remove NewReply and NewThread Buttons for Guests
 
How can I disable newreply and newthread for guests ?
Is there a way to disable this based on userpermissions ?

We have a couple of forums made for announcing site updates in forums.
But guests and other registered users can still find new thread and new reply buttons.

Importantly, google bot sticks itself to new thread and new reply buttons.. unable to index properly. :squareeyed:

DRJ 03-06-2005 07:21 PM

In the AdminCP go to the Forum Manager. Then find the forum and select Permissions. Then just change the permissions as needed. Look for the "can view, can post" etc options.

Zachery 03-06-2005 07:58 PM

<if condition="$bbuserinfo[userid]"></if>

around anything you only want to show to members.

Brad 03-06-2005 08:07 PM

Quote:

Originally Posted by Zachery
<if condition="$bbuserinfo[userid]"></if>

around anything you only want to show to members.

This is the vB2 forum zak ;)

David_R 03-07-2005 05:42 AM

sorry for posting here i am new to vb :)
please move to vb3 forum. Zachery can you give me complete code and template to put/replace that code into ?

Zachery 03-07-2005 05:54 AM

Quote:

Originally Posted by Brad.loo
This is the vB2 forum zak ;)

Its in the vB3 forum now :)

David. its not too hard, find the showthread and forumdisplay templates and look for any refrence to newthread.gif and reply.gif and add the code aroudn the link tags.

If you are still having troulbes I'll post complete edits, but if you take a moment I think you can get it on your own.


All times are GMT. The time now is 08:02 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.00963 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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