CTA Featured Threads & Portal

CTA Featured Threads & Portal [Paid] 2.17.0

No permission to buy (£40.00)
Another excellent enhancement to the Featured Threads add-on. Well done, Brogan. (y)

I'm going to use the Dismiss Featured Threads option as an 'extra' for my premium members. If you would like to do the same, here's how to do it (thanks to Brogan for pointing me in the right direction):

In the template cta_featuredthreads_list_item, find

Code:
<xen:if is="{$visitor.user_id}">

Replace with

Code:
<xen:if is="{xen:helper ismemberof, $visitor, x}">
Where x is the number for of the user group you want to be able to use the dismiss feature.
If you want to make it available for several user groups or in other ways, see this resource on conditional statements:
http://xenforo.com/community/resources/conditional-statements.1604/


Another change I'm making is to have the "Allow Dismissal" checkbox in the overlay ticked by default. This will save me ticking it every time and I can simply untick it for any threads I don't want users to dismiss. Again thanks to Brogan for showing me how to do this.

In the template cta_featuredthreads_feature, find

Code:
<label><input type="checkbox" name="dismissible" value="1" /> {xen:phrase cta_ft_allow_dismissal}</label>

Replace with

Code:
<label><input type="checkbox" name="dismissible" value="1" checked="checked" /> {xen:phrase cta_ft_allow_dismissal}</label>
 
Hey Brogan,

Do you mean in the Color Palette? I dont find a Setting to change the Backround Color in Style Properties, or i am blind. :(
Style Properties: CTA Featured Threads Blocks -> Container: Background Color
Style Properties: CTA Featured Threads Page -> Container: Background Color
 
I was thinking of trying to possibly use the portal feature, is there any thing i need to do other then just turn it on? Also, my worry is that it doesn't appear to be a forum when landing on the portal page, is there any way to have a clear direction to the forum besides the top menu bar?
 
As it explains in the resource:
An additional option allows you to enable a [Home] tab and set the Index Page Route in the ACP to threads/featured (without a trailing slash), creating a portal or home page.

You can edit the template if you want some sort of additional link to the forum index.
 
I was thinking of trying to possibly use the portal feature, is there any thing i need to do other then just turn it on? Also, my worry is that it doesn't appear to be a forum when landing on the portal page, is there any way to have a clear direction to the forum besides the top menu bar?
@tommydamic68 I believe you are using Widget Framework? If so, you can add this to the Featured Threads page (and portal) - see the link to my post in the FAQs for this add-on for adding it to the sidebar.

In addition, you can use the custom templates to add content at the top and bottom of the FT page. So you could include the "new threads" widget or any of the others from WF. See my post here:

http://xenforo.com/community/threads/cta-featured-threads-portal-paid.64261/page-80#post-775238

@Brogan - might be worth linking to this in the FAQs?


Finally you could add the XMG media block to the Featured Threads portal page - see my guide on how to do this on the XMG website. It's easy to find there as it's a Featured Thread. :D
 
@tommydamic68 I believe you are using Widget Framework? If so, you can add this to the Featured Threads page (and portal) - see the link to my post in the FAQs for this add-on for adding it to the sidebar.

In addition, you can use the custom templates to add content at the top and bottom of the FT page. So you could include the "new threads" widget or any of the others from WF. See my post here:

http://xenforo.com/community/threads/cta-featured-threads-portal-paid.64261/page-80#post-775238

@Brogan - might be worth linking to this in the FAQs?


Finally you could add the XMG media block to the Featured Threads portal page - see my guide on how to do this on the XMG website. It's easy to find there as it's a Featured Thread. :D
Will look into it - thanks @Martok
 
Cool features Brogan. I am curious if these options also effect the portal page in someway? I assume so, what I mean is, does the dialog box appear on the thread in the portal page as well?

A dream addition/update for me would be the possibility of changing the positioning of the featured threads on the portal page. While I do realize you can start from scratch featuring your oldest threads to your newest, creating a "blog archive", it is a little inconvenient to go about going so. Another example, let's say you wiped all of your featured threads from the portal to get the correct positioning (the oldest last and the newest content first), your portal would be empty/a mess while doing so right?

Just a minor gripe, I am sure you have given this functionality some thought, and I am already incredibly pleased/content with the support you have given this add-on with the constant updates and attention/feedback you have provided its users.

I know you could work around this in a way by featuring your oldest to your newest, while still having something on the front page, so I forgot about that. Again, I love the add-on currently, but I would like this feature added if it is possible to implement such a thing. More of something for a wish-list, and not necessarily critical in anyway.
 
Cool features Brogan. I am curious if these options also effect the portal page in someway? I assume so, what I mean is, does the dialog box appear on the thread in the portal page as well?
The update and feature links do, yes.
The dismiss link doesn't as that would potentially be confusing as threads can't be dismissed from that page.

A dream addition/update for me would be the possibility of changing the positioning of the featured threads on the portal page. While I do realize you can start from scratch featuring your oldest threads to your newest, creating a "blog archive", it is a little inconvenient to go about going so. Another example, let's say you wiped all of your featured threads from the portal to get the correct positioning (the oldest last and the newest content first), your portal would be empty/a mess while doing so right?
Being able to update a featured thread and effectively change the 'featured' date to push it back to the top has been suggested and is on the list for consideration.

Just a minor gripe, I am sure you have given this functionality some thought, and I am already incredibly pleased/content with the support you have given this add-on with the constant updates and attention/feedback you have provided its users.
Thanks for the comments :)
 
Got a bunch of these happening,

Code:
Error Info
ErrorException: Undefined index: homeTab - library/CTA/FeaturedThreads/Listener.php:11
Generated By: Unknown Account, A moment ago
Stack Trace
#0 /var/www/vhosts/theforum.com/httpdocs/library/CTA/FeaturedThreads/Listener.php(11): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 11, Array)
#1 [internal function]: CTA_FeaturedThreads_Listener::navigationTabs(Array, 'forums')
#2 /var/www/vhosts/theforum.com/httpdocs/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#3 /var/www/vhosts/theforum.com/httpdocs/library/XenForo/Dependencies/Public.php(493): XenForo_CodeEvent::fire('navigation_tabs', Array)
#4 /var/www/vhosts/theforum.com/httpdocs/library/XenForo/Dependencies/Public.php(373): XenForo_Dependencies_Public->_getNavigationContainerParams('forums')
#5 /var/www/vhosts/theforum.com/httpdocs/library/XenForo/FrontController.php(616): XenForo_Dependencies_Public->getEffectiveContainerParams(Array, Object(Zend_Controller_Request_Http))
#6 /var/www/vhosts/theforum.com/httpdocs/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#7 /var/www/vhosts/theforum.com/httpdocs/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
  ["url"] => string(73) "http://theforum.com/threads/girlfriend.4696/page-2"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Did you follow all of the steps in the release notes for each release?

http://xenforo.com/community/resources/cta-featured-threads-portal.2599/update?update=9760

Due to the page options changing to introduce the Home tab, the cache needs to be updated.
Until it is, errors may be generated and pages could fail to load.
Ideally disable the add-on while upgrading.
Once the upgrade is complete, go to Options -> CTA Featured Threads and just click the [Save Changes] button.
Any errors related to "Undefined index: homeTab" can be ignored and deleted from the log.
 
Top Bottom