| |
121. Posted: 25 Jul 2008 12:36 - Custom Tutorials and Modifications / Allowing only some registered users post reply in certain topic
Here is the code, you just need to modify the above example a bit: if($user_id==0 and $action=='vtopic' and $forum==YOUR_FORUM_ID){ $title=$l_accessDenied; $errorMSG='Only registered users are allowed to view this forum.<br />'; //Loading header & warning page echo load_header(); echo ParseTpl(makeUp('main_warning')); //Loading...
|
122. Posted: 24 Jul 2008 08:24 - Custom Tutorials and Modifications / Allowing only some registered users post reply in certain topic
Paul thanks...but nothing happen...when i edit some code in it just showing that message in every page even for sign up, "Only registered users are allowed to view this thread" ...how can i set just for some thread not all...thank u so much!!!
|
123. Posted: 24 Jul 2008 03:59 - Custom Tutorials and Modifications / Allowing only some registered users post reply in certain topic
Put the code below in bb_plugins.php (substitute for YOUR_TOPIC_ID): if($user_id==0 and $action=='vthread' and $topic==YOUR_TOPIC_ID){ $title=$l_accessDenied; $errorMSG='Only registered users are allowed to view this thread.<br />'; //Loading header & warning page echo load_header(); echo ParseTpl(makeUp('main_warning')); //Loading...
|
124. Posted: 22 Jul 2008 08:59 - Custom Tutorials and Modifications / Allowing only some registered users post reply in certain topic
is it possible to make viewing some thread just for registered users, means: if not registered can't go into the thread, it must be registered to allow him go in the thread! Thanks!
|
125. Posted: 19 May 2008 03:22 - Official Addons and Solutions / Who's Online
It's very possible. For example if you modify this block of code of addon_whosonline.php foreach($w_logged_users as $key=>$val){ $registeredList.=" <a href=\"{$main_url}/{$indexphp}action=userinfo&user={$key}\">{$val[0]}</a>, "; } you can change it to that (I...
|
126. Posted: 20 Mar 2008 19:55 - The Other / How email notifications work?
Paul, is there a way (easy way :) to make that emails will be send out when a new topic is added (started) to all registered users? You see my problem is that I only have a very small nr of users (20) in a closed forum which is very inactive. So, instead of people checking...
|
129. Posted: 7 Feb 2008 09:25 - Re-cycled / How to...
These docs may help you: Manual - $regUsrForums setting Custom tutorials and modifications section - there is a lot of examples regarding variations of registered-users-only forums, I don't know exactly what do you mean FAQ - https://www.minibb.com/forums/7_2865_0.html
|
130. Posted: 4 Feb 2008 04:22 - Re-cycled / Only registered users
FAQ are your friends too: forum for registered users only ($allForumsReg setting and variations)
|
131. Posted: 3 Feb 2008 19:29 - Re-cycled / Only registered users
The miniBB Manual is your friend: Registered users-only forums. All best - mb
|
132. Posted: 3 Feb 2008 04:53 - Re-cycled / Only registered users
Hi, I need help. I would like make accessible my forum only regitered users. The users, which don't registered will not be sending the some topics. I'm sorry for my English. Thank you.
|
134. Posted: 13 Jan 2008 13:37 - Master Class / certain profile fields viewable only for registered users
Hi, we'd like to use the "Interests & hobbies" field to store contact data like address, mobile phone number and so on. But then this field should only be viewable by registered users rather then for everybody. How could this be managed? Thanks Reinhold
|
135. Posted: 10 Jan 2008 12:51 - Official Addons and Solutions / Who's Online
Just modify addon_whosonline.php and put the condition so when $user_id==1 it is not counted. /* Handling registered users. */ if($user_id!=0) { change to /* Handling registered users. */ if($user_id>1) {
|
137. Posted: 2 Jan 2008 14:08 - Custom Tutorials and Modifications / Swapping Login fields and Submit button (when posting a new thread or reply)
... proper setting which says: setting this to 1, it is possible to avoid "open" registrations. By default when user registers, he enters desired login/password and from the first step becomes a registered user. It is possible to avoid incorrect email address upon registration in that case. If you set this setting to 1 (default is still 0 or unset), on the registration form user will not...
|
138. Posted: 20 Dec 2007 05:15 - Specific / How to disable specific user language?
... naturally only for anonym users. For me it doesn't make much sense to choose language twice so I want to disable language setting in user preferences (no problem: changing the template) but also set the language for registered users to the one chosen on my site. Where is the anchor to override an eventually set user language (I already have users...
|
139. Posted: 6 Oct 2007 07:49 - How To / Getting forgotten password
... I get the "Restricted Access" message just like I am trying to enter a forum I don't have access to. I am using one private forum and one forum is controlled by this code below for the registered view only hack. Could this code be stopping the access to the action=sendpass? The code is in my lang files. /* Hack - hiding all forums from not logged users */ if($forum!=0...
|
140. Posted: 22 Sep 2007 10:44 - Official Addons and Solutions / Disclaimer
... installed Disclaimer addon. And it works fine when I click on the Registration button in the top menu. But when I not logged in the forum and click the register button in the bottom string: "Only registered users can post here. Please authorize for posting or register now" I receive a page with captcha, after it I receive the page for user's details input. And...
|
|