Probleme MOD 1651 (hack random banners)

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
tinachess
Mitglied
Beiträge: 41
Registriert: 12.08.2008 16:04

Probleme MOD 1651 (hack random banners)

Beitrag von tinachess »

Hallo,

habe og. mod installiert, aber ansattt des zufälligen Banners im Header erscheint auf der startseite folgender Text: th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ .maintitle { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 12px; } .gensmall { font-size : 12px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 12px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #006699; } a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 12px; color : #000000;} a.nav { text-decoration: none; color : #006699; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle,h1,h2 { font-weight: bold; font-size: 12px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 12px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 12px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px; line-height: 18px} a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 12px; color: #006600; background-color: #FAFAFA; border: #FFFFFF; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #FFFFFF; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 12px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color : #FFFFFF; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #FFFFFF; color : #000000; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; } /* None-bold submit button */ input.liteoption { background-color : #FAFAFA; font-weight : normal; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #FFFFFF; border-style: none; } /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ @import url("templates/subSilver/formIE.css"); -->

Und die Stelle: "# the place where the banner is located;
# I don't know how this looks like in other styles...
# You can put this anywhere you want the banner to be shown." ist im overall header auch nicht zu finden. Wo soll ich {RANDOM_BANNER} einsetzen? Hier der Link zum overall_header:

http://freenet-homepage.de/rutha-bengae ... c62c87.tpl


Vielen Dank im Voraus,

Freundliche Grüße,

Tina
Benutzeravatar
Balint
Mitglied
Beiträge: 1815
Registriert: 25.01.2003 21:43
Wohnort: Stuttgart
Kontaktdaten:

Beitrag von Balint »

Hallo!

{RANDOM_BANNER} jedenfalls nicht in den Head-Bereich, sondern irgendwo nach <body> einsetzen.

Du wirst die angegebene Codestelle nicht finden, weil es eine Erklärung vom Autor ist...!

Wo willst du denn das Banner hinhaben?


Viele Grüße,
Bálint
Meine MODs für phpBB 2.x und phpBB 3.x!
Boecki91
Ehemaliges Teammitglied
Beiträge: 4744
Registriert: 18.06.2006 15:21

Beitrag von Boecki91 »

Manchmal wäre leichte Englischkenntnisse vorteilhaft ;)
Standart: Am besten mit beiden Beinen auf dem Boden
Standardmäßig antworte ich nicht auf PMs
Tanja63
Mitglied
Beiträge: 93
Registriert: 26.11.2006 08:58

Re: Probleme MOD 1651 (hack random banners)

Beitrag von Tanja63 »

aktiviere erstmal deine .css Datei.

Dann hast du den Inhalt der .css mitten in den Header kopiert <- entfernen.
tinachess
Mitglied
Beiträge: 41
Registriert: 12.08.2008 16:04

Banner oben in der Mitte

Beitrag von tinachess »

Hallo, ich wollte den Banner oben am Anfang in der Mitte haben. Wo setze ich da was ein?

Danke im Voraus,

Gruß,

Tina
Benutzeravatar
Balint
Mitglied
Beiträge: 1815
Registriert: 25.01.2003 21:43
Wohnort: Stuttgart
Kontaktdaten:

Beitrag von Balint »

Hallo!

Suche

Code: Alles auswählen

<a name="top"></a>
Füge DANACH ein:

Code: Alles auswählen

<div align="center">{RANDOM_BANNER}</div>

Viele Grüße,
Bálint
Meine MODs für phpBB 2.x und phpBB 3.x!
tinachess
Mitglied
Beiträge: 41
Registriert: 12.08.2008 16:04

SQL-Anweisung in der install ncht zu finden

Beitrag von tinachess »

Hallo,

habe den Hack installiert, aber folgende Fehlermeldung: General Error

Couldn't obtain logo information

DEBUG MODE

SQL Error : 1146 Table 'chessforum1.phpbb_logos' doesn't exist

SELECT image FROM phpbb_logos WHERE page IN (0, -4996, -4998 )

Line : 381
File : page_header.php .

Wo finde ich die SQL-Anweisung für die Tabellen, die ich erstellen muss?

Danke im Voraus,

Grüße, Tina
tinachess
Mitglied
Beiträge: 41
Registriert: 12.08.2008 16:04

Syntaxfehler??

Beitrag von tinachess »

Hallo,

habe durch Recherchen den SQL-Befehl zu random banners hack gefunden. Warum erhalte ich folgende Fehlermeldung? Wo ist in der Tabelle hier der Syntaxfehler:

-- phpMyAdmin SQL Dump
-- version 2.8.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 20. August 2008 um 23:43
-- Server Version: 5.0.21
-- PHP-Version: 5.1.4
--
-- Datenbank: `chessforum1`
--
-- --------------------------------------------------------
CREATE TABLE `phpbb_logos` (

`logo_id` int( 11 ) unsigned NOT NULL AUTO_INCREMENT ,
`logo_page` varchar( 255 ) COLLATE latin1_general_ci default NULL ,
`cat_id` mediumint( 8 ) unsigned,
PRIMARY KEY ( `logo_id` ) ,
ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci;



MySQL meldet:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci' at line 6

Vielen Dank im Voraus,

Grüße,

Tina
tinachess
Mitglied
Beiträge: 41
Registriert: 12.08.2008 16:04

Probleme Overall_Header

Beitrag von tinachess »

Hallo,

habe Code entsprechend eingefügt, trotzdem kein Banner im Header zu sehen! Hier der Link zur overall_header: http://freenet-homepage.de/rutha-bengae ... 560813.txt .

Was ist verkehrt?

Vielen Dank im Voraus,

Gruß,

Tina
Benutzeravatar
Balint
Mitglied
Beiträge: 1815
Registriert: 25.01.2003 21:43
Wohnort: Stuttgart
Kontaktdaten:

Beitrag von Balint »

Hallo!

Wenn die SQL-Anweisungen nicht erfolgreich waren, dann kann da kein Logo erscheinen...

wenn du aber die Installationsanweisungen richtig gelesen hättest, wärst du wahrscheinlich auf diesen Punkt aufmerksam geworden:

Code: Alles auswählen

#
#-----[ RUN ]------------------------------------------ 
# upload, run and delete if finished
# NOTE: do this with the file (213to3xx_db_update.php) if you're updating from v2.1.3
# OR, if you're coming from v3.2.1, run the file: 321to322_db_update.php

banner_db_update.php
Bitte bemühe dich vor dem MOD-Einbau, die Anweisungen zu verstehen, zur Not hilft dir bestimmt jemand in der Jobbörse weiter.


Viele Grüße,
Bálint
Meine MODs für phpBB 2.x und phpBB 3.x!
Antworten

Zurück zu „phpBB 2.0: Mod Support“