Forum Roadto
Nachbau des Leichtathletikforums - Druckversion

+- Forum Roadto (http://forum.roadto.de)
+-- Forum: Roadto-Themen (http://forum.roadto.de/forumdisplay.php?fid=10)
+--- Forum: Weiterentwicklung (http://forum.roadto.de/forumdisplay.php?fid=11)
+--- Thema: Nachbau des Leichtathletikforums (/showthread.php?tid=2)



Nachbau des Leichtathletikforums - Oliver - 04.07.2018

TODO:
-Prognosetippspiel zum Laufen bringen
-Tippspiel zum Laufen bringen
- Konfiguration roadto zu Laufen bringen


RE: Nachbau des Leichtathletikforums - Oliver - 07.07.2018

textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}

$message ist eine PHP-Variable
Die Templates codebuttons und multiquote scheinen nicht relevant zu sein.
- codebuttons (Ungrouped Templates)- multiquote_external (newreply_multiquote_external)


RE: Nachbau des Leichtathletikforums - Oliver - 08.07.2018

MyBB hat einen Mechanismus über den eigener Code eingeschleust werden kann.
In den Plugin müssen dies "Hooks" aufgerufen werden.
First add the hook by putting the following code above the _info() function near the top of your plugin file:
$plugins->add_hook('<hook name>', '<function name>');
Where <hook name> is the name of the hook you wish to use, and <function name> is the name of a function in your plugin that will be run every time this hook is called.

Im simpleEdtor-Plugin wird der Code von codebuttons ausgetauscht:
$plugins->add_hook('global_end', 'setCKeditor');
function setCKeditor() {    
   global $templates;
   if(!simpleckeditor_is_allowed()) {
        return false;    
    }    
    $templates->cache['codebuttons'] = simpleckeditor('{$bind}');
}


Wie geht es jetzt weiter? Woher kommt {$bind}?


RE: Nachbau des Leichtathletikforums - bestenliste - 10.07.2018

Ist es ein User-Problem?


RE: Nachbau des Leichtathletikforums - Oliver - 10.07.2018

(04.07.2018, 16:26)Oliver schrieb: TODO:
-Prognosetippspiel zum Laufen bringen
-Tippspiel zum Laufen bringen
- Konfiguration roadto zu Laufen bringen
ich verstehe nichts mehr


RE: Nachbau des Leichtathletikforums - Oliver - 16.07.2018

(04.07.2018, 16:26)Oliver schrieb: TODO:
-Prognosetippspiel zum Laufen bringen
-Tippspiel zum Laufen bringen
- Konfiguration roadto zu Laufen bringen

test


RE: Nachbau des Leichtathletikforums - Oliver - 31.01.2024

Test2