![]() |
minimum post to view threads
I know there 2 or 3 haccs for this but can someone make one that works with vbulletin 2.3.2
|
How do you plan to make this work for new users? How can someone make a post if they start out with 0 posts and cannot see active threads to reply to and join in on?
Syl... |
Make it to where they can only post in ceratin sections first.
Alot of stuff on my site is adult material so don't really need the people who aren't actively on the forums to just look at the pics/movies and spank off. |
Quote:
|
That would be alot of user groups and some serious changing for about 700 members. That's why it was easy with the minimum post to view threads.
|
Quote:
|
Yeah I would have upgraded to vb3 but way too haccs installed.
|
Have you tried all the Minimum Posts to Views Threads hacks? There are 2 be Lesane which work very well. If they dont, i'll make one for you:)
|
Yeah I've tried them all. They work on all vb's under 230
none of them work on anything thats 230 and higher and I'm running v232. |
Ok, open newthread.php and find:
PHP Code:
PHP Code:
Creat a new template called 'error_notenoughposts' with the contents: Code:
You do not have enough posts to create a new thread. |
Thx but I need a minimum post to view a thread
that will make it to where you need a certain amount of post to make a new thread. Ii'm looking for one to view a thread. |
Whops, I edited the wrong file. Let me fix:)
|
Open showthread.php and find:
PHP Code:
PHP Code:
Create a new template called 'error_notenoughposts' with the contents: Code:
You do not have enough posts to view this thread |
from this code it looks like it would do all threads, and I need to to specific forums for this
ex. general chat - minum would be 0 for movies minimum would be 20 |
Alright, will work in it
|
thank you
|
Do something like this:
find: PHP Code:
PHP Code:
and for every forum you want to add, place after 4 PHP Code:
|
unfortunately it didn't work. I made the forum count 9999 just to make damn sure I couldn't get in it and double checc the forumid it didn't work.
|
The code of 'assassingod' is good and therefor it must work. Are you sure that you mean no access to threads or do you mean that you want to limit the access to forums (so no view of threads listed in that forum, file: forumdisplay.php) ?
|
This code worked for me.
Code:
if ($bbuserinfo['posts'] < 4000 AND $thread['forumid'] == 35) Only thing I can say is you have the wrong forumid for the forum you are attemping to view. If your forums are like this: The Bar - General Chit Chat - Spam stuff - Hot women And you want this code to only work for General Chit Chat, it's the General Chit Chat forumid # that you must use and not "The Bar" forumid. v2.3.0 running here. Works like a charm! Thanks assassin! Syl... |
ok I put the code in showthread php
- ABC --- aaa --- bbb --- ccc for aaa = website.com/forumdisplay.php?s=&forumid=8 so I use 8 Code:
if ($bbuserinfo['posts'] < 9999 AND $thread['forumid'] == 8) |
Well I tired to go to your web site to see it for myself but alas, you don't have your url entered.
Maybe you're running v3 or an older version than the one I'm running (2.3.0) but it works like a charm on my forum. Good luck with it. Syl... |
OMFG I can't belive I did that. Yeah it works just fine, infact perfectly.
It was a common user mistake Code:
find: Thanks for helping me and us out. It works |
As quick and easy as this may be, someone oughta post this in the vb2 full release forum. I'm sure a lot of people (like me) are looking for something that works well, and they may not check this forum too often :)
One quick additional thing though, I would like my guests to be able to view the forums they have access to, but registered users need to post at least once. Would that be something like: PHP Code:
--Nevermind, tried this and it works great :) |
All times are GMT. The time now is 12:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|