Skip to Content Skip to Menu

THE Social Community Solution for Joomla!

THE Social Community Solution for Joomla!

Empower Your Community with Unmatched Customizable Features

Welcome! We are here to help you bring your vision for a social, member-driven website to reality.

Community Builder

Community Builder

Build a social community with your Joomla site!
CB Paid Subscriptions

CBSubs

Add a subscription feature to your community site!
CB Quickstart

CB Quickstart

Quickly launch a pre-configured social site!
Quality Hosting

Quality Hosting

Secure, reliable and CB ready website hosting services

Whether you're a business deepening connections with employees or customers and selling downloadable content, an organization structuring group collaborations and collecting donations,

or a club managing vibrant communities, organizing events, and handling membership fees, or a developer building robust, scalable sites, Community Builder (CB) and its CB Add-Ons provide the flexible tools and features you need.

Our CB Quickstart package will get you up and running in minutes with CB and essential CB Add-Ons preconfigured!

Our stellar support team is here to assist you, offering the freedom to host anywhere or on our optimized hosting. Have a question? Sign-Up and Ask our Pre-sales!

Get Your Membership now and start Creating engaging online spaces that truly reflect your vision.

Are you ready to take your Joomla site to the next level?

Try our demosite to see if Community Builder is right for you!

Use Case Overview

Using CB Content Module, you can create a count up banner and display it in any position of your template, even inside an article.

With it, you will be able to display something like this:


Let's get started!

Create CB Content Module instance

From your Joomla -> Extensions -> Module page, do the following:
  • Click New Button
  • In the list that appears select CB Content
  • Populate module's title (e.g. CB Content - Count Up)

Populate Module Text Parameter Area

In the text parameter area of module tab paste the following code segment:


<div id="countup">
	<!-- You can change the next line to fit your count up module -->
	<h4> Community builder founded in 2006!!<br/>It's been with you for:</h4>
	<p id="years">00
	<span class="timeRefYears"> years
	<p id="days">00
	<span class="timeRefDays"> days
	<p id="hours">00
	<span class="timeRefHours">:
	<p id="minutes">00
	<p span="timeRefMinutes">:
	<p id="seconds">00
	<p span="timeRefSeconds">.</p>
	<!-- You can change the next line to fit your count up module -->
	<h4> and we keep going developing even more exciting features!!</h4>
</div>

Populate Module Javascript Parameter Area

In the Javascript parameter area of the module tab paste the following code segment:


window.onload=function() {
	// Month,Day,Year,Hour,Minute,Second
	upTime('mar,05,2006,00:00:00'); // ****** Change this line!
};
function upTime(countTo) {
	now = new Date();
	countTo = new Date(countTo);
	difference = (now-countTo);
	days=Math.floor(difference/(60*60*1000*24)*1);
	years = Math.floor(days / 365);
	if (years > 1){ days = days - (years * 365)}
	hours=Math.floor((difference%(60*60*1000*24))/(60*60*1000)*1);
	mins=Math.floor(((difference%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);
	secs=Math.floor((((difference%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);
	document.getElementById('years').firstChild.nodeValue = years;
	document.getElementById('days').firstChild.nodeValue = days;
	document.getElementById('hours').firstChild.nodeValue = hours;
	document.getElementById('minutes').firstChild.nodeValue = mins;
	document.getElementById('seconds').firstChild.nodeValue = secs;
	clearTimeout(upTime.to);
	upTime.to=setTimeout(function(){ upTime(countTo); },1000);
}

You can of course make changes to the messages displayed and the start date (as pointed our in the segments).

Populate Module CSS Parameter Area

In the CSS paramater area paste the follwoing segment:


#countup p {
	display: inline-block;
	padding: 6px 3px;
	background: #FFA500;
	margin: 0 0 10px;
}

You can modify this css code to best fit your template and coloring scheme.

Final Configuration Settings and Save.

Make the following final changes:

  • Select the module position (e.g Position 7 for Protostar template)
  • Select Access Level (e.g. Public)
  • Publish your module
  • Save the module and go to your front end to see the results.

Thank you for reading!