Highlighting non-empty alphabet listing in XoopsTube

Mon, 17 Jun 2013 00:40:00 -2300

In XoopsTube we have a visual alphabetical listing of videos, so if you would like to see all videos starting with "B" you would click on the image with "B".

Unfortunately, this is not the most user-friendly feature, because we don't know if there is anything under "B".

So we needed to indicate the existence of videos by a changed background icon, as you can see below:

Original Image

The plan was to:

1) build an array of unique alphabet letters that have videos in the database

2) as we render the alphabet icons, check for each letter/digit if it is also in the above array, and if yes, change the icon image to the green one

XoopsTube renders the images in the function xoopstube_letters() located in /include/functions.php

As first we needed to extract the unique letters from the database and create the array:

$distinctDbLetters_arr = array();
    
$sql 'SELECT DISTINCT (UPPER(LEFT(title, 1))) AS letter FROM ' $xoopsDB->prefix('xoopstube_videos') ;
    if (
$result $xoopsDB->query($sql)) {
        while (
$row $xoopsDB->fetchArray($result)) {
            
$distinctDbLetters_arr[] = $row['letter'];
        }
    }
    unset(
$sql);


As second, we wanted to check for each alphabet letter and digit to see if it is represented in the database:

if (in_array($ltr$distinctDbLetters_arr)) {
            
$letterchoice
                
.= '<a class="xoopstube_letters xoopstube_letters_green" href="';
        } else {
            
$letterchoice
                
.= '<a class="xoopstube_letters" href="';
        }


And we had to create a new class in CSS that would pull the new image:

.xoopstube_letters_green {
    
background-imageurl(images/icon/backgnd_green.png);
}


Things to do in the future:

- cache the array created in (1), so we don't have to read it every time from the database, and updated it only if a new video is added

The main message from this tutorial is to make our modules more user-friendly by visually indicating status of information.

As always, if somebody has a better way to achieve it, please share it with us!

 

XOOPS Council adds new members

Wed, 12 Jun 2013 15:00:00 -2300

The XOOPS Community is blessed with many great individuals, who dedicate countless hours to help XOOPS to move forward. We see them on the forums, and we see the results of their hard work in new and/or updated modules, themes, and bug fixes.

The key to XOOPS success is to have a strong team working together.

Today we would like to announce new additions to the XOOPS Council to lead and guide XOOPS forward (you can see their detailed bios below):

International Support Team: Christelle Gaulupeau (Cesag) from France

Modules Team: Jim Garrett (Zyspec) from USA.

Documentation Team: Alain Thivillier (Alain01) from France

Support Team: Ali Nili (Irmtfan) from Iran

Design Team: Angelo Rocha (AngeloRocha) from Brazil

Core Team: Trabis who was leading the development of XOOPS 2.6.0 together with Nicolas, is on leave of absence, but we hope he'll be back soon. In the meantime, the Core Team members will continue with the development as a team.

Today we would like to also thank Nicolas Andricq (ForMuss) and Eduardo Cortés (Bitc3r0) who have resigned from the Council due to new jobs and not having enough time. However, BitC3r0 is committed to continue with the further development of RM Common Utilities. Their help and support over years was instrumental in improving XOOPS, and we very much appreciate it!

We are all looking forward to working together to keep moving XOOPS forward!

 

Nominate XOOPS for Critics Choice CMS Awards

Mon, 10 Jun 2013 12:09:05 -2300

The Critics Choice CMS Awards are now accepting nominations for 2013... and XOOPS needs your support!

Nominations are open through August 1, 2013. Actual voting takes place from September 1 - November 1, 2013.

Please consider nominating XOOPS in any (or all) of the following categories:

- Best Open Source CMS
- Best Free CMS
- Best CMS for Small / Medium Sized Businesses:
- Best Enterprise CMS
- Best Website Builder

Last year, XOOPS was the Runner-up for the People's Choice for Best Free CMS, and we lost by only few votes!

So please help us to win this year, and the first step is to make sure that we're nominated!

Please nominate XOOPS today!

Original Image

For more information, see http://www.cmscritic.com/critics-choice-cms-awards/.

 

Theme Factory 7 - My new theme model to XOOPS

Mon, 10 Jun 2013 03:30:55 -2300

I bring to you another new version of the theme factory, a simple model themes for XOOPS, the package includes three variations of the theme, and thus a greater range of possible layouts.

The package also includes within the plugins folder:
- Nivo Slider for integration
- Skitter Slider for integration
- Menu dropdown for integration
- Lavalamp menu integration
- Megadropdown for integration

Integrate is very simple, just include the .html desired functionality in theme.html and call the .css and and .js respectives.

Demo:
http://demo.xoopsfire.com/index.php?x ... heme_select=theme-factory

http://demo.xoopsfire.com/index.php?x ... select=theme-factory-left

http://demo.xoopsfire.com/index.php?x ... ct=theme-factory-b-blocks

Screens:
Original Image

Original Image

Original Image

Download: http://xoopsfire.com/modules/TDMDownloads/singlefile.php?lid=85

Hope you enjoy.

 

Xoops Saka Theme Free

Sun, 02 Jun 2013 01:19:30 -2300

Original Image


Theme Demo :
http://xoopstasarim.com/sonxoops/

Download :
http://www.programgezgini.com/modules ... s/singlefile.php?lid=1226

Themes:
http://www.xoops-tr.com/modules/myalbum/

Xoops-Tr.Com Türkiye Ekibi....
Thanks Xoops...!