Support Forum

Recent forum posts error

JL Justin Lewis
Justin Lewis
Member

I’m getting the following error whenever I try to display “avatars” for the recent forum posts plugin. (TAUD)

Fatal error: Call to undefined function sp_get_user() in/problem-with-post-edit-buttonome/justinl/public_html/nicheoptimizer.com/wp-content/sp-resources/forum-plugins/template-tags/library/sp-RecentPosts-tag.php on line 193

12 Answers

New Answer

JL Justin Lewis
Justin Lewis
Member

Also the plugin is listing topics from other ID’s even though I labeled it as “3”

YS Yellow Swordfish
Yellow Swordfish
Member

What version of Simple:Press is this please?

YS Yellow Swordfish
Yellow Swordfish
Member

I feel pretty sure that the first problem comes down to that version. There were a couple of dependent changes made in 5.1.3 so you really need to upgrade the core Simple:Press plugin.

perhaps after that we can look into to the other. If after that upgrade it is still an issue perhaps you could paste the code here that you are using…

JL Justin Lewis
Justin Lewis
Member

Since I added my own custom CSS, by upgrading is that going to cause problems?

JL Justin Lewis
Justin Lewis
Member

That fixed my original issue.

 

HOWEVER, there is an issue that kind of defeats the purpose of using the tool.

 

When I select “Forum IDs” it lists topics from other forums that I didn’t list.

MP Mr Papa
Mr Papa
Member

did you add the custom css as we have recommended thousands of times… and have detailed in the Codex:

http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/

If so, then yes… upgrading will be no issue… but if you didnt do that and changed one of our themes, you will lose changes if you upgrade the theme…

BUT… Andy was asking you upgrade core… so your theme would be unaffected…

MP Mr Papa
Mr Papa
Member

are you using the widget or the template tag… or shortcode?

if widget, please post a screenshot of your widget settings… if template tag or shortcode, plesase post the code you used…

YS Yellow Swordfish
Yellow Swordfish
Member

Justin Lewis said
That fixed my original issue.

 

HOWEVER, there is an issue that kind of defeats the purpose of using the tool.

 

When I select “Forum IDs” it lists topics from other forums that I didn’t list.

i did ask you to paste the code you are using…

 

 

JL Justin Lewis
Justin Lewis
Member

@Swordfish, I’m not using any code really. I’m only using the direction widget itself.

My settings are as follows: 3, 5, AUT, forum, 35

The issue is that even though I’ve labeled 3 (the forum ID) it shows a post from forum ID 12 as well.

 

@Papa, I upgraded everything and I didn’t have any issues with the original problem (showing avatar) and I’m using the Widget.

spwidget.png
JL Justin Lewis
Justin Lewis
Member

EXCUSE everything.

 

I spent a majority of the day researching how to show recent comments (I’m using the blog posting plugin) and nothing was working. Finally, I tried the recent forum posts plugin and it worked perfect.

 

I was confused due to the fact that since I was looking for “recent comments” it was pulling up “recent posts”, which one was labeled similar to one of my other lessons.

 

Thanks a lot both of you, everything is perfect :)

 

Note: When trying to list recent comments though, if the comment was posted in the forum and then autoposted to the post, hardly any of the plugins I tried picked up those comments. But I’m fine with these settings.