Blame salt/profile/vbulletin/README.md
|
Olav Reinert |
c94236 |
# vBulletin 5 Setup for openSUSE Forums
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
## Setup tools
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
If the pillar ``vbulletin.tools`` is truthy, the extra files described below
|
|
Olav Reinert |
c94236 |
are available to aid with setup of the new forums.
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
**It is important to disable the ``vbulletin.tools`` pillar and running
|
|
Olav Reinert |
c94236 |
``highstate`` again to remove the files before production use.**
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
### ``/srv/www/vhosts/forums/db-tweak.sql``
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
Running this SQL script on the vBulletin database will:
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
* Set up the correct grants for the database user.
|
|
Olav Reinert |
c94236 |
* Define the site URL correctly for template setup
|
|
Olav Reinert |
c94236 |
* Adjust various other vBulletin settings
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
After running the script, run ``core/install/upgrade.php`` again to make sure
|
|
Olav Reinert |
c94236 |
the templates are set up correctly.
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
### ``/srv/www/vhosts/forums/htdocs/vb_test.php``
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
A tool for checking that vBulletin is installed correctly, including all
|
|
Olav Reinert |
c94236 |
dependencies, as well as verifying that it is possible to connect to the
|
|
Olav Reinert |
c94236 |
database.
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
### ``/srv/www/vhosts/forums/htdocs/info.php``
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
Shows ``phpinfo()`` for the forum server.
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
## Styling
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
These steps achieve a minimal styling suitable for openSUSE Forums.
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
Enable the _Default vB5 Style_, then customize these style variables:
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
* ``global_palette_accent_02`` = #73ba25
|
|
Olav Reinert |
c94236 |
* ``global_palette_text_04`` = #5a911d
|
|
Olav Reinert |
c94236 |
|
|
Olav Reinert |
c94236 |
Finally, change the site logo using the file ``logo_color_90.png``.
|
|
Olav Reinert |
c94236 |
|