Photogala CMS (en): Difference between revisions

From Docs bicodo
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Photogala CMS (ru)|Russian version]]
[[Photogala CMS (ru)|Russian version]]


== Системные требования: ==
== System requirements: ==


* Apache 2.4 ++
* Apache 2.4 ++
Line 7: Line 7:
* Mysql 8.3 ++
* Mysql 8.3 ++


'''Настройки в PHP.INI:'''
'''Settings in PHP.INI:'''


short_open_tag = ON
short_open_tag = ON


== Установка: ==
== Установка: ==
''Настоящая документация предназначена для пользователей, имеющих базовые знания PHP и навыки настройки MySQL. В связи с этим, здесь не рассматриваются все аспекты установки серверов и их конфигураций. Мы предполагаем, что вы уже обладаете минимальными техническими навыками по настройке среды для разработки или использования нашего программного обеспечения.''
''This documentation is intended for users with basic knowledge of PHP and MySQL configuration skills. As such, it does not cover all aspects of server installation and configuration. We assume that you already have minimal technical skills in setting up an environment for developing or using our software.''


''Если у вас нет опыта в настройке серверов или вам требуется более подробная инструкция по их установке, пожалуйста, обратитесь к официальной документации по PHP и MySQL, либо техническому специалисту.''
''If you have no experience in setting up servers or you need more detailed instructions on how to install them, please refer to the official PHP and MySQL documentation or a technical specialist.''


1) После того как Вы загрузили ZIP файл по ссылке которую мы отправили на Ваш e-mail, необходимо развернуть на Вашем веб-сервере.
1) After you have downloaded the ZIP file from the link we sent to your e-mail, you need to deploy it on your web server.


2) В ZIP-файле находится база данных MySQL с именем '''base.sql'''. Разверните её на вашем MySQL-сервере.
2) The ZIP file contains a MySQL database named '''base.sql'''. Deploy it to your MySQL server.


3) В файле по пути '''/include/config.php''' Укажите данные для подключения к MySQL: сервер, имя базы данных, имя пользователя и пароль.
3) In the file at '''/include/config.php''' Specify the data for connecting to MySQL: server, database name, username and password.
[[File:Image1.png|none|thumb|/inlude/config.php]]
[[File:Image1.png|none|thumb|/inlude/config.php]]
4) Далее зайдите по пути: /admin (<nowiki>https://YOURSITE/admin</nowiki>)
4) Next, go to the path: /admin (<nowiki>https://YOURSITE/admin</nowiki>)


Если вы верно указали данные по п.3 откроется страница:
If you have entered the data correctly in paragraph 3, the following page will open:
[[File:Admin.png|none|thumb|Админ панель]]
[[File:Admin.png|none|thumb|Админ панель]]
5) Наберите логин: admin
5) Enter login: admin


Пароль: 12345678
Password: 12345678


Вы вошли:
You are logged in:
[[File:Admin_settings.png|none|thumb]]
[[File:Admin_settings.png|none|thumb]]


== Активация лицензии: ==
== License activation: ==
Для активации лицензии Вам нужны: Ваш email который Вы указывали при покупке на нашем сайте, номер заказа и лицензионный ключ.
To activate the license you need: Your email that you indicated when purchasing on our website, the order number and the license key.


Номер заказа указан в письме который мы Вам отправили:
The order number is indicated in the letter we sent you:
[[File:Image2.png|none|thumb]]
[[File:Image2.png|none|thumb]]




Введите эти данные в соответствующие ячейки по пути: /settings (<nowiki>https://YOURSITE/settings</nowiki>)
Enter this data in the appropriate cells along the path: /settings (<nowiki>https://YOURSITE/settings</nowiki>)
[[File:License_key.png|none|thumb]]
[[File:License_key.png|none|thumb]]




Если настройки успешны, при обращении на главную страницу сайт откроется:
If the settings are successful, when you access the main page, the site will open:
[[File:Front_site.png|none|thumb|500x500px]]
[[File:Front_site.png|none|thumb|500x500px]]


== Настройки сайта ==
== Site settings ==
на странице: /settings ([https://yoursite/settings https://YOURSITE/settings])
on page: /settings ([https://yoursite/settings https://YOURSITE/settings])


В разделе настроек сайта вы можете редактировать ключевые параметры, такие как наименование сайта, логотип, иконку (favicon), а также указать ссылку на ваш Instagram-аккаунт.
In the site settings section, you can edit key parameters such as the site name, logo, icon (favicon), and also specify a link to your Instagram account.
[[File:Settings1.png|none|thumb|Настройки сайта]]
[[File:Settings1.png|none|thumb|Настройки сайта]]
По адресу логотипа и иконки сайта Вы можете вставить внешний ресурс.
You can insert an external resource using the logo and icon address of the site.


=== Страница "About & contact" ===
=== Page "About & contact" ===
на странице: /settings (<nowiki>https://YOURSITE/settings</nowiki>)
on page: /settings (<nowiki>https://YOURSITE/settings</nowiki>)
[[File:About_settings.png|none|thumb|About & contact]]
[[File:About_settings.png|none|thumb|About & contact]]
Эти изменения будут видны на странице /about  (<nowiki>https://YOURSITE/about</nowiki>):
These changes will be visible on the /about page. (<nowiki>https://YOURSITE/about</nowiki>):
[[File:About2.png|none|thumb]]
[[File:About2.png|none|thumb]]


== Список пользователей ==
== Список пользователей ==
на странице /users  (<nowiki>https://YOURSITE/users</nowiki>):
on page /users  (<nowiki>https://YOURSITE/users</nowiki>):


Пользователи необходимы для входа в административную часть сайта. В системе предусмотрены две категории: администраторы и обычные пользователи. На данный момент функционал для обычных пользователей ещё не полностью реализован, но в будущих обновлениях эта возможность будет доступна и начнет полноценно работать.
Users are required to enter the administrative part of the site. The system has two categories: administrators and regular users. At the moment, the functionality for regular users has not yet been fully implemented, but in future updates this feature will be available and will begin to work fully.


=== '''Добавление пользователей''' ===
=== '''Adding users''' ===
Нажмите в нижнем правом углу: "Добавить пользователя"
Click in the lower right corner: "Add user"
[[File:Add_user.png|none|thumb]]
[[File:Add_user.png|none|thumb]]
ФИО: Фамилия имя и отчество, строгих проверок нет, можно писать любое слово
Full name: Surname, first name and patronymic, there are no strict checks, you can write any word


Контакты: номер телефона
Contacts: phone number


Привилегии: выбрать Администратор
Privileges: select Administrator


Логин: Уникальное имя
Login: Unique name


Нажмите на кнопку "Сохранить"
Click on the "Save" button




Для того чтобы узнать пароль от пользователя на странице /users  (<nowiki>https://YOURSITE/users</nowiki>): нажмите на кнопку "Показать пароли"
To find out the password from a user on the /users page (<nowiki>https://YOURSITE/users</nowiki>): Click on the "Show passwords" button
[[File:Showpass.png|none|thumb]]
[[File:Showpass.png|none|thumb]]
[[File:Users.png|none|thumb]]
[[File:Users.png|none|thumb]]


=== '''Изменение, Просмотр и Удаление пользователей''' ===
=== '''Edit, View and Delete Users''' ===
Выделите в списке пользователя которого хотите изменить:
Select the user you want to change from the list:
[[File:Check.png|none|thumb]]
[[File:Check.png|none|thumb]]
В нижнем правом углу экрана вы увидите три кнопки: '''Убрать выделения''', '''Просмотр''' и '''Изменить'''.
In the lower right corner of the screen you will see three buttons: '''Remove Selections''', '''View''', and '''Edit'''.


* '''Убрать выделения''': снимает выделение элементов из списка, после чего кнопка "Добавить" станет активной
* '''Unselect''': removes the selection of items from the list, after which the "Add" button will become active
* '''Просмотр''': При нажатии Вы увидете всю информацию о пользователе, которая не видна в "списке
* '''View''': When pressed, you will see all the information about the user that is not visible in the "list




'''Для изменения нажмите на кнопку "Изменить", появится окно:'''
'''To change, click on the "Change" button, a window will appear:'''
[[File:Imageцув.png|none|thumb]]
[[File:Imageцув.png|none|thumb]]
Контакты: номер телефона
Contacts: phone number


Привилегии: выбрать Администратор, если указано иное
Privileges: select Administrator, if otherwise specified


Логин: Уникальное имя
Login: Unique name


Если Вы хотите изменить пароль, то в разделе "Менять пароль?" измените в списке на "Менять", впишите пароль внизу в разделе "Пароль" новый пароль.
If you want to change the password, then in the "Change password?" section, change the list to "Change", enter the password at the bottom in the "Password" section, the new password.


Нажмите на кнопку "Сохранить"
Click the "Save" button


 
'''To view, click the "View" button, a window will appear:'''
'''Для просмотра нажмите на кнопку "Просмотр", появится окно:'''
[[File:View.png|none|thumb]]
[[File:View.png|none|thumb]]
'''Для удаления нажмите на кнопку "Изменить", появится окно:'''
'''To delete, click on the "Edit" button, a window will appear:'''
[[File:Imageцув.png|none|thumb]]
[[File:Imageцув.png|none|thumb]]
Во всплывающем окне Справа в нижнем углу появится красная кнопка "Удалить", нажмите ее
In the pop-up window, a red "Delete" button will appear in the lower right corner, click it


== Группы ==
== Groups ==
на странице /command.php  (<nowiki>https://YOURSITE/command.php</nowiki>):
on the page /command.php  (<nowiki>https://YOURSITE/command.php</nowiki>):


Группы или категории нужны для того чтобы упорядочить фотографии, каждая фотография или же группа фотографий имеет свою группу которая видна на главной странице в виде меню:
Groups or categories are needed to organize photos, each photo or group of photos has its own group which is visible on the main page as a menu:
[[File:Group.png|none|thumb]]
[[File:Group.png|none|thumb]]
Мы попытались собрать все группы которые есть по теме фотографий, но Вы можете добавить, изменить или же удалить группу
We tried to collect all the groups that exist on the topic of photos, but you can add, change or delete a group


=== '''Добавление''' ===
=== '''Adding''' ===
Для добавления Нажмите в нижнем правом углу: "Добавить группу"
To add Click in the lower right corner: "Add group"
[[File:Dsfds.png|none|thumb]]
[[File:Dsfds.png|none|thumb]]
Впишите наименование и нажмите на кнопку "Сохранить"
Enter the name and click the "Save" button


=== '''Изменение, Просмотр и Удаление групп''' ===
=== '''Editing, Viewing and Deleting Groups''' ===
Выделите в списке группы которую хотите изменить:
Select the group you want to change from the list:
[[File:Dfdsd.png|none|thumb]]
[[File:Dfdsd.png|none|thumb]]
В нижнем правом углу экрана вы увидите три кнопки: '''Убрать выделения''', '''Просмотр''' и '''Изменить'''.
In the lower right corner of the screen you will see three buttons: '''Unselect''', '''View''' and '''Edit'''.


* '''Убрать выделения''': снимает выделение элементов из списка, после чего кнопка "Добавить" станет активной
* '''Unselect''': removes the selection of items from the list, after which the "Add" button will become active
* '''Просмотр''': При нажатии Вы увидете всю информацию о пользователе, которая не видна в "списке
* '''View''': When pressed, you will see all the information about the user that is not visible in the "list


 
'''To change, click on the "Edit" button, a window will appear:'''
'''Для изменения нажмите на кнопку "Изменить", появится окно:'''
[[File:Imageыфвак.png|none|thumb]]
[[File:Imageыфвак.png|none|thumb]]




Впишите наименование и нажмите на кнопку "Сохранить"
Enter the name and click on the "Save" button


 
'''To delete, click on the "Edit" button, a window will appear:'''
'''Для удаления нажмите на кнопку "Изменить", появится окно:'''
[[File:Imageава.png|none|thumb]]
[[File:Imageава.png|none|thumb]]
Во всплывающем окне Справа в нижнем углу появится красная кнопка "Удалить", нажмите ее
In the pop-up window, a red "Delete" button will appear in the lower right corner, click it


== Галерея ==
== Gallery ==
на странице /dgvr.php  (<nowiki>https://YOURSITE/dgvr.php</nowiki>):
on the page /dgvr.php  (<nowiki>https://YOURSITE/dgvr.php</nowiki>):


В этом разделе описаны процессы добавления и редактирования фотографий в Галерее.
This section describes the processes of adding and editing photos in the Gallery.


=== '''Добавление''' ===
=== '''Adding''' ===
Для добавления Нажмите в нижнем правом углу: "Добавить" и выберите операцию "Добавить"
To add Click in the lower right corner: "Add" and select the operation "Add"
[[File:Adds.png|none|thumb]]
[[File:Adds.png|none|thumb]]
Нажмите "Далее"
Click "Next"


В итоге получим:
As a result we get:
[[File:Showdob.png|none|thumb]]
[[File:Showdob.png|none|thumb]]
'''Наименование:''' Здесь показывается наименование фото или группы фотографий, оно будет видно в наименовании картин (внутри галереи):
'''Title:''' The name of the photo or group of photos is shown here, it will be visible in the title of the paintings (inside the gallery):
[[File:Image444.png|none|thumb]]
[[File:Image444.png|none|thumb]]
'''Краткое описание:''' Краткое описание группы фотографий, оно будет видно тут (внутри галереи):
'''Brief description:''' Brief description of the group of photos, it will be visible here (inside the gallery):
[[File:Imageваыавы.png|none|thumb]]
[[File:Imageваыавы.png|none|thumb]]




'''Ссылка на главное изображение:''' Главное изображение видна на главной странице в виде миниатюр. Рекомендуемое разрешение: в ширину 600px, высота не имеет значения
'''Link to the main image:''' The main image is visible on the main page as a thumbnail. Recommended resolution: 600px wide, height does not matter
[[File:Imagemain.png|none|thumb]]
[[File:Imagemain.png|none|thumb]]




'''Ссылки на изображения, одно изображение -одна строка.''' Рекомендуемое разрешение: 1300px * 1200px
'''Image links, one image - one line.''' Recommended resolution: 1300px * 1200px


Эти изображения находятся прямо внутри галереи
These images are located directly inside the gallery
[[File:Imagealosha.png|none|thumb]]
[[File:Imagealosha.png|none|thumb]]
Правила размещения: Одно изображение - одна строка:
Placement rules: One image - one line:
[[File:Image4.png|none|thumb]]
[[File:Image4.png|none|thumb]]




'''Выберите группу'''
'''Select a group'''


Выберите группу к которой относятся фотографии:
Select the group the photos belong to:
[[File:Imageн6ген.png|none|thumb]]
[[File:Imageн6ген.png|none|thumb]]




Нажмите на кнопку "Сохранить"
Click the "Save" button


=== '''Изменение, Просмотр и Удаление''' ===
=== '''Edit, View and Delete''' ===
Выделите в списке группы которую хотите изменить:
Select the group you want to change from the list:
[[File:Imageепр.png|none|thumb]]
[[File:Imageепр.png|none|thumb]]




В нижнем правом углу экрана вы увидите три кнопки: '''Убрать выделения''', '''Просмотр''' и '''Изменить'''.
In the lower right corner of the screen you will see three buttons: '''Unselect''', '''View''' and '''Edit'''.


* '''Убрать выделения''': снимает выделение элементов из списка, после чего кнопка "Добавить" станет активной
* '''Unselect''': removes the selection of items from the list, after which the "Add" button will become active
* '''Просмотр''': При нажатии Вы увидете всю информацию о галерее, которая не видна в "списке
* '''View''': When pressed, you will see all the information about the gallery that is not visible in the "list


 
'''To change, click on the "Edit" button, a window will appear:'''
'''Для изменения нажмите на кнопку "Изменить", появится окно:'''
[[File:Imageваыв.png|none|thumb]]
[[File:Imageваыв.png|none|thumb]]




Выберите операцию '''"Изменить"''' и нажмите кнопку '''"Далее"'''. В появившейся форме введите данные точно так же, как при добавлении.
Select the operation '''"Edit"''' and click the button '''"Next"'''. In the form that appears, enter the data exactly as when adding.
 


'''Для удаления нажмите на кнопку "Изменить", появится окно:'''
'''To delete, click the "Edit" button, a window will appear:'''
[[File:Imageукцеап.png|none|thumb]]
[[File:Imageукцеап.png|none|thumb]]
Выберите операцию '''"Удалить"''' и нажмите кнопку '''"Далее"'''
Select the '''"Uninstall"''' operation and click the '''"Next"''' button


== История версий ==
== Version History ==
''Важно понимать, что данная документация написана для актуальной версии программного обеспечения. Все описанные функции, настройки и инструкции соответствуют текущей версии. Если вы используете более старую или будущую версию, некоторые разделы документации могут не совпадать с фактическим интерфейсом или функциональностью.''
''It is important to understand that this documentation is written for the current version of the software. All described features, settings and instructions correspond to the current version. If you are using an older or future version, some sections of the documentation may not match the actual interface or functionality.''


'''v.1.0.0 (Актуальная)''' - Первоначальная версия.
''v.1.0.0 (Current)''' - Initial version.

Revision as of 16:50, 18 October 2024

Russian version

System requirements:

  • Apache 2.4 ++
  • PHP 8.3 ++
  • Mysql 8.3 ++

Settings in PHP.INI:

short_open_tag = ON

Установка:

This documentation is intended for users with basic knowledge of PHP and MySQL configuration skills. As such, it does not cover all aspects of server installation and configuration. We assume that you already have minimal technical skills in setting up an environment for developing or using our software.

If you have no experience in setting up servers or you need more detailed instructions on how to install them, please refer to the official PHP and MySQL documentation or a technical specialist.

1) After you have downloaded the ZIP file from the link we sent to your e-mail, you need to deploy it on your web server.

2) The ZIP file contains a MySQL database named base.sql. Deploy it to your MySQL server.

3) In the file at /include/config.php Specify the data for connecting to MySQL: server, database name, username and password.

/inlude/config.php

4) Next, go to the path: /admin (https://YOURSITE/admin)

If you have entered the data correctly in paragraph 3, the following page will open:

Админ панель

5) Enter login: admin

Password: 12345678

You are logged in:

License activation:

To activate the license you need: Your email that you indicated when purchasing on our website, the order number and the license key.

The order number is indicated in the letter we sent you:


Enter this data in the appropriate cells along the path: /settings (https://YOURSITE/settings)


If the settings are successful, when you access the main page, the site will open:

Site settings

on page: /settings (https://YOURSITE/settings)

In the site settings section, you can edit key parameters such as the site name, logo, icon (favicon), and also specify a link to your Instagram account.

Настройки сайта

You can insert an external resource using the logo and icon address of the site.

Page "About & contact"

on page: /settings (https://YOURSITE/settings)

About & contact

These changes will be visible on the /about page. (https://YOURSITE/about):

Список пользователей

on page /users (https://YOURSITE/users):

Users are required to enter the administrative part of the site. The system has two categories: administrators and regular users. At the moment, the functionality for regular users has not yet been fully implemented, but in future updates this feature will be available and will begin to work fully.

Adding users

Click in the lower right corner: "Add user"

Full name: Surname, first name and patronymic, there are no strict checks, you can write any word

Contacts: phone number

Privileges: select Administrator

Login: Unique name

Click on the "Save" button


To find out the password from a user on the /users page (https://YOURSITE/users): Click on the "Show passwords" button

Edit, View and Delete Users

Select the user you want to change from the list:

In the lower right corner of the screen you will see three buttons: Remove Selections, View, and Edit.

  • Unselect: removes the selection of items from the list, after which the "Add" button will become active
  • View: When pressed, you will see all the information about the user that is not visible in the "list


To change, click on the "Change" button, a window will appear:

Contacts: phone number

Privileges: select Administrator, if otherwise specified

Login: Unique name

If you want to change the password, then in the "Change password?" section, change the list to "Change", enter the password at the bottom in the "Password" section, the new password.

Click the "Save" button

To view, click the "View" button, a window will appear:

To delete, click on the "Edit" button, a window will appear:

In the pop-up window, a red "Delete" button will appear in the lower right corner, click it

Groups

on the page /command.php (https://YOURSITE/command.php):

Groups or categories are needed to organize photos, each photo or group of photos has its own group which is visible on the main page as a menu:

We tried to collect all the groups that exist on the topic of photos, but you can add, change or delete a group

Adding

To add Click in the lower right corner: "Add group"

Enter the name and click the "Save" button

Editing, Viewing and Deleting Groups

Select the group you want to change from the list:

In the lower right corner of the screen you will see three buttons: Unselect, View and Edit.

  • Unselect: removes the selection of items from the list, after which the "Add" button will become active
  • View: When pressed, you will see all the information about the user that is not visible in the "list

To change, click on the "Edit" button, a window will appear:


Enter the name and click on the "Save" button

To delete, click on the "Edit" button, a window will appear:

In the pop-up window, a red "Delete" button will appear in the lower right corner, click it

Gallery

on the page /dgvr.php (https://YOURSITE/dgvr.php):

This section describes the processes of adding and editing photos in the Gallery.

Adding

To add Click in the lower right corner: "Add" and select the operation "Add"

Click "Next"

As a result we get:

Title: The name of the photo or group of photos is shown here, it will be visible in the title of the paintings (inside the gallery):

Brief description: Brief description of the group of photos, it will be visible here (inside the gallery):


Link to the main image: The main image is visible on the main page as a thumbnail. Recommended resolution: 600px wide, height does not matter


Image links, one image - one line. Recommended resolution: 1300px * 1200px

These images are located directly inside the gallery

Placement rules: One image - one line:


Select a group

Select the group the photos belong to:


Click the "Save" button

Edit, View and Delete

Select the group you want to change from the list:


In the lower right corner of the screen you will see three buttons: Unselect, View and Edit.

  • Unselect: removes the selection of items from the list, after which the "Add" button will become active
  • View: When pressed, you will see all the information about the gallery that is not visible in the "list

To change, click on the "Edit" button, a window will appear:


Select the operation "Edit" and click the button "Next". In the form that appears, enter the data exactly as when adding.

To delete, click the "Edit" button, a window will appear:

Select the "Uninstall" operation and click the "Next" button

Version History

It is important to understand that this documentation is written for the current version of the software. All described features, settings and instructions correspond to the current version. If you are using an older or future version, some sections of the documentation may not match the actual interface or functionality.

v.1.0.0 (Current)' - Initial version.