Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Minimum posts to view Forum [English/German] Details »»
Minimum posts to view Forum [English/German]
Version: 1.00, by Sinclair Sinclair is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-19-2003 Last Update: Never Installs: 10
 
No support by the author.

English:
A few users requestet a hack to limit the access on a forum by userposts. This hack will will give an error to the user if he didn?t had enough posts to view the forum. You can specify the number of minimum posts to view the forum by each forum in the admin-cp.

If you have any further questions please put it into this thread or contact me via PM on vB.org or my Forums(http://www.sf-forum.net)

In the next Version, i build it into the search-enginge.

Sorry for my bad english.... - Talk german!

If you want to expect Mod/SMods/Admins from the limit, use these Version: https://vborg.vbsupport.ru/showthrea...666#post356666


Greetings from Berlin/Germany,

Christopher

---------------------------
German/Deutsch:
Es wurde schon ?fter auf vB.org nach einem Hack gefragt, der den Zugang zu einem Forum auf Grund der bereits abgelegten Posts zu begrenzen. Ihr k?nnt diese Einstellung varibale f?r jedes Forum im Admin-CP einstellen.

In der n?chsten Version werde ich diese Funktion auch auf die Suche ausweiten....

Solltet ihr weitere Fragen haben, schreibt dies bitte in diesen Thread oder kontaktiert mich per PM auf vB.org oder in meinem Forum(http://www.sf-forum.net).

Wenn ihr Mods/SMods/Admins von der Sperre ausnehmen wollt, benutzt diese Version: https://vborg.vbsupport.ru/showthrea...666#post356666


Gr??e aus Berlin,

Christopher

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-20-2003, 12:17 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds interesting will take a look at this later .
Reply With Quote
  #3  
Old 02-20-2003, 01:08 PM
Sinclair Sinclair is offline
 
Join Date: Oct 2001
Location: Germany: Berlin
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A screenshoot of the Message:
Reply With Quote
  #4  
Old 02-20-2003, 02:11 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea. Lesane released a hack like this but it was only in english so good job pal :P

- miSt
Reply With Quote
  #5  
Old 02-21-2003, 11:41 AM
TranceMaster TranceMaster is offline
 
Join Date: Mar 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amazing man! i run a music production website, and we have a sample forum so all the samples that we have are based in this forum, and its hard to keep track of who takes what, and i hate leechers, i put in alot of work and i hate it when people come along and dont contribute, even a small thank you is all that is needed. this could be just what i needed.
thank you
Reply With Quote
  #6  
Old 02-21-2003, 03:46 PM
PSI|Dr-X PSI|Dr-X is offline
 
Join Date: Aug 2002
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack :knockedout: will install {needed}

Can you please arrange that mod / admins / supermods

can view that forum without having $minposts
Reply With Quote
  #7  
Old 02-21-2003, 05:40 PM
Sinclair Sinclair is offline
 
Join Date: Oct 2001
Location: Germany: Berlin
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by PSI|Dr-X
Cool hack :knockedout: will install {needed}

Can you please arrange that mod / admins / supermods

can view that forum without having $minposts
I attached a new install instruction for that.
Ich habe eine neue Anleitung diesem Post angeh?ngt mit den entsprechenden Instruktionen....

Otherwise here the changes:
Alternativ hier die Ver?nderungen:

file: /forumdisplay.php

replace/ersetze:
PHP Code:
    $foruminfo=getforuminfo($thread['forumid']);

// ### min. post?s to view Forum - Hack by Sinclair (chris@sf-forum.net) ### BEGIN ###

    
if($bbuserinfo[posts]<$foruminfo[minposts]) {
        eval(
"standarderror(\"".gettemplate("error_forum_minposts")."\");");
    }

// ### min. post?s to view Forum - Hack by Sinclair (chris@sf-forum.net) ### END ### 
with this/durch dieses:
PHP Code:
    $foruminfo=getforuminfo($thread['forumid']);

// ### min. post?s to view Forum - Hack by Sinclair (chris@sf-forum.net) ### BEGIN ###

    
if($bbuserinfo[posts]<$foruminfo[minposts] && $bbuserinfo[usergroupid]!=&& $bbuserinfo[usergroupid]!=&& $bbuserinfo[usergroupid]!=7) {
        eval(
"standarderror(\"".gettemplate("error_forum_minposts")."\");");
    }

// ### min. post?s to view Forum - Hack by Sinclair (chris@sf-forum.net) ### END ### 
Reply With Quote
  #8  
Old 02-21-2003, 06:39 PM
PSI|Dr-X PSI|Dr-X is offline
 
Join Date: Aug 2002
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnx Sinclair
Reply With Quote
  #9  
Old 02-22-2003, 11:07 AM
Sinclair Sinclair is offline
 
Join Date: Oct 2001
Location: Germany: Berlin
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Problem

I already work at the version which includes the search-engine...
Reply With Quote
  #10  
Old 04-21-2003, 12:34 AM
kevinnguyen kevinnguyen is offline
 
Join Date: Feb 2003
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx a bunch
a really need this hack
somehow Lesane's hack doesnt work for me
yours works great
ur really my my savior
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04333 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete