Merhaba, genellikle web teknolojileri, web programlama dilleri, linux ile ilgili yazıların yazıldığı bir sitede bulunmaktasınız. Eğer bu konular ilginizi çekiyorsa yazılarıma abone olmanızı öneririm. Yazar hakkında ayrıntılı bilgi için tıklayın.

WP Favorite Posts Released! [en]

This post is deprecated. Please go to new project page of plugin.

———-

Hello, this is my first english post in my blog for announce my first wordpress plugin. I’ll continue to post in english about my plugin. You can follow only my english posts via that RSS feed. Thanks for following !

I made a plugin named as WP Favorite Posts. This plugin allows visitors to mark a post as favorite. There is no register requirement because this plugin saves data to cookies. Visitor can see his/her favorite posts list from “Favorites” page which you created.

Installation is very easy;

  1. Download the WP Favorite Posts plugin.
  2. Unzip into your /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Place <?php if (function_exists('wpfp_link')) { wpfp_link(); } ?> in your single.php template file. Then favorite this post link will appear in all posts.
  5. Create a page e.g. “Your Favorites” and insert {{wp-favorite-posts}} text into content section. This page will contain users favorite posts.
  6. That’s it :)

Actually the plugin came to version 1.1.4 because i didn’t make enough test before submiting the plugin to Wordpress plugin directory. After my plugin accepted to directory i did more test and added more features so first announced version is 1.1.4. Anyway, who cares about version number ?

You can report bugs or make feature requests by using comments of this post. Also you can see the source code. Thanks for using my plugin!

New Versions:

Creative Commons License

37 Yorum

[...] I’m writing this post for announce new version of WP Favorite Post plugin. If you want to read details (installation etc.), you can go my first post about this plugin. [...]

Is it possible to store the data in database for registered users instead of using cookies?

Hüseyin Berberoğlu Mart 12th, 2009, 09:33

@levani; It is possible but i am waiting for a lot requests about this. I don’t want to make it If only 2 or 3 site will use it. ıf there is a lot request, i’ll make so wait for it.

hi and thank you for this great plugin. doesn’t it suck when a user delete hin cookies and all the favorite posts are gone? so i think it would be helpful to store the date in the database too :)

keep up the great work and all the best,
thomas

I also am in favor of storing it in a database.

Thanks for the plugin!

find this pluging very interesting, just like others, I would prefer to have to store in the database instead of the cookie.

This is a great plugin !
I would also support DB integration ..

Hi, I have the latest Wordpress MU and PHP. I installed the plugin but can’t find it in the menus anywhere, can only access edit through the plugin list. I tried all manners that I could find in your notes of call functions and other ways of rendering the functions but nothing appears after activating the plugin. Any help would be most appreciated.

Thank you

Yup, ditto on the DB integration. :) Also, I’d like to see a widget for this plugin, too! Seems overkill to have to create an entire page just to show a user their favorites. A nice little list in the sidebar would be so much more useful.

Great work!

Hüseyin Berberoğlu Nisan 20th, 2009, 12:19

@Elena Coen, I didn’t tried with WP MU. If you install plugin to Wordpress you will see the “Favorite Posts” link under “Plugins” main menu.

Hüseyin Berberoğlu Nisan 26th, 2009, 21:07

DB integration added with version 1.2; http://www.birazkisisel.com/wp-favorite-posts-12-released-en/

Hello,

Some new function will be great, like suggest a category, browse a X photo number.

Hüseyin you think i will see this function in a new plugin upgrade?

Thank you

Hüseyin Berberoğlu Nisan 27th, 2009, 09:29

@Sorin, I didn’t understand what you suggest exactly. This plugin is a “mark as favorite post” plugin. What is the relation between your suggestions and this plugin?

Please write more instruction about your suggestions.

yes sorry in this moment i see, i cooming for wp article directory :( and not for favorite posts

Hüseyin Berberoğlu Nisan 27th, 2009, 09:58

@Sorin; hehe not problem :)

I want to call the user favorite list inside user profile page instead of a seperate page. How can I do this?

I am a little confused on how to make the page that displays favorites. you give example code for how the favorites page should look.

Hüseyin Berberoğlu Nisan 28th, 2009, 19:38

@Blogadera you can not do this :/ I don’t think this is possible with a wordpress plugin. Anyway i will search for this.

Hüseyin Berberoğlu Nisan 28th, 2009, 19:58

@Epiphanize; Create a page e.g. “Your Favorites” and insert {{wp-favorite-posts}} text into content section. This page will contain users favorite posts.

veri nice plugin tanks

Gracias este plugin es de mucha utilidad

Hello – I’m really liking your plugin. Just wondering if you have some code for adding it to a template? I really want the list of favourites to show up in the sidebar. i’m happy to manually add it – or a widget would be great too. I would like my visitors to see their favourites on every page. i want to reducce the number of clicks they have to make.

Thanks!!!!!

doh! sorry – read the most up to date version notes, and i see that there’s now template code – THANK YOU VERY MUCH and sorry for being an idiot :)

double doh! I reread the notes and no, there’s no template code for outputting the favourite links (like in a sidebar), so my first request still stands. as does my apology for being an idiot.

i am the the biggest idiot. just ignore everything i’ve said – feel free to delete my comments. i see the widget

Hüseyin Berberoğlu Mayıs 18th, 2009, 13:39

@Michelle :) You’re not an idiot.

My mistake. I must update this page when a new feature added. Anyway I will not update :P Because I created a new blog http://nxsn.com for only english posts/announcements and plugin page will be there anymore.

And i’ll add a template code for listing “most favorited posts”. Everyone not use widgets.

Thanks for comments&using.

Great plugin. Thanks a lot.
And have a question, how can I add manually “Most Favorite Post” widget to my sidebar.

Hi. Thanks for DB integration. Could you please tell me which database table is used to store data?

Thanks

Hüseyin Berberoğlu Mayıs 25th, 2009, 09:52

@Levani; for an user’s favorites; wp_usermeta
for a post’s favoite count; wp_postmeta
with a meta_key : wpfp_favorites

Hi thank you for the plugin!

How can we limit the number of favorites post ?

Hüseyin Berberoğlu Mayıs 27th, 2009, 12:25

@madeinbaiona; Hi, if you talking about “widget”, you can use widget settings for limiting.
- There is no template tag for now. So you must talk about widget :) -

I do not speak of the widget or template tags, I would like to know if it was possible to limit the “wp-favorite-posts.php” number of favorite posts.

Thanks you, again, for your great plugin !

Hüseyin Berberoğlu Mayıs 27th, 2009, 13:59

Sorry, I didn’t understand again :/
Do you want to restrict like “a user can favorite 10 post only” ?

Yes thanks that s it ! i m french and my english……

Hüseyin Berberoğlu Mayıs 27th, 2009, 15:03

:) Please explain with an example.

I want to limit the number of post favorite at 20 per user

Hüseyin Berberoğlu Mayıs 27th, 2009, 15:41

okay now i understood :)

There is not a feature like that now. I don’t think everyone needs that so i won’t add that feature.

Hüseyin Berberoğlu Haziran 3rd, 2009, 17:11

Hi folks.

Please write your comments to my new English blog;

http://nxsn.com/my-projects/wp-favorite-posts-plugin/

Yorum Yazın

Kısa da olsa bir yorum yazmanız yazar için çok önemli.
Yorumunuz