Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Site News Plugin
#11
Du willst das Plugin in die Startseite vom Forum einbauen? Das geht nicht. Das Plugin ist für externe Seiten.
Oder habe ich das falsch verstanden? Wenn ja, baue es nochmal ein und gebe mir einen Link zum Ort, wo es erscheinen soll.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#12
Oh nö, so wars eigentlich gedacht.. dann hat sich das wohl erledigt.. schade eigentlich aber ok. Grins...
Zitieren
#13
wo muss die forum adresse in den php cod rein?
Zitieren
#14
Bei:
PHP-Code:
// The Directory to the forum you are using this on. 
// You do not need a beggining or trailing slash
$directory_to_forum "forum"
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#15
also müsste das dann so aussehen?:
<?php

define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
define("NO_ONLINE", 1);

http://andre2005.an.funpic.de/forum

require dirname(__FILE__)."/".$directory_to_forum."/global.php";

$plugins->run_hooks("site_news_plugin_run");

?>
Zitieren
#16
Nein. Du kannst nicht die URL nehmen. Du musst den Pfad angeben. Der Code müsste aber richtig sein.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#17
das geht nicht wenn ich es öffne kommt Parse error: syntax error, unexpected T_STRING in und dann noch so ein komischer link
ich benutze etz:

PHP-Code:
<?php

define
("IN_MYBB"1);
define("KILL_GLOBALS"1);
define("NO_ONLINE"1);

/
forum/news.php

require dirname(__FILE__)."/".$directory_to_forum."/global.php";

$plugins->run_hooks("site_news_plugin_run");

?>


kann mir mal jemand einen beispiel cod geben der auch geht?
Zitieren
#18
Was machst du? Der Code war doch richtig. Du musst da nichts ändern.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#19
ich habe den Pfad reingemacht das ging vorher aber trotzdem nicht ich kapier das einfach nicht

Das ist meine HP Cod:

<html>
<head>
<title>Webcam</title>
<style type="text/css">
<!--body { scrollbar-face-color: #C1C1C1; scrollbar-highlight-color: #C1C1C1; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #000000; scrollbar-shadow-color: #000000; scrollbar-arrow-color: #000000; scrollbar-track-color: #000000; } a:link { color: #C51917; text-decoration:none; } a:visited {color: #C51917; text-decoration:none; } a:active {color: #C51917; text-decoration:none; } a:hover {color: #D5D5D3; text-decoration:none; }-->
</style>
</head>
<body bgcolor="#000000" topmargin="0" leftmargin="0">
<img width="1011" height="600" border="0" align="left" src="http://andre2005.an.funpic.de/eigenesdesignhk12.jpg" scroll="no" bgproperties="fixed" style="position: absolute; top: 0pt; left: 0pt;" />
<div style="overflow: auto; position: absolute; width: 743px; height: 431px; left: 244px; top: 122px;"><span style="font-family: Arial; font-size: 10pt; color: rgb(255, 255, 255);"><span style="color: rgb(0, 255, 0);"><span style="font-family: Impact;"><span style="font-family: Comic Sans MS; color: rgb(0, 255, 0);">textseite</span><br />
</span></span></span></div>
<div style="overflow: auto; position: absolute; width: 187px; height: 340px; left: 16px; top: 121px;"><span style="font-family: Arial; font-size: 10pt; color: rgb(255, 255, 255);"><span style="text-decoration: underline; color: rgb(255, 0, 0);">navi</span><br />
</span></div>
<div style="">&nbsp;</div>background-repeat: no-repeat <span style="color: rgb(0, 255, 0);"><span style="font-family: Impact;"><span style="font-family: Comic Sans MS; color: rgb(0, 255, 0);">l</span><br />
</span></span>
</body>
</html>

angenommen ich will das da haben wo textseite steht haben.
Wie müsste der HP Cod aussehen wenn da das teil da drin ist?
Zitieren
#20
PHP-Code:
<html>
<
head>
<
title>Webcam</title>
<
style type="text/css">
<!--
body scrollbar-face-color#C1C1C1; scrollbar-highlight-color: #C1C1C1; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #000000; scrollbar-shadow-color: #000000; scrollbar-arrow-color: #000000; scrollbar-track-color: #000000; } a:link { color: #C51917; text-decoration:none; } a:visited {color: #C51917; text-decoration:none; } a:active {color: #C51917; text-decoration:none; } a:hover {color: #D5D5D3; text-decoration:none; }-->
</style>
</
head>
<
body bgcolor="#000000" topmargin="0" leftmargin="0">
<
img width="1011" height="600" border="0" align="left" src="http://andre2005.an.funpic.de/eigenesdesignhk12.jpg" scroll="no" bgproperties="fixed" style="position: absolute; top: 0pt; left: 0pt;" />
<
div style="overflow: auto; position: absolute; width: 743px; height: 431px; left: 244px; top: 122px;"><span style="font-family: Arial; font-size: 10pt; color: rgb(255, 255, 255);"><span style="color: rgb(0, 255, 0);"><span style="font-family: Impact;"><span style="font-family: Comic Sans MS; color: rgb(0, 255, 0);"><?php

define
("IN_MYBB"1);
define("KILL_GLOBALS"1);
define("NO_ONLINE"1);

// The Directory to the forum you are using this on. 
// You do not need a beggining or trailing slash
$directory_to_forum "forum"

chdir($directory_to_forum);
require 
dirname(__FILE__)."/".$directory_to_forum."/global.php";

$plugins->run_hooks("site_news_plugin_run");

?></span><br />
</span></span></span></div>
<div style="overflow: auto; position: absolute; width: 187px; height: 340px; left: 16px; top: 121px;"><span style="font-family: Arial; font-size: 10pt; color: rgb(255, 255, 255);"><span style="text-decoration: underline; color: rgb(255, 0, 0);">navi</span><br />
</span></div>
<div style=""> </div>background-repeat: no-repeat <span style="color: rgb(0, 255, 0);"><span style="font-family: Impact;"><span style="font-family: Comic Sans MS; color: rgb(0, 255, 0);">l</span><br />
</span></span>
</body>
</html> 
Die Datei muss aber eine PHP-Datei sein.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Video Site BBCode: EVID 1.4 MyBB.de Bot 0 2.017 30.06.2009, 17:18
Letzter Beitrag: MyBB.de Bot
  Video Site Tag Plugin MyBB.de Bot 9 4.512 05.04.2008, 16:57
Letzter Beitrag: Jockl
  Site Signature MyBB.de Bot 3 2.610 02.04.2008, 19:07
Letzter Beitrag: niGhtY