Problems with Popular Content add on

Status
Not open for further replies.

The Pet Board

OMG Member
Joined
Aug 23, 2011
Messages
86
I do not want the popular content tab in the highest one I want it in the secondary bar where items like recent activity and whats new are. This fits better with the site look and functionality. Is there a quick fix for this? On the forums tab it shows up but disappears on all the other tabs. Thanks ahead of time for your help Floris.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,183
admin.php > options > xenfans - popular - settings :

Screen shot 2011-10-21 at 4.14.16 PM.png

It won't show under [home] because it only support [Forums]
I've added it to my todo list to include it in the home tab as well.

Screen shot 2011-10-21 at 4.14.05 PM.png

Turn it off, and it should no longer show.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,183
We are working on an update for popular add-on, I am pretty confident to have it included under the home tab.
Any other specific tab you'd like to see it listed under?
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,183
I do not see a hook in the home tab, so I do not know if I can hook into this. Will try to talk to Kier/Mike later this week to see what we can do for the next beta, maybe they can include a home tab hook like they've done on the forums tabs. Or at least explain where to go if I am looking in the wrong place for this.
 

Veer

OMG Member
Joined
Mar 18, 2011
Messages
160
Floris, I'm using "Navigation Manager" add-on from XenForo.com add-ons forum, there's some problem with Popular Content add-on, if i choose option "show link under forums tab" it never shows. If i disable "Navigation Manager" add-on then it work.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,183
It's using the default hook from XenForo to add - perhaps this nav manager addon doesn't have the latest xenforo navigation template code yet, missing the hook.

Make sure the navigation template has : <xen:hook name="navigation_tabs_forums"> (some list code) </xen:hook>
 

Veer

OMG Member
Joined
Mar 18, 2011
Messages
160
I checked my navigation template, it has the hook.

Code:
<xen:hook name="navigation_tabs_forums">
                        <xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'forums/-/mark-read', $forum, 'date={$serverTime}'}" class="OverlayTrigger">{xen:phrase mark_forums_read}</a></li></xen:if>
                        <xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=post'}">{xen:phrase search_forums}</a></li></xen:if>
                        <xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'watched/threads'}">{xen:phrase watched_threads}</a></li></xen:if>
                        <li><a href="{xen:link 'find-new/threads'}">{xen:phrase whats_new}</a></li>
                    </xen:hook>

But I think you are right "Navigation Manager" add-on is not updated from long time and have a few other problems too. So may be I will switch to your Extra Tabs add-on on this weekend.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,183
I currently don't have the time to review that add-on to see where it's missing that hook. Otherwise I would help further. The extra-tabs plugin doesn't conflict with the popular add-on, I am running both live here on xenfans without problems.
 

Veer

OMG Member
Joined
Mar 18, 2011
Messages
160
I currently don't have the time to review that add-on to see where it's missing that hook. Otherwise I would help further. The extra-tabs plugin doesn't conflict with the popular add-on, I am running both live here on xenfans without problems.
I really appreciate your guidance and support Floris :)
I wish you could add another feature in Extra tabs add-on to support links under tabs, like under forums tab, under members tab or under your own created tabs, that would be very useful.
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,183
Enable the dropdown - and edit the dropdown templates.

Please note that the tab won't be selected unless it loads a page that keeps the tab selected.
 
Status
Not open for further replies.
Top