Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

System Administration - 9

Questions about 9´s Banners, Database Backups, Email templates, Error Logs, Panels, PHP Info, robots.txt, Site Links, Smileys and Theme Manager
259 posts | Last Activity on 14-02-2020 01:11 by Chan
Chan
Chan 14-02-2020 01:11, 12 days ago
Re: Cannot Login To Admin Panel Development models are unsupported anywhere. It's a hunting playground for all of us.

Regardless, I put a note here on the ACP issue.
You can do this a couple of ways

1. Regenerate your admin password using the installer. This is the fastest approach without editor.

2. With Editor that can run SQL remotely to your server. Install another v9 in localhost, copy admin_algo, admin_password, admin_salt there to your server. Keep a copy in your PC. Anything goes south, do a manual update your DB injection with this SQL into a file and run that url.

Code

dbquery("UPDATE ".DB_USERS." SET user_admin_salt=:salt, user_admin_password=:pass, user_admin_algo=:algo WHERE user_id=1", [
      ':salt' => "[your_salt_here]", // copy value from localhost
      ':pass' => "[your_pass_here]", // copy value from localhost
      ':algo' => "[your_algo_here]", // copy value from localhost
]);



3. Downgrade your account and reset with admin password reset. To do that, you need to set ACP theme and find the password requirement in the text field to false. After that blank out salt, algo and type password as 123. Then login as 123 password in ACP. You'll get a lot of errors, but you can access admin password reset feature.
RobiNN
RobiNN 13-02-2020 18:41, 12 days ago
Re: Cannot Login To Admin Panel Don't use this version on production server. This version is not stable and contains a lot of unfinished functions. Use latest stable 9.03.20 - Andromeda.
djdandi
djdandi 13-02-2020 18:27, 12 days ago
Re: Cannot Login To Admin Panel I'm sorry I have this version
PHP-Fusion Babylon
This is the development of PHP-Fusion Version 9.10.XX, code name Babylon.
https://github.com/php-fusion/PHP-Fusion
RobiNN
RobiNN 13-02-2020 16:34, 12 days ago
Re: Cannot Login To Admin Panel 9.1? This version doesn't exist. Go to System Admin > PHP Info and see PHP-Fusion version.

Use only the latest stable version. Now it's 9.03.20
djdandi
djdandi 13-02-2020 13:48, 12 days ago
Re: Cannot Login To Admin Panel Sorry for refreshing but I also have problems with it. After the new installation I couldn't log in to PA so I reset my password but I still have trouble logging in
I have version 9.1
Grimloch
Grimloch 19-10-2019 14:24, 4 months ago
Re: User Pass and Admin Pass and Salts for each On one of my test sites I have no 'user-salt' and no 'user-pass' in the users table. I also have no 'admin-salt' and no 'admin-pass' in the users table. How can I (in php myAdmin) re-create these fields? There is no backup for this test site to restore from. sad

Nevermind; I got this by running install.php again and used the restore function. smile
hervan
hervan 24-09-2019 06:33, 5 months ago
Re: Panel News www.phpfusion.cz? I will try that. Thank you for helping
hervan
hervan 23-09-2019 11:12, 5 months ago
Re: Panel News www.phpfusion.cz? I saw the site https://www.phpfusion.cz is very beautiful with a responsive news panel display.
where do I find the code panel?
Falk
Falk 22-09-2019 05:47, 5 months ago
Re: Cannot Login To Admin Panel Passwords are case sensitive, you can also reset it from phpmyadmin, find your user in users table and remove admin password enter site and edit profile, you will be asked to set one.
jmonroe
jmonroe 21-09-2019 19:32, 5 months ago
Re: Cannot Login To Admin Panel I have installed version 9. I have logged in as admin. When I click on admin panel, it brings me to the Artemis Administration Control Panel. I enter my password and click login, but it does not do anything but clear the box. If I purposely type in the wrong password, it states "Please Enter a Valid Password". I cannot get into the Admin panel to setup my site. Any ideas? Thanks
Grimloch
Grimloch 17-09-2019 14:56, 6 months ago
Re: Why so big? Admin bb codes? Thanks again Chan; I will keep that in mind. cool
Chan
Chan 17-09-2019 08:55, 6 months ago
Re: Why so big? Admin bb codes? When I work with 9, I usually control output at the CSS level.

If you work with the Inspector, notice that you can point to any line of the output and it will show you the relevant CSS files and lines that were used, and you can modify that value. Make sure check disable cache in the inspector and refresh after upload.
Grimloch
Grimloch 15-09-2019 06:51, 6 months ago
Re: Why so big? Admin bb codes? I think I must be getting senile... I figured out where to change the bbcode images size, All is good !
Grimloch
Grimloch 15-09-2019 00:39, 6 months ago
Re: Why so big? Admin bb codes?

RobiNN wrote:

@RobiNN
- Too big? I think 24px it's ok

Well if I could figure out how to make them wrap when the screen size is reduced it'd be OK but I can't.
RobiNN
RobiNN 14-09-2019 20:29, 6 months ago
Re: Why so big? Admin bb codes? Too big? I think 24px it's ok
Grimloch
Grimloch 14-09-2019 19:20, 6 months ago
Re: Why so big? Admin bb codes? Well looks like I'm not going to get an answer; I suppose we can just close this. I decided to do away with bbcodes in my script and go with my own html_buttons script instead.
Grimloch
Grimloch 14-09-2019 01:04, 6 months ago
Re: Why so big? Admin bb codes? I would like to know how to change the bbcodes display image size on admin screens. See image:

www.whisperwillow.com/my_panels/bbcodes.jpg

They are WAY too big!!
jjwichter
jjwichter 01-09-2019 15:36, 6 months ago
Re: User Groups - When registering Deviance made a custom user field so that when the end user signs up to be a member of my site they can pick what user level they can be in. When I installed it and tested the user field by picking the group to be in. It went to the default member as the group not what I picked. Here is the files I hope someone can help me figure what is going on with the custom code.

User_groups_reg_include_var.php

Code
 
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_shouts-stat_include_var.php
| Author: PHP-Fusion Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
 die("Access Denied");
}

// Version of the user fields api
$user_field_api_version = "1.01.00";
$user_field_name = $locale['uf_ug'];
$user_field_desc = $locale['uf_ug_desc'];
$user_field_dbname = "user_groups_reg";
$user_field_group = 2;
$user_field_dbinfo = "TINYINT(1) NOT NULL DEFAULT '0'";




User_groups_reg_include.php

Code
 
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_shouts-stat_include.php
| Author: PHP-Fusion Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
 die("Access Denied");
}

if ($profile_method == "input" && !$field_value) {

 if (iGUEST || iSUPERADMIN) {
 static $recache = [];

 $groups = fusion_get_groups();
 // print_p($groups);

 if (empty($recache) && !empty($groups)) {
 foreach($groups as $group_id => $group) {
 if ($group_id > 0) {
 $recache[$group_id] = $group;
 }
 }
 }

 $options = [
 'inline' => TRUE,
 'placeholder' => $locale['uf_ug'],
 'error_text' => $locale['uf_ug_error'],
 'options' => $recache,
 // 'tags' => TRUE,
 'width' => '100%',
 'inner_width' => '100%',
 'delimiter' => '.',
 ] + $options;
 $user_fields = form_select('user_groups', $locale['uf_ug'], $field_value, $options);
 }

}

Chan
Chan 30-08-2019 06:54, 6 months ago
Re: Activation URL not clickable The issue has been resolved, and will be locked.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.