vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [RELEASE V2.0.1] New Forum Features (https://vborg.vbsupport.ru/showthread.php?t=19390)

butty 07-06-2001 02:55 AM

great hack :) cheers buddy works a charm, although i had 2 use the instructions off the first page n had 2 ad another ) to the code like in that other post

robertusss 07-06-2001 06:08 AM

Quote:

Originally posted by wluke

... have 20 posts minimum so that they contribute to the community in a meaningful way (since posts in the general chat forum don't count) before they ....

erm, do I understand you right? you have a "general chat" subforum and posts in there do not count to the users total number of posts?

Is that a new feature I don't know about (still using beta3 - maybe it has been implemented later)? or is it a hack of yours?

polgas 07-07-2001 12:59 PM

You can set a forum wherein the user's posts will not count to their total posts. It is in the Control Panel.

MrLister 07-14-2001 05:15 AM

why do i keep getting this. if somebody is not registered and is trying to view the forum it keeps saying
Quote:

Sorry you must have at least posts to view threads in this forum
and it is set to 0 views min.

SteveK 07-17-2001 10:52 PM

I'm experiencing the same with the unregistered Needing "0" Posts to view threads.

fastforward 07-18-2001 12:38 AM

Quote:

Originally posted by SteveK
I'm experiencing the same with the unregistered Needing "0" Posts to view threads.
You need to put $foruminfo[minposts] and/or $foruminfo[minviewposts] in your error templates.

MrLister 07-18-2001 01:08 AM

yea but the problem is, no matter what value i put down it still doesn't let unregistered users view anything

fastforward 07-18-2001 03:37 AM

Quote:

Originally posted by mrlister
yea but the problem is, no matter what value i put down it still doesn't let unregistered users view anything
Alter the line that checks for posting permissions in newthread.php to something like this

if ($foruminfo[minposts] && ($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumno post")."\");");
exit;
}

SteveK 07-18-2001 05:25 AM

Don't forget to change the same thing in forumdisplay.php also! This worked, Thanks for your reply.

Wayne Luke 07-18-2001 06:18 AM

I had posted before that this had to be changed and I thought I updated the files appropriately. I will double check them in the morning and if necessary re-upload.

Menx 07-19-2001 07:09 AM

Hello. I am new to all these hacks things so I installed this one and it works great. I have tested it out by registering a new user and seeing what I can view and post etc etc.

I just got one question and maybe this can't be done but I was wondering... can you make a option where users after X amount of days the amount of posts you need increase over time...

i don't know if you know what I mean... but

say you have new and old members, the new members amount of posts before they can view a section is lower than the old members amount before they can view the section...

so if a member is registered say 10 days then they are classified as old and need to post more before they can get access to a forum even if 5 days ago they would have been able to view it because they came under new.

hope that made sense...

Nemesis77 07-19-2001 10:16 PM

where's the Link for the Zip File. I would really like to have this Hack. Thanks all

MrLister 07-19-2001 11:23 PM

[QUOTE]Originally posted by fastforward

Alter the line that checks for posting permissions in newthread.php to something like this

if ($foruminfo[minposts] && ($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumno post")."\");");
exit;
}

Menx 07-20-2001 01:07 AM

Seems I am also having problems (i spoke too soon)

It allows the odd members to get access to forums even though there is a value said that u need 5 posts before you can view this thread but the main problem is now no new members can post in any of the sections even though they are set to having needed 0 posts they get the error they need x amount of posts before they can post.

but its set to 0 so i don't know how to fix it.

can anyone help....

Menx 07-20-2001 02:21 AM

100% working!
I used bits and pecies from everywhere and now this is 100% working. thanks for the great hack!

TripleH 07-21-2001 03:50 AM

Ok.. this is going to be a dumb question..

I finally got everything to work,..

But now how to I set the forums? I looked in the edit, and I cna't find it anywhere.. thanks

HHH

stile 07-26-2001 01:33 AM

Once you set the options with this hack, you can't go back and change them... Is there a way to add it so you can modify the posts needed to set a new topic once you initially set it?

otherwise i gotta nuke all my forums and start over ;)

pipi 07-26-2001 03:01 AM

while using searching function.......users can view anything

stile 07-26-2001 03:49 AM

I have it set so that people under x amount of posts can't post or view in certain forums using the forum hack.

I also have the Last Post thread hack.

Users can totally bypass the "can't post if you don't have x amount of posts" by clicking on the Last Post thread link.

Kind of defeats the purpose :)

look: http://php.stileproject.com/spf

try posting from the forum link then last post to thread link.

Kengan 07-26-2001 08:54 AM

great hack !! Thanks !
:rolleyes:

dwh 07-26-2001 12:03 PM

Quote:

Originally posted by stile
I have it set so that people under x amount of posts can't post or view in certain forums using the forum hack.

I also have the Last Post thread hack.

Users can totally bypass the "can't post if you don't have x amount of posts" by clicking on the Last Post thread link.

Kind of defeats the purpose :)

look: http://php.stileproject.com/spf

try posting from the forum link then last post to thread link.

Hey, what ru doing here? In the 2 seconds you posted that message you had approximately 200 million visitors ;)

Care to share any pointers for us slow guys w/ under 1 million users?

amykhar 08-27-2001 12:25 PM

Does this work for 2.0.3?

Amy

Gutspiller 08-29-2001 03:41 PM

I installed this hack, but I don't have anything in my admin CP?

I did happen to do the modifications to the files, first and upload, before I ran the ff_install.php

Is this ok? Or do I need to revert to the original php files, then run the ff_install.php and then reupload the new php files?

I don't see any settings in the admin CP for me to change any new features.

Please help. :(

Gutspiller 09-04-2001 04:29 PM

Quote:

Originally posted by fastforward

Alter the line that checks for posting permissions in newthread.php to something like this

if ($foruminfo[minposts] && ($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumno post")."\");");
exit;
}

Im a noobie and I don't know where I put those lines of code. Can somebody help me out on where I put them/what I should search for and replace/put them under. I also read that they need to be put in forumdisplay.php also.

Where do I put them in forumdisplay.php too?

Thanks for any help you can provide. :)

Gutspiller 09-07-2001 03:23 PM

OK, I know I have bugged you quite a bit on this hack and Im sorry. If you could just help me with one more thing on this post count hack I would be in your dept.

Fastforward states this:

quote:
--------------------------------------------------------------------------------


Alter the line that checks for posting permissions in newthread.php to something like this

if ($foruminfo[minposts] && ($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumno post")."\");");
exit;
}

--------------------------------------------------------------------------------

and another person says this:

Don't forget to change the same thing in forumdisplay.php also! This worked, Thanks for your reply.

My problem is, I don't know where to put that code that I quoted from Fastforward. Could you please help me with this code. I swear I wont ask another question about this hack.

(in case you are a little lost, I am asking this because my guests are getting the "you must have 0 posts to view this forum." I updated the error templates, but that only sets the post count to check to see what the post count is set to. I just need to get it so that it doesn't give that error message to guests, but instead, lets my guests view the forums that I setup for them to view in the admin CP.)

OK, sorta long but I wanted you to have a clear view of what was wrong.

I appreciated you writing this hack and all the support you have given to me on this. Please don't give up on me now.

The Gutspiller.

LuBi 09-12-2001 10:55 PM

What do the features in this hack do? What's the good part about the meta tags?

Also can the options be disabled somewhere?

shadowbreed 09-14-2001 12:25 PM

where is the ff_install file??

TurboFC3S 09-15-2001 04:08 PM

Ok, so where do you add keywords/descriptions to forums that already exist? If you can only add keywords when a forum is created, then it's kinda worthless ... no offense, but we need the option to be able to change stuff.

ray 09-16-2001 09:25 AM

Where is the zip file? I need ff_install.php.

TripleH 09-16-2001 06:26 PM

it should be on the first or second page...

HHH

shadowbreed 09-16-2001 08:53 PM

man i'm blind

for the other people looking for it: it's on page three (3) :)

ray 09-17-2001 07:17 AM

This is a REAL dumb question..I installed this hack...so what does it do? Anything I have to configure? I dont see anything new.

Thanks!

Ray

shadowbreed 09-17-2001 01:54 PM

try adding or modifying a forum, it's at the bottom

TurboFC3S 09-17-2001 08:01 PM

I didn't have the option to modify existing forums, and I had the problems others have had with it saying you must have posts to view the forums - if you're uncookied. So I backed this hack out.

Mr K 11-08-2001 08:20 AM

UNINSTALLER

Do you have an uninstall for this hack?? It didn't work ... or at least doesn't do what I want it to do ...

I've gone through all the notes here...and it STILL will not limit my new user (with no posts) from posting into my forums...

Thanks for trying .. seems to work for lots of others though

Mr K.

grumpy 11-11-2001 03:35 AM

Will this work for newer versions, both 2.0.3 and 2.2.0?

amykhar 11-24-2001 01:22 PM

For any that are interested, I just installed the meta tag portion of this hack with no problems on 2.20.

I did not install the censor words or minimum post count portions of this hack, because I don't need it on my board.

Amy

grumpy 11-24-2001 02:13 PM

Thanks Amy! That's the part I wanted to, so now I'll go work on it :)

|DarkManX| 11-24-2001 02:29 PM

anyone have this entire hack installed on 2.2?

thanks

|DarkManX| 11-24-2001 02:48 PM

ok this does not work on 2.2

i get this error

Parse error: parse error in /home/partylou/public_html/tof/forumdisplay.php on line 75

and here is the code with line 75 being

if (($foruminfo[minviewposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {

here is that entire block lines 70-79
//WL 04-June-2001 Forum Features Hack (v1.0 Wayne Luke)
$keyword=$foruminfo[metakey];
$description=$foruminfo[metadesc];
$robotext=$foruminfo[robotext];

if (($foruminfo[minviewposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumno view")."\");");
exit;
}
//WL End Modifications

thanks


All times are GMT. The time now is 01: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.01566 seconds
  • Memory Usage 1,820KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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