I just wanted to know which php file shows the posts in the newsfeed? I think it will be in /ow_plugins/newsfeed/components but not sure which file it is. Can anybody help?
Thank you.
I just wanted to know which php file shows the posts in the newsfeed? I think it will be in /ow_plugins/newsfeed/components but not sure which file it is. Can anybody help?
Thank you.
The basic code should be as follows
<script type="text/javascript">var auto_refresh = setInterval(function (){$('#ow_newsfeed ow_smallmargin').load('feed_item.php?q=<?php echo $search_word; ?>').fadeIn("slow");}, 10000); // refresh every 10000 milliseconds
<body><div id="ow_newsfeed ow_smallmargin"> </div></body>
</script>
But actually I could not get it to work!
Should it be connected to the database using this code
<?php$search_word=$_GET['q'];$sql = mysql_query("Select id form Messages where message LIKE '%$search_word%'");$feed_item=mysql_num_rows($sql);//Display count.........echo $feed_item;?>
Can anybody help in this matter?
Any developer?
Thank you.
Thank you.