Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 685

[All Version] Make Chrome Extension that displays latest threads

$
0
0
Today you will learn how to Make a Chrome Extension that display latest Threads from your forum

Demo
[Image: 14314252469968eb7.gif]
or Download from attachment below

VIDEO GUIDE





Description of files



latestthreads.html - Displays content of RSS in HTML.




manifest.json - Contains information about your Extension (like name, version)



icon.png - icon that will be displayed in Google Chrome



extension.html - this file is displayed when user clicks on your

extension. this file contain an iframe which displays the latestthreads.html



What you have to do :



In latestthreads.html - change the url (domain.com/syndication.php?limit=15) to your own RSS feeds url and then upload the file somewhere (in root folder basically)



MYBB based forums just replace domain.com to your site url.

Example :

yoursite.com/syndication.php?limit=15



The number in the end (i.e 15) is the number of threads to be displayed



In extension.html - change the iframe url to the location of latestthreads.html

if you have uploaded to root directory than the url would be

yoursite.com/latestthreads.html



In manifest.json - Change the name, verson, description, default_title


icon.png - make a new 128x128 icon replace the old one.

Viewing all articles
Browse latest Browse all 685

Trending Articles