View Full Version: View New Posts not working - alternatives

Big Boards > IF Administration & Moderation > View New Posts not working - alternatives



Title: View New Posts not working - alternatives


HelenaZF - September 6, 2006 06:04 PM (GMT)
VIEW NEW POSTS doesn't work on a lot of IF boards, and on those it does, it's often unreliable.

The only thing you can do is enable search wherever you can in the ACP.
ACP > System Settings > General Configuration > Features:
"Allow users (where allowed) to use search?"

Here for each member group:
ACP > Users & Groups > Manage User Groups > Edit user Group > Global Permissions
"Can use search?

Doing that will enable it to work the best it can. However, you can just replace it with Today's Active Topics, which I think is a better solution.

Today's Active Topics works on most boards and gives you the same info and even more. Here are three different ways to get the link at the top of your board. You can put this HTML code in a forum description or below <%BOARD HEADER%> or <%NAVIGATION%> in your wrappers :
CODE
<a href="http://sX.invisionfree.com/YOUR BOARD NAME HERE/index.php?act=Search&CODE=getactive" target="_self">Today's Active Topics</a>
Or if you already have a quick links bar, add it in there.


If you would rather add the "today's active topics" link after the "My Assistant" link, you can do it with this code:

QUOTE (Javascript)
<script type='text/javascript'>
<!--
// add link on the portal side of the submenu
// code by ticlo, http://ifsz.net/
function addSubmenuLink(url, text, blank) {
var e
e = document.getElementById('userlinks')
if (e && e.nodeName == 'TABLE') {
e.rows[0].cells[1].innerHTML += ' · <a href="' + url + '"' + (blank ? ' target="_blank"' : '') + '>' + text + '</a>'
}}
addSubmenuLink('http://www.somedomain.com', 'Visit somedomain.com')
// -->
</script>

Replace the bolded link with the link you want, and then replace the bolded text with the title for the link.


OR...you can just replace the "View New Topics" link in the userlinks bar with the "today's active topics" with this code:

ACP > Skinning & Styles > Board Wrappers > Footers:
CODE
<script type='text/javascript'>
/*
Change View New Post to Active Topics
Created by iFusion
*/

if(document.getElementById('userlinks') ){
var iA = document.getElementById('userlinks').getElementsByTagName('A');
for(i=0;i<iA.length;i++){
if(iA[i].href.match(/code=getnew/i) != null){
iA[i].href= iA[i].href.replace(/getnew/i,"getactive");
iA[i].innerHTML = "View New Posts"
} }}
</script>


you can change the "View New Posts" to whatever you want it to say

[NOTE: You are not removing the View New Posts link entirely. It is still accessible in the My Assistant box, and in the Portal.]




Hosted for free by InvisionFree