On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Creating letest posts from SPF in sidebar

UserPost

2:21 pm
28 May 2008


RAMI7250

Member

posts 10

1

hay, i want to make for my users list of the new posts (lets say 5 posts) from my SPF  in the sidebar .

how can i do that?


thanks on the help,

rami

2:30 pm
28 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

Go to the online help (from admin) and read up on the template tags available.

2:41 pm
28 May 2008


RAMI7250

Member

posts 10

3

i was addin' this line:

<?php sf_latest_posts(5); ?>

into my sidbar (under Forum Letest Posts:) and nothing show's up.


see for yourself:

http://handspot.com/

my forum address is:

http://handspot.com/forum/

any idea's?

3:08 pm
28 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

I just tried that tag and it is nastily slow. I wouldn't use it if I were you until I have taken a look at the code.

Why not try:

<?php sf_recent_posts_alt_tag(5); ?>

instead? That seems to be more efficient.

3:34 pm
28 May 2008


RAMI7250

Member

posts 10

5

it the same:

http://handspot.com

maybe its becouse i am using widgets?

edit:

still not working. maybe its becouse the permissions?

3:43 pm
28 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

Then why not use the forum widget?

3:50 pm
28 May 2008


RAMI7250

Member

posts 10

7

haha i was notice it just now.Laughing

excellent! working like a charm!


3:53 pm
28 May 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

8

Good to know

8:00 pm
29 Aug 2008


BLoom1s

Guest

9

I have the same problem, with widget work fine, but I need insert the code, because I try tu put recent coments in a tab of a Widget. But if I put the <?php sf_latest_posts(1); ?> code in a text widget, don't work, and obiosly in the tab make the same, nothing :( Some help?

8:05 pm
29 Aug 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

10

Afraid I don't really understand. You are using widgets yet you can not use the forum widget? Why not?

10:02 pm
29 Aug 2008


BLoom1s

Guest

11

When I use the widget, all work fine. but I like to put the last comments in a tab of a widget. Its complex to explain, but if you go to http://www.d3porte.com you can understand better. In the up right, there are a widget with 3 tabs, I like to put last coments in one of them, and the only way its put the tag code, but dont work. And even if put that code in a a simple text widget, dont work anyway :S Sorry for my english

12:13 am
30 Aug 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

12

Sorry that I ONLY speak English!

I understand now. have you tried ot with the tag sf_recent_posts_tag()? I think this might be better and it is the one used by the widget…

4:09 am
30 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

13

or try the sf_recent_posts_alt_tag()…. I like it even better… Tongue out

5:48 am
30 Aug 2008


BLoom1s

Guest

14

I try the both codes in a text widget, and dont work, but with the forum widget work perfect. What can happend?

10:50 am
30 Aug 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

15

I am  sorry to say I am not going to be much help. This is mainly because I don't use widgets and have not looked into their behaviour.

Is a text widget allowed to take a php tag? I know you can put text or HTML in one but I am unsure on whether it can execute php as well?

Can anyone else shed some light on this issue please?

12:49 pm
30 Aug 2008


BLoom1s

Guest

16

I solve the problem, you are on the right. I write bad the code in the PHP area of the tab, and the text widget allow HTML but no PHP. Both problems combined loose me. But, now work perfect. Thanks for all, and congratulation for your work

12:58 pm
30 Aug 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

17

That is good news. And I will remember this if it comes up again.

Thanks for letting me know.



Reply to Topic: Creating letest posts from SPF in sidebar

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 8 + 9        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

12 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)