Search found 6 matches

by francois44
Sun Nov 29, 2015 6:45 am
Forum: [3.0.x] MOD Writers Discussion
Topic: AjaxCall with wrong http_response_code from php
Replies: 2
Views: 3384

Re: AjaxCall with wrong http_response_code from php

Thank you AmigoJack for your answer : regarding to your question, I'm using php 5.5.18, Regarding http_response_code, i have read this information : - Since PHP 5.4 you can use http_response_code. - http_response_code(404); - This will take care of setting the proper HTTP headers. I have read an oth...
by francois44
Wed Nov 11, 2015 1:16 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: AjaxCall with wrong http_response_code from php
Replies: 2
Views: 3384

AjaxCall with wrong http_response_code from php

I'm calling my PhpBB3 forum to control user/password in an external html document. To do this functionality, I use Ajax and javascript. I call a php program which do the login to verify user/password. I want to use ajaxRequest.status to control the result of login in javascript. In all the cases (go...
by francois44
Tue Sep 15, 2015 3:07 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Error in submit_post function
Replies: 2
Views: 717

Re: Error in submit_post function

Thank you for your answer Brf, the post is correctly submit and correctly display with an empty post_username in database.
I was thinking wrong because post_username was not empty (because of forum migration)
:D
by francois44
Mon Sep 14, 2015 3:55 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Error in submit_post function
Replies: 2
Views: 717

Error in submit_post function

Hello, I am using PhpBB3 API to update some post_text, I want to correct somes posts to improve data quality by using some replace fonction. To make those changes in the phpbb database, I use : generate_text_for_edit to prepare data <do my replace in post_text> generate_text_for_storage to prepare d...
by francois44
Sun Apr 26, 2015 9:52 am
Forum: [3.0.x] MOD Writers Discussion
Topic: In ACP how can i know if user is a Moderator or Administrator?
Replies: 2
Views: 985

Re: In ACP how can i know if user is a Moderator or Administrator?

Thanks you Jackanape for your answer.
I am going to add the new permission to customize the forum.
I agree with you it's the best solution.
Fran├žois
by francois44
Sat Apr 18, 2015 10:04 am
Forum: [3.0.x] MOD Writers Discussion
Topic: In ACP how can i know if user is a Moderator or Administrator?
Replies: 2
Views: 985

In ACP how can i know if user is a Moderator or Administrator?

I have successfully used in topics or forum template U_ACP and U_MCP to test if user is moderator or administrator to costumize my templates no problem in the forum but in ACP, those 2 variables are empty. I'm working on template acp_users_profiles.html and when I print them, there are empty I want ...

Go to advanced search