(V88)Posts Required To Enter Forum
Started by Vince, Apr 13 2008 08:32 AM
74 replies to this topic
#61
Posted 10 January 2009 - 06:36 PM
Has anyone else a suggestion how I could get the Search Engine Spiders in?
#62
Posted 15 January 2009 - 10:53 AM
@Tom the search spiders have the same restrictions as guests. so it will require some core files editing to do that.
@xtr3mx7 It's located there refer to my post at the Posts required to post topic.
@xtr3mx7 It's located there refer to my post at the Posts required to post topic.
Vince Gabriel, Lead Developer.



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



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
#63
Posted 27 January 2009 - 07:08 PM
Vince, on Jan 15 2009, 06:53 AM, said:
@Tom the search spiders have the same restrictions as guests. so it will require some core files editing to do that.
Thanks Vince.
How about to bypassing for certain usergroups? Guess it is what you mean, right?
How much would an "improved" version cost? Settings via ACP, excluded members...
#64
Posted 01 February 2009 - 12:15 AM
is it possible to do that to count topic's started and not posts to view a forum?
Thanks
Thanks
#65
Posted 01 February 2009 - 06:44 PM
tried installing this on version 2.3.6 and seems the code has been altered, u said this to: @xtr3mx7 It's located there refer to my post at the Posts required to post topic.
no idea what you mean by that.
half the code in sources/action_public/attach.php the second edit is commented out in the new ipb version
Find: (In Function show_topic_attachments() )
if ( $this->ipsclass->check_perms($this->ipsclass->forums->forum_by_id[ $post['forum_id'] ]['read_perms']) == FALSE )
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'no_permission' ) );
}
Add Below:
# Posts Requirement To Enter A Forum
if( ! $this->ipsclass->member['g_access_cp'] && ( $this->ipsclass->member['posts'] < $this->ipsclass->forums->forum_by_id[ $post['forum_id'] ]['post_required'] ) )
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'no_permission' ) );
}
There was a few code edits that did not exactly match from your document, but they were very similar so i assumed that i should make the edits still.
no idea what you mean by that.
half the code in sources/action_public/attach.php the second edit is commented out in the new ipb version
Find: (In Function show_topic_attachments() )
if ( $this->ipsclass->check_perms($this->ipsclass->forums->forum_by_id[ $post['forum_id'] ]['read_perms']) == FALSE )
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'no_permission' ) );
}
Add Below:
# Posts Requirement To Enter A Forum
if( ! $this->ipsclass->member['g_access_cp'] && ( $this->ipsclass->member['posts'] < $this->ipsclass->forums->forum_by_id[ $post['forum_id'] ]['post_required'] ) )
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'no_permission' ) );
}
There was a few code edits that did not exactly match from your document, but they were very similar so i assumed that i should make the edits still.
#66
Posted 01 February 2009 - 06:53 PM
i made all the edits i thought were nessessary according to your instructions and making a few things that were similar. It seems to work. Now when i go to lofi version it says beside the forum 5 posts
* A Test Category
o A Test Forum (5 posts)
Now that is how many posts is required to enter it, but does not say anything informative, how can i change that message to maybe (x posts required to enter)
Something along those lines?
* A Test Category
o A Test Forum (5 posts)
Now that is how many posts is required to enter it, but does not say anything informative, how can i change that message to maybe (x posts required to enter)
Something along those lines?
#67
Posted 01 February 2009 - 08:24 PM
i also noticed i get this error when a member tries to view a topic with not enough posts:
The error returned was:
Sorry, you must have a total of <#EXTRA#> posts or above to enter this forum.
it does not display the number, any idea wat is causing this?
The error returned was:
Sorry, you must have a total of <#EXTRA#> posts or above to enter this forum.
it does not display the number, any idea wat is causing this?
#68
Posted 08 March 2009 - 10:52 AM
Due to this line, added in search.php, guests are no longer able to access usual search queries like Today's Active Topics or View New Posts
Could anyone help or was anyone able to fix that issue?
# Posts Requirement To Enter A Forum
if( ! $this->ipsclass->member['g_access_cp'] && ( $this->ipsclass->member['posts'] < $i['post_required'] ) )
{
$can_read = FALSE;
}
else
{
$can_read = TRUE;
}
Could anyone help or was anyone able to fix that issue?
#69
Posted 08 March 2009 - 11:04 AM
Because guests have this:
'set' to 0 ( zero ).
Try this:
$this->ipsclass->member['posts']
'set' to 0 ( zero ).
Try this:
if( ! $this->ipsclass->member['g_access_cp'] && ( $this->ipsclass->member['posts'] < $i['post_required'] ) && $this->ipsclass->member['id'] )
Edited by DawPi, 08 March 2009 - 11:19 AM.
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
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
#70
Posted 08 March 2009 - 11:28 AM
Good that David is 24/ 7 here to assist. Thank you very much - works!
#71
Posted 09 March 2009 - 01:33 AM
Glad i can help you.
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
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
#72
Posted 10 March 2009 - 10:34 PM
can't seem to get this to work on 2.3.6 any ideas anyone..it installs and all the edits are done but ppl with less than the set amount still enter and post..
#73
Posted 12 March 2009 - 03:45 PM
Yeah, I got the same problem with 2.3.6.
#74
Posted 24 April 2009 - 11:08 AM
@Vince - how much do you charge for the improvement where staff can determine certain members via ACP to bypass the restriction?
Or if you dont have the time maybe someelse could be develop an addon.
Tia
Or if you dont have the time maybe someelse could be develop an addon.
Tia
#75
Posted 15 July 2011 - 01:23 PM
I want to required to sub forum. Why member can post in sub forum.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





Contributor











