Is it possible to upload my old posts to the top position in the timeline аlong with comments and likes?
I have two important consecutive posts that I want to always be above the posts of other users in the news timeline
This will make all posts appears in old post first.
What are you trying to do making only one post pin on top?
When installing the component, is there any menu that appears somewhere around the post ..or some button that uploads the post to the top position?
How to manage this component.. how to set the top position for a given post?
I have not tested but this should work in your custom component
<?php
ossn_register_callback('ossn', 'init', function(){
ossn_add_hook('wall', 'getFriendsPosts', 'wall_posts_order');
ossn_add_hook('wall', 'getAllPosts', 'wall_posts_order');
ossn_add_hook('wall', 'getPublicPosts', 'wall_posts_order');
});
function wall_posts_order($hook, $type, $return, $params){
$return['order_by'] = 'o.guid ASC';
return $return;
}
.
Can you tell me about the component.. what does it represent?
I put everything back in place and everything is fine now
Changing anything in database is a big mistake done by you.
Changing order can be done using a component instead i can explain in later post
Is there any component to do this automatically?
I tried by changing the object guid number in the database.. but I was able to upload only the content of the post.. without the comments and likes.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)