php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#203145 - 05/08/04 09:33 AM [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567

   [6.7] [beta] Post Count-Restricted Forums 3.1.0 to Del.icio.us Add to del.icio.us
  Digg [6.7] [beta] Post Count-Restricted Forums 3.1.0 Digg it
Modification Name: Post Count-Restricted Forums 3.1.0

Author(s): CTM

Description: Allows Administrators to restrict access to a forum by post count. Restriction is via Forum Settings section in Control Panel, and an unlimited number of forums can be set in this way. Administrators and Moderators of the post count-restricted forums can bypass the post count limit, in the same way that they are able to bypass other forum restrictions. Unauthorised users may not search post count-restricted forums or see their Recent Visitors information. Fully Wordlet-ised for easy modification and translation.

Demo: None

Requirements: UBB.classic 6.7.0 or higher

Download Link: Contact privately

Credits: Allen and Gizzy, for pushing me hard enough to release this wink

Updates:
Version 3.1.0:
Fixed small Recent Visitors loophole (thanks Ian Spence) - If you're using v3.0.0 find and remove the following in ubb_lib_pntf.cgi:

Code:
&& (&UBB::LIB::PostCountRestriction($in->{f}) == 1)
Notes: So here it is, the updated version of PCRF at long last. Fixed all bugs from the 2.0.0 series, including that horrible Recent Visitors bug and all the Search bugs (as far as I can see). Thanks again to Allen, Gizzy and Ian Spence for encouraging me to get this done. Sorry I had to make you wait so long. frown

This mod might work on 6.6.x, but I'm not going to make it official until someone tries (I don't use 6.6 any more so I don't have anywhere to test it; if you do get it working on 6.6 then I'd be very grateful if you could tell me so others could know too).

Bug reports/problems/comments/flames all welcome, but please keep them in this topic because my PM inbox needs to be cleaned out first. Thanks smile

Top
#203146 - 05/08/04 03:32 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
muchas gracias... very requested by a few wink
_________________________
- Allen wavey
- What Drives You?

Top
#203147 - 05/08/04 06:59 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Who, me? :X... GJ wink ..
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203148 - 05/11/04 05:20 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Link to mod updated, the previous one was depricated earlier this afternoon. Sorry for any inconvenience caused to those trying to download this for a few hours earlier today. smile

Top
#203149 - 05/11/04 05:43 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Good job, the code looks very well. smile

Quote:
quote:
UBBDev - Putting the "Ultimate" into Ultimate Bulletin Board
We're really into making a new motto, aren't we wink
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#203150 - 05/12/04 02:36 AM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
I liked mine...
"UBBDev, where you too can render your fresh UBB.Classic install completely useless"
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203151 - 05/12/04 01:39 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Ian Spence has found a problem that is caused by my code when users are not logged in and try to view a forum or topic. This problem is now fixed (PCRF v3.0.1). If you're using v3.0.0 find and remove the following in ubb_lib_pntf.cgi:

Code:
&& (&UBB::LIB::PostCountRestriction($in->{f}) == 1)
Thanks Ian smile

Top
#203152 - 05/12/04 07:13 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Thank god i didn't install it yet :x...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203153 - 05/13/04 02:26 AM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
Originally posted by Gizzy:

Thank god i didn't install it yet :x...



*laughs at the idea of Gizzy installing a mod* tipsy
_________________________
Code monkey like Fritos

Top
#203154 - 05/13/04 04:12 AM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
hey; you're the one who asks me if you can install them to my board... Evidently UGN is Al's test board lol...

I don't even think my "mod's installed" post is accurate anymore; you should update the list lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203155 - 05/24/04 12:33 AM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
I'm having a difficult time finding a couple pieces in ubb_search.cgi

In the instructions there's 3 sections to find in ubb_search.cgi, I can't find the last 2 smash
_________________________
- Allen wavey
- What Drives You?

Top
#203156 - 05/24/04 06:43 AM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Well that's weird, because I wrote the thing and I can't find those bits either... smash

Does the mod work okay without those instructions? If so, those instructions must've come from a previous mod that I based the documentation on. If PCRFs are searchable by authenticated users and are unsearchable by unauthorised users without the bits you can't find, then those instructions mean nothing and I need to remove them. I'll take another bash at this after the exam today.

Thanks for the report Allen smile

Top
#203157 - 03/02/05 11:03 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
I added this mod but the number of posts I set in a forum doesn't stay saved and the restriction doesn't work

Top
#203158 - 03/03/05 03:53 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
A few people have told me that this works on 6.7.1, and as far as I know there haven't been any code changes that would affect this mod. Try rehacking ubb_lib.cgi, ubb_forum_summary.cgi, and especially cp2_forums.cgi.

Top
#203159 - 03/03/05 08:10 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
Tiger66 Offline
Member

Registered: 03/31/04
Posts: 58
Loc: Israel
I tried it 3 times and it's still the same

What should be the room settings of the one I want to restrict? does it have to be set as a Private Room? does the room name must be checked under the Forum Permissions in the user profile?

Top
#203160 - 11/06/05 04:53 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
I'm having the same problem, its not sticking to the restricted number, I save it then go back in to see if its still there in the CP but it is not.
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#203161 - 11/12/05 06:16 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Quote:
Originally posted by AshtarRose:

I'm having the same problem, its not sticking to the restricted number, I save it then go back in to see if its still there in the CP but it is not.



Which version of UBB.classic are you using?

Top
#203162 - 11/13/05 11:57 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
6.7.0
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#203163 - 11/26/05 02:25 AM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
anyone trying to fix this?
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#203164 - 11/26/05 01:22 PM Re: [6.7] [beta] Post Count-Restricted Forums 3.1.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Are you using any other mods (particularly ones that involve forums or the Control Panel) alongside this one?

I'll see if I can install the mod on a fresh copy of 6.7.0 later tonight, and if not I'll mess with the code a bit to see what's wrong. smile

Top
Page 1 of 2 1 2 >


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
1 Registered (Gizmo), 25 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks