Search found 65 matches

by truefriend-cz
Mar 05, 2019 7:01 pm
Forum: Help
Topic: PHP project cookie validator
Replies: 10
Views: 756

Re: PHP project cookie validator

Unfortunately, I can not deal with it, because I'm constantly attacking some people in the office for doing good things. As a job, I try to maintain a working relationship with my partner. I have been forcibly cut off from school, from work and from property and from a partner to fight for power by ...
by truefriend-cz
Mar 05, 2019 12:12 am
Forum: Help
Topic: PHP project cookie validator
Replies: 10
Views: 756

Re: PHP project cookie validator

Should I upload the entire php scripts to GitHub for better show changes? I can not optimal describe the problem quite well in English.
by truefriend-cz
Mar 04, 2019 9:56 am
Forum: Help
Topic: PHP project cookie validator
Replies: 10
Views: 756

Re: PHP project cookie validator

But this is more complex and does not solve security. That's why I'm dealing with this particular thing. From a complicated solution, I worked on a simple one. But the problem has come up and I do not know how to analyze it.
by truefriend-cz
Mar 04, 2019 7:15 am
Forum: Help
Topic: PHP project cookie validator
Replies: 10
Views: 756

Re: PHP project cookie validator

I dont know how. I want no loading login_select_project.php if exist cookie. Before placing this script I had these sections in set_project.php and login.php. And it worked smoothly (in the section where it received data from the user about the selected project). By simplifying the code and pointing...
by truefriend-cz
Mar 03, 2019 3:30 pm
Forum: Help
Topic: PHP project cookie validator
Replies: 10
Views: 756

Re: PHP project cookie validator

Yes the code is processed good. I tested. Adding echo 'testOK'; exit; to parts of the code. And the code works but causes these abnormal situations. When I comment on the redirection line (print_header_redirect( 'login_select_proj_page.php' );) and clear the cache and browser cookies, it works norma...
by truefriend-cz
Mar 03, 2019 2:17 am
Forum: Help
Topic: PHP project cookie validator
Replies: 10
Views: 756

PHP project cookie validator

Hi all. I make php code for validating MANTIS_PROJECT_COOKIE. custom_functions_api.php: $my_project_cookie_valid = false; // get cookies $my_cookie_name = config_get_global( 'project_cookie' ); $my_project_id = gpc_get_cookie( $my_cookie_name, null ); if( $my_project_id === 0 || !isset( $my_project_...
by truefriend-cz
Feb 18, 2019 10:16 pm
Forum: General Discussion
Topic: Cookies crypt
Replies: 3
Views: 480

Re: Cookies crypt

Have you tried it yet?
by truefriend-cz
Feb 15, 2019 9:18 pm
Forum: General Discussion
Topic: Cookies crypt
Replies: 3
Views: 480

Cookies crypt

Hi. I make changes Mantis PHP code for i want crypting cookies for users (browser). Any idea how i can crypted Cookies for users? And decrypting if will be back from browser for Mantis. Where is best place in PHP scripts for adding this feature? I find gpc_api.php funtions gpc_get_cookie, etc. And i...
by truefriend-cz
Feb 15, 2019 2:59 pm
Forum: Help
Topic: Disable or hide Clone and Add Comments tickets
Replies: 1
Views: 388

Re: Disable or hide Clone and Add Comments tickets

My solution is: changes columns_api.php (1097): $g_checkboxes_exist = true; echo '<div class="checkbox no-padding no-margin"><label>'; printf( '<input type="checkbox" name="bug_arr[]" value="%d" class="ace" />', $p_bug->id ); echo '<span class="lbl"></span>'; echo '</label></div>'; to: if ( custom_f...
by truefriend-cz
Feb 15, 2019 11:11 am
Forum: Help
Topic: Disable or hide Clone and Add Comments tickets
Replies: 1
Views: 388

Disable or hide Clone and Add Comments tickets

Hi all. I have problem. If i logged as anonymous (reporter) user then show on view_all_bug_page.php select checkbox for tickets where i can operations Clone (to another project) and Add comment/s. How i can disabled this functions for "reporter" or "Anonymous" in view_all_bug_page.php? I located pla...
by truefriend-cz
Feb 05, 2019 5:19 am
Forum: Help
Topic: adm_config_report, bug_report_page and custom fields
Replies: 1
Views: 326

Re: adm_config_report, bug_report_page and custom fields

Devs. Do you can add plane to fixed in next version Mantis please?
by truefriend-cz
Feb 04, 2019 4:36 pm
Forum: Help
Topic: adm_config_report, bug_report_page and custom fields
Replies: 1
Views: 326

adm_config_report, bug_report_page and custom fields

Hi all. How i add corrected format for show custom field on bug_report_page from adm_config_report? I have custom field named as "test" (without define "Link custom field to projects"). And on adm_config_report have defined as: bug_report_page_fields complex array ( 0 => 'attachments', 1 => 'priorit...
by truefriend-cz
Feb 03, 2019 10:31 am
Forum: Help
Topic: adm_config_report, anonymous and custom fields
Replies: 10
Views: 1000

Re: adm_config_report, anonymous and custom fields

I tested now. After set to unprotected no solved this problem. (for any arrays (no custom fields only)). Problem have anonymous account after this: $g_allow_anonymous_login = ON; $g_anonymous_account = 'anonymous'; to config_inc.php only. And any other account if set in config_inc.php as anonymously.
by truefriend-cz
Feb 03, 2019 7:22 am
Forum: Help
Topic: adm_config_report, anonymous and custom fields
Replies: 10
Views: 1000

Re: adm_config_report, anonymous and custom fields

Do you can present one (maybe bigest) place from all? Other places I will try to find and edit myself.