Created on : 29.03.2018
By: Virel
Email: virel@virel.eu
Step 1 EN: Upload the contents of the files folder to your web server.
Double check so the folder forum_threads_prefix goes to your infusions folder.
Step 1 SK: Nahrajte obsah priečinka súborov na webový server. Dvojitá kontrola, takže priečinok forum_threads_prefix sa dostane do priečinka s infusions.
Step 2 EN: Login to your site as the Super Administrator. Go to your Administration, click the System Administration tab, select Infusions and find 'Forum Threads Prefix' in the list.
Mark this in the selection and press infuse.
Step 2 SK: Prihláste sa na svoju stránku ako Super Administrator. Prejdite do svojej administratívy, kliknite na kartu Správa systému, zvoľte infusions a v zozname nájdete 'Forum Threads Prefix'.
Označte to vo výbere a stlačte infuse.
Step 3 EN: Open maincore.php file and add the following:
Step 3 SK: Otvorte si maincore.php súbor a na koniec pridajte:
// Forum Thread Prefix function thPrefixes($prefixes_id) { $test = ""; $result = dbquery("SELECT * FROM ".DB_FORUM_PREF." WHERE pref_id = '".$prefixes_id."'"); $prefe = dbarray($result); if($prefe['pref_id'] == ""){ }elseif($prefe['pref_id'] = 1){ $test = " <span class='tag ".$prefe['pref_color']."'>".$prefe['pref_name']."</span> "; } return $test; }
Step 4 EN: Next go to includes/multisite_include.php file open and add at the end:
Step 4 SK: Ďalej chodte do includes/multisite_include.php súbor otvorte a na koniec pridajte:
define("DB_FORUM_PREF", DB_PREFIX."forum_prefixes");
Step 5 EN: Finally, add to your themes: themes/my-theme/theme.php file:
Step 5 SK: A nakoniec pridať do svojej themy: themes/moja-thema/theme.php súbor:
add_to_head("<link rel='stylesheet' href='".INFUSIONS."forum_threads_prefix/pref_style.css'/>");
Admin panel
Edit post
View Forum
Latest Active Forum Threads Panel
We are always happy to hear from you. Please feel free to contact us for any kind of customization, support, query and suggestion. We will respond as soon as possible.
Thank you,
Email: virel@virel.eu
Or
Contact Us