• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Integrate filter for Channels categories results

Started by mihai,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mihaiTopic starter

I was wondering if it's possible to add a filter option in the categories of the channels
Ex:
  •  

mihaiTopic starter

I wold like to have a filter that contains the following options(Top-Rated,Most-Viewed,Recent,Featured)
---I would say that this will be a nice update for the next product
  •  

mihaiTopic starter

And i would like to incrase the nr of videos that are displayed on instead off 20videos and pagination to have 50videos and pagination
  •  

Marius P.

You can increase the videos in the admin, as for suggesting for the next upgrade, as long as they are not posted in the topics specially create it for it, small chances for us to not forget this suggestions.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

I was wondering if you can guide me to add that concept to my website.I want to add the filter option on the page with channel categories content/Like the filter that is on serch result but with different options/ I serched on the forum but i didn't fiind something similar so my question is:How can i add a filter option like the one that is on serch result content(with all,this week,this year)with the options(top rated,most viewed,recent,featured)on the channels categories pages:)
  •  

mihaiTopic starter

And i want to add more options to the serch result content filter(this year,this month.this week,all +top rated,recent,featured,most viewed)
  •  

Marius P.

The filters can be copy pasted from the com_videos.php and integrated to the channel's queries basically the order by changes.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

I found in com_videolist.php this
/* Define list to load */
$interval = '';
if(_get('sort'))
{
switch(_get('sort')){
case "w":
$interval = "AND WEEK( DATE ) = WEEK( CURDATE( ) ) ";
break;
case "m":
$interval = "AND MONTH(date) = MONTH(CURDATE( ))";
break;
case "y":
$interval = "AND YEAR( DATE ) = YEAR( CURDATE( ) ) ";
break;
}
and this
<div class="triangle"></div>
			<li class="TipE" title="'._lang("This Week").'"><a href="'.list_url(token()).'"><i class="icon-reorder"></i>'._lang("All").'</a></li>
			<li class="TipE" title="'._lang("This Week").'"><a href="'.list_url(token()).'&sort=w"><i class="icon-reorder"></i>'._lang("This Week").'</a></li>
			<li class="TipE" title="'._lang("This Month").'"><a href="'.list_url(token()).'&sort=m"><i class="icon-reorder"></i>'._lang("This Month").'</a></li>
			<li class="TipE" title="'._lang("This Year").'"><a href="'.list_url(token()).'&sort=y"><i class="icon-reorder"></i>'._lang("This Year").'</a></li>
		</ul>
so to add filters where do i want i must copy the content that i found in com_channels.php?
  •  

mihaiTopic starter

I still don't know how to make a new option/this year,this month,this week,all,top rated,most viewed,most commeted....
  •  

Marius P.

I'm still in and out hospitals, gimme a bit of time to recover, right now handling what's really urgent.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

mihaiTopic starter

Are you ok?Is it something wrong with your body?
Hope that everything will gonna be fine:)
  •  

Marius P.

Unfortunately some liver problems, have to be careful and take bigger breaks, walk, take pills, stuff like that.
Thanks and hope so to!

Sanatate!
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)