Notice: Use of undefined constant gb_version - assumed 'gb_version' in C:\Inetpub\MCSOnline\infusions\guest_book\gb_functions.php on line 25
Notice: Undefined variable: guestbook_id in C:\Inetpub\MCSOnline\infusions\guest_book\guest_book.php on line 36
define(gb_version, '4.03');
if (!isNum($guestbook_id)) $guestbook_id = "";
if (isset($guestbook_id) && !isNum($guestbook_id)) $guestbook_id = "";
error_reporting(E_ALL);
Quote
slaughter wrote:
No problem ;)
If you have any suggestions for next versions, please let me know them ;)
Quote
This version of the Guestbook is only for PHPFusion 6.01.12 or higher!!
Quote
MrSimple wrote:
Just a thought: isn't there a way to verify the needed PHPFusion version before an infusion is infused?
$yourversion = $settings['version'];
$infusionrequired = "6.01.12";
if ($yourversion >= $infusionrequired) {
// here the intall code
} else {
echo "You're running v".$yourversion.". This infusion requires v".$infusionrequired." or higher. Please update your php-fusion to latest version.";
}
Category Forum
General DiscussionLabels
None yet
Statistics
19 participants
Notifications
You are not receiving notifications from this thread.
Related Questions