Search found 880 matches

by kasimi
Sun Dec 23, 2018 5:23 pm
Forum: Extension Writers Discussion
Topic: [SPLIT]Getting checkbox posted values
Replies: 6
Views: 237

Re: [SPLIT]Getting checkbox posted values

That's the way it is. Is it not working for you? If not, please post the code you have.
by kasimi
Sun Dec 23, 2018 4:37 pm
Forum: Extension Writers Discussion
Topic: [SPLIT]Getting checkbox posted values
Replies: 6
Views: 237

Re: [SPLIT]Getting checkbox posted values

If they are part of the form, why aren't they included in the array? Unchecked checkboxes and radiobuttons are not POSTed to the server. This is unrelated to phpBB and it's always been like that . This works: <input type="checkbox" name="anonpost" value="1"> $is_anonpost = $this->request->variable(...
by kasimi
Sun Dec 23, 2018 1:23 pm
Forum: [3.2.x] Support Forum
Topic: Board version is not updating
Replies: 7
Views: 230

Re: Board version is not updating

Does the file root/phpbb/db/migration/data/v32x/v325.php exist?
by kasimi
Thu Dec 20, 2018 9:40 am
Forum: phpBB Custom Coding
Topic: Create a new reply with python
Replies: 16
Views: 582

Re: Create a new reply with python

Temporarily allow guests to make posts and see if your script works without the login part.
by kasimi
Mon Dec 10, 2018 7:49 pm
Forum: phpBB Custom Coding
Topic: [3.2.25-RC1]Undefined constant 'T_CONCAT_EQUAL'
Replies: 7
Views: 397

Re: [3.2.25-RC1]Undefined constant 'T_CONCAT_EQUAL'

It looks like your PHP distribution is incomplete. Compare tokenizer_data.c in PHP's repo with the tokenizer_data.c in your repo.
by kasimi
Sun Dec 09, 2018 1:06 pm
Forum: phpBB Custom Coding
Topic: Force registered users to use cookies
Replies: 7
Views: 365

Re: Force registered users to use cookies

StevieWonderer wrote:
Sun Dec 09, 2018 12:50 pm
_sid cookie does not exists until user has submitted the login form
That's not true. Every user has a session ID, even guests, and if cookies are enabled, the session ID is in the _sid cookie.
by kasimi
Sun Dec 09, 2018 10:03 am
Forum: phpBB Custom Coding
Topic: Force registered users to use cookies
Replies: 7
Views: 365

Re: Force registered users to use cookies

Why don't you check for phpBB's session ID cookie?

Code: Select all

if (!$this->request->variable($this->config['cookie_name'] . '_sid', '', false, \phpbb\request\request_interface::COOKIE))
by kasimi
Sat Dec 08, 2018 2:14 pm
Forum: [3.2.x] Support Forum
Topic: [solved] white page on Permissions page
Replies: 60
Views: 1751

Re: white page on Permissions page

Did you clear the board cache afterwards? What's the output of the debug code now?
by kasimi
Sat Dec 08, 2018 1:05 pm
Forum: [3.2.x] Support Forum
Topic: [solved] white page on Permissions page
Replies: 60
Views: 1751

Re: white page on Permissions page

There shouldn't be. What's in there and what happens if you delete it? Make a backup first.
by kasimi
Sat Dec 08, 2018 12:51 pm
Forum: [3.2.x] Support Forum
Topic: [solved] white page on Permissions page
Replies: 60
Views: 1751

Re: white page on Permissions page

You have a language folder inside your language folder?
by kasimi
Fri Dec 07, 2018 10:40 pm
Forum: [3.2.x] Support Forum
Topic: [solved] white page on Permissions page
Replies: 60
Views: 1751

Re: white page on Permissions page

If you're in the mood for some debugging, try this: Open includes/functions_admin.php Find: foreach ($lang_files as $lang_file => $ext_name) On a new line above, add: echo '<pre>' . print_r($lang_files, true) . '</pre>'; This will print all language files that are about to be included when browsing ...
by kasimi
Thu Dec 06, 2018 9:08 pm
Forum: Extensions in Development
Topic: [RC] Digests 3.2.11
Replies: 1028
Views: 60941

Re: [RC] Digests 3.2.10

Please change that line to: foreach (new \DirectoryIterator($this->phpbb_root_path) as $file_info) Careful, that will delete .html and .txt files in your board's root folder. I think you want it replaced with this: foreach (new \DirectoryIterator($this->phpbb_root_path . 'store/phpbbservices/digest...
by kasimi
Wed Dec 05, 2018 2:22 pm
Forum: phpBB Custom Coding
Topic: Attachments in subfolders
Replies: 15
Views: 564

Re: Attachments in subfolders

You could use the unix timestamp in $attachment['filetime'] to extract the year when it was uploaded.

Go to advanced search