[ Video Sharing CMS v4 ] How to install 4.0 step by step.

Started by ASDF,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ASDFTopic starter

Hey Mario/Alex, can you guys tell me how to install 4.0 step by step.
  •  

wetvibes

Same as 3.6. the installation process is the same
  •  

PHPVibe A.

Why not wait for the release? It installs as same as 3.0 exactly, but it's only experimental for testing.

ASDFTopic starter

  •  

PHPVibe A.

Depends on feedback and issues, also have to get a few more functions from Mario.

w4q45

  •  

giovanni

I am having a p problem with video views on 4.0 its not registering all views just some i tried and click on video 20 Times and no views.  Even shared any ideas does anyone have this problem with 4.0?
  •  

marcosoliveira

#7
I am also having the same problem Giovanni both an update to 4.0 on a new site of the new facility also.
  •  

PHPVibe A.

4.0 freezes the site with full cache, so views are not live.

giovanni

Adsence show more views than my videos 450 views in. Hours only 100 views on 4.0
Also I have an object error on com/com/video.php on line 19
But it was never touched
  •  

PHPVibe A.

On adsense if a person visited/refreshed your page 200 times you get 200 views, on PHPVibe you get 1.
What's that object error?

giovanni


this is what it said every time I click on video

Notice: Undefined property: stdClass::$private in /home/cnnnext2015/public_html/com/com_video.php on line 19
  •  

giovanni

is there anyway to make the views if i person clicks 5 times then its 5 views not 1
i had it that way on vibe 3.6 second edition
  •  

PHPVibe A.

Seems like a bad database upgrade (the private field missing in video table).

For non-unique views:

change:

//Track this view
 if(!is_watched($video->id)) {
watched($video->id);
$db->query("UPDATE ".DB_PREFIX."videos SET views = views+1 WHERE id = '".$video->id."'");
}


to

//Track this view
 if(!is_watched($video->id)) {
watched($video->id);
}
$db->query("UPDATE ".DB_PREFIX."videos SET views = views+1 WHERE id = '".$video->id."'");

at the end of com/com_video.php

giovanni

YES IT WORKED VIEWS ARE BEING COUNTED THANKS,

ALSO THIS IS IT AND 4.0 IS PERFECT
Notice: Undefined property: stdClass::$private in /home/cnnnext2015/public_html/com/com_video.php on line 19
IT WONT LEAVE
THIS IS LINE 19  if(($video->private == 1) && !is_user()) {
  •  

PHPVibe A.

You are missing this field in the vibe_videos table

`private` int(11) NOT NULL DEFAULT '0',

giovanni

Hi can you please tell me where am I suppose to put the code on line 19
Notice: Undefined property: stdClass::$private in /home/cnnnext2015/public_html/com/com_video.php on line 19
IT WONT LEAVE
THIS IS LINE 19  if(($video->private == 1) && !is_user()) {
You wrote me
You are missing this field in the vibe_videos table

Code: [Select]

`private` int(11) NOT NULL DEFAULT '0',


if(($video->private == 1) && !is_user()) {
//Video is not public
$embedvideo = '<div class="vprocessing"><div class="vpre">'._lang("This video is not public!").'</div> <div class="vex"><a href="'.site_url().'login/">'._lang("Please login or register to watch it").'</a></div></div>';
  •  

PHPVibe A.

Do you know what a database is? It's not code, it's this

PHPVibe A.

You need to run this in the sql tab of your phpmyadmin.

ALTER TABLE  `vibe_videos` ADD  `private` INT NOT NULL DEFAULT  '0' AFTER  `featured` ;

giovanni

there is no private name in database  to alter
  •  

giovanni

on 5: I   have 5   user_id   int(11)         No    None   
no private table
  •  

PHPVibe A.

Private is a field in the vibe_videos table, not a table.
Please pay more attention!
I've already gave you the command to run to create this field, just select the database, click the sql tab, paste than line and run it.

giovanni

lol haaaaa thanks man first time i did a command learn something new today
  •  

Similar topics (7)