Status
Not open for further replies.

BeoR

Customer
Hi,

As stated on the title, is there a way to just show the trending hash tags on the sidebar block?



Best Regards
 
You can change dbtech_usertag_block_hashes template to the following
Code:
<li>
	<div class="block smaller">
		<h4 class="blocksubhead userprof_headers userprof_headers_border">
			<a class="collapse" id="collapse_block_dbtech_vbanswers_form_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_dbtech_vbanswers_form_{vb:raw blockinfo.blockid}"/></a>
			<img src="{vb:stylevar imgdir_cms}/widget-blog.png" alt="" />
			<span class="blocktitle">{vb:raw blockinfo.title}</span>
		</h4>
		<div class="widget_content blockbody floatcontainer userprof_content userprof_content_border">
			<div id="block_dbtech_vbanswers_form_{vb:raw blockinfo.blockid}" class="blockrow">
				<div class="member_content">
					<dl class="tabslight" style="height:{vb:math {vb:stylevar tabslight_size.height} + 1}{vb:stylevar tabslight_size.units};">
						<dd style="margin-{vb:stylevar right}:5px;" class="selected"><a name="usertagtab" data-tabid="trending" href="{vb:raw relpath}#trending">{vb:rawphrase dbtech_usertag_trending}</a></dd>
					</dl>
				</div>
				<div name="usertagview" data-tabid="trending">
					<ul>
						<vb:each from="trendingHashes" key="hashid" value="hash">
						<li class="<vb:if condition="!$vboptions['avatarenabled']">no</vb:if>avatarcontent floatcontainer widget_post_bit">
							<div class="smallavatartext widget_post_comment_noavatar">
								<h5 class="widget_post_header"><a href="{vb:raw vboptions.bburl}/usertag.php?do=list&action=hash&hash={vb:raw hashid}">#{vb:raw hashid}</a></h5>
								<div class="meta">
									<vb:if condition="($config['dbtech_usertag_trendstats'] & 1)"><b>{vb:rawphrase dbtech_usertag_score}:</b> {vb:raw hash.score}<br /></vb:if>
									<vb:if condition="($config['dbtech_usertag_trendstats'] & 2)"><b>{vb:rawphrase dbtech_usertag_people}:</b> {vb:raw hash.users}<br /></vb:if>
									<vb:if condition="($config['dbtech_usertag_trendstats'] & 4)"><b>{vb:rawphrase dbtech_usertag_uses}:</b> {vb:raw hash.count}</vb:if>
								</div>
							</div>
						</li>
						</vb:each>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="underblock"></div>
</li>

That should sort it :)
 
Status
Not open for further replies.

Legacy Advanced User Tagging

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,505
Customer rating
0.00 star(s) 0 ratings
Back
Top