• Welcome to PHPVIBE Forums. Please log in.

Recent posts

#21
M
Upgrades / Re: Security Admin Pin Numbers...
Last post by Merv77 -
Hello tweky94, unfortunately that did not work:-)
#22
T
Upgrades / Re: Security Admin Pin Numbers...
Last post by tweky94 -
hi , and sorry for my english  :D
look photo , I think it's a small bug, but it's not a problem, press more and refresh the cache, then put the password and enter
#23
M
Upgrades / Security Admin Pin Numbers Fai...
Last post by Merv77 -
Hello everyone,

              like most of you I've been waiting for the do-over of this amazing CMS.I just insatlled a new version once again , the first install was last evening, and on both installations, using different msql databases. After inserting my security admin numbers, the CMS don't allow me to enter the admin section of my website. Does anyone have any suggestions please? See my new site here:https://mervintimothyreyes.com/

Thanks
Mervin Reyes
https://mervintimothyreyes.com/
#24
H
Help me! / Re: How to restrict visitors t...
Last post by HPR -
Thanks Mario for explanation i ll check it asap ^-^
#25
H
Bug tracker / Share button not working in sm...
Last post by HPR -
Hello
i Installed vibe for test
i found share button not working on smart phone
Also mentined on github few months back

Anyone facing same issue?

#26
H
Bug tracker / Uncaught mysqli_sql_exception:...
Last post by HPR -
Hello
while installing i found following error

Uncaught mysqli_sql_exception: Specified key was too long; max key length is 1000 bytes in /www/wwwroot/test.domain.com/app/classes/ez_sql_mysqli.php:264 Stack trace: #0 /www/wwwroot/test.domain.com/app/classes/ez_sql_mysqli.php(264): mysqli->query() #1 /www/wwwroot/test.domain.com/setup/install.db.php(72): ezSQL_mysqli->query() #2 {main} thrown in
/www/wwwroot/test.domain.com/app/classes/ez_sql_mysqli.php
on line
264

Uncaught mysqli_sql_exception: Field 'id' doesn't have a default value in /www/wwwroot/test.domain.com/app/classes/ez_sql_mysqli.php:264 Stack trace: #0 /www/wwwroot/test.domain.com/app/classes/ez_sql_mysqli.php(264): mysqli->query() #1 /www/wwwroot/test.domain.com/setup/index.php(372): ezSQL_mysqli->query() #2 {main} thrown in /www/wwwroot/test.domain.com/app/classes/ez_sql_mysqli.php on line 264

 :-[
#27
avatar_Marius P.
Style / Re: videoclipuri pe prima pagi...
Last post by Marius P. -
#28
T
Style / Re: videoclipuri pe prima pagi...
Last post by tweky94 -
imi spui te rog cum modific si in pagina de videourile sa nu se vada blurat ?
https://ibb.co/ZHv77BV
#29
avatar_Marius P.
Help me! / Re: How to restrict visitors t...
Last post by Marius P. -
Hi


if (!is_user()) { 
//show something to guests
} else {
//show something else to users
}

You can use this in index.php and load a different component.

https://github.com/PHPVibe/PHPVibe/blob/master/index.php

for example replace :

$router->map('/', 'home', array('methods' => 'GET', 'filters' => array('id' => '(\d+)')));

with

if (!is_user()) { 
$router->map('/', 'guesthome', array('methods' => 'GET', 'filters' => array('id' => '(\d+)')));
} else {
$router->map('/', 'home', array('methods' => 'GET', 'filters' => array('id' => '(\d+)')));
}

and then create your guesthome.route.php in /views

you can clone https://github.com/PHPVibe/PHPVibe/blob/master/views/home.route.php and change

include_once(TPL.'/home.php');

to

include_once(TPL.'/guesthome.php');

and you'll need to build that guesthome.php in the theme folder similar to how home is built, but with your custom content for guests https://github.com/PHPVibe/PHPVibe/blob/master/themes/main/home.php
#30
avatar_Marius P.
Plugins / Re: License- Plugin Issue
Last post by Marius P. -
Hi!

1). The old licenses are kept only for those who are still using v6 and v5.
Once these versions reach the end of life it's also the end of the regular licensing system.
Regular licenses are not commercial licenses.
If your work falls under the commercial category you'll need to get a commercial license.  https://phpvibe.com/commercial-license/o1g/
But you can test without one as much as you want before launching the public website.
2). The commercial license only includes rights to use the CMS on a commercial project and has nothing to do with the plugins.
3). There is no connection between these two. The YouTube importer is released as a separate plugin now for the sole purpose of helping finance the continuation of this project. At least keep it online.