4images Modifications / Modifikationen > Plugins
[Plugin] Randomizer Text Script - DEUTSCH
Sunny C.:
Danke, Fehler behoben und Archiv neu hochgeladen!
Sunny C.:
Hi All,
This plugin displays text from a text file by accident at any point of your page.
Step 1
Extract the folder "Randomizer.rar" load everything that is in the folder "randomizer" high in the specified folder structure.
Overwrite all files *IMPORTANT*
FOPEN must be on!
Open lang/YOUR-LANG/admin.php
Search:
//-----------------------------------------------------
//--- Settings ----------------------------------------
//-----------------------------------------------------
Add below:
//-----------------------------------------------------
//--- Randomizer textscript ---------------------------
//-----------------------------------------------------
$lang_random_auszug = 'Extract from the random.txt';
$lang_random_info = 'Here you will the current in-random.txt Related displayed text. Through a click on the Edit File button youre taken to the editing of the file.';
$lang_random_edit = 'Edit File';
$lang_random_auszug = 'Extract from the random.txt';
$lang_random_edit_txt = 'Edit random.txt';
$lang_random_info2 = 'Here you can random.txt your-online-edit. Thus the text can be properly spent, must be all text or citation in a separate line. A line is terminated with "<br />"';
$lang_random_save = 'Saved File';
$lang_random_txt_saved = 'Txt file is saved. Please try to use online!<br /><br />';
$lang_random_txt_saved_error = 'Error: Unable to open TXT file<br />';
In order to spend the random text on the page, use the following code:
<?php
include './random.php';
?>
Download
www.katzen.ag:
Funktioniert!
Wäre es möglich den Text an einer bestimmten Stelle anzuziegen..qiasi {randomtext}, ihr wisst sicher eas ich meine...
Sunny C.:
Ja, dass machst du mit:
<?php
include './random.php';
?>
www.katzen.ag:
Ach so... ich Depp dachte...egal - prima!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version