• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] How to remove phpvibe.com when sharing to facebook?

Started by mistervibe,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mistervibeTopic starter

How to remove phpvibe.com when sharing to facebook?
Here I attached the screenshot

  •  

PHPVibe A.

Open tpl/globals.php and search for phpvibe. What version are you on?

mistervibeTopic starter

  •  

mistervibeTopic starter

  •  

PHPVibe A.


AlexH

old version - header.php - line meta author.
last version - tpl/globals.php line 49


mistervibeTopic starter

It doesn't work it says on line 49 on tpl.globals.php and also  how can I remove the PHP vibe on the footer of moderator's page

*********
<?php //Add your filters and actions here

function header_add(){
global $page;
$head = '
<link rel="stylesheet" type="text/css" href="'.tpl().'css/vibe.style.css" media="screen" />
<!-- Bootstrap -->
<link href="'.tpl().'css/bootstrap.css" rel="stylesheet" />
<link href="'.tpl().'css/responsive.css" rel="stylesheet" />
<link rel="stylesheet" href="'.tpl().'css/plugins.css"/>
<link rel="stylesheet" href="'.tpl().'css/slide.css"/>
<link rel="stylesheet" href="'.tpl().'css/font-awesome.css"/>
<link rel="stylesheet" href="'.tpl().'css/lightbox.css"/>
'.extra_css().'
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
</head>
<body class="touch-gesture body-'.$page.'">
'.top_nav().'
<div id="wrapper" class="container">
<div class="row-fluid block" style="position:relative;">
';
return $head;
}
function meta_add(){
$meta = '<!doctype html>
<html prefix="og: http://ogp.me/ns#">
<html dir="ltr" lang="en-US"> 
<head> 
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>'.seo_title().'</title>
<meta charset="UTF-8"> 
<meta name="viewport" content="width=device-width,  height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<base href="'.site_url().'" /> 
<meta name="description" content="'.seo_desc().'">
<meta name="generator" content="phpVibe 3.4" />
<meta name="author" content="www.phpVibe.com">
<link rel="canonical" href="'.canonical().'" />
<meta property="og:site_name" content="'.get_option('site-logo-text').'" />
<meta property="fb:app_id" content="'.Fb_Key.'">
<meta property="og:url" content="'.canonical().'" />
';
if(com() == video) {
global $video;
if(isset($video) && $video) {
$meta .= '
<meta property="og:image" content="'.thumb_fix($video->thumb).'" />
<meta property="og:description" content="'.seo_desc().'"/>
<meta property="og:title" content="'._html($video->title).'" />';
}
}
if(com() == profile) {
global $profile;
if(isset($profile) && $profile) {
$meta .= '
<meta property="og:image" content="'.thumb_fix($profile->avatar).'" />
<meta property="og:description" content="'.seo_desc().'"/>
<meta property="og:title" content="'._html($profile->name).'" />';
}
}
return $meta;
}

function extra_js() {
return apply_filter( 'filter_extrajs', false );
}
function extra_css() {
return apply_filter( 'filter_extracss', false );
}
function top_nav(){
$nav = '';
$nav .= '
      <div class="fixed-top">
  •  

AlexH

edit this line
<meta name="generator" content="site name" />
<meta name="author" content="www.sitename.com">

about watermark.
remove watermark from the website does not cost much. You find module in the store.
I believe that it is normal.
If you still want to get watermark out alone without payment, then you have to figure out yourself.

PHPVibe A.

You are not allowed to rebrand the PHPVibe admin footer, just the front-end.

mistervibeTopic starter

okay understood about the admin panel, but when I tried to customize for the front end still I it shows the phpvibe.com when sharing to FB
  •  

PHPVibe A.

Facebook has an very strong cache for domain details. If you have removed it corectly, it will still take days

AlexH

and do not forget to delete the cache site. By changing those 2 lines will work guaranteed. Tested by me. Without waiting to make facebook update the cache.

mistervibeTopic starter

  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 36978

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 68370

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 47762

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 3915

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 20384

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 3563

Hearted - select all then click Remove-selected, not working

Started by spirog


Replies: 1
Views: 2410