Support Forum
Now that I know the proper short codes to use I have been able to get Hot Topics to display in a text widget using the short code "sp_hot_topics". Also "sp_recent_posts" works fine, although it does exactly the same thing as the Recent Topics widget. However, when I try to use "sp_unanswered_posts", "sp_newest_topics", "sp_latest_posts" or "sp_todays_posts", the result does not display the forum names or topic titles. Only the author's name and date posted are displayed:
Is this a bug or should this be working?
Sure, my test page is:
http://crescentcitycyclists.org/sandbox/
I got the short codes I'm using directly out of the code file "sp-template-tags-plulgin.php":
function sp_UnansweredPostsShortcode($atts) {
include_once(SPTEMPTAGSDIR.'sp-UnansweredPosts-tag.php');
return sp_do_UnansweredPostsShortcode($atts);
}
add_shortcode('sp_unanswered_posts', 'sp_UnansweredPostsShortcode');function sp_NewestTopicsShortcode($atts) {
include_once(SPTEMPTAGSDIR.'sp-NewestTopics-tag.php');
return sp_do_NewestTopicsShortcode($atts);
}
add_shortcode('sp_newest_topics', 'sp_NewestTopicsShortcode');etc.
I have a new development related to this issue. I just noticed that since I deactivated Subscriptions to do the test you requested and turned it back on, now the Forum Subscriptions button in not appearing in the user Profile under the Subscriptions tab. How do I get this back?
what do you mean turned it off??? do users have permission to subscribe to forums/topics?
Visit Cruise Talk Central and Mr Papa's World
Dave Hughes said
I have a new development related to this issue. I just noticed that since I deactivated Subscriptions to do the test you requested and turned it back on, now the Forum Subscriptions button in not appearing in the user Profile under the Subscriptions tab. How do I get this back?
Sorry, I just realized I posted this to the wrong thread. I've got two support issues going at once.
no worries... will handle the other then...
Visit Cruise Talk Central and Mr Papa's World
sorry, which shortcodes do you want to use? if you tell me which template function you want to use, can tell you the shortcdoe, if it exists - not all our template functions have shortcoodes...
and you never answered my questions in post #15...
Visit Cruise Talk Central and Mr Papa's World
Steve,
I assumed your questions in post 15 were based on post 14, which I said in post 16 was a mistaken post related to another thread on a different problem I'm having. So your questions seemed irrelevant to the issue this thread is discussing.
Post 11 lists the short codes that are not working for me and shows an example of the output I get when using one of them in a widget. Andy asked for a link to a page where I'm using it so he could look at, which I provided in post 13, but I have not heard back from him yet. Also, Andy questioned where I had gotten the short codes I am using and I showed where I found them in post 13.
I have tried many of the short codes in sp-template-tags-plulgin.php, and a couple of them work fine "sp-hot-topics" and "sp-recent-posts", but the others listed in post 11 do not work – the forum and topic names are blank. That's the problem I'm trying to solve.
1 Guest(s)