Get started with PHP-Fusion

Recommended Addons


Infused Theme

Developed by : Craig (Website)

Category : Miscellaneous - Theme

User's Rating: Based on 4 Votes

Publisher's Description

Infused Theme is a simple theme but it comes with an infusion in which the admin can control the styles for the theme and other various layout options. Infused Theme lets you the admin control the colours of the theme, set a banner area, a top fixed head strip which admins can add site links to, A Drop down login menu which can be styled in the Infused admin and more.

Detailed Screenshots

Infused Theme

Editor's Review

by PHPar on 04/04/2014

nice work

Editor's Verdict

Total Score of (64/80)

4/5

Addon Uniqueness100%

Addon Size and Features60%

Addon Thoroughly tested and Established50%

Addon Versions Compatibility50%

Addon Type100%

Editors Opinion80%

Authors Fame Factor100%

Value for Money100%

Addon Rating is available to Members only.

Please login or register to vote.


A2 Hosting

Additional Information

Updated

April 04 2014 21:46:58

Author(s)

Craig

Downloaded

916 Times

Copyright

Copyright: PHP-Fusion Mods UK 2014

Size

105.41 KB

Price

Free

Current Version

Version 1.0

Made for PHP-Fusion

v7.02

Translations

No Additional translations

Support Thread

Infused Theme

Support for Themes in the AddonDB

6 Replies 10,779 Views Last Updated on 2 years ago

Craig


Fusioneer

#1

Posted 4 years ago

www.php-fusion.co.uk/infusions/addondb/img/screenshots/t_1811.png


Infused Theme is a simple theme but it comes with an infusion in which the admin can control the styles for the theme and other various layout options. Infused Theme lets you the admin control the colours of the theme, set a banner area, a top fixed head strip which admins can add site links to, A Drop down login menu which can be styled in the Infused admin and more.

-- View this Addon --

Posts: 4531

Joined: 27/09/2005

NetriX


Moderator

#2

Posted 4 years ago

Great idea Craig.

As a suggestion I would like to see additional features if you release future updates:

  1. Logo Upload
  2. Styles.css Editor
  3. Footer/Header Content (such as add to header / footer)

All directly editable from the infusion, of course.
Need help? Having trouble?
View our Documentation for guides, functions and more - including the Getting Started section!
Attach Log Files and Screenshots when reporting issues
My support days are usually Mon-Thurs. Send me a PM if urgent.

Posts: 564

Joined: 22/09/2007

lifeguard


Member

#3

Posted 4 years ago

I think, when you make a mix between this and Omni theme... you have a winning theme. A nice responsive theme, wich will be easy to style Smile
I dont know how hard it is, but i think you make many people happy then. More then you already did/do Good

Posts: 85

Joined: 31/12/2011

Craig


Fusioneer

#4

Posted 4 years ago

Hi lifeguard,

I will admit we will need a better layout for the next version of Infused Theme. I am thinking something more along the lines of the theme on Mods UK now.

Imagine the Dev Blog Responsive 2 Theme being just like Infused, able to change your colours, turn things like, sub menu, footer links on and off. Be able to insert your own text or panel into the footer links. The options would be nice and working together with that theme would be something nice for us all. Do not push me for it but I am seriously thinking about that as another fun theme infusion project and, well my Dev Blog Responsive 2 Theme is nice so why not blow the lid off it and go completely over the top and make it just like Infused.

Let me think more on this one! If I do start on that I will most likely keep it quiet until I am finished. Let's just wait and see.

Regards
Craig

Posts: 4531

Joined: 27/09/2005

lifeguard


Member

#5

Posted 4 years ago

Nice, as you know, maybe not, i ask a week of 3 ago when you release de dev blog theme Smile
If this will be mixed with this, then i already know a default theme of my site

Keep up the good work !
Edited by Falk on 02-12-2015 19:00

Posts: 85

Joined: 31/12/2011

sleepout9


Newbie

#6

Posted 2 years ago

How can I use logo in this theme? Infused...

https://www.php-fusion.co.uk/infusions/addondb/...don_id=964

Posts: 6

Joined: 01/07/2015

KasteR


Senior Member

#7

Posted 2 years ago

sleepout9, the top-navigation div is fixed to the top of the page. Keeping that in mind, you can lay a logo within that div. More than likely you will need to scale your image down, since the top-navigation is only 40px in height. Here's a simple aproach that may require minor tweaking (depending on your logo height).

infusions/infused_theme_control_panel/header.php
Code Gist:

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2014 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: site_links.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| Infused Theme Control Panel
| Filename: infused_theme_control_panel_settings.php
| Version: 1.00
| Author: PHP-Fusion Mods UK
| Developer: Craig
| Site: http://www.phpfusionmods.co.uk
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
|--------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Name: Quick Sign
| Version: 2.00
| File Name: infused_theme_control_panel.php
| Author: Fangree Productions
| Site: http://www.fangree.co.uk
| Contact:
| Developers: Fangree_Craig
| Based on Perfect signin dropdown box like Twitter Turorial by
| http://aext.net/2009/08/perfect-sign-in-dropdow...th-jquery/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."infused_theme_control_panel/locale/".$settings['locale'].".php" )) {
   include INFUSIONS."infused_theme_control_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."infused_theme_control_panel/locale/English.php";
}

$infused_theme_control_panel_check = dbquery("SELECT * FROM ".DB_INFUSIONS. " WHERE inf_folder='infused_theme_control_panel'");

if (dbrows($infused_theme_control_panel_check) > 0) {


include LOCALE.LOCALESET."global.php";
include INFUSIONS."infused_theme_control_panel/infusion_db.php";

$infused_theme_control_settings = dbarray(dbquery("SELECT * FROM ".DB_INFUSED_THEME_SETTINGS));
add_to_head("<link type='text/css' rel='stylesheet' href='".INFUSIONS."infused_theme_control_panel/includes/infused_theme_control_styles.php' />");
add_to_head("<style>.top-logo>a>img{width:135px;}</style>");
if ($infused_theme_control_settings['infused_theme_control_enableheadstrip'] =="1") {
global $userdata, $settings, $aidlink;
echo"<div style='padding-bottom: 2px; margin-right: 35px;' id='container'>";
 echo "<div class='top-logo'>".showbanners()."</div>\n";
 echo "<div  class='top-navigation'>\n";
 

 
   $list_open = false;
   $result = dbquery(
      "SELECT link_name, link_url, link_window, link_visibility FROM ".DB_INFUSED_THEME_LINKS."
      WHERE link_name !='' OR link_url !='' ORDER BY link_order"
   );
   
if (dbrows($result)) {

   $i = 0;


   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
            if (!$list_open) { echo "<ul>\n"; $list_open = true; }
            $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
               echo "<li>\n";
               echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='side'>\n";
               echo "<span>".parseubb($data['link_name'], "b|i|u|color|img")."</span></a></li>\n";   
         
      }
   }
   if ($list_open) { echo "</ul>\n"; }

   }
if (!iMEMBER) {


if (!preg_match('/login.php/i',FUSION_SELF)) {
      $action_url = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
      if (isset($_GET['redirect']) && strstr($_GET['redirect'], "/")) {
         $action_url = cleanurl(urldecode($_GET['redirect']));
      }
            
      


echo"<div id='inner-container'>
      
  <div id='topnav' class='topnav'> ".$locale['qsp_001']." <a href='login' class='signin'><span>".$locale['global_100']."</span></a></div>
  <fieldset id='signin_menu'>
   <form name='loginform' method='post' action='".$action_url."'>
       <label  for='username'><span class='username-span'>".$locale['global_101']."</span></label>
        <span id='username_tip' style='vertical-align: middle;' title='".$locale['qsp_005']."'> <input id='username' name='user_name' value='' title='username' tabindex='4' type='text' /></span>
         <p>
           <label for='password'><span class='username-span'>".$locale['global_102']."</span></label>
              <span id='password_tip' style='vertical-align: middle;' title='".$locale['qsp_006']."'><input id='password' name='user_pass' value='' title='password' tabindex='5' type='password' /></span>
               </p>
              <p class='remember'>
             <input id='remember' name='remember_me' value='1' tabindex='6' type='checkbox' />
            <label for='remember'>".$locale['global_103']."</label>
          <input id='signin_submit' name='login' class='button' value='".$locale['global_104']."' tabindex='7' type='submit' />
         </p>
        <p class='forgot'> <a id='resend_password_link' title='".$locale['qsp_003']."' href='".BASEDIR."lostpassword.php'>".$locale['qsp_004']."</a> </p>\n";
      if ($settings['enable_registration']) {
     echo" <p class='forgot'> <a id='no_account_link' title='".$locale['qsp_002']."' href='".BASEDIR."register.php'>".$locale['global_107']."</a> </p>\n";
    }
    echo" </form>
   </fieldset>
</div>\n";

add_to_footer("<script type='text/javascript'>
$(document).ready(function() {

$('.signin').click(function(e) {         
   e.preventDefault();
     $('fieldset#signin_menu').slideToggle('fast');
     $('.signin').toggleClass('menu-open');
    });

$('fieldset#signin_menu').mouseup(function() {
   return false
   });
$(document).mouseup(function(e) {
  if($(e.target).parent('a.signin').length==0) {
    $('.signin').removeClass('menu-open');
    $('fieldset#signin_menu').hide();
  }
});         

});
</script>

<script src='".INFUSIONS."infused_theme_control_panel/includes/javascripts/jquery.tipsy.js' type='text/javascript'></script>
<script type='text/javascript'>
    $(function() {
     $('#resend_password_link').tipsy({gravity: 'e'}); 
       $('#no_account_link').tipsy({gravity: 'e'});
       $('#username_tip').tipsy({gravity: 'e'}); 
     $('#password_tip').tipsy({gravity: 'e'});
    });
  </script>");
  }
 
  }else{
 

   
echo"<div id='inner-container'>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
$subm_count = dbcount("(submit_id)", DB_SUBMISSIONS);
if ($subm_count) {
echo "&nbsp;<a href='".ADMIN."submissions.php".$aidlink."' class='user-cp'>".sprintf($locale['qsp_007'], $subm_count);
echo ($subm_count == 1 ? $locale['global_128'] : $locale['global_129'])."</a>\n";
}
}
echo "&nbsp;&nbsp;<a class='user-cp' href='".BASEDIR."edit_profile.php' title='".$locale['global_120']."' >".$locale['global_120']."</a>&nbsp;\n";
   $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0' AND message_folder='0'");
    if ($msg_count !=0) {
      echo "&nbsp;<a href='".BASEDIR."messages.php' style='color: #00CC00;'  class='user-cp'>".sprintf($locale['global_125'], $msg_count).($msg_count == 1 ? $locale['global_126'] : $locale['global_127'])."</a>&nbsp;\n";
        }else{
         echo"&nbsp;<a href='".BASEDIR."messages.php' title='".$locale['global_121']."' class='user-cp'>".$locale['global_121']."</a>&nbsp;\n";
          }
        echo"&nbsp;<a href='".BASEDIR."members.php' title='".$locale['global_122']."' class='user-cp'>".$locale['global_122']."</a>\n";
      if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
     echo"&nbsp;&nbsp;<a href='".ADMIN."index.php".$aidlink."' title='".$locale['global_123']."' class='user-cp'>".$locale['global_123']."</a>&nbsp;&nbsp;\n";
    }
   if (!iADMIN) { echo"&nbsp;&nbsp;"; }
  echo "<a href='".BASEDIR."setuser.php?logout=yes' title='".$locale['global_124']."' class='user-cp2'>".$locale['global_124']."</a> \n";
echo"</div>";
}
echo"</div>";
   echo"</div>";
   }
}else{
if (iADMIN && checkrights("I")) {
echo"<div class='admin-message' style='position:fixed; top:0; left:0; z-index:100; width:100%;'>".$locale['itc_033']."</div>";
}
}

?>


You can adjust the height by modifying 135px to whatever you need to.
add_to_head("<style>.top-logo>a>img{width:135px;}</style>");

Edited by KasteR on 04-12-2015 02:00

Posts: 291

Joined: 14/07/2012

Jump to Forum: