You can use social bookmarking for getting the good ranking, but it is for short time, i.e. through the social bookmarking you can get good ranking for short time period but through the forum posting you can get for a long time. So forum posting is better for getting good ranking.