Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [JavaScript] Sidebar Editing
#1
Not Solved
This user has been denied support. This user has been denied support.
How to edit sidebar which are already with the theme,,

I want to put Latest thread and Newest post section in the sidebar...

How to do that can anyone help me out pls...

Url to the site-- http://ezyopensource.com/


Thanks in advance....
#2
Not Solved
This user has been denied support. This user has been denied support.
The sidebars are often in your index template. ACP>Templates & Styles>Templates>YOUR THEME>Index.
#3
Not Solved
This user has been denied support. This user has been denied support.
Ya that i found but how to put newest posts and recent threads section on the sidebar...

Pls guide me...
#4
Not Solved
This user has been denied support. This user has been denied support.
Could you please post your index template here?
#5
Not Solved
This user has been denied support. This user has been denied support.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<div class="sidebar_container" id="sidebar_container">



<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<strong>Newest Posts</strong>
</td>
</tr>
</thead>
<tr>
<td class="trow1"><span class="smalltext">{$latestthreads}</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
</table>
<br />
<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<strong>Advertisements</strong>
</td>
</tr>
</thead>
<tr>
<td class="trow1">
</td>
</tr>
</table>
<br />
<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<strong>Latest News</strong>
</td>
</tr>
</thead>
<tr>
<td class="trow1"><span class="smalltext"><br /><b></b></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><br /><b></b></span></td>
</tr>
</table>


</div>
<div class="forum_container">
{$forums}
{$boardstats}
</div>
<br style="clear: both" />
{$footer}
<script type="text/javascript" src="images/audentio/goseries/sidebarfunctions.js"></script>
</body>
</html>
#6
Not Solved
This user has been denied support. This user has been denied support.
Find

<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<strong>Newest Posts</strong>
</td>
</tr>
</thead>
<tr>
<td class="trow1"><span class="smalltext">{$latestthreads}</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="#" />Your AD</a></span></td>
</tr>
</table>

Replace with


<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<strong>Newest Posts</strong>
</td>
</tr>
</thead>
<tr>
<td class="trow1"><span class="smalltext">{$latestthreads}</span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="{$mybb->settings['bburl']}/search.php?action=getdaily" />today's Posts</a></span></td>
</tr>
<tr>
<td class="trow1"><span class="smalltext"><a href="{$mybb->settings['bburl']}search.php?action=getnew" />New Posts</a></span></td>
</tr>
</table>
#7
Not Solved
This user has been denied support. This user has been denied support.
okk thanks i am doing it ook thanks
#8
Not Solved
This user has been denied support. This user has been denied support.
No problem. I assume the problem is solved but if there's any problem(s) then PM me just in case I don't come back to this thread.
#9
Not Solved
This user has been denied support. This user has been denied support.
I have changed the code but still nothing is happening new threads and post are not coming,.,

Pls check it

Thanks
#10
Not Solved
This user has been denied support. This user has been denied support.
I see it.

[Image: 1Ql7v]

Clear your history and cache.

BTW, in your index template.

Find

today's

Replace with

Today's


Forum Jump:


Users browsing this thread: 1 Guest(s)