Similar By Terms module - drupal

I have a blog where you can add tags. I wanted to see the related blogposts to this tag in a view so i created one with the module Similar By Terms.
However, i can't seem to link old blog posts to new posts. Only new posts to old posts.
what does this mean? when i add a new blog i get all past blog post with the same tag posts. But when i click on them i dont see my new blog in the similar tags list.
can anyone help me with this?

Are you running Drupal's cron? I imagine that is how they would generate the similar terms - at least it was when I used this module in Drupal 5.
Just go to yoursite.com/cron.php and then check the old posts.

Related

WordPress posts in phpBB topics

I like to know if there is a way to create topics on specific Forums when I save posts on WordPress side. Is there any tutorial available?
More specific. I like to allow my plugin users to combine a WordPress category to a phpBB forum, and when I create a new post in the WordPress, automaticly to create a topic in the phpBB side in the corresponding forum.
ie: Post that are posted on Tech News category, automaticly to be posted on Technology news forum on the phpBB side.
Any solution for that ?
BBPress is supposed to do exactly this.
http://bbpress.org/
If you want to develop your own Wordpress plugin, take a look at phpBB's submit_post function:
http://wiki.phpbb.com/Using_phpBB3%27s_Basic_Functions#1.4.7._Inserting_Posts_and_Private_Mess
http://wiki.phpbb.com/Function.submit_post
and Wordpress' publish_post function, located in wp-includes/post.php
http://codex.wordpress.org/Function_Reference/wp_publish_post
You don't need to switch to bbPress, you can use WP-United. It only allows you to select one forum to cross-post to at the moment, but it would be an easy change to cross-post based on category: I'm considering adding that for v0.9.2

Page Template Custom Options

I have a little question. I am making a wordpress template that uses custom page templates. Now i ran into a problem. I want to create a page with a intro text and blog posts that come from a certain category. When a user creates a new page, I want them to be able to select the category from witch the posts are shown. Kinda like a drop down box with category's from where they can select the category they want. Does anyone maby knows a tutorial where I could learn how to do this ?
I mean something like this: http://imageshack.us/photo/my-images/10/naamloosea.jpg/
I already searched google but I could only find tutorials on how to make a template options page.
Thanks in advance,
Bob
You would want to create a Meta Box to save the category as a custom field entry within Pages. In here you could list the categories within a select box. You could then use this in the page template to pull in the posts from that category as you wish. I'll see if I can dig out a decent tutorial for this.
I did a quick search and found the following plugin for WordPress that may be of use... http://wordpress.org/extend/plugins/map-categories-to-pages/

WordPress- have a specific type of "page/post" as "testimony". Possible? If so, how?

I'm implementing our school's website using WordPress as CMS. So far, it works well and I'm 80% done. Our website is basically 11 WordPress pages and a blog.
Now, there is one feature i'm not sure how to resolve. We want to have "testimonies" of past students to be displayed across WordPress pages, in a specific area of the page. They will either be videos or written text with an image.
They will be embedded on regular WordPress pages either a specific video for a specific page, or just random testimony video for a given page.
Is it possible to do that with WordPress? If so, how?
Thanks for any hints.
Alex
There are quite a few Wordpress plugins which handle testimonials gracefully:
http://wordpress.org/extend/plugins/search.php?q=testimony
You should be able to do this with categories. Create a testimony category and and then create a new template called 'testimony-page.php'. In that template, put a separate loop that pulls a random testimony from the database. Voila, page in a page.
If you feel like building this yourself, it can be handled with custom post types. Here is a great guide that will give you a lot of useful information: http://www.smashingmagazine.com/2012/11/complete-guide-custom-post-types/
I like to use this plugin:
http://wordpress.org/extend/plugins/more-types/
To manage my custom post types.
To query posts from a new post type, use something like:
query_posts({
'post_type' => 'testimonials'
});
So, if you wanted to add testimonials to your site, you'd query them like above with whatever parameters you need, and do a simple loop to output the posts.

Drupal: Creating a simple blog?

I'm new to Drupal and trying get my head around it. I'd like to create a simple blog where I have a page that displays blog posts and the number of comments on each posts. Once the blog title or comment number is clicked, the user is taken to the post page. Simple as that.
I'm using Views and CCK, and I was able to create the main blog page, but I have no idea how to give each post its own page which contains comments and a comment form.
I tried searching online with no luck.
Any idea how to do this?
appreciate your help
In Views, you can select one of the fields you're displaying (best bet: the Title field) and select the "Link this field to its node" option. That'll make it a link to the individual node page, which is where comments etc. live by default.
Your question is quite broad, but you will need to do the following: Create a user node and connect it to the user profile (CCK, nodeprofile and usernode), and a new content type (CCK) for the blog posts (with any custom fields you may want). And then use Views to show the blog posts and profiles of each user. (You can build a view that uses arguments to select user/blog posts and also gives nice urls.)

Creating relationships between posts in WordPress

Is there a way to create an exlicit relationship between two posts in WordPress regarless of what categories those posts might be in?
The idea is that within the post template it would be obtain and list the related posts for the current post.
I'm guessing you could achieve this using tags to group posts together, but that seems to be a hi-jacking of the tag system for a purpose for which is wasn't designed.
Any ideas?
Would adding post IDs as meta data help? I had written a quick hack to display the Digg box for posts that were submitted to Digg. I was manually adding a digg_url meta field with the Digg URL. Perhaps you could add multiple related__post fields and add some code to iterate through all and render post links? Are you looking for a more automated solution?
Maybe I didn't catch the point, but Categories are not just there for that purpose?
I may have miss understood the question. But tags, archives and categories are there to "connect" posts, on the basis of that common connection.
Other than that, I can only see ...
Manually linking posts from with the text of a blog post or
Using plugins. Two I user are similar posts (http://rmarsh.com/plugins/similar-posts/) and SEO Smart Links (http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links)
Similar posts if highly configurable and allows the blog to automatically suggest "related posts" and SEO Smart Links, links (in post) words or phrases to related posts.
All the best
stephen

Resources