• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Hide "Views"

Started by PHPClient,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PHPClientTopic starter

Hi there!

I would like to HIDE (via css/ UltimaTube) the "View" count on my videos. - See attachments

How do I accomplish this? Thanks!

  •  

mihai

video-loop.php on line 28(i guess) you will fiind this
'._lang("by").' <a href="'.profile_url($video->user_id, $video->owner).'" title="'.$video->owner.'">'.$video->owner.'</a> <span class="pull-right">'.$video->views.' '._lang('views').'</span>
replace it with this
'._lang("by").' <a href="'.profile_url($video->user_id, $video->owner).'" title="'.$video->owner.'">'.$video->owner.'</a> <span class="pull-right" style="display:none!important;">'.$video->views.' '._lang('views').'</span>
  •  

mihai

vibe-style.css add to the line 135-140(.likes and .like-views)
opacity:0!important;
  •  

Marius P.

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!
  •  

PHPClientTopic starter

Thank you for that Mihai!

Nice to be part of a community that is quick to help one another.  :cool:
  •  

mihai

Quote from: PHPClient on
Thank you for that Mihai!

Nice to be part of a community that is quick to help one another.  :cool:
We are humans!We must help each other!
  •  

PHPClientTopic starter

Mihai,

Using the information you provided above, I tried to use just the changes to the CSS file, as I want to only hide the "viewcount," and not remove the functionality of the view counter in the script (basically, just hide the views on the front page of the site).

I tried adjusting the opacity to 0  in the code but it did not work. I am pretty sure that I did not properly performed this task.

Please take a look at my attachment and let me know where I may have gone wrong and also if adjusting the PHP file is a requirement for this alteration in the script.

Thank you!
  •  

Similar topics (7)