1
wishcraft
Xoops 2.5: Complexity Theme v1.2.8

Resized Image
Chronolabs Cooperative Proudly Presents

for XOOPS 2.5
Complexity Theme v1.2.8
Resized Image

Demo of theme: http://2.5.xoops.themes.labs.coop/?xoops_theme_select=complexity

Introduction to Complexity Theme

Complexity is a complete theme, it includes features that need to be studied by theme designer to be incorporated into their theme designs including the following features:~

  • Social Network Meta Tags
  • Anti-keyword Stuffing (SEO)
  • iOS Iconographic Tags (So Icons Appear on iPhone all macintosh)
  • CSS3 Gradients and Highlights
  • CSS3 Rounded Edges
  • CSS3 Text and Object Shadows
  • Correct File Implementations
  • No Jugganaut Single CSS use of @import()


This theme was developed for the love of the XOOPS Community and broader themery; to explain some of the features I will first go into meta tagging for facebook and third party references to the site you have to include in your meta tags the following lines, to force your site logo if there is no image as well as in the google index and search engines (Which you can see http://au.syd.labs.coop does with the icon etc here https://www.google.com.au/?gws_rd=ssl#q=site:labs.coop) they are:-

Quote:








As well as the apple touch icon meta tags in the icons, these are in particular sizes and need to be PNG images for all touch buttons like book marks and save references in macintosh; otherwise you get the default icon, these three lines are:-

Quote:






There is also the following code in the meta keyword which stops keyword stuffing, that is the repeatative use of the same keywords on every page of your site this will lower you SEO Score with search engines the following code you will find in the meta template in the theme:-

Quote:

$minimumwordlen = 3;
// Gets Meta Data
$path = str_replace($search, ',', str_replace(basename($_SERVER['REQUEST_URI']), '', $_SERVER['REQUEST_URI']));
$sitename = htmlspecialchars_decode($this->_tpl_vars['xoops_sitename']);
$slogon = htmlspecialchars_decode($this->_tpl_vars['xoops_slogan']);
$pagetitle = htmlspecialchars_decode($this->_tpl_vars['xoops_pagetitle']);
$keywords = htmlspecialchars_decode($this->_tpl_vars['xoops_meta_keywords']);
$description = htmlspecialchars_decode($this->_tpl_vars['xoops_meta_description']);
// Makes Unique Keyword Sentence with NO KEYPHRASES - A KEY PHRASE IS AN INCORRECT USE OF THE META TAG 'KEYWORDS' that is singlar words a KEYWORD not a sentence or phrase
$nophrase = str_replace($search, ',', $path.str_replace($search, ',', $sitename).','.str_replace($search, ',', $slogon).','.str_replace($search, ',', $pagetitle).','.str_replace($search, ',', $keywords).','.str_replace($search, ',', $description));
$keywords = array_unique(explode(',', $nophrase));
foreach($keywords as $id => $word) {
if (strlen($word)<$minimumwordlen||is_numeric($word)) {
unset($keywords[$id]);
}
}
echo implode(', ', $keywords);<{/php}>" />


Download Complexity Theme

* xoops2.5_theme_complexity_v1.2.8.7z ~ 2.8Mb
* xoops2.5_theme_complexity_v1.2.8.rar ~ 2.8Mb
* xoops2.5_theme_complexity_v1.2.8.tar.gz ~ 2.8Mb
* xoops2.5_theme_complexity_v1.2.8.zip ~ 2.8Mb

Reporting Complexity Theme Bug

If you do find a bug in the theme and need it fixed please used our tickets support on sourceforge at the following URL:~ http://sourceforge.net/p/chronolabs/tickets/milestone/XOOPS%20Themes/

2
wishcraft
Re: Xoops 2.5: Complexity Theme v1.2.8

Only alteration i could see being done to it is this line in the keyword stuff to replace the search and remove function with a writable text file which would be

Quote:

$search = array(' with ', ' and ', ' the ', ' there ', ' their ', ' they\'re ', ' are ', ' to ', ' when ', ' on ', ' by ', ' you ',' ','.','','"',';',':','}','{','[',']','|','\\','/','=','+','-','_',')','(','*','&','^','%','$','#','@','!','~','`');


to something like

Quote:

$search = explode("\n", str_replace(array("\R\n", "\n\r", "\n\n", "\n\n\n"), "\n", file_get_contents(__DIR__ . "/search-replace.txt")));


You would have to create /themes/complexity/xotpl/search-replace.txt that contains for example the following data seperated by a line~feed.

Quote:

with
and
the
there
their
they\'re
are
to
when
on
by
you

.
,
"
'
;
:
<
>
}
{
[
]
|
\
/
=
+
-
_
)
(
*
&
^
%
$
#
@
!
~
`

Login

Who's Online

322 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 322


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits