Search found 1008 matches

by kasimi
Wed Jan 28, 2015 5:12 pm
Forum: Extension Writers Discussion
Topic: protect additional site
Replies: 12
Views: 336

Re: protect additional site

This code might do what you want, but it only works with an extension so you'll have to adjust it to make it work without one. Note 1: Adjust $admin_rank and $allowed_group_ids to your needs. Note 2: If the group which you want to allow to access your page is always the user's default group, remove ...
by kasimi
Wed Jan 28, 2015 4:36 pm
Forum: Extension Requests
Topic: these extensions...
Replies: 3
Views: 155

Re: these extensions...

chfs wrote:Post Number in Viewtopic
I'm currently working on this one, it's the second on my todo list. :)
by kasimi
Tue Jan 27, 2015 10:53 pm
Forum: Extension Writers Discussion
Topic: extension not showing under Manage Extensions
Replies: 4
Views: 5394

Re: extension not showing under Manage Extensions

Remove that comma as well:

Code: Select all

         "role": "Developer"
      },
by kasimi
Sun Jan 25, 2015 11:19 pm
Forum: Extensions in Development
Topic: [CDB] Login Required
Replies: 10
Views: 2064

Re: [BETA] Login Required

Small update to version 1.0.1. Instead of using redirect(), login_box() is called the first time the user_setup event is triggered.
by kasimi
Sat Jan 24, 2015 8:31 pm
Forum: Extension Requests
Topic: Auto language detect
Replies: 25
Views: 2099

Re: Auto language detect

Have a look at the setup() method in /phpbb/user.php.
by kasimi
Sat Jan 24, 2015 6:49 pm
Forum: Extension Writers Discussion
Topic: [Tutorial] How to create pull requests for core events
Replies: 29
Views: 35960

Re: [Tutorial] How to create pull requests for core events

Thanks Wolfsblvt, I couldn't have done it without your tutorial, very well explained. :) Only two questions (for now): Is GitHub messing up indentations? They are correct in my editor but in the diffs at GitHub they aren't. Before creating a new branch and making changes, I pulled the most recent ve...
by kasimi
Tue Jan 20, 2015 11:21 pm
Forum: Extension Requests
Topic: Reparse BBCode
Replies: 1
Views: 407

Re: Reparse BBCode

Are you sure you want this as an extension? Because there's an (unofficial) STK for 3.1 around: https://www.phpbb.com/customise/db/offi ... pic/131346
by kasimi
Fri Jan 16, 2015 10:04 pm
Forum: Extensions in Development
Topic: [CDB] Login Required
Replies: 10
Views: 2064

Re: [BETA] Login Required

Can't this be accomplished with permissions? Unless I'm doing something wrong, having all permissions revoked from guests they are still able to see the FAQ, the Team page, and the entire Who is online , Birthdays and Statistics sections, and potentially extension pages. Doesn't this type of behavi...
by kasimi
Thu Jan 15, 2015 10:42 pm
Forum: Extensions in Development
Topic: [CDB] Failed logins
Replies: 50
Views: 3937

Re: [DEV] Failed logins

Thanks for the ext, nice idea! Can I suggest to slightly improve the logging? I changed the language constant to 'TRY_TO_LOGIN_FAIL' => '<strong>Failed login</strong><br />» Username: %s', This is how a log message is added: $phpbb_log->add('user', ANONYMOUS, $user_ip, 'TRY_TO_LOGIN_FAIL', time(), a...
by kasimi
Thu Jan 15, 2015 6:06 pm
Forum: Extensions in Development
Topic: [CDB] Login Required
Replies: 10
Views: 2064

[CDB] Login Required

Extension Name: Login Required Author: kasimi Description: All guests are redirected to the login page before being able to visit any other section of your board. You can add further exceptions to a whitelist. Note: This extension is based on the idea of the Force Login on index.php MOD for phpBB 3...
by kasimi
Wed Jan 14, 2015 6:01 pm
Forum: Extensions in Development
Topic: [CDB] Thanks for posts
Replies: 1118
Views: 165695

Re: [DEV] Thanks for posts

True. If this specific case being covered is up for debate, I'd vote in favor of it. :P
by kasimi
Wed Jan 14, 2015 5:09 pm
Forum: Extensions in Development
Topic: [CDB] Thanks for posts
Replies: 1118
Views: 165695

Re: [DEV] Thanks for posts

The default roles can be deleted. ;) I had the same problem with the Advanced Polls extension.
by kasimi
Wed Jan 14, 2015 5:02 pm
Forum: Extensions in Development
Topic: [CDB] Recent Topics
Replies: 201
Views: 63490

Re: [BETA] Recent Topics

saiyedsabahat wrote:How do I make the Recent Topics only show the 5 most recent topics i.e. without the option of going to the second page of Recent Topics?
ACP » Extensions » Recent Topics Configuration:
  • Recent topics: 5
  • Recent topics pages: 1
Thanks for the EXT, Paybas. :D
by kasimi
Tue Jan 13, 2015 8:12 pm
Forum: Abandoned Extensions
Topic: [ABD] Activity Stats (includes "who was here?")
Replies: 196
Views: 25801

Re: [RC] Activity Stats (includes "who was here?")

To move it to the top, go to /ext/robertheim/activitystats/styles/prosilver/template/event and rename the file index_body_block_stats_append.html to index_body_markforums_before.html. :D
by kasimi
Mon Jan 12, 2015 7:31 pm
Forum: Abandoned Extensions
Topic: [ABD] Advanced Polls
Replies: 154
Views: 24146

Re: [BETA] Advanced Polls

Ah yes, the default roles don't exist in my board. I removed all 8 permission.permission_set lines in the file v1_1_0_step1_data_permissions.php and it worked. Thanks! As a suggestion for a future version, maybe you want to add some kind of check if those user roles exist before trying to modify the...

Go to advanced search