Jump to content
Invision Community
Tom Christian

Category Tabs by IPS Themes

Recommended Posts

Hello, I just recently bought this beautiful hook. After some small consistent with a theme of personal Uniform IPBFocus. Ehren able to find the solution to the problem.

I wonder if it possible to replace text or add an icon or text + then simply replace the text with an image?

Another question, is it possible that the TAB displays a notification when a new message is posted in the forum of this category?

Share this post


Link to post
Share on other sites

Hello, I just recently bought this beautiful hook. After some small consistent with a theme of personal Uniform IPBFocus. Ehren able to find the solution to the problem.

I wonder if it possible to replace text or add an icon or text + then simply replace the text with an image?

Another question, is it possible that the TAB displays a notification when a new message is posted in the forum of this category?

I'm afraid not, no (to both questions). If you're familiar with editing IPB hooks, you could always tweak the javascript that powers this hook to achieve such a thing :)

Share this post


Link to post
Share on other sites

for IPB 3.4.6 is not working at all.

On google chrome you can't click on categories that are showing in menu. only in internet explorer. and all categories are still there. not in the menu.

This hook has been tested with 3.4.6 and it works fine.

Are you using a custom IPB theme?

Share this post


Link to post
Share on other sites

http://addicted2.ro/forums/ but the skin you will see is not the one. I have in mind on changing it with Viril (on witch i've tested your hook) from Skinbox.net

I can't diagnose the issue if I can't see the actual theme. However, it does sound like it's a theme issue so I suggest contacting your theme author and request that they restore the default hook points.

Share this post


Link to post
Share on other sites

Important Notice Regarding Support & Bug Reporting.

As some of you may have noticed I recently started offering addons to my already existing product range. The learning experience has been great for me but as a result I have less and less free time. As a result of this, I will be enforcing the following rules when it comes to support and bug reporting.

1. I do not offer any custom work services or bespoke theme/addon changes to any customer. I will not provide support for anything other than what I determine as a bug with my own product.

2. All bugs, issues and potential enhancements to my products are now collated on GitHub. Here you can keep track of bugs with your purchase and add comments (do not ask how long until it will be fixed as this will be removed). If you're currently experiencing a bug with a product of mine that is not listed on the IPS Themes GitHub page, please quote this post and explain clearly with screenshots and URL's if necessary and I'll see that the issue is added to the tracker.

Thanks,

Tom.

Share this post


Link to post
Share on other sites

Wouldn't this be similiar to the all function currently in place on the demo.

No, it would also require some kind of interface on the backend to manage it. I have no time to add such functionality unfortunately.

How about different colours for each category? I requested this long ago:

attachicon.gifcolortabs.png

Same as above I'm afraid. You could easily do this with CSS in your tab theme file.

:nth-child(1) { background: red; }

:nth-child(2) { background: blue; }

:nth-child(3) { background: green; }

and so on...

Share this post


Link to post
Share on other sites

I like your hook a lot however I am wondering if there is a way to move the tabs to under another hook that takes up the same space. I sent you a pm with details.

Hi,

I don't offer support via PM :)

What you're trying to do is not possible out of the box I'm afraid. If you have experience with the IPB hook system, you could edit Category Tabs to hook onto a different hook point in your desired location. However, this of course is not something I support so you'll be doing it at your own risk I'm afraid.

Thanks,

Tom.

Share this post


Link to post
Share on other sites

I purchased it hoping to find a way to add the unread post indicator feature but I gave up, too much for me :sad: it's a nice hook though.

Hopefully someone can work it out.

Share this post


Link to post
Share on other sites

I purchased it hoping to find a way to add the unread post indicator feature but I gave up, too much for me :sad: it's a nice hook though.

Hopefully someone can work it out.

You could tweak the Javascript code to check whether the .unread class exists on a particular category before the tab for that category is created. If it exists, you'll then know whether to add an unread indicator or not. I've not looked into it yet myself but that is how I envisage it working with this hook :smile:

Share this post


Link to post
Share on other sites

I finished setting it up the way I wanted and Tom allowed me to share with you how I've done it. (Please note that I'm not a programmer, so the way I've done it is probably not the most efficient way)

Basically it gets the forums with the "unread" class on them, and from there it assigns another css class to the tabs with unread posts so you can define how you want it to show, and I also added an icon next to the tab name with unread posts.

----

So to start go to your skin templates and open tctc91_categoryTabs under skin_tomchristian.

Find:

cats.each(function () {
               var anch = $(this).find('h3 a').eq(1).clone();
               anch[0].rel = this.id;
               $('<li/>').append(anch).appendTo('#tabs');
            });

Replace with:

cats.each(function () {
            var anch = $(this).find('h3 a').eq(1).clone();
            anch[0].rel = this.id;

            var forums = $(this).find('tr').clone();
            if($(forums).hasClass('unread'))
            {
                $('<li class="unread_tabs" />').append(anch).appendTo('#tabs');
                $(anch).append('&nbsp; <img src="your icon link" />');
            }
            else
            {
                $('<li />').append(anch).appendTo('#tabs');
            }
});

<li class="unread_tabs" /> is the class for the tabs with unread posts, you should add this class and its attributes to ipb_styles.css if you want to tweak how it displays.

And the line below it is optional, it will place an icon next to the tab name.

This works for my skin, you may have to tweak (like I had) some css of the hook itself to make it work and display properly, depending on what tabs style you choose in the hook settings.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×