How to remove counter of views from last added category only ???
File: include/functions.inc.php
under
global $lang_get_pic_data, $lang_meta_album_names, $lang_errors;
add
global $album;
find
if ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have)) {
change to
if ($album != 'lastup' && ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have))) {
Boing.And nothing...number of views is still on last additions.Damn it :(
http://kitek.net
Anyone know hot to do this ????? I have that on 1.3.5 but here....
Hmm.Im looking on another forum users gallery and i see that on many site...
http://www.338tharmyband.com/photo_gallery/
http://www.antonovart.com/gallery/
http://www.trevorlarson.com/
http://www.lenon.com/modules.php?name=coppermine
Even http://tariquesani.net/ have that......
well, the sites you're refering to maybe didn't want to remove the feature that you want to remove.
Well, then how to remove ??Any posiibilities ???
The sites you mention have the view count turned off for all albums using the option in config. You are asking for the view count only to be removed from latest uploads which is different. The code I gave you removed the view count from the lastup album (http://adik.netlook.pl/thumbnails.php?album=lastup) which is what I assumed you wanted. Perhaps you should be clearer about what you are requesting in the future.
This plugin should do what you want.
@Nibbler: should your plugin go into the plugin contrib sub-board?
No, I'm planning a complete caption editing plugin that will cover this.