Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Any plugin that allows wordpress widget to display SP Forum most recent topics?
Avatar
FilmGames Etc
Member
Free Members
sp_UserOfflineSmall Offline
Feb 4, 2013 - 9:03 pm

As the title of this post suggests, I'm looking for a plugin that'll allow for a widget (in wordpress) to display Simple-Press Forum's most recent topics or most popular topics?  This is so I can have it displayed in the sidebar of my website so readers and guests can see what topics are currently trending at our website's forum.

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Feb 4, 2013 - 9:11 pm

Like you see at the center bottom here? If you download the Simple:Press template tags plugin (see download tab at top of page) once you install and activate it there is a Recent Posts widget included. You can put it in any of the available widget areas in you WordPress theme.

There is no widget for most popular but that can also be done using a text widget and the php code.

The codex has a list of template tags included in that SP plugin with instructions here: http://codex.simple-press.com/.....gs-plugin/

Avatar
FilmGames Etc
Member
Free Members
sp_UserOfflineSmall Offline
Feb 4, 2013 - 9:25 pm

Perfect! It's exactly what I was looking for.  I actually had it downloaded this entire time. Thanks!

But what about "Hottest Forum Topics" widget? I'm not good with codes at all.

 

Also, is it possible to wrap texts around the avatar photo? (see photo. The blue arrow points to a case where text is wrapped around the avatar.  The above is a case where it isn't so you can see the avatar sitting above the text as opposed to the left side of the text.)

Screen-Shot-2013-02-04-at-7.35.54-PM.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 5, 2013 - 2:03 am

'Hot Topics' is only available as a template tag or short code. It is really not that hard to add it. This article gives examples: http://codex.simple-press.com/.....gs-plugin/

To wrap text you will need to add styling to your WP stylesheet. SP can not do this for you... Try something like:

.spAvatar { float: left; }

and see if that does the trick.

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave Hughes
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2013 - 1:58 pm

I have installed the Template Tags Plugin and the Recent Forum Posts widget works fine. I have tried to implement some of the other tags, such as Hot Topics and Unanswered Posts, by putting the short code into a text widget as suggested, but this does not work — it just displays the short code on the web page. Am I missing something?

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 5, 2013 - 2:26 pm

Oh gosh - I never DID get the hang of short codes!
Hopefully Brandon will stop by at some point (and Steve will be back later or tomorrow) and I believe either of those can best advise. Unless anyone is reading this and knows how to use short codes in this way...?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dave Hughes
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2013 - 3:34 pm

I did some more testing and it seems that some of the template tags work as short codes and some do not. I created a test page with the following content:

Image Enlarger

The first three short codes worked, but the rest did not work. This is the output I got:

Image Enlarger
 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 5, 2013 - 3:56 pm

AH... looks like there are errors in the codex. The latest posts one, for example, should actually be 'sp_LatestPostsShortcode' not 'sp_LatestPostsTag'. Probably true of the ones not working for you as well.

I'll get this cleaned up.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2013 - 4:48 pm

Any that are the same we be sheer luck. we did not make any design decision to make the the same. Certainly would not want the term tag in a shortcode.

Easiest way to get the shortcode is look in codex or more directly in the code.

Do you have one specifically you are looking for?

Avatar
Dave Hughes
Member
Free Members
sp_UserOfflineSmall Offline
Feb 5, 2013 - 5:54 pm

Thanks Andy. I'm fairly new to the WordPress and Simple:Press world and still getting my bearings. I appreciate your responsiveness and helpful guidance. I looked at the code file sp-template-tags-plugin.php and found all the correct short codes. Actually there are two alternate short codes for each function, such as sp_LatestPostsShortcode and sp_latest_posts. Since the shorter ones are easier to remember and type I'll use them. The codex does need to be updated though, since most of the short codes listed there for the Template Tags Plugin are wrong.

 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625