Quote:
Originally Posted by crkgb
IFor the below forum setting I get tag cloud module in two places at the same time - below the navbar and above the stats block. Might be conflicting with random pictures mod...??
|
Fixed with this...
Find in xml for product
Code:
case 3: $vbulletin->templatecache['FORUMHOME'] = str_replace('<!-- what\'s going on box -->', '<!-- end what\'s going on box -->'.$vbulletin->templatecache['tag_cloud_forum_home'], $vbulletin->templatecache['FORUMHOME']); break;
case 4: $vbulletin->templatecache['FORUMHOME'] = str_replace('<!-- end what\'s going on box -->', '<!-- end what\'s going on box -->'.$vbulletin->templatecache['tag_cloud_forum_home'], $vbulletin->templatecache['FORUMHOME']); break;
Replace with this...
Code:
case 3: $vbulletin->templatecache['FORUMHOME'] = str_replace('<!-- tag cloud below forums -->', '<!-- tag cloud below forums -->'.$vbulletin->templatecache['tag_cloud_forum_home'], $vbulletin->templatecache['FORUMHOME']); break;
case 4: $vbulletin->templatecache['FORUMHOME'] = str_replace('<!-- tag cloud below going on box -->', '<!-- tag cloud below going on box -->'.$vbulletin->templatecache['tag_cloud_forum_home'], $vbulletin->templatecache['FORUMHOME']); break;
Upload product xml and overwrite
Now edit FORUMHOME template and find this....
Code:
<!-- /main -->
<br />
and replace with this....
Code:
<br />
<!-- /main -->
<!-- tag cloud below forums -->
and also find in same template....
Code:
<!-- end what's going on box -->
and add below that this...
Code:
<!-- tag cloud below going on box -->
I could have taken it further and done the same for the first two settings, but I will leave that up to the owner of this code.