I make trendind topic in top just like Twitter

Saqib Saleem Posted in Component Development 2 years ago

Hello everyone i was make trending topics like twitter plugin for ossn i installed its good but its not working well anyone guide me and i make its a good plugin

Replies
Breton Rafael [redcrested.net] Replied 2 years ago

Take a look at https://www.opensource-socialnetwork.org/wiki/view/737/how-to-write-a-simple-component-for-ossn page to understand how components working and improve your code. Also, following these directives https://www.opensource-socialnetwork.org/wiki/view/739/naming-convention-for-components-and-themes is helpfull too.

About your component, I find the init calling comAdsenseExampleinit() function, but the function is named comTrendsinit(). So this is the reason to your component wont loaded. Second, there's no loading command to your OSSNTRENDZ file. Third, OSSNTRENDZ file needs a PHP extension. Finally, make review process more easy for community putting uncompress files into your repo. It's a annoying download file, uncompress files and open VS Code just to help.

Indonesian Arsalan Shah Replied 2 years ago

Hello, sire? expecting some response here too.

Indonesian Arsalan Shah Replied 2 years ago

Saqib the file you posted is a AdsenseExample component with nothing inside that shows you worked on trends feature there is nothing inside that component. Community can only assist you to look into your component not writing a solution.

pk Saqib Saleem Replied 2 years ago

https://github.com/saqib1450/ossn-twiter-tranding
i add in github please check all guys and guide me how i make perfect

Breton Rafael [redcrested.net] Replied 2 years ago

Don't forget to share with us your repo, please.

pk Saqib Saleem Replied 2 years ago

Ok I upload on github

Indonesian Arsalan Shah Replied 2 years ago

Upload it to github

pk Saqib Saleem Replied 2 years ago

i dont know how to send code or full plugin here in community

pk Saqib Saleem Replied 2 years ago

enter image description here

pk Saqib Saleem Replied 2 years ago

enter image description here