Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Beda su modifikacija

Parašė Child· 2009 Kov. 25 15:03:45
#1

Tai va instaliavau Svečių knygą savo svetainėje ir dabar meat tokią nesamonė Table 'zarasaiistorija.fusion_vcode' doesn't exist gal numanote kaip sutvarkyti ?

Parašė Peacemaker· 2009 Kov. 25 15:03:44
#2

Susikurk lentelę fusion_vcode' .

Parašė Child· 2009 Kov. 25 15:03:32
#3

Lengva pasakyti, kad tik žinočiau kaip ją kurti

Parašė Peacemaker· 2009 Kov. 25 15:03:21
#4

Peržiūrėk infusion failą, ten rasi užrašą create tables.

// Create a MySQL table in the selected database
mysql_query("CREATE TABLE example(
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
name VARCHAR(30),
age INT)")
or die(mysql_error());

echo "Table Created!";

Ar panašiai.

Redagavo Peacemaker· 2009 Kov. 25 15:03:14

Parašė Child· 2009 Kov. 25 15:03:14
#5

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2007 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*
| Guestbook Infusion 4.00
|
| Digitanium v1.0 - v2.1
| emblinux v3.0
| slaughter v3.1 - v4.00
|
| Download:
| http://basti2web.de
+----------------------------------------------------*/
if (!defined("IN_FUSION") || !checkrights("I")) { header("Location:../../index.php"); exit; }

if (file_exists(INFUSIONS."guest_book/locale/".$settings['locale'].".php")) {
   include INFUSIONS."guest_book/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."guest_book/locale/English.php";
}

// Infusion Information
$inf_title = $locale['gb100'];
$inf_description = $locale['gb101'];
$inf_version = "4.00";
$inf_developer = "Digitanium, emblinux, slaughter";
$inf_email = "php-fusion@basti2web.de";
$inf_weburl = "http://www.basti2web.de";

$inf_folder = "guest_book";
$inf_admin_image = "";
$inf_admin_panel = "admin/gb_admin.php";

$inf_link_name = $locale['gb100'];
$inf_link_url = "guest_book.php";
$inf_link_visibility = "0";

$inf_newtables = 3;
$inf_insertdbrows = 1;
$inf_altertables = 0;
$inf_deldbrows = 0;

$inf_newtable_[1] = "guestbook_entry (
gb_id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
gb_name VARCHAR(50) NOT NULL DEFAULT '',
gb_email VARCHAR(100) NOT NULL DEFAULT '',
gb_weburl VARCHAR(200) NOT NULL DEFAULT '',
gb_webtitle VARCHAR(50) NOT NULL DEFAULT '',
gb_message TEXT NOT NULL,
gb_show SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
gb_ip VARCHAR(20) NOT NULL DEFAULT '0.0.0.0',
PRIMARY KEY (gb_id)
) TYPE=MyISAM;";

$inf_newtable_[2] = "guestbook_settings (
gb_num INT(100) UNSIGNED NOT NULL DEFAULT '0',
gb_moderated SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_moderated_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_captcha_type SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_captcha_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_spam_words TEXT NOT NULL,
gb_spam_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_flood_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_flood_time INT(100) UNSIGNED NOT NULL DEFAULT '0'
) TYPE=MyISAM;";

$inf_newtable_[3] = "guestbook_log (
gb_log_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
gb_log_type TEXT NOT NULL,
gb_log_userid INT(11) UNSIGNED NOT NULL,
gb_log_ip VARCHAR(20) NOT NULL,
gb_log_name TEXT NOT NULL,
gb_log_email TEXT NOT NULL,
gb_log_url TEXT NOT NULL,
gb_log_message TEXT NOT NULL,
gb_log_datestamp INT(10) NOT NULL,
  PRIMARY KEY (gb_log_id)
) TYPE=MyISAM;";

$inf_insertdbrow_[1] = "guestbook_settings (gb_num, gb_moderated, gb_moderated_access, gb_captcha_type, gb_captcha_access, gb_spam_words, gb_spam_access, gb_flood_access, gb_flood_time) VALUES ('10', '0', '102', '3', '101',
'sex
porn
gangbang
viagra
anal
ass
blowjob
asian
gay
lesbian
href=', '103', '103', '3600')";

$inf_droptable_[1] = "guestbook_entry";
$inf_droptable_[2] = "guestbook_settings";
$inf_droptable_[3] = "guestbook_log";
?>




Štai visas infusion failas, ką iš jo reikia įdėti ?

Parašė Child· 2009 Kov. 25 16:03:11
#6

Tai patars kas nors ką nors?

Parašė Kelmas· 2009 Kov. 25 16:03:10
#7

Išvis tu instalavai ŠŪDINĄ svečių knygą, galiu perašyt ją už 5 eurus paypalu. :)

Parašė Child· 2009 Kov. 25 16:03:03
#8

Nesinaudoju jokiu šudinų paypal ir jei mokėsiu kokiam žmogui už modifikacijas tai tik gerai išmanačiam savo darbą.

Parašė Peacemaker· 2009 Kov. 25 16:03:18
#9

CREATE TABLE fusion_vcode (
vcode_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
vcode_1 VARCHAR(5) NOT NULL DEFAULT '',
vcode_2 VARCHAR(32) NOT NULL DEFAULT ''
) TYPE=MyISAM;

Parašė Child· 2009 Kov. 25 17:03:06
#10

Labai ačiū +10 veikia