Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Video page to include only uploaded videos

10 years 2 months ago
  • muhanad's Avatar
    Topic Author
  • muhanad
  • Offline
  • Fresh Boarder
  • Posts: 99
  • Thank you received: 2
Licenses:
JomSocial Expired

Hello,

Visiting some jomsocial websites and including mine, i feel that the video page is uninteresting because most of the videos are not unique ( mostly shared from youtube). What i believe the video menu page should only include videos members uploaded from their hard drives. only then other members might find something interesting to watch. How can i make the video menu to display only uploaded videos? .. some hacks can do it?


Regards,

10 years 2 months ago
Licenses:

Hi, muhanad.

Yes, there is a way to force people to only upload videos :) Just hide linking video tab :)

Navigate to this file via FTP:
ROOT/components/com_community/templates/default/videos.add.php

And copy it to:
ROOT/templates/your_template/html/com_community/videos.add.php (if you don't have 'html' or 'com_community' folders, feel fre to create them.

Now edit videos.add.php in line 37 - remove this line:

<li><a href="#tabs-1"><?php echo JText::_('COM_COMMUNITY_VIDEOS_LINK'); ?></a></li>

Now remove this (around line 43):
<div id="tabs-1">
		<div style="clear:both;display:block">
			<?php echo $linkUploadHtml;?>
		</div>
	</div>

And that's it. Now users can only upload files :D


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Attachments:
10 years 2 months ago
  • muhanad's Avatar
    Topic Author
  • muhanad
  • Offline
  • Fresh Boarder
  • Posts: 99
  • Thank you received: 2
Licenses:
JomSocial Expired

Hello Michal,

I'm happy with your reply and fast approach.. its been a while since i got such a fast response over jomsocail.. thank you.

I do understand that we can prevent users from sharing but that's not actually my goal .. my goal is to let them share whatever but the video page ( main video menu item ) not to show those shared videos and be limited to uploaded videos. Do you think this can be done ? so what we are actually asking index.videos.php is to only show videos uploaded to server ..


Regards,

10 years 2 months ago
Licenses:

Hi, muhanad.

Sorry if I misunderstood. So you just want to separate videos uploaded by users from those linked from YT... well it can't be done with simple hack in view template. It will require developer help and core files hacking.

In this case I advise to ask developer for help: www.jomsocial.com/jomsocial-developers


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: muhanad
10 years 2 months ago
  • muhanad's Avatar
    Topic Author
  • muhanad
  • Offline
  • Fresh Boarder
  • Posts: 99
  • Thank you received: 2
Licenses:
JomSocial Expired

Thanks.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW