US-Cars
Mitglied
Dabei seit: 04.10.07
Beiträge: 1
Fähigkeiten: WBB2 Fortgeschritten Herkunft: Ba-Wü Forenversion: 2.3
|
|
Zitat: |
Original von AoC Support
EDIT /
Damit läßt sich die Teamseite auch unter mySQL 5 installieren
find on line 574
php: |
1:
2:
3:
4:
5:
|
$result = $db->query("INSERT INTO bb".$n."_acpmenuitemgroups
(title, condition, conditiontype, showorder, acpmode)
VALUES
('Teamsite v3', 'a_can_team_edit;m_can_team_auf_edit',
'OR', '".$showorder."', 1)"); |
|
replace with
php: |
1:
2:
3:
4:
5:
|
$result = $db->query("INSERT INTO bb".$n."_acpmenuitemgroups
(title, `condition`, `conditiontype`, showorder, acpmode)
VALUES
('Teamsite v3', 'a_can_team_edit;m_can_team_auf_edit',
'OR', '".$showorder."', 1)"); |
|
find on line 579
php: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
|
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, condition, conditiontype, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=view', 'TEAMSITE_CAT_OPT', '<b>%s</b>', 'a_can_team_edit', 'OR', 1, 1)");
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, condition, conditiontype, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=orderview', 'TEAMSITE_ORDER_EDIT', '%s', 'a_can_team_edit', 'OR', 2, 1)");
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, condition, conditiontype, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=aufedit', 'TEAMSITE_AUF_EDIT', '%s', 'a_can_team_edit', 'OR', 3, 1)");
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, condition, conditiontype, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=ownedit', 'TEAMSITE_AUF_OWN_EDIT', '<b>%s</b>', 'm_can_team_auf_edit', 'OR', 4, 0)"); |
|
replace with
php: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
|
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, `condition`, `conditiontype`, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=view', 'TEAMSITE_CAT_OPT', '<b>%s</b>', 'a_can_team_edit', 'OR', 1, 1)");
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, `condition`, `conditiontype`, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=orderview', 'TEAMSITE_ORDER_EDIT', '%s', 'a_can_team_edit', 'OR', 2, 1)");
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, `condition`, `conditiontype`, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=aufedit', 'TEAMSITE_AUF_EDIT', '%s', 'a_can_team_edit', 'OR', 3, 1)");
$db->query("INSERT INTO bb".$n."_acpmenuitems
(itemgroupid, link, languageitem, linkformat, `condition`, `conditiontype`, showorder, acpmode)
VALUES ('$itemgroupid', 'teamsite.php?action=ownedit', 'TEAMSITE_AUF_OWN_EDIT', '<b>%s</b>', 'm_can_team_auf_edit', 'OR', 4, 0)"); |
|
Viel Spass mit der Teamseite
|
Es lohnt sich, hier in den Beiträgen zu stöbern, auch wenn es einiges an Zeit in Anspruch nimmt.
Herzlichen Dank für diesen Beitrag - er hat mir sehr geholfen, den Hack so zu installieren, dass er auch perfekt läuft!!!!
|
|