├── .gitattributes
├── .gitignore
├── .htaccess
├── LICENSE.txt
├── README.md
├── app
├── controllers
│ ├── admin.php
│ ├── feed.php
│ ├── profile.php
│ ├── userlog.php
│ └── usermain.php
├── db.json
├── helpers
│ ├── feedprocess.php
│ └── userlog.php
├── models
│ ├── admin.php
│ ├── feed.php
│ ├── install.php
│ ├── profile.php
│ ├── userlog.php
│ └── usermain.php
├── root.php
├── script
│ ├── admin.js
│ ├── jquery.autosize.min.js
│ ├── login_validation.js
│ ├── members.js
│ ├── popup.js
│ ├── profile.js
│ ├── readmore.js
│ ├── register_validation.js
│ ├── tooltip
│ │ ├── bower.json
│ │ ├── css
│ │ │ ├── themes
│ │ │ │ ├── tooltipster-light.css
│ │ │ │ ├── tooltipster-noir.css
│ │ │ │ ├── tooltipster-punk.css
│ │ │ │ └── tooltipster-shadow.css
│ │ │ └── tooltipster.css
│ │ ├── js
│ │ │ └── jquery.tooltipster.min.js
│ │ └── tooltipster.jquery.json
│ └── wall.js
└── views
│ ├── admin
│ ├── ads.php
│ ├── dashboard.php
│ ├── feed.php
│ ├── general.php
│ ├── mail.php
│ └── page.php
│ ├── feed
│ ├── comment_entry.php
│ ├── comment_list.php
│ ├── comment_loadmore.php
│ ├── feed_display.php
│ ├── feed_entry.php
│ ├── feed_likers.php
│ ├── feed_list.php
│ ├── feed_loadmore.php
│ └── public_page.php
│ ├── general
│ ├── about.php
│ ├── contact.php
│ ├── errorpage.php
│ ├── frontpage.php
│ ├── home.php
│ ├── terms.php
│ └── terms_of_use.php
│ ├── install
│ ├── main.php
│ └── success.php
│ ├── members
│ ├── default.php
│ ├── members_loadmore.php
│ └── search.php
│ ├── profile
│ ├── crop.php
│ ├── edit.php
│ ├── image_upload.php
│ ├── notifications.php
│ └── profile.php
│ └── userlog
│ ├── forgot.php
│ ├── forgot_message.php
│ ├── loggedin.php
│ ├── login.php
│ ├── register.php
│ ├── register_activation.php
│ ├── register_reactivation.php
│ ├── reset_password.php
│ └── user_activation_message.php
├── changelog.txt
├── config.json
├── dump.sql
├── favicon.ico
├── img
├── 250.png
├── 468.png
├── 728.png
├── banner.png
├── loading.gif
├── loading1.gif
├── logo.png
├── logo_feedstack.png
├── open_banner.jpg
├── user.jpg
└── users
│ └── index.html
├── index.php
├── lib
├── basket.php
├── error.php
├── expresscss
│ └── style.css
├── font-awesome
│ ├── css
│ │ ├── font-awesome.css
│ │ └── font-awesome.min.css
│ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.svg
│ │ ├── fontawesome-webfont.ttf
│ │ └── fontawesome-webfont.woff
│ ├── less
│ │ ├── bordered-pulled.less
│ │ ├── core.less
│ │ ├── fixed-width.less
│ │ ├── font-awesome.less
│ │ ├── icons.less
│ │ ├── larger.less
│ │ ├── list.less
│ │ ├── mixins.less
│ │ ├── path.less
│ │ ├── rotated-flipped.less
│ │ ├── spinning.less
│ │ ├── stacked.less
│ │ └── variables.less
│ └── scss
│ │ ├── _bordered-pulled.scss
│ │ ├── _core.scss
│ │ ├── _fixed-width.scss
│ │ ├── _icons.scss
│ │ ├── _larger.scss
│ │ ├── _list.scss
│ │ ├── _mixins.scss
│ │ ├── _path.scss
│ │ ├── _rotated-flipped.scss
│ │ ├── _spinning.scss
│ │ ├── _stacked.scss
│ │ ├── _variables.scss
│ │ └── font-awesome.scss
├── hashimage
│ └── hashimage.php
├── jcrop
│ ├── css
│ │ ├── Jcrop.gif
│ │ ├── jquery.Jcrop.css
│ │ └── jquery.Jcrop.min.css
│ └── js
│ │ ├── jquery.Jcrop.js
│ │ ├── jquery.Jcrop.min.js
│ │ ├── jquery.color.js
│ │ └── jquery.min.js
├── jform
│ └── jform.js
├── jquery
│ └── jquery.js
├── node.php
├── packet.php
├── pathang.php
├── request.php
├── rest.php
├── session.php
└── upload
│ ├── drop.js
│ └── script.js
├── robots.txt
├── snippets
├── ads
│ ├── ads.php
│ └── tmpl
│ │ ├── 250.php
│ │ ├── 468.php
│ │ ├── 728.php
│ │ └── front.php
├── followers
│ ├── followers.php
│ └── tmpl
│ │ └── default.php
├── following
│ ├── following.php
│ └── tmpl
│ │ └── default.php
├── footer
│ ├── footer.php
│ └── tmpl
│ │ └── default.php
├── login
│ ├── login.php
│ └── tmpl
│ │ └── default.php
├── logo
│ ├── logo.php
│ └── tmpl
│ │ └── default.php
├── menu
│ ├── menu.php
│ └── tmpl
│ │ ├── admin.php
│ │ ├── default.php
│ │ └── guest.php
├── notifications
│ ├── notifications.php
│ └── tmpl
│ │ └── default.php
├── popular
│ ├── popular.php
│ └── tmpl
│ │ └── default.php
└── sidemenu
│ ├── sidemenu.php
│ └── tmpl
│ ├── admin.php
│ ├── default.php
│ └── feed.php
├── themes
├── barbie
│ ├── admin.php
│ ├── css
│ │ ├── admin.css
│ │ ├── bottle.css
│ │ ├── feed-menu.css
│ │ ├── index.css
│ │ ├── members.css
│ │ ├── menu.css
│ │ ├── profile.css
│ │ ├── userlog.css
│ │ └── wall.css
│ ├── frontpage.php
│ ├── index.php
│ ├── login.php
│ ├── members.php
│ ├── no_cache.php
│ ├── no_responsive.php
│ ├── profile.php
│ └── script
│ │ ├── feed-menu.js
│ │ └── menu.js
├── dirtbrown
│ ├── admin.php
│ ├── css
│ │ ├── admin.css
│ │ ├── bottle.css
│ │ ├── feed-menu.css
│ │ ├── index.css
│ │ ├── members.css
│ │ ├── menu.css
│ │ ├── profile.css
│ │ ├── userlog.css
│ │ └── wall.css
│ ├── frontpage.php
│ ├── index.php
│ ├── login.php
│ ├── members.php
│ ├── no_cache.php
│ ├── no_responsive.php
│ ├── profile.php
│ └── script
│ │ ├── feed-menu.js
│ │ └── menu.js
├── glima
│ ├── admin.php
│ ├── css
│ │ ├── admin.css
│ │ ├── bottle.css
│ │ ├── feed-menu.css
│ │ ├── index.css
│ │ ├── members.css
│ │ ├── menu.css
│ │ ├── profile.css
│ │ ├── userlog.css
│ │ └── wall.css
│ ├── frontpage.php
│ ├── index.php
│ ├── login.php
│ ├── members.php
│ ├── no_cache.php
│ ├── no_responsive.php
│ ├── profile.php
│ └── script
│ │ ├── feed-menu.js
│ │ └── menu.js
└── simplex
│ ├── admin.php
│ ├── css
│ ├── admin.css
│ ├── bottle.css
│ ├── feed-menu.css
│ ├── index.css
│ ├── members.css
│ ├── menu.css
│ ├── profile.css
│ ├── userlog.css
│ └── wall.css
│ ├── frontpage.php
│ ├── index.php
│ ├── login.php
│ ├── members.php
│ ├── no_cache.php
│ ├── no_responsive.php
│ ├── profile.php
│ └── script
│ ├── feed-menu.js
│ └── menu.js
└── tmp
└── index.html
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 | *.sln merge=union
7 | *.csproj merge=union
8 | *.vbproj merge=union
9 | *.fsproj merge=union
10 | *.dbproj merge=union
11 |
12 | # Standard to msysgit
13 | *.doc diff=astextplain
14 | *.DOC diff=astextplain
15 | *.docx diff=astextplain
16 | *.DOCX diff=astextplain
17 | *.dot diff=astextplain
18 | *.DOT diff=astextplain
19 | *.pdf diff=astextplain
20 | *.PDF diff=astextplain
21 | *.rtf diff=astextplain
22 | *.RTF diff=astextplain
23 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Windows image file caches
2 | Thumbs.db
3 | ehthumbs.db
4 |
5 | # Folder config file
6 | Desktop.ini
7 |
8 | # Recycle Bin used on file shares
9 | $RECYCLE.BIN/
10 |
11 | # Windows Installer files
12 | *.cab
13 | *.msi
14 | *.msm
15 | *.msp
16 |
17 | # =========================
18 | # Operating System Files
19 | # =========================
20 |
21 | # OSX
22 | # =========================
23 |
24 | .DS_Store
25 | .AppleDouble
26 | .LSOverride
27 |
28 | # Icon must ends with two \r.
29 | Icon
30 |
31 | # Thumbnails
32 | ._*
33 |
34 | # Files that might appear on external disk
35 | .Spotlight-V100
36 | .Trashes
37 |
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 | RewriteEngine on
2 |
3 | RewriteCond %{REQUEST_FILENAME} !-d
4 | RewriteCond %{REQUEST_FILENAME} !-f
5 |
6 | RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
7 | RewriteRule \.(json)$ - [F]
8 | Options -Indexes
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Feedstack is built on pathang framework and is licensed under the GNU General Public License,
2 | version 2 or later. That means you are free to download, reuse, modify, and distribute any files assocaited with
3 | Feedstack under the terms of either the GPL version 2 or version 3.
4 | Learn more about GNU GPL from here http://www.gnu.org/licenses/gpl-2.0.html
5 |
6 | - Happy Coding
7 | ur's Krishna Teja
8 | https://twitter.com/shaadomanthra
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](http://feedstack.asia/)
2 | =========
3 |
4 | A simple php social networking script designed using pathang framework. It has all the kool features to compete with the modern day social scripts. A clean responsive template, admin panel to customize the website, smooth jquery animation effects keeps the feedstack standing out the crowd.Above all its absolute freeware and open source licensed under GNU/GPL v2
5 |
6 | Requirements : PHP 5.3 or 5.3+, MySQLi
7 |
8 | Live Demo : https://feedstack.asia/
9 | Product Page : https://feedstack.asia/product
10 | Video Promo : http://www.youtube.com/watch?v=RMWSYYnTWTs
11 |
12 | USER FEATURES
13 | --------
14 | 1. Posting Feeds
15 | 2. Like a feed
16 | 3. Comment on feeds
17 | 4. Search members
18 | 5. Follow members
19 | 6. Edit profile
20 | 7. Customizing number of feeds per page
21 | 8. Public/Private profiles
22 | 9. Active notifications
23 | 10. Password recovery
24 |
25 | Admin Features:
26 | ----------------
27 | 1. Block/Activate/Delete Members
28 | 2. Site Statistics
29 | 3. Custom pages
30 | 4. Google Ad Blocks
31 | 5. Mailgun support
32 | 6. Logo change
33 | 7. Custom META tags and social links
34 | 8. Responsive theme
35 | 9. Smooth jquery animations
36 |
37 | Screenshots
38 | -------------------
39 | Home Page
40 | [](http://feedstack.asia/)
41 | -------------------------
42 | Feed Wall
43 | [](http://feedstack.asia/feed/)
44 | -------------------------
45 | Profile Page
46 | [](http://feedstack.asia/product)
47 |
48 | Do give your valuable feedback... together we can make this an awesome script :)
49 |
50 |
51 | ================================================================
52 | Developed by :Krishna Teja @www.packetcode.com
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/app/db.json:
--------------------------------------------------------------------------------
1 | {
2 | "users":"CREATE TABLE users( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(20) , username VARCHAR(20) , password VARCHAR(50),email VARCHAR(30), bio VARCHAR(100),image_type VARCHAR(20),block int,activation VARCHAR(10),type int,access int, feeds_per_page int,creation_timestamp datetime ,lastlogin_timestamp datetime, primary key ( id ));",
3 | "notifications":"CREATE TABLE notifications( id INT NOT NULL AUTO_INCREMENT, uid int , agent int , target int, action VARCHAR(20), time_stamp datetime ,status int, primary key ( id ));",
4 | "likes":"CREATE TABLE likes( id INT NOT NULL AUTO_INCREMENT, uid int , feed_id int , time_stamp datetime , primary key ( id ));",
5 | "followers":"CREATE TABLE followers( id INT NOT NULL AUTO_INCREMENT, uid int , follow_id int, time_stamp datetime , primary key ( id ));",
6 | "comments":"CREATE TABLE comments( id INT NOT NULL AUTO_INCREMENT, uid int , feed_id int , comment mediumtext, time_stamp datetime , primary key ( id ));",
7 | "feeds":"CREATE TABLE feeds( id INT NOT NULL AUTO_INCREMENT, uid int , feed_original longtext,feed longtext,feed_url VARCHAR(500),feed_container longtext,feed_type VARCHAR(10), time_stamp datetime ,views int, primary key ( id ));"
8 | }
--------------------------------------------------------------------------------
/app/models/admin.php:
--------------------------------------------------------------------------------
1 | query($sql);
30 | $result = $res->fetch(PDO::FETCH_ASSOC);
31 |
32 | //if record found return activation else false
33 | if($result)
34 | return $result['count'];
35 | else
36 | return null;
37 | }
38 |
39 |
40 | }
--------------------------------------------------------------------------------
/app/script/admin.js:
--------------------------------------------------------------------------------
1 | $(function(){
2 | setTimeout(function(){
3 | if($('.save').is(':visible')){
4 | $('.save').slideUp();
5 | }
6 | },3000);
7 | })
--------------------------------------------------------------------------------
/app/script/login_validation.js:
--------------------------------------------------------------------------------
1 | $(function(){
2 |
3 | });
--------------------------------------------------------------------------------
/app/script/members.js:
--------------------------------------------------------------------------------
1 | $(function(){
2 | $('.member-search').keyup(function(){
3 | var search = $(this).val();
4 | var root = $(this).attr('root');
5 | $.post(root+'user/search.html',{"user":search},function(data){
6 | $('.entry').html(data);
7 | });
8 | });
9 | $(document).on('click','.loadmore-members',function(){
10 | var clear = $('.clear-'+$(this).attr('id'));
11 | var from = clear.attr('from');
12 | var posturl = $('.root').attr('root')+'members.html';
13 | $(this).remove();
14 | $.post(posturl,{'from':from},function(data){
15 | clear.replaceWith(data);
16 | });
17 |
18 | });
19 | });
--------------------------------------------------------------------------------
/app/script/tooltip/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tooltipster",
3 | "version": "3.2.6",
4 | "main": ["js/jquery.tooltipster.min.js", "css/tooltipster.css"],
5 | "dependencies": {
6 | "jquery": ">=1.7"
7 | }
8 | }
--------------------------------------------------------------------------------
/app/script/tooltip/css/themes/tooltipster-light.css:
--------------------------------------------------------------------------------
1 | .tooltipster-light {
2 | border-radius: 5px;
3 | border: 1px solid #cccccc;
4 | background: #ededed;
5 | color: #666666;
6 | }
7 | .tooltipster-light .tooltipster-content {
8 | font-family: Arial, sans-serif;
9 | font-size: 14px;
10 | line-height: 16px;
11 | padding: 8px 10px;
12 | }
--------------------------------------------------------------------------------
/app/script/tooltip/css/themes/tooltipster-noir.css:
--------------------------------------------------------------------------------
1 | .tooltipster-noir {
2 | border-radius: 0px;
3 | border: 3px solid #2c2c2c;
4 | background: #fff;
5 | color: #2c2c2c;
6 | }
7 | .tooltipster-noir .tooltipster-content {
8 | font-family: 'Georgia', serif;
9 | font-size: 14px;
10 | line-height: 16px;
11 | padding: 8px 10px;
12 | }
--------------------------------------------------------------------------------
/app/script/tooltip/css/themes/tooltipster-punk.css:
--------------------------------------------------------------------------------
1 | .tooltipster-punk {
2 | border-radius: 5px;
3 | border-bottom: 3px solid #f71169;
4 | background: #2a2a2a;
5 | color: #fff;
6 | }
7 | .tooltipster-punk .tooltipster-content {
8 | font-family: 'Courier', monospace;
9 | font-size: 14px;
10 | line-height: 16px;
11 | padding: 8px 10px;
12 | }
--------------------------------------------------------------------------------
/app/script/tooltip/css/themes/tooltipster-shadow.css:
--------------------------------------------------------------------------------
1 | .tooltipster-shadow {
2 | border-radius: 5px;
3 | background: #fff;
4 | box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
5 | color: #2c2c2c;
6 | }
7 | .tooltipster-shadow .tooltipster-content {
8 | font-family: 'Arial', sans-serif;
9 | font-size: 14px;
10 | line-height: 16px;
11 | padding: 8px 10px;
12 | }
--------------------------------------------------------------------------------
/app/script/tooltip/tooltipster.jquery.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tooltipster",
3 | "title": "Tooltipster",
4 | "description": "A lightweight, flexible jQuery plugin enabling you to easily create semantic, modern tooltips enhanced with the power of CSS.",
5 | "keywords": [
6 | "tooltip"
7 | ],
8 | "version": "3.2.6",
9 | "author": {
10 | "name": "Caleb Jacob",
11 | "url": "http://calebjacob.com/"
12 | },
13 | "maintainers": [
14 | {
15 | "name": "Caleb Jacob",
16 | "email": "hello@calebjacob.com",
17 | "url": "http://calebjacob.com/"
18 | },
19 | {
20 | "name": "Louis Ameline",
21 | "email": "evangun2001@yahoo.fr",
22 | "url": "https://github.com/louisameline"
23 | }
24 | ],
25 | "licenses": [
26 | {
27 | "type": "MIT",
28 | "url": "http://opensource.org/licenses/MIT"
29 | }
30 | ],
31 | "homepage": "https://github.com/iamceege/tooltipster",
32 | "docs": "http://iamceege.github.io/tooltipster",
33 | "dependencies": {
34 | "jquery": ">=1.7"
35 | }
36 | }
--------------------------------------------------------------------------------
/app/views/admin/ads.php:
--------------------------------------------------------------------------------
1 |
2 | get('save');
5 | ?>
6 |
This is a sample
-------------------------------------------------------------------------------- /app/views/general/contact.php: -------------------------------------------------------------------------------- 1 | 7 |The following page has to be replaced with appropriate content
10 |Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
11 |Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
12 |Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
13 |'.$message.'
'; 10 | 11 | ?> 12 | -------------------------------------------------------------------------------- /app/views/general/frontpage.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/general/home.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 16 | 21 |Time lapse | 18 |Notification | 19 |
---|---|
25 | time_stamp; 27 | ?> 28 | | 29 |30 | action=='comment') 32 | echo "$b->name has ".$b->action."ed on your 33 | target."'>feed"; 34 | elseif($b->action=='like') 35 | echo "$b->name has ".$b->action."d your 36 | target."'>feed"; 37 | elseif($b->action=='unlike') 38 | echo "$b->name ".$b->action."d your 39 | target."'>feed"; 40 | elseif($b->action == 'follow') 41 | echo "$b->name is ".$b->action."ing 42 | you"; 43 | elseif($b->action == 'unfollow') 44 | echo "$b->name has ".$b->action."ed 45 | you"; 46 | 47 | if($b->status) 48 | echo " NEW "; 49 | 50 | ?> 51 | 52 | |
User() Successfully registered
21 |An activation mail has been sent to your email . Follow the instructions 22 | in the mail to activate your account. Please check spam box if in case you dont 23 | recieve the mail.
24 | 25 | 26 | 27 | 28 |
An activation mail has been sent to your email . Follow the instructions 13 | in the mail to activate your account. Please check spam box if in case you dont 14 | recieve the mail.