vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide replies from guests (https://vborg.vbsupport.ru/showthread.php?t=94468)

jaks 08-16-2005 11:08 PM

Hide replies from guests
 
I need to know how to hide all replies from guests in specific forums. ( There is about 10 forums I wish to add this option too) I know there is hide hacks where you have to post to see but that is not what I want. It's a pain in the ass to users to reply for every post.

The reason for this is I want to use the thread started as a teaser. This should force people to signup to continue reading..

Thanks in advance.
Jaks

Marco van Herwaarden 08-17-2005 09:49 AM

Why you not disable posting in these forums for guests?

jaks 08-18-2005 06:08 AM

Thanks for the reply Marco

The reason for the way I want it done is because the biggest draw is the content in this situation. Like I said I want to have the thread started as a teaser. This will be one paragraph or so with the remainder being in the first reply. This way if they want to read the entire article they would have to signup. If they can already read the full content then they wouldn't need to signup so it would kind of defeat the purpose.

So how would I hide the first reply in every post in specific forums?

Thanks Jaks

Marco van Herwaarden 08-18-2005 06:12 AM

Sorry i understood your question wrong, thought you wanted to hide posts made by guests.

You could use a hide/lockdown hack and maybe modify it a bit.

Marco van Herwaarden 08-18-2005 06:22 AM

Hmm thinking of it, you maybe can better do it with a conditional in your postbit template. Just check $post[postcount] < 2 and the usergroup.

jaks 08-18-2005 05:10 PM

Thanks Marco,

That's what i need but do you think you could give me an example to work from? Not to sure how to do that. More like how and where. :o

Thanks Jaks


All times are GMT. The time now is 08:58 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.01076 seconds
  • Memory Usage 1,716KB
  • 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
  • (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