Jump to content


- - - - -

(V88)Posts Required To Enter Forum


  • Please log in to reply
74 replies to this topic

#1 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 13 April 2008 - 08:32 AM

File Name: (V88)Posts Required To Enter Forum
File Submitter: Vadim88
File Submitted: 13 Apr 2008
File Updated: 20 Apr 2008
File Category: IP.Board v2.3.x Mods

File Name: (V88)Posts Required To Enter Forum (Originally Created by ntd1712)

File Description: - Allows you to put a restriction on who have a certain amount of posts needed to enter a certain forum.
- Control via ACP - Manage Forums - Add/Edit Forum - Min. number posts required to enter the forum

Author: Vadim Gavrilov

File Version: 1.0

Requirements: Universal Mod Installer

Files Affected:

* ./lofiversion/index.php
* ./skin_acp/IPB2_Standard/acp_skin_html/cp_skin_forums.php
* ./sources/action_admin/forums.php
* ./sources/action_public/forums.php
* ./sources/action_public/search.php
* ./sources/action_public/topics.php
* ./sources/action_public/misc/attach.php
* ./sources/action_public/misc/forward_page.php
* ./sources/action_public/misc/print_page.php
* ./sources/classes/post/class_post.php
* ./sources/lib/func_usercp.php

Click here to download this file
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#2 Tom

Tom

    Posting God

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 1,541 posts
  • IPB Version:v2.3.x

Posted 13 April 2008 - 08:39 AM

Long avaited Mod, Cheers Vadim!!!!

#3 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 13 April 2008 - 09:06 AM

Welcome Tom. ;)
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#4 cinik

cinik

    Coder

  • Members
  • PipPipPipPipPip
  • 119 posts
  • IPB Version:v2.3.x

Posted 13 April 2008 - 09:31 AM

Thank you Vadim88 ,much appreciated

#5 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 13 April 2008 - 09:41 AM

Your welcome. ;)
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#6 Tom

Tom

    Posting God

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 1,541 posts
  • IPB Version:v2.3.x

Posted 13 April 2008 - 09:47 AM

You're busy today ;-)


I pray you'll find the time for my staff mod ;-)

#7 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 13 April 2008 - 09:48 AM

Ye well those were in my queue to upgrade them since version 2.3 came out...Lol so i would imagine it would take me time to reach your request since i have a few other stuff on hold. ;)
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#8 Tom

Tom

    Posting God

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 1,541 posts
  • IPB Version:v2.3.x

Posted 13 April 2008 - 10:05 AM

-k, np. Let me know when you get the time for it. Cheers Vadim.

#9 ah7denc

ah7denc

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:v2.3.x

Posted 20 April 2008 - 01:12 AM

ok theres a small error with the mod install file this is the original

<?xml version="1.0" encoding="ISO-8859-1"?>
<mod_data>
	<mod_info>
		<title>(V88)Posts Required To Enter Forum</title>
		<version>1.0.0</version>
		<author>vadim88</author>
		<website>http://www.invisionmodding.com/forums/</website>
		<ipbver>2.2</ipbver>
	</mod_info>
		<alters_group>
		<alter>
			<alter_type>add</alter_type>
			<table>members</table>
			<field_name>post_required</field_name>
			<field_type>smallint(5)</field_type>
			<field_default>0</field_default>
		</alter>
	</alters_group>
	<languages_group>
	<language>
			<key>post_required</key>
			<text><![CDATA[Sorry, you must have a total of <#EXTRA#> posts or above to enter this forum.]]></text>
			<file>lang_error</file>
		</language>
	</languages_group>
</mod_data>


and this is the fixed one that works

<?xml version="1.0" encoding="ISO-8859-1"?>
<mod_data>
	<mod_info>
		<title>(V88)Posts Required To Enter Forum</title>
		<version>1.0.0</version>
		<author>vadim88</author>
		<website>http://www.invisionmodding.com/forums/</website>
		<ipbver>2.2</ipbver>
	</mod_info>
		<alters_group>
		<alter>
			<alter_type>add</alter_type>
			<table>forums</table>
			<field_name>post_required</field_name>
			<field_type>smallint(5)</field_type>
			<field_default>0</field_default>
		</alter>
	</alters_group>
	<languages_group>
	<language>
			<key>post_required</key>
			<text><![CDATA[Sorry, you must have a total of <#EXTRA#> posts or above to enter this forum.]]></text>
			<file>lang_error</file>
		</language>
	</languages_group>
</mod_data>


the typo is between the table name 'members' should be 'forums'

#10 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 20 April 2008 - 08:00 AM

Thanks fixed.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#11 Tom

Tom

    Posting God

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 1,541 posts
  • IPB Version:v2.3.x

Posted 20 April 2008 - 10:32 AM

Vadim, is it possible that certain groups can bypass the restrictions

#12 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 20 April 2008 - 02:21 PM

Currently no.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#13 Breezzee

Breezzee

    Member

  • Banned
  • PipPipPip
  • 29 posts
  • Real Name:Trev
  • IPB Version:v2.3.x

Posted 02 May 2008 - 09:05 AM

Thanks for the mod Vadim88.  ;)

Thought it wasn't working for me.......until I realized that Admin's get to bypass the lock. Had to log in as a test member to see it working.  :)

#14 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 02 May 2008 - 09:49 AM

Glad you liked it. ;)
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#15 rico197

rico197

    n00b

  • Members
  • Pip
  • 2 posts
  • Real Name:rico
  • IPB Version:N/A

Posted 05 May 2008 - 03:42 PM

Cheers man...

#16 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 21 May 2008 - 12:28 PM

This mod DON'T work for guests ( ! ).

When I am trying to enter any forum I am getting the error of the quantity of required posts.
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#17 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 21 May 2008 - 12:44 PM

So, That's what it supposed to do! guests have 0 posts then it will show the error if the dont have the amount needed.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#18 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 26 May 2008 - 05:04 PM

But it still bug ;)

I set 10 post to enter in A forum, but guest can't enter to forum B, but this hadn't set any number of posts to enter :)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#19 ann1957

ann1957

    Novice

  • Members
  • PipPip
  • 6 posts
  • IPB Version:N/A

Posted 16 June 2008 - 08:45 PM

any  help would be appreciated when i have installed it all and gone to add in the amount say 150 posts before entering when i try to save this i get an ips driver error

#20 Tom

Tom

    Posting God

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 1,541 posts
  • IPB Version:v2.3.x

Posted 07 July 2008 - 04:29 PM

Vadim,


I cant find that file
./sources/action_public/misc/attach.php

Do you know why?

btw. I have checked one of my first backups from Nov 2007 - There was no file in the related folder.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users