Statistik |
Beiträge: 143.837 (Täglich: 19,56 )
Themen: 16.652
Mitglieder: 13.204
Neuestes Mitglied: Daniel-Geselle.
Ausl. d. letzten Minute: 255%
Ausl. d. letzten 5 Minuten: 236%
Ausl. d. letzten 15 Minuten: 224%
Aktulle Uhrzeit: 15:13
Freier Webspace: 4.2 TB
PHP-Version: 7.4.33
|
|
|
|
 |
Wunschbox ins wbb3 (Portal) einbauen |
Tappi
wBB2-User

Zeige Tappi auf Karte
Dabei seit: 30.05.2007
Beiträge: 1.549
2 Filebase-Einträge
Alter: 42 Jahre
Herkunft: Ostwestfalen wBB-Version: wBB2.3 PHP-Version: 7.4 und 8.0 MySQL-Version: MariaDB 10.5.19 Wo bist du gehostet?: Rootserver von www.ip-projects.de
Bewertung:
Level: 49 [?]
Erfahrungspunkte: 9.244.258
Nächster Level: 10.000.000
 |
|
Wunschbox ins wbb3 (Portal) einbauen |
 |
Ich werd noch bekloppt mit diesem wbb3
Also bei uns im Forum bzw. im Portal haben wir eine Wunschbox (geschrieben worden von Viktor) nun diese Wunschbox lief schon mal in einem 3er, mittlerweile ist aus dem 3er ein 4er geworden bzw. wie nennt es sich jetzt Smart Suite oder so, naja auch egal ...
Auf jeden Fall habe ich den Code bekommen, welcher im 3er in die Portalbox gesetzt werden soll, aber irgendwie will das nicht so wie es soll
Die Wunschbox kann ausgeschaltet und eingeschaltet werden, es besteht aber auch die Möglichkeit das nur die Grüße angezeigt werden.
In diesem Fall hier, wird aber alles angezeigt Wunschbox drunter Grußbox und dadrunter, das die Box deaktiviert ist (siehe Bild - ist jetzt nur ein Teil zu sehen)
Hier der Code
php: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
|
<?php
$sFileActive = "http://www.retter-radio.de/wish/active.txt";
$getFile = file_get_contents($sFileActive);
$sFileActive1 = "http://www.retter-radio.de/wish/gactive.txt";
$getFile1 = file_get_contents($sFileActive1);
if ($getFile[0] == '1') {
?>
<span>
<table cellpadding="4" cellspacing="1" border="0" style="width:100%" class="tableinborder">
<tr>
<td class="tablea" align="center">
<span class="smallfont">
<form action="http://www.retter-radio.de/radioforum/vgwunschbox_auswertung.php" target="_blank" method="post" style="text-align: center">
<dl class="box">
<div style="text-align: left">
<dt><label for="user">Name</label></dt>
<table border="0" width="100%" id="table1">
<tr>
<td>
<p style="text-align: left">
<input name="user" id="user"/></td>
</tr>
</table>
</div>
<div style="text-align: left">
<dt><label for="artist">Interpret</label></dt>
<table border="0" width="100%" id="table2">
<tr>
<td><input name="artist" id="artist"/></td>
</tr>
</table>
</div>
<div style="text-align: left">
<dt><label for="title">Titel</label></dt>
<table border="0" width="100%" id="table3">
<tr>
<td><input name="title" id="title"/></td>
</tr>
</table>
</div>
<div style="text-align: left">
<dt><label for="greet">Gruß</label></dt>
<table border="0" width="100%" id="table4">
<tr>
<td><input name="greet" id="greet"/></td>
</tr>
</table>
</div>
</dl>
<p style="text-align: left">
<input value="Absenden" style="border: 1px solid #000; background-color: #DF5858;" type="submit"/>
<input value="Eingaben löschen" style="border: 1px solid #000; background-color: #DF5858;" type="reset"/>
</p>
<p style="text-align: left"><font size="2">Telefongruß<br>
<b>0541 - 4444 - 17739</b>*<br>
</font>
<a target="_top" href="http://www.retter-radio.de/radioforum/jgs_portal_box.php?id=33&sid=">
<font size="2">(mehr dazu hier)</font></a></p>
</form>
</span>
</td>
</tr>
</table>
</span>
<?php
}elseif ($getFile1[0] == '1') {
?>
</span>
<table cellpadding="4" cellspacing="1" border="0" style="width:100%" class="tableinborder">
<tr>
<td class="tablea" align="center">
<span class="smallfont">
<form action="http://www.retter-radio.de/radioforum/vgwunschbox_auswertung_gruss.php" target="_blank" method="post" style="text-align: center">
<dl class="box">
<div style="text-align: left">
<dt><label for="user">Name</label></dt>
<table border="0" width="100%" id="table1">
<tr>
<td>
<p style="text-align: left">
<input name="user" id="user"/>
</td>
</tr>
</table>
</div>
<div style="text-align: left">
<dt><label for="greet">Gruß</label></dt>
<table border="0" width="100%" id="table4">
<tr>
<td><textarea name="greet" id="greet" cols="21" rows="4" name="textarea13"></textarea></td>
</tr>
</table>
</div>
</dl>
<p style="text-align: left">
<input value="Absenden" style="border: 1px solid #000; background-color: #DF5858;" type="submit"/><br><br>
<input value="Eingaben löschen" style="border: 1px solid #000; background-color: #DF5858;" type="reset"/>
</p>
<p style="text-align: left">
<font size="2">Telefongruß<br>
<b>0541 - 4444 - 17739</b>*<br>
</font>
<a target="_top" href="http://www.retter-radio.de/radioforum/jgs_portal_box.php?id=33&sid=">
<font size="2">(mehr dazu hier)</font></a></p>
</form>
</span>
</td>
</tr>
</table>
<span>
<?php
} else {
?>
<span>
<table cellpadding="4" cellspacing="1" border="0" style="width:100%" class="tableinborder">
<tr>
<td class="tablea" align="center">
<span class="smallfont">Wunsch-/Grußbox deaktiviert!</span>
</td>
</tr>
</table>
</span>
<?php
}
?> |
|
Habe Adminrechte bekommen und bin gerade da im ACP und habe dort Templates gefunden, ich dachte das 3er hätte garkeine mehr
Also was ist nun richtig, den ganzen Code in eine Portalbox da setzen oder muss man bzw. kann man auch da mit Templates arbeiten???
Wer kennt sich mit dem 3er aus und kann mir da mal bitte helfen, ich werd sonst noch bekloppt mit dem Mist
Danke schon mal
__________________
Ich bin Ostwestfale: STUR . HARTNÄCKIG . KÄMPFERISCH
|
|
27.02.2018 21:02 |
|
|
Tappi
wBB2-User

Zeige Tappi auf Karte
Dabei seit: 30.05.2007
Beiträge: 1.549
2 Filebase-Einträge
Alter: 42 Jahre
Herkunft: Ostwestfalen wBB-Version: wBB2.3 PHP-Version: 7.4 und 8.0 MySQL-Version: MariaDB 10.5.19 Wo bist du gehostet?: Rootserver von www.ip-projects.de
Bewertung:
Level: 49 [?]
Erfahrungspunkte: 9.244.258
Nächster Level: 10.000.000
Themenstarter
 |
|
Die Box stand auf html, habe sie nun auf PHP gesetzt und was kommt nun
Fatal error: PHP warning in file /var/www/html/web449/html/lib/data/boxes/scripts/customBox65.php (4): file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0
Information:
error message: PHP warning in file /var/www/html/web449/html/lib/data/boxes/scripts/customBox65.php (4): file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0
error code: 0
file: /var/www/html/web449/html/wcf/lib/system/WCF.class.php (281)
php version: 5.3.27
wcf version: 1.1.10 pl 2 (Tempest)
date: Wed, 28 Feb 2018 17:42:44 +0000
request: /index.php?page=Portal
referer: http://www.magic-moon-sims3.com/index.php?page=PMList
Stacktrace:
#0 [internal function]: WCF::handleError(2, 'file_get_conten...', '/var/www/html/w...', 4, Array)
#1 /var/www/html/web449/html/lib/data/boxes/scripts/customBox65.php(4): file_get_contents('http://www.rett...')
#2 /var/www/html/web449/html/lib/data/boxes/CustomBox.class.php(46): include('/var/www/html/w...')
#3 /var/www/html/web449/html/lib/system/portalbox/PortalBoxFactory.class.php(1
06): CustomBox->readData()
#4 /var/www/html/web449/html/lib/system/portalbox/PortalBoxFactory.class.php(4
4): PortalBoxFactory->initializeBoxes(false)
#5 /var/www/html/web449/html/lib/page/PortalPage.class.php(120): PortalBoxFactory->__construct(true, false, true, true, true)
#6 /var/www/html/web449/html/lib/page/PortalPage.class.php(105): PortalPage::getPortalBoxes()
#7 /var/www/html/web449/html/wcf/lib/page/AbstractPage.class.php(90): PortalPage->readData()
#8 /var/www/html/web449/html/lib/page/PortalPage.class.php(147): AbstractPage->show()
#9 /var/www/html/web449/html/wcf/lib/page/AbstractPage.class.php(46): PortalPage->show()
#10 /var/www/html/web449/html/wcf/lib/util/RequestHandler.class.php(64): AbstractPage->__construct()
#11 /var/www/html/web449/html/wcf/lib/util/RequestHandler.class.php(92): RequestHandler->__construct('Portal', Array, 'page')
#12 /var/www/html/web449/html/index.php(
: RequestHandler::handle(Array)
#13 {main}
Ah nun seh ich es .... wrapper is disabled in the server configuration by allow_url_fopen=0
__________________
Ich bin Ostwestfale: STUR . HARTNÄCKIG . KÄMPFERISCH
|
|
28.02.2018 18:44 |
|
|
Tappi
wBB2-User

Zeige Tappi auf Karte
Dabei seit: 30.05.2007
Beiträge: 1.549
2 Filebase-Einträge
Alter: 42 Jahre
Herkunft: Ostwestfalen wBB-Version: wBB2.3 PHP-Version: 7.4 und 8.0 MySQL-Version: MariaDB 10.5.19 Wo bist du gehostet?: Rootserver von www.ip-projects.de
Bewertung:
Level: 49 [?]
Erfahrungspunkte: 9.244.258
Nächster Level: 10.000.000
Themenstarter
 |
|
Ist ja nicht für mein Forum gewesen bzw. dieses liegt nicht auf meinem Server drauf.
Die Magic hat nur Webspace, sie hatte aber ihren Anbieter angeschrieben (nachdem ich wusste woran es liegt) und er hat es aktiviert und nun funktioniert die Wunschbox auch bei ihr tadelos
__________________
Ich bin Ostwestfale: STUR . HARTNÄCKIG . KÄMPFERISCH
|
|
03.03.2018 20:53 |
|
|
Tappi
wBB2-User

Zeige Tappi auf Karte
Dabei seit: 30.05.2007
Beiträge: 1.549
2 Filebase-Einträge
Alter: 42 Jahre
Herkunft: Ostwestfalen wBB-Version: wBB2.3 PHP-Version: 7.4 und 8.0 MySQL-Version: MariaDB 10.5.19 Wo bist du gehostet?: Rootserver von www.ip-projects.de
Bewertung:
Level: 49 [?]
Erfahrungspunkte: 9.244.258
Nächster Level: 10.000.000
Themenstarter
 |
|
Die Magic hat erneut Probleme mit der Wunschbox
https://www.magic-moon-sims.com/
Wie im ersten Beitrag auf dem Bild, auch hier .... oben Wunschbox direkt darunter die Grußbox .... und aktuell ist die eigentlich ausgeschaltet, bei uns z.B. ist sie deaktiviert
Kann das jetzt auch wieder am allow_url_fopen liegen?
Damals war es das wbb3 und jetzt hat sie auch ein wbb sweet swuit .... kein plan wie das neue sich schimpft
Also allow_url_fopen ist noch aktiv ... daran kann es diesmal nicht liegen
__________________
Ich bin Ostwestfale: STUR . HARTNÄCKIG . KÄMPFERISCH
|
|
21.01.2023 17:52 |
|
|
Tappi
wBB2-User

Zeige Tappi auf Karte
Dabei seit: 30.05.2007
Beiträge: 1.549
2 Filebase-Einträge
Alter: 42 Jahre
Herkunft: Ostwestfalen wBB-Version: wBB2.3 PHP-Version: 7.4 und 8.0 MySQL-Version: MariaDB 10.5.19 Wo bist du gehostet?: Rootserver von www.ip-projects.de
Bewertung:
Level: 49 [?]
Erfahrungspunkte: 9.244.258
Nächster Level: 10.000.000
Themenstarter
 |
|
Ok es geht jetzt, es war wohl ein Plugin falsch installiert worden
__________________
Ich bin Ostwestfale: STUR . HARTNÄCKIG . KÄMPFERISCH
|
|
22.01.2023 11:39 |
|
|
|
|
 |
|