• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] How to hide a link for members only

Started by grantj21,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

grantj21Topic starter

How can I hide a link for login users only I was thinking something like this.
if(array_key_exists('Username', $_SESSION)) { echo '<a href="./demo.php" target="_self"> Demo Page </a>'; }

Any help on this one?
  •  

PHPVibe A.


grantj21Topic starter

  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 47111

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 75904

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 57650

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

Started by spirog


Replies: 2
Views: 5335

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 27496

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

Started by spirog


Replies: 4
Views: 10709

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 10270