Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

latest activity in sidebox help

soumikr

Active member
Joined
Nov 22, 2020
Messages
42
Credits
0
sir how to make latest activity like this? i am using now advance sidebox plugin.

4ac0c067d81e4413c1c35257df471713.png
 
Advertisement Placeholder
We are using these two plugins
Recent Threads
Top Stats

Add this in your index
Code:
<!-- RECENT THREADS AND TOP STATS -->


<div class="sidebarthead thead">Latest Activities</div>

<div class="activities_tabstlyt" style="background-color: #232323; text-align: center;">

? <a class="tablinkslatestactiv active" style="width: 33%; padding: 9px 0px;" onclick="openCity(event, 'Home')"><i class="fas fa fa-home"></i></a>
? <a class="tablinkslatestactiv" style="width: 33%; padding: 9px 0px;" onclick="openCity(event, 'Shop')"><i class="fa fas fa-shopping-cart"></i></a>
? <a class="tablinkslatestactiv" style="width: 33%; padding: 9px 0px;" onclick="openCity(event, 'Activity')"><i class="fas fa-rss"></i></a>
	
</div>





<div id="Home" class="tabcontentlatestctv" style=display:block>{$recentthreadtable}</div>
<div id="Shop" class="tabcontentlatestctv">{$topStats['LastThreads']} </div>
<div id="Activity" class="tabcontentlatestctv">{$topStats['LastActiveThreads']} </div>
	
<style>
.activities_tabstlyt a.active {color:#fff!important;background-color: #202020;}
	</style>

<script>
function openCity(evt, cityName) {
? var i, tabcontentlatestctv, tablinkslatestactiv;
? tabcontent = document.getElementsByClassName("tabcontentlatestctv");
? for (i = 0; i < tabcontent.length; i++) {
? ? tabcontent[i].style.display = "none";
? }
? tablinks = document.getElementsByClassName("tablinkslatestactiv");
? for (i = 0; i < tablinks.length; i++) {
? ? tablinks[i].className = tablinks[i].className.replace(" active", "");
? }
? document.getElementById(cityName).style.display = "block";
? evt.currentTarget.className += " active";
}
</script>
<!-- RECENT THREADS AND TOP STATS -->
 

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Who read this thread (Total readers: 0)
No registered users viewing this thread.

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 10 28.6%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 25 71.4%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds