For those who have come looking for ways to hack into other e107 sites, we are sorry to disappoint, but that's not what we're about! We are here to provide ways to insert code into your own site to enhance your users' experience of your website.
We do not provide the simple to install plugins found at the excellent e107coders.org or at the new plugins.e107.org - instead we provide instructions of how to hack the core to make it do what you want it to.
We cannot stress enough however, that ALL of these hacks and changes are vulnerable to core upgrades and will be lost when you over-write files with newer versions. We will endeavour, where possible, to upgrade hacks for new versions, but when this is not possible we will not be able to provide new hacks.
There are currently no full time hackers working on this site, but the site has been taken over and kept open in the hope that things will be provided by the community as a whole, and that it's new owner will be able to provide a few things for you to play with on your own sites that you will find useful.
| Upload: e107 news Views Counte Hack |
| e107 News Views Counter by -LINK- Hi by This Hack you can show number of news visits by users ! instructions : 1- Query this statement in your database by phpmyadmin : ALTER TABLE `e107_news` ADD `news_views` int(10) unsigned NOT NULL default '0' AFTER `news_sticky this is for add news_views field. 2-add {NEWSVIEWS} shortcode in your theme.php on $newsstyle after Comments: 0 3-open news.php find : $ix- >render_newsitem($news, "extend"); add after : news_incview($news[' news_id']); save & close 4-open files/shortcode/batch/ news_shortcodes.php add this shortcode : SC_BEGIN NEWSVIEWS $news_item = getcachedvars(' current_news_item'); $param = getcachedvars(' current_news_param'); if ($news_item[' news_extended'] && (strpos(e_QUERY, 'extend') === FALSE || $parm == "force")) { return "Views:".$news_item[' news_views']; } else { return ""; } SC_END save & close 5-open handlers/news_class.php find : if(!isset($news[' news_sticky'])) {$news['news_sticky'] = 0;} add after : {$news['news_views'] = -1;} find : news_sticky='" .intval($news[' news_sticky'])."' replace with : news_sticky='" .intval($news[' news_sticky'])."', news_views='" .intval($news[' news_views'])."' find : '".intval($news[' news_sticky'])."' replace with : '".intval($news[' news_sticky'])."', news_views='" .intval($news[' news_views'])."' find : ?> add before : function news_incview($news) { $news['news_id'] = (int)$news['news_id']; global $sql; return $sql->db_Update("news", "news_views=news_views+1 WHERE news_id=".$news['news_id' ]); } or replace this files for 0.7.11 : e107 news views counter Hack http: e107.ir Persian e107 Support Submitted by Persian Support e107 news Views Counte Hack |
| Upload: BBcode in the quick reply |
| Enable the BBcode and Smile in the quick reply for your forums ! install/// replice this file in the $plugin>>Forum . ! support : -LINK- -LINK- -LINK- Submitted by Persian E107/IR BBcode in the quick reply |
|
userprofile   forum url   germany   site registration   forum php   news item   request forum   open source content   congrats   linkage   coders   root directory   theme preview   play button   complete control   vbulletin forum   poll   coppa   shock   inspiration   personal advertising   cms   constants   top right corner   news news news   graphic work   team members   peace   user profile   phone modems    |
| Sponsored Ads |
| RSS Feeds |
| Chatbox |
|
You must be logged in to post comments on this site - please either log in or if you are not registered click here to signup
Persian E107/IR
admin
enjoya1
where is the news rating hack from widgets.outbrain.com ????
Persian E107/IR
@Anju VIkhers ; hi dear !
Anju VIkhers
hai...
Persian E107/IR
hi ,
new hack upload ! (bbcode in the forum)
Hups
this site is still no news ?
is the site dead ?
Carnage
hello happy ppl
admin
another error caused by FURL
Hups
add search dito
View all posts (70) |
| Powered by |
| Online |
|
Guests: 3 Members: 0 On this page: 1 Members: 395, Newest: aKi |








