Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Content Administration - 9

Questions related to 9´s Articles, Blogs, Custom Pages, Downloads, Forums, Galleries, News, Web Links, FaQs, Polls and Image handling.
763 posts | Last Activity on 02-04-2020 18:29 by daimonbok1
daimonbok1
daimonbok1 02-04-2020 18:29, 14 hours ago
Re: 9.03.50 failed link addition This version is great, almost no problems with adding links. I have had one failure and with that a question arose. As some one who is php shy or uneducated, is there a way to find out why this is occuring and not on Fusions part?????
daimonbok1
daimonbok1 29-03-2020 16:31, 5 days ago
Re: 9.03.50 Link problem never disappeared.... Looks like it's working RobiNN, If there are any other issues, I'll let you know...

Thanks Again for all your work...
daimonbok1
daimonbok1 29-03-2020 16:25, 5 days ago
Re: 9.03.50 Link problem never disappeared.... I'll give it a shot again RobiNN
RobiNN
RobiNN 29-03-2020 02:12, 5 days ago
Re: 9.03.50 Link problem never disappeared.... Upload and try if it works https://github.com/php-fusion/PHP-Fus...on/uri.php
daimonbok1
daimonbok1 29-03-2020 00:45, 5 days ago
Re: 9.03.50 Link problem never disappeared.... Here's one of the links that's giving me a problem, maybe you can see if it's the link or not....

https://www.gunsprings.com/

Thanks, Gene
daimonbok1
daimonbok1 29-03-2020 00:40, 5 days ago
Re: 9.03.50 Link problem never disappeared.... I'll give it a shot RobiNN, thanks!
RobiNN
RobiNN 28-03-2020 23:53, 5 days ago
Re: 9.03.50 Link problem never disappeared.... Try this,
https://github.com/php-fusion/PHP-Fus...hp#L67-L95

Code
if (filter_var($url, FILTER_VALIDATE_URL)) {
 return $url;
} else if (function_exists('curl_version')) {
 $ch = curl_init($url);

 curl_setopt_array($ch, [
 CURLOPT_TIMEOUT => 20,
 CURLOPT_FOLLOWLOCATION => TRUE,
 CURLOPT_NOBODY => TRUE,
 CURLOPT_HEADER => FALSE,
 CURLOPT_RETURNTRANSFER => FALSE,
 CURLOPT_SSL_VERIFYHOST => FALSE,
 CURLOPT_SSL_VERIFYPEER => FALSE
 ]);

 curl_exec($ch);

 $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);

 if ($http_code == 200) {
 return $url;
 } else {
 return FALSE;
 }

 curl_close($ch);
} else if (preg_match("/\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i", $url)) {
 return $url;
}

daimonbok1
daimonbok1 28-03-2020 22:16, 5 days ago
Re: 9.03.50 Link problem never disappeared.... Newest version still refusing to accept all the links.

Gene
V
ViZo 26-03-2020 23:07, 7 days ago
Re: Feature Box Image Icon upload? Thank you for the fix and the help.
Falk
Falk 26-03-2020 19:04, 8 days ago
Re: Feature Box Image Icon upload? Rob patched it today, https://github.com/php-fusion/PHP-Fus...47cd710fbd
Chan is working on a new system for Babylon, so perhaps better to use a PHP file in root for your project.

create a new .php file, add to header

Code
// Required
require_once "maincore.php";
require_once THEMES."templates/header.php";

add_to_title("Your Page Name");

// The following is optional to cut sides.

use PHPFusion\Panels;
Panels::getInstance(TRUE)->hide_panel('LEFT');
Panels::getInstance(TRUE)->hide_panel('RIGHT');

// Place HTML content here, either by echo or cut the php with ?> PURE HTML and init it again with
// Required
require_once THEMES."templates/footer.php";

V
ViZo 26-03-2020 01:57, 8 days ago
Re: Feature Box Image Icon upload? PHP-Fusion version: 9.03.40

On my site I use Feature Box plugin in Custom page.

I want to upload new image and/or modify already uploaded image or modify image settings, but "Save" and "Save and Close" button not working.
What could be wrong?

pitzklan.hu/test/featurebox1.jpg
pitzklan.hu/test/featurebox2.jpg

https://pitzklan.hu/site/viewpage.php...?page_id=4

I tried it on your demo website but it doesn't work.
https://v9.demos.php-fusion.co.uk/home.php
daimonbok1
daimonbok1 25-03-2020 20:12, 9 days ago
Re: More weblinks fun........... Thanks Falk...
Falk
Falk 25-03-2020 16:20, 9 days ago
Re: More weblinks fun........... The link works in Demo.
RobiNN
RobiNN 25-03-2020 16:14, 9 days ago
Re: More weblinks fun........... Here is demo with the latest version https://v9.demos.php-fusion.co.uk/hom...k/home.php
Falk
Falk 25-03-2020 15:57, 9 days ago
Re: More weblinks fun........... New version is out to try.
daimonbok1
daimonbok1 24-03-2020 22:25, 9 days ago
Re: More weblinks fun........... I will RobiNN

btw, I thought that also, redid the original file with your fix and get the same....
RobiNN
RobiNN 24-03-2020 22:11, 9 days ago
Re: More weblinks fun........... Wait for release, maybe you have uploaded again old file.

snipboard.io/soBF59.jpg
daimonbok1
daimonbok1 24-03-2020 22:02, 9 days ago
Re: More weblinks fun........... Previous problem returned after uploading this fix.
Grimloch
Grimloch 24-03-2020 20:35, 9 days ago
Re: Why does this produce an error? That still didn't work but I modified it OK. Thanks !!
Code
if (defined('DB_FORUM_POSTS') && db_exists(DB_FORUM_POSTS)) {
$result = dbquery("SELECT * FROM ".DB_FORUM_POSTS."");
if (dbrows($result) > 0) {
$num_rows = dbrows($result);
 if ($num_rows) {
 $posts = $num_rows;
 }
}
} else { $posts = 0; }

daimonbok1
daimonbok1 24-03-2020 19:43, 10 days ago
Re: More weblinks fun........... That was quick :-) Thanks RobiNN
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.