YES IT STILL WORKS:
INSTRUCTION:
MAKE A BACKUP COPY OF ANY FILES YOU ARE GOING TO CHANGE !
CHANGE IN qa-page.home.php in the qa-include folder lines 37 to 54 as follows:
// Common function to load the appropriate set of questions
function qa_home_load_ifcategory($pagesizeoption, $feedoption, $cachecountoption, $allsomekey, $allnonekey, $catsomekey, $catnonekey,
$questionselectspec1=null, $questionselectspec2=null, $questionselectspec3=null, $questionselectspec4=null, $pageselectspec=null)
{
global $categoryslug, $questions, $count, $categories, $categoryid,
$pagesize, $showcategoryonposts, $sometitle, $nonetitle, $qa_template, $qa_content, $suggest, $showfeed, $qa_request, $populartags;
@list($questions1, $questions2, $questions3, $questions4, $count, $categories, $categoryid, $custompage, $populartags)=qa_db_select_with_pending(
$questionselectspec1,
$questionselectspec2,
$questionselectspec3,
$questionselectspec4,
(isset($cachecountoption) && !isset($categoryslug)) ? qa_db_options_cache_selectspec($cachecountoption) : null,
qa_db_categories_selectspec(),
isset($categoryslug) ? qa_db_slug_to_category_id_selectspec($categoryslug) : null,
$pageselectspec,
qa_db_popular_tags_selectspec(0)
);
CHANGE IN THE SAME FILE AFTER LINE 243 AS FOLLOWS:
// Prepare content for theme
$qa_content=qa_content_prepare(true, $categoryid);
// ADDED POPULARTAGS BEGIN
$qa_content['populartags']=@$populartags;
// ADDED POPULARTAGS END
CLOSE AND SAVE THE FILE
GO TO YOUR ADVANCED THEME AND OPEN qa-theme.php
SEARCH THE FUNCTION function sidepanel() AND ADD $this->poptags(); AS FOLLOWS:
function sidepanel()
{
$this->output('<DIV CLASS="qa-sidepanel">');
$this->sidebar();
$this->nav('cat');
//ADDED POPULARTAGS CALL BEGIN
$this->poptags();
//ADDED POPULARTAGS CALL END
SEARCH THE FUNCTION function sidebar AND ADD AFTER THAT FUNCTION AS FOLLOWS:
function sidebar()
{
.....
.....
.....
}
// ADDED FUNCTION FOR POPULAR TAGS BEGIN
function poptags()
{
if (isset($this->content['populartags'])) {
$newarray=( array_slice( $this->content['populartags'], 0, 10 ) );
$this->output('<DIV CLASS="qa-sidebar-box">');
$this->content['populartags'];
$this->output('<h2 CLASS="qa-sidebar-h2">');
echo "Top 10 Tags";
$this->output('</h2>', '');
$this->output('<ul CLASS="qa-sidebar-poptags-ul">');
foreach($newarray AS $name => $value)
{
echo "<li class=\"qa-sidebar-poptags-li\">";
$this->output(''.qa_tag_html($name).'');
echo $value." x";
echo "</li>";
}
echo "<li class=\"qa-sidebar-poptags-li\"><a class=\"qa-sidebar-poptags-link-all\" href=\"/tags/\">All Tags</a></li>";
$this->output('</ul>', '');
$this->output('</DIV>', '');
}
}
// ADDED FUNCTION FOR POPULAR TAGS END
SAVE AND CLOSE THIS FILE
NOW OPEN YOUR qa-styles.css FILE AND ADD THE FOLLOWING CLASSES:
.qa-sidebar-box{}
.qa-sidebar-h2{}
.qa-sidebar-poptags-ul{}
.qa-sidebar-poptags-li{}
.qa-sidebar-poptags-link-all{}
THERE YOU CAN SET SIZE COLOR AND SIMILAR AS YOU WANT.
Above in one comment are some examples for classes as well.
If You run in any trouble please post again.
You can change the order of the boxes in the sidebar by moving up or down the CALL for
$this->poptags();
You can change the texts
All Tags
Top 10 Tags
in the function how ever You want.
You can change the classnames as You like
You can stay without headline by deleting:
$this->output('<h2 CLASS="qa-sidebar-h2">');
echo "Top 10 Tags";
$this->output('</h2>', '');
You can change the quantity of tags shown by changing the number 10 at the end of:
$newarray=( array_slice( $this->content['populartags'], 0, 10 ) );
You can avoid showing the count of each tag by deleting:
echo $value." x";
Good Luck