Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Atom-X Theme

www.php-fusion.co.uk/infusions/marketplace/uploads/image/theme_1.jpg


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 --
:G

I was searching for the forum part. :D
:G
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.
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.
super theme ! :G hien you are the best :Y

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

although I would prefer a more simple theme for suport

THANKS
^^ Thank you.
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
No actually Addondb is a different pack under EPAL.
---

File: Atom-X/components.php
Line 226

Quote


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


around Line 241.

Quote

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

CodeDownload  
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;
   }

In your template file..

CodeDownload  

// 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
CodeDownload  

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:

CodeDownload  

        $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.
Yes is still in the function.php in it.

Now I've done it in the theme but then I got the error:
CodeDownload  
Unknown column 'pdp_downloads' in 'field list'

Check your query. Because your db doesn't have that column name?
I have it now so there in the theme:
CodeDownload  
// 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
your code is not then he hit me the footer off
CodeDownload  
$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;

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. :)

CodeDownload  

print_p(fieldgenerator(DB_PDP_DOWNLOADS));



I will reply tomorrow.
I once mounted the theme which I use and on German

//according to CoC, please attach file to the forums, external link removed //Kamillo
Very nice theme :)

I wish to make translation, but im not sure where the locale file is for other than forum? :) anyone`?
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
This is the query.

CodeDownload  
[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

Thread Information
Author
Replies
220 posts
Views
66,848 times
Last Post
Last updated on 5 months ago
Hot Questions
Chan
Atom-X Theme
Chan - 220 posts
Falk
Arise
Falk - 74 posts
JoiNNN
Ddraig
JoiNNN - 37 posts
skpacman
Blue Marble
skpacman - 33 posts
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.