Jump to content

(NB34) Recent Topics/Posts


newbie LAC

Recommended Posts

  • 5 months later...

This is not working properly for me:

As you can see on my site here

It displays both topics and post in the same column/tab instead of seperating it. What seems to be wrong?

Also... can we get an option to remove certain aspects of the sidebar. Personally, I don't like the fact that it displays which forum the post/topic is from. An option to remove that would be great!

Link to comment
Share on other sites

Thanks for purchase

This is not working properly for me:
As you can see on my site here
It displays both topics and post in the same column/tab instead of seperating it. What seems to be wrong?

Yes, I can see.

Your skin already have a jquery

Remove it from my hook: ACP - Look and Feel - Your skin - Board Index - nbTabRecentTopicsPosts
Find and delete

<script src="{$this->settings['public_dir']}js/nb_posts_tabs/js/jquery-1.9.1.js"></script>

Also... can we get an option to remove certain aspects of the sidebar. Personally, I don't like the fact that it displays which forum the post/topic is from. An option to remove that would be great!

You can delete unnecessary information within the specified template

Or I can add new settings for hook. But I need some time

Link to comment
Share on other sites

What would i have to add to the file to make it so that the active tab changes its text color to white? Just so users can easily tell which tab is active at the moment?

Add in the ipb_styles.css

.ui-tabs-active a {
	color: #ffffff;
}

Or add in the template

<style type='text/css'>
.ui-tabs-active a {
	color: #ffffff;
}
</style>
Link to comment
Share on other sites

  • 2 weeks later...

I am having the same issue where Replies and Topics are showing in the same place. I did what you said and the issue is still occurring, any ideas?

Hello,

1 http://nsagamers.com/public/js/nb_posts_tabs/js/jquery.cookie.js

Error 406 - Not Acceptable

An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

2. Why do you deleted a line?

<script src="{$this->settings['public_dir']}js/nb_posts_tabs/js/jquery-1.9.1.js"></script>

Also, how can I get the "Replies" and "Topics" to show as a different color? They are unreadable as they are now.

http://community.invisionpower.com/topic/387761-nb34-recent-topicsposts/#entry2448800

Link to comment
Share on other sites

Any idea how to fix it? Half the stuff I am finding says to disable mod_security through .htaccess, which I tried and it did not work, the other half say to contact the plugin developer to see if they have a fix.

Got that fixed. I had to contact my host to disable the rules that were causing the issue.

Also, for changing the tab colors. I added the

.ui-tabs-active a {
	color: #ffffff;
}

to the ipb_styles.css and I am not seeing any change.

But I am wondering, won't that only change the color of the active tab? I am looking to change the color of the inactive, on hover, and active.

And, is there any way that I can make unread posts/topics show up differently from read posts/topics in the list?

Link to comment
Share on other sites

Also, for changing the tab colors. I added the... to the ipb_styles.css and I am not seeing any change.

You have an error

/* Recent Topics
.ui-tabs-active a {
    color:#fff
}

/* Recent Topics

Use

/* Recent Topics */

or

// Recent Topics

But I am wondering, won't that only change the color of the active tab? I am looking to change the color of the inactive, on hover, and active.

/* For inactive */
.ui-state-default a {
	color: #000000;
}

/* For active */
.ui-tabs-active a {
	color: #ffffff;
}

/* For hover */
.ui-state-default a:hover {
	color: #00ff00;
}

And, is there any way that I can make unread posts/topics show up differently from read posts/topics in the list?

Only rewriting the code
Link to comment
Share on other sites

I just thought of something that might be easier, how could I add the new post "pips" in front of each. For example from my site, if a topic has a new post it is green, if you have read the post it is grey. Would it be possible to code those in to your mod where it would show up to the left of the users image, and if so how?

EX:

post-518427-0-36195500-1387038082.png

Code that adds the dot in front of the topics:

<if test="topicIsMoved:|:$imgArray['is_moved']">
	<span title="{$this->lang->words['pm_moved']}">{parse replacement="t_moved"}</span>
</if>
<if test="topicIsClosed:|:$imgArray['is_closed']">
	<span title="{$this->lang->words['pm_locked']}">{parse replacement="t_closed"}</span>
</if>
<if test="topicReadDot:|:$imgArray['show_dot'] && empty( $unreadUrl )">{parse replacement="t_read_dot"}</if>
<if test="gotolatestwrap:|: ! empty( $unreadUrl ) && ! $imgArray['is_moved']">
	<a href='{$unreadUrl}' title='{$this->lang->words['first_unread_post']}'>
	<if test="topicUnreadDot:|:$imgArray['show_dot']">
		{parse replacement="t_unread_dot"}
	<else />
		{parse replacement="t_unread"}
	</if>
	</a>
</if>

Thank you for your help!

Link to comment
Share on other sites

Apparently I can not edit my previous post for some reason...

Anyhow, I fixed the issue above (uninstalled hook and reinstalled). And with your change I have been able to make it where unread posts show up highlighted as well (I can understand and replicate code most of the time). Thank you for the change!

That being said, any way I can make the entire div that contains the user image, topic name, topic location, username, and post time show with the highlight? I was able to get everything BUT the user image to work (I tired about everything I could think of, including the <tr> property that the forums use to highlight forums with new posts, but nothing I tried would work).

post-518427-0-09660600-1387254814.png

Link to comment
Share on other sites

Would you mind updating the modification with the following options?

  • Whether to highlight selected bar
  • Toggle various aspects of the module itself like Forum Section, Time, Name
  • Option to bold/indicate which posts are unread

I know this can all manually be done by editing the template, but when i update my theme (today), custom changes I make are lost! Any Help?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...