Forum Threads Prefix 1.2

PhpFusion 7.02.xx and 8.00.00 - Fusion mods Forum Threads Prefix

Created on : 29.03.2018

Update on: 24.04.2019

By: Virel

Email: virel@virel.eu

About

Installation

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, $forum_id) {

	$forum = mysql_real_escape_string($forum_id);
	$output = "";

	$result = dbquery("SELECT * FROM ".DB_FORUM_PREF." WHERE pref_id = '".$prefixes_id."' AND pref_forum_cat = '".$forum."'");

	$prefe = dbarray($result);

	if($prefe['pref_id'] == ""){

	}elseif($prefe['pref_id'] = 1){

	$output .= " <span class='tag ".$prefe['pref_color']."'>".$prefe['pref_name']."</span> ";

	}

	return $output;

}
						

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");

PhpFusion 7.02.xx and 8.00.00

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'/>");

PhpFusion 8.00.00 - Admin themes

Step 6 EN: Finally, add to your themes: themes/admin_themes/my-theme/acp_theme.php file:
Step 6 SK: A nakoniec pridať do svojej themy: themes/admin_themes/my-theme/acp_theme.php súbor:


add_to_head("<link rel='stylesheet' href='".INFUSIONS."forum_threads_prefix/pref_style.css'/>");

Images

Admin panel

dashboard

Edit post

dashboard

View Forum

dashboard

Latest Active Forum Threads Panel

dashboard

Developer Support

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,

Virel

Email: virel@virel.eu

Or

Contact Us