Get started with PHP-Fusion

Recommended Addons


Atom-X Theme

Developed by : PHP-Fusion Inc (Website)
Demo Url: Demo Website

Category : Fantasy & Modern - Theme

User's Rating: Based on 21 Votes

Publisher's Description

The Atom-X Theme is a SDK theme framework that introduces customisable template which overrides core defaults rendering. Along with the initial version of the package, we also bundled some features which had been addressed and developed for Php-Fusion 8, which includes Fusion Dynamics (micro version), select2 plugins, entypo icons, and Bootstrap.

Initial template included:

- Admin Control Panel,
- Dashboard,
- News,
- Private Message,
- Profile and
- Forum.

Editor's Review

by Chan on 27/06/2014

Developers should just give it a trial run.

Editor's Verdict

Total Score of (80/80)

5/5

Addon Uniqueness100%

Addon Size and Features100%

Addon Thoroughly tested and Established100%

Addon Versions Compatibility100%

Addon Type100%

Editors Opinion100%

Authors Fame Factor100%

Value for Money100%

Addon Rating is available to Members only.

Please login or register to vote.


A2 Hosting

Additional Information

Updated

June 27 2014 11:15:32

Author(s)

PHP-Fusion Inc

Downloaded

3448 Times

Copyright

PHP-Fusion

Size

2,863.82 KB

Price

Free

Current Version

Version 1.0

Made for PHP-Fusion

v7.02

Translations

No Additional translations

Support Thread

Atom-X Theme

Support for Themes in the AddonDB

215 Replies 58,362 Views Last Updated on 4 months ago

Chan


Super Admin

#1

Posted 3 years ago

The Atom-X Theme is a SDK theme framework that introduces customisable template which overrides core defaults rendering. Along with the initial version of the package, we also bundled some features which had been addressed and developed for Php-Fusion 8, which includes Fusion Dynamics (micro version), select2 plugins, entypo icons, and Bootstrap.

Initial template included:

- Admin Control Panel,
- Dashboard,
- News,
- Private Message,
- Profile and
- Forum.

-- View this Addon --
Edited by Chan on 27-06-2014 11:30

Posts: 3391

Joined: 25/09/2007

faga


Member

#2

Posted 3 years ago

Good

I was searching for the forum part. Grin
I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it. - Bill Gates

Posts: 158

Joined: 27/06/2008

Craig


Fusioneer

#3

Posted 3 years ago

Good

Posts: 4531

Joined: 27/09/2005

JoiNNN


Veteran Member

#4

Posted 3 years ago

Happy to see the Atom-X code published and I know that there was some pressure on you guys to publish some code but publish it directly as production ready? If is meant for a live site was it even tested by others than you and Domi?
There is still broken HTML code and didn't even looked into php, add a disclaimer at least... and put the code in a public repo and invite all developers to participate and fix all the nasty stuff...
It was supposed to be a community effort, don't try to do it all by yourself you are just putting too much stress on you and mistakes slip into the code, just let others help.

Posts: 862

Joined: 05/02/2011

Chan


Super Admin

#5

Posted 3 years ago

There is only 1 ball here, and there is a developer team rebuilding in PFDN. While there are no developers, no ready platform, it was inevitable that I had to do the kickstart pending for further collaboration activity yet - Well, it was not perfect pitch, but I try to pitch as high as possible so everyone else can grab the ball and do their thing better. During the middle, I did setup immediately php-fusion.co.uk project and added everyone in PFDN in without asking. So in a way, I'm happy when everyone else is happy. I hope this release would drive more results on the 7 platform.

In a way, we believe the need to re-organize to deliver faster results despite developer absence starting with me and Domi proven to be able to work together. Then it also proven Dev team can work with me in such a short time adjusting period. With this, I believe that PFDN would deliver far greater results and excel in producing v8 RC1.

Please enjoy your weekend with the release.

Posts: 3391

Joined: 25/09/2007

dimki


Senior Member

#6

Posted 3 years ago

super theme ! Good hien you are the best Celebrate

but I do not see much to help here except 1 .. 2 Frown

although I would prefer a more simple theme for suport

THANKS

Posts: 265

Joined: 29/04/2011

Chan


Super Admin

#7

Posted 3 years ago

^^ Thank you.

Posts: 3391

Joined: 25/09/2007

Sina30


Junior Member

#8

Posted 3 years ago

Do you do actually also the addondb online?
I have pulled the times where can I change months ago in German?

Sry for my English

Posts: 39

Joined: 28/06/2014

Chan


Super Admin

#9

Posted 3 years ago

No actually Addondb is a different pack under EPAL.
---

File: Atom-X/components.php
Line 226

$timer = array(
$year => "year",
$month => "month",
$day => "day",
$hour => "hour",
$minute => "minute",
$second => "second"
);


around Line 241.

return "<abbr class='atooltip' data-toggle='tooltip' data-placement='top' title='".showdate('newsdate', $updated)."'/>$answer ".$unit.$s." ago</abbr>";

Posts: 3391

Joined: 25/09/2007

Sina30


Junior Member

#10

Posted 3 years ago

Hello how can I use the download.ajax.php?
I use to time Pro Download Panel and exactly how I tie the one?
I have set the query so.

Code Gist:

require_once "../../../../maincore.php";
    require_once INFUSIONS."pro_download_panel/infusion_db.php";

   if (isset($_GET['Ajax']) && ($_GET['Ajax'] == 'get_downloads')) {
        $total = dbarray(dbquery("SELECT SUM(pdp_downloads) dl_count, COUNT(addon_id) FROM ".DB_PDP_DOWNLOADS." WHERE addon_status='0'"));
        $total_count = $total['dl_count'];
        echo $total_count;
   }

Posts: 39

Joined: 28/06/2014

Chan


Super Admin

#11

Posted 3 years ago

In your template file..

Code Gist:


// this is your code
$total = dbarray(dbquery("SELECT SUM(pdp_downloads) dl_count, COUNT(addon_id) FROM ".DB_PDP_DOWNLOADS." WHERE addon_status='0'"));

$total_count = $total['dl_count'];
       
$html .= atom_counter($total_count);


This code should be inside Atom-X/functions.php
Code Gist:


function atom_counter($number, $offset=false, $speed=false){
        // lets go for 25%;
        if (!$offset) {
            $offset = ($number > 10000) ? floor($number*0.01) : floor($number*0.25);
        }
        if (!$speed) {
            $speed = ($number > 10000) ? 3000 : 2000;
        }

        add_to_head("
        <script src='".ASSETS."flipCounter/jquery.easing.1.3.js' type='text/javascript'/></script>\n
        <script src='".ASSETS."flipCounter/jquery.flipCounter.1.2.pack.js' type='text/javascript'/></script>\n
        <script src='".ASSETS."flipCounter/jshashtable.js' type='text/javascript'/></script>\n
        ");

        $html = "<div id='counter'><input type='hidden' name='counter-value'/></div>\n";
        // replace the most bottom line for main.uk site
        // NON AJAX Version
        //$('#counter').flipCounter('startAnimation', { number: $number-$offset, end_number:$number, formatNumberOptions: {format:'0###,###,###', locale:'GB'}, easing:jQuery.easing.easeInOutCubic, duration:$speed});


        add_to_footer("
        <script type='text/javascript'>

        jQuery(document).ready(function($) {
                $('#counter').flipCounter();
                $('#counter').flipCounter({imagePath:'".ASSETS."flipCounter/flipCounter-medium.png'});
                $('#counter').flipCounter('startAnimation', { number: $number-$offset, end_number:$number, formatNumberOptions: {format:'0###,###,###', locale:'GB'}, easing:jQuery.easing.easeInOutCubic, duration:$speed, onAnimationStopped:setUpdateTimer});
        });
                function setUpdateTimer() { setInterval(checkMoreDownloads, 6000); }
                function checkMoreDownloads()
                {
                    $.ajax({
                      url: '".ASSETS."flipCounter/download.ajax.php?Ajax=get_downloads',
                      success: function(data) {
                        if(typeof data !== 'undefined') {
                            if($('#counter').flipCounter('getNumber').toString() != data) {
                                $('#counter').flipCounter('startAnimation', {end_number:parseInt(data), duration:1000});
                            }
                        }
                      }
                    });
                }

        </script>
        ");
        return $html;
    }


On our Official Addon Download Page, our code is:

Code Gist:


        $html .= "<section id='ad' style='padding:60px;'/>\n";
        $html .= "<div class='container-fluid text-center'>\n";
        $total_count = $total['download_count'] + $total_v['download_count'];

        $html .= atom_counter($total_count);
        $html .= "<h2>Is the number of times our Addons have been downloaded from our AddonDB</h2>\n";
        //That is the number of downloads our Addons got so far.
        $html .= "<h4>Get Started with the experience of enhancing your PHP-Fusion installation with our Addons</h4>";
        $html .= "</div>\n";
        $html .= "</section>\n";
return $html;


Regards.

Posts: 3391

Joined: 25/09/2007

Sina30


Junior Member

#12

Posted 3 years ago

Yes is still in the function.php in it.

Now I've done it in the theme but then I got the error:
Code Gist:

Unknown column 'pdp_downloads' in 'field list'

Posts: 39

Joined: 28/06/2014

Chan


Super Admin

#13

Posted 3 years ago

Check your query. Because your db doesn't have that column name?

Posts: 3391

Joined: 25/09/2007

Sina30


Junior Member

#14

Posted 3 years ago

I have it now so there in the theme:
Code Gist:

// this is your code
$total = dbarray(dbquery("SELECT SUM(dl_count) dl_count, COUNT(download_id) FROM ".DB_PDP_DOWNLOADS." WHERE dl_status='0'"));

$total_count = $total['dl_count'];
       
$html .= atom_counter($total_count);


but now he shows me nothing at all more

Posts: 39

Joined: 28/06/2014

Sina30


Junior Member

#15

Posted 3 years ago

your code is not then he hit me the footer off
Code Gist:

$html .= "<section id='ad' style='padding:60px;'/>\n";
        $html .= "<div class='container-fluid text-center'>\n";
        $total_count = $total['download_count'] + $total_v['download_count'];

        $html .= atom_counter($total_count);
        $html .= "<h2>Is the number of times our Addons have been downloaded from our AddonDB</h2>\n";
        //That is the number of downloads our Addons got so far.
        $html .= "<h4>Get Started with the experience of enhancing your PHP-Fusion installation with our Addons</h4>";
        $html .= "</div>\n";
        $html .= "</section>\n";
return $html;

Posts: 39

Joined: 28/06/2014

Chan


Super Admin

#16

Posted 3 years ago

Can you show me your full file on how you do it? It should show.. because total count is a number. So if you run ".atom_counter(20)." it will show you 20 in the counter.

On the column of the table missing, show me your full table column list. If you want, you can attach the file in a .zip for me.

Also, run the below code anywhere in your page. A debug print will pop up on top. Copy and paste the debug print for me. :)

Code Gist:


print_p(fieldgenerator(DB_PDP_DOWNLOADS));


I will reply tomorrow.

Posts: 3391

Joined: 25/09/2007

Sina30


Junior Member

#17

Posted 3 years ago

I once mounted the theme which I use and on German

//according to CoC, please attach file to the forums, external link removed //Kamillo
Edited by Kamillo on 29-06-2014 23:36

Posts: 39

Joined: 28/06/2014

madsen


Junior Member

#18

Posted 3 years ago

Very nice theme Smile

I wish to make translation, but im not sure where the locale file is for other than forum? Smile anyone`?

Posts: 15

Joined: 11/02/2012

Craig


Fusioneer

#19

Posted 3 years ago

Hi,

I spent most of the weekend playing around with Atom-X and I must say I am loving playing around with this Atom-x Theme code there is soo many nice functions in there that I can use to base many things on. This is helping me learn even more nice tricks and functions.

Thanks for producing and releasing this Hien and Domi. It is helping me for sure and helping me for when version 8 comes. Good job achieved.

Regards
Edited by Craig on 30-06-2014 13:33

Posts: 4531

Joined: 27/09/2005

Sina30


Junior Member

#20

Posted 3 years ago

This is the query.

Code Gist:

[0] => Deutsch
    [1] => download_id
    [2] => cat_id
    [3] => license_id
    [4] => dl_name
    [5] => dl_desc
    [6] => dl_abstract
    [7] => dl_copyright
    [8] => lizenz_okay
    [9] => lizenz_packet
    [10] => lizenz_url
    [11] => dl_count
    [12] => user_id
    [13] => hide_user
    [14] => dl_ctime
    [15] => dl_mtime
    [16] => dl_homepage
    [17] => dl_status
    [18] => down
    [19] => link_extern
    [20] => version
    [21] => dl_size
    [22] => dl_pic
    [23] => dl_broken_count
    [24] => count_comments
    [25] => count_votes
    [26] => count_visitors
    [27] => count_subscribers
    [28] => avg_vote
    [29] => max_pics
    [30] => dir_files
    [31] => dl_language
    [32] => dl_passwort
    [33] => dl_version
    [34] => dl_fusion
    [35] => dl_Info
    [36] => dl_Change

Posts: 39

Joined: 28/06/2014

Jump to Forum: