-
Notifications
You must be signed in to change notification settings - Fork 0
Installationsleitfaden (engl.)
I've tried to document my installation procedure. Maybe helpful to others
- Depends on your hosting environment.
- Note DB-Host (URL), -name, -user & -password
-
ssh
login to webspace (if you've got no SSH login, you're also able to use FTP. Downloading & unpacking is done locally and the folder is transferred via FTP then) - download
latest.zip
from WP.org
wget https://wordpress.org/latest.zip
- unpack
unzip latest.zip -d folder_of_your_choice/
- this unzips latest.zip into folder folder_of_your_choice/wordpress so we have to move it to folder_of_your_choice/
mv folder_of_your_choice/wordpress/* folder_of_your_choice/
rm -r folder_of_your_choice/wordpress
- Set your domain (example.com) to point to folder_of_your_choice/. This is done in DNS or Domain settings of your hosting provider
- Open
http://example.com/wp-admin/install.php
in your webbrowser - Follow the setup wizard and put in your DB credentials
- Enter site name and create admin user with password
- This will bring you to your WP's admin Dashboard
- Download latest version of Quartiersplattform from github
- Go to "Design --> Theme installieren" and upload Quartiersplattform.zip
- Once Quartiersplattform is uploaded and installed, acticate it
ATTENTION: As of the time writing this document (15.6.22), the latest release zip (1.8.2) from the release page isn't correct, see: Issue #133
So here's the alternative and probably the better way to go by cloning the QP-repo to your webspace. This even allows pulling in updates without re-installing/updating the theme:
- ssh login to your webspace and got to your wordpress' theme folder and pull in the QP-repo
cd ~/wordpress/wp-content/themes
git clone https://github.com/studio-arrenberg/quartiersplattform.git
- now you only need to activate the theme in WP-Dashboard
Another possible solution is to download the ZIP by clicking Code --> Download ZIP
on the repo's main page, upload and install it like explained above
- Download
ACF *Pro*
, install & activate it, like stated in Dashboard - Download
Ultimate Member
, install & activate it, like stated in Dashboard - Download
WP Mail SMTP
, install & activate it
- Configure Ultimate Member, like stated in the documentation: Ultimate Member
- Let the plugin create its sites (button in Dashboard)
- Go to
Ultimate Member --> Formulare
and note the shortcode forDefault Profile
. In my case it was [ultimatemember form_id="42"] - Go to
Seiten
in Dashboard's menu, chooseProfil
and enter this shortcode (Hit the+
button to add a (Gutenberg-)Block, type shortcode to create a shortcode-block and enter the shortcode from above. HitAktualisieren
to save the page.
The documentation is missing the correct picture atm. This will get FIXED with PR#136
- Go back to Dashboard by clicking the Wordpress-Logo W in the upper left corner
- Go to
Ultimate Member --> Einstellungen --> Design --> Profil Menu
and deactivate it. Save your settings - Go to
Ultimate Member --> Einstellungen --> Allgemein --> Konto
and deactivateDatenschutz, Nachrichten, Konto löschen
, like stated in the documentation. Don't forget to hitsave
in the bottom.
QUESTION: How is a user able to delete his/her account!? The documentation is unclear here and there's no option in the user's menu. See Issue #130
- The next step in documentation, deactivation of
Profilweiterleitung & Mitgliederverzeichnis
inUltimate Member --> Einstellungen --> Allgemein --> Konto
seems to be obsolete, if I get the documentation correct. Those settings are already deactivated. Activating them isn't even possible. FIXED, PR: https://github.com/studio-arrenberg/quartiersplattform/pull/136 - Go to
Ultimate Member --> Einstellungen --> E-Mail
and deactivate all butWillkommens-, Aktivierungs- & beiden Passwort E-Mails
. I even also used the chance to get theBetreff
of each Mail in a continous manner by starting them with{site_name} - ...
. I even activated theNeuer Benutzer Benachrichtigung
for the Admin-User to be notified about new users. May be of interest in the beginning. - I left out the last step,
Einstellungen --> Weiterleitungen
here, as the documentation states that this is automated now.
QUESTION: Obsolete?
- If you want users to confirm registration with a link sent in a Mail, you need to change to corresponding setting in
Ultimate Member --> Benutzerrollen --> Contributor
underRegistrierungs Optionen
NEEDS FIX: No matter what subject one sets for confirmation mails, the subject of the sent mail will always be checkmail_email
!? See Issue #131
- I wanted to have
*
to mark fields that need to be filled when registering a new user. - The setting to enable those
*
is inUltimate Member --> Einstellungen --> Sonstiges
and is namedEin Sternchen für erforderliche Felder anzeigen
. - If you choose to do so, there's a problem with translation and
Benutzername
getsusername
andPasswort
getspassword
. To change this, go toUltimate Member --> Formulare
and chooseDefault Registration
. Click the pencil next toUsername
and changeBeschriftung
toBenutzername
. Same goes forPassword
. - While you're at it, even also enable the setting
Ist dieses Feld erforderlich?
inEmail Adress
totrue
- If you also want the user to check the
Datenschutzerklärung
when registering, there's an option on the right side for it. Change drop-down menu toJa
and set the correct page for yourDatenschutzerklärung
. The rest may stay like it is. - After you're done, hit
Aktualisieren
in the upper right to save your changes.
- Install Plugin as stated in the Dashboard by clicking the button, install and activate it: Documentation
- After activating it, use the setup wizard.
- Choose
Benutzerdefinierter SMTP Server
, hit next - After setting up smtp server, TLS, Port and authentication and finishing up the wizard (no more entries needed), I got 2 errors displayed (SPF & DMARC), but test mail was sent correctly.
- I fixed the SPF error by adding a DNS record (TXT) to my domain's DNS settings. Followed instructions my provider gave me
- Fixed DMARC with adding another DNS Record:
TXT, _dmarc, "v=DMARC1;p=none;pct=100"
- After adding those 2 DNS Records,
WP MAil SMTP
reportedsuccess
, no more errors ;)
- Click the button in Dashboard. First time I setup Quartiersplattform there wasn't a page
Datenschutzerklärung
created, so I did not find it in the dropdown menu. This time it was there. - Choose
Bearbeiten
to edit the page - After editing the page choose
Veröffentlichen
to save it. - Hit the Wordpress-Logo W in the upper left corner to leave to Dashboard
- Click the button in Dashboard
- Click the page
Impressum
- Edit the page and click
Aktualisieren
when finished to save it - Leave the editor
- Click the button in Dashboard
- Add a Name (the length of the name is limited!!)
- Add a headline and description text
- Add Picture & Logo
IMPROVEMENT: Would be nice to have the sizes of images shown directly in this dialog, to make it easier to choose correct size when uploading. There are sizes and ratios mentioned HERE
ATTENTION: The title picture gets cropped somehow and it's a pita to prepare the picture beforehand so that it fits as wanted and needed.
- Download the plugin from here: https://github.com/studio-arrenberg/energie-ampel-plugin
- Got to
Plugins --> Installieren
and choosePlugin hochladen
(on the top of the page) - Activate the plugin
- WPForms (What for?)
- Statify (nice google analytics free statistics)
- Ultimate Member Plugin shows as
noch nicht vollständig eingerichtet
in Dashboard, up until the end.
QUESTION: What is missing, what does it need for this message to disappear?
- It wasn't possible to log into my Admin's Dashboard neither with using wp-admin nor wp-login. This is a know issue, see Issue #43, as I've noticed only today, and it caused me quite some headache and made me edit function.php.
HINT: When logging in to Quartiersplattform as admin user, the Dashboard's headline appears and you are able to enter it from there.
- The setting to change or set that is found within the corresponding user-role settings
Ultimate Member --> Benutzerrollen
QUESTION: If I'm correct, there's only 3 user roles being used by QP atm. This is Admin, Contributor (standard role for new users and First mover (beta testing, being able to login and use page although page is in maintenance mode)
IMPROVEMENT: It would be nice to have at least one other role to use. Background: right now only the admin user is able to edit projects, events, etc. within WP's Editor, which gives a lot more design possibilities, like pictures, etc. So being able to use the role Redakteur for that would be nice, as it could allow a Redakteur to edit in WP's Editor without being able to (mis-)configure WP itself. See Issue #132
- If you enable
Site Pin
on a page, it gets a link box on the front page under the description
HINT: Only admins are able to do so
- Order of these
link badges
is by date descending
- Admins (and only admins) are able to pin projects so that they appear prominent on the startpage
- project owners are able to pin events & notes, making them stay prominent on top of the project's chronic
- There are no other user roles usefully integrated in QP than Contributor (Mitarbeiter) & Admin (Administrator).
IMPROVEMENT: It would be useful and handy to allow more user roles, like editor (Redakteur) and author (Autor) (see above)
- One is able to write project and event descriptions directly on the QP, but for to create and design more sophisticated descriptions including pictures, etc., it needs to be able to edit the description within Wprdpress' Editor.
IMPROVEMENT: As above, more user roles would be needed for to allow editing with WP's Gutenberg Editor but without being able to gain admin rights and (mis-)configure the complete site