[TYPO3-dev] mm_forum extension: How to restrict to user to create a New topic

Bastian Bringenberg bastian.bringenberg at typo3.org
Mon Dec 1 13:28:25 CET 2014


Hey Satish,

Sorry for the wait, normally I try to be more quick =).

Last week was full of a lot of privat stuff, and right now I have a lot of things to finish that should have been done by last week.

I wrote a few extensions that are extending mm_forum with hooks perhaps you find the best way in reading code =). I do.

http://typo3.org/extensions/repository/view/bb_mmforum_profilprotector
http://typo3.org/extensions/repository/view/bb_mmforum_anon
http://typo3.org/extensions/repository/view/bb_mmforum_pwthread
http://typo3.org/extensions/repository/view/bb_mmforum_defaulttext

And here is how to use an existing hook in TYPO3:
http://typo3.org/documentation/article/how-to-use-existing-hooks-in-your-own-extension/

If you are not able to find your solution now, feel free to ask again for help, perhaps I am able to show you the required lines of code, but right now I have no time to look for them =(.

Have a nice day,

Bastian

-- 
Bastian Bringenberg
TYPO3 Server Administration Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Am 27.11.2014 um 10:15 schrieb Satish Maurya <satish04mca at gmail.com>:

> Thanks Bastin on quick reply.
> 
> I am a PHP developer can modify source code of mm_forum but could you
> please let me know is there any example how to write hook for other
> extension.
> However, I am familiar to create new extension only.
> 
> Thanks
> Satish
> 
> On Thu, Nov 27, 2014 at 2:29 PM, Bastian Bringenberg <
> bastian.bringenberg at typo3.org> wrote:
> 
>> Hey Satish,
>> 
>> this is not able by default. The only ways I see here is to modify the
>> source code of mm_forum or write an extension to hook here.
>> 
>> Have a nice day,
>> 
>> Bastian
>> 
>> --
>> Bastian Bringenberg
>> TYPO3 Server Administration Team Member
>> 
>> TYPO3 .... inspiring people to share!
>> Get involved: http://typo3.org
>> 
>> Am 27.11.2014 um 09:50 schrieb Satish Maurya <satish04mca at gmail.com>:
>> 
>>> Hi All,
>>> 
>>> I am using TYPO3 6.1 and mm_forum 1.9.5 version, needs to create a
>>> functionality on frontend in this way:
>>> 
>>> User type 1: User can read only [Done, assigning read access]
>>> User type 2: User can reply only, cannot create new topic [How to do]
>>> User type 3: User can create new topic and reply as well [Done, assigning
>>> moderator access]
>>> 
>>> Is there any way to allow access to user type 2 as defined above?
>>> 
>>> Thanks in Advance !!!
>>> Satish Maurya
>>> _______________________________________________
>>> TYPO3-dev mailing list
>>> TYPO3-dev at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>> 
>> _______________________________________________
>> TYPO3-dev mailing list
>> TYPO3-dev at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>> 
> 
> 
> 
> -- 
> *Thanks & regards,*
> Satish Maurya
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list