• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Is it possible to upload Videos, MP3s and Images in the same category?

Started by diljigar,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

diljigarTopic starter

Hello,

If I categorize my site by artist name, I should create three categories "channels" for the same artist in order to upload his/her videos, mp3s and images.
when creating a channel, there should be an option to choose if I want to upload all Videos, mp3s and images in that category "channel".
Just want to know if there is a way to upload video, mp3s and image in the same category "channel"?

It makes it easy for visitors to find everything for related artist.


Thanks
  •  

PHPVibe A.

It worked like this until 3.5, then it got change due to heavy request to split them.
We will add the "all" option in the 3.7 version.

diljigarTopic starter

Thanks Alex,

When do you think the PHPVibe 3.7 will be released?

What do you suggest for me?
  •  

PHPVibe A.

You could simple edit the select function to select all in the dropdown.
in lib/functions.php look for
/* Channels dropdown builder */


3 lines under in the query you can remove

WHERE type = '".$type."'


and 1 line upper change

if(!is_moderator()) { $sub ="AND sub > 0";}


to

if(!is_moderator()) { $sub ="WHERE sub > 0";}

diljigarTopic starter

Thanks Alex for the outstanding solution  :)

Last question, If I change the code now, dont you think it will be a big problem in the future updates?
  •  

PHPVibe A.

Quote from: diljigar on
Last question, If I change the code now, dont you think it will be a big problem in the future updates?

I've proposed to Mario to add an "All option" to it in the next upgrade.
But if they don't add it, you will need to make the code change again.
But I'm pretty sure they will.

Similar topics (7)