• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Adding Links or Privacy policies.

Started by machete,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

macheteTopic starter

Hello,
I am trying to add the privacy policy ink into the script.

So far ive tried footer it was ok but open newpage. I would rather it open in same page so I am trying to put the policy link into tpl/main/sidebar php file.

I mimicked:
if(get_option('showuprivacy','1') == 1 ) {
echo '<li class="lihead"><a href="'.site_url().privacy.'/"><i class="icon-indent">'._lang('Privacy').'</a></li>';

I made  privacy.php and a com_privacy.php

All I get is he 404 error everytime I try to do it.

Do I need coding somewhere else or the file in a certain folder or?

Anyhelp is appreciated.
Thank you
  •  

Marius P.

Ok, the simple question is why?

Why not make an article and just link it? That would take you 1 minute.
As for 404, it's normal, you need to add a routing rule to index.php for /privacy
As for opening in new page, make sure it doesn't have target="_blank" in the link.
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!
  •  

macheteTopic starter

So true Mario, article would be easier. I have not Checked that out yet.
Thanks
  •  

macheteTopic starter

Hey guys,
I don't want to make a bunch of separate posts for the issues. So hopefully you don't mind if I just post in my current one.

Mario, I have read that page link 4 times but still don't understand what to add to footer/header or what not to add a privacy policy link. (I did make a article for privacy policy) so would like to add a quick link to it? Is it possible you can inform me on what I need to add to or do I add a simple link since its in articles now?

Also my other issue is I setup automated crons. So far everything is well except for automated I get this error:
/var/www/*****/afflixtion.com/httpdocs/cron.php: line 1: syntax error near unexpected token `('
/var/www/*****/afflixtion.com/httpdocs/cron.php: line 1: `<?php require_once("load.php");

For post sake I blanked out my hosting company. I looked in cronphp and this is the line:<?php require_once("load.php");  Looks fine to me but im no coder?
Permissions are 555 on cron.php
ffmpeg etc is working, I have looked the error up but most on here have fmpeg or some report error similar.

Any advice on how to fix it? Its phpvibe 4.0 recently downloaded and used the upgrade folder for 4.22
thanks
  •  

Will

This is what worked for me.

1. Go to your admin panel and select SETTINGS in the menu
2. In the SETTINGS menu select GLOBALS
3. In GLOBALS scroll down to the COPYRIGHT section and enter the following code to link to your Privacy Policy Page.
<a href="http://Your Privacy Policy URL">Privacy Policy</a>


That should create a link in your footer directly to your Privacy Policy page. I created my privacy policy, dmca, and terms of use as Articles and just linked to them. Hope this helps. (To link multiple pages just use that code once for each page and they should all show up in the footer.)
  •  

macheteTopic starter

Quote from: Will on
This is what worked for me.

1. Go to your admin panel and select SETTINGS in the menu
2. In the SETTINGS menu select GLOBALS
3. In GLOBALS scroll down to the COPYRIGHT section and enter the following code to link to your Privacy Policy Page.
<a href="http://Your Privacy Policy URL">Privacy Policy</a>


That should create a link in your footer directly to your Privacy Policy page. I created my privacy policy, dmca, and terms of use as Articles and just linked to them. Hope this helps. (To link multiple pages just use that code once for each page and they should all show up in the footer.)

Yes thank you that helps a lot. Now to figure out that cron error and I may be all set.
  •  

Similar topics (7)