| | |
| Stránka: 1 z 1
| [ Príspevok: 1 ] | |
Autor | Správa |
---|
Registrovaný: 01.05.05 Príspevky: 13348 Témy: 1496 Bydlisko: Bratislava | Napísal JanoF: 14.10.2006 15:06 | |
|
Kód: ############################################################## ## MOD Title: Scrolling Welcome Message ## MOD Version: 1.0 ## Author: articzap < articzap@gmail.com > < http://www.creativedraft.com/forums > ## ## Description: Displays a welcome message on your main index page, and ## is changeable via the admin control panel. ## ## Installation Level: easy ## Installation Time: 5 minutes ## Files To Edit (4): index.php ## admin/admin_board.php ## templates/chunkstyle/index_body.tpl ## templates/chunkstyle/admin/board_config_body.tpl ## ############################################################## ## This MOD is released under the GPL License. ## Intellectual Property is retained by the MOD Author(s) listed above ############################################################## ## ## Authors Notes: ## ## This mod does allow for HTML coding to be programmed in to add a certain style. This mod was ## also done in chunkStyle template. You MAY NEED to change some of the HTML to fit other styles. ## ## To change the welcome message, go to Admin Control Panel -> General Admin -> Configuration. It ## is the 6th box down. ## ## Enjoy! ## ############################################################## ## ## Mod History: ## ## v1.0 2/23/2005 ## - initial Release ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## ## ## Making the database changes: ## ## You must run the following SQL query:
INSERT INTO phpbb_config VALUES ('site_welcome', 'Site Message')
## (This query assumes the default database name of phpbb; you will need to change this if ## you have chosen a different prefix for your database name). ## ##############################################################
# #-----[ OPEN ]-------------------------------------------- # index.php
# #-----[ FIND ]-------------------------------------------- #
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
# #-----[ AFTER, ADD ]------------------------------ #
'SITE_WELCOME' => $board_config['site_welcome'],
# #-----[ OPEN ]-------------------------------------------- # admin/admin_board.php
# #-----[ FIND ]-------------------------------------------- #
"SITE_DESCRIPTION" => $new['site_desc'],
# #-----[ AFTER, ADD ]------------------------------ #
"SITE_WELCOME" => $new['site_welcome'],
# #-----[ OPEN ]-------------------------------------------- # templates/chunkstyle/index_body.tpl
# #-----[ FIND ]-------------------------------------------- # # *Note* Your style folder may very along with the lines to look for and what to add. # # # May be easier to search for {U_INDEX} then look for the <br> that follows. #
<table class="forumborder" width="100%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td colspan="2" class="title2" style="border-top:0px;" width="100%"> Go to </td> </tr> <tr> <td class="colour1" align="left"><a href="{U_INDEX}">{L_INDEX}</a></td> </tr> </table> <br />
# #-----[ AFTER, ADD ]------------------------------ # # Please make necessary changes to fit your template. #
<table class="forumborder" width="100%" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td colspan="2" class="title2" style="border-top:0px;" width="100%"> News </td> </tr> <tr> <td class="colour1" align="left"><marquee scrollamount=2 onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=2" BEHAVIOR=alternate>{SITE_WELCOME}</marquee></td> </tr> </table> <br />
# #-----[ OPEN ]-------------------------------------------- # templates/chunkstyle/admin/board_confg_body.tpl
# #-----[ FIND ]-------------------------------------------- #
<tr> <td class="row1">{L_SITE_DESCRIPTION}</td> <td class="row2"><input class="post" type="text" size="40" maxlength="255" name="site_desc" value="{SITE_DESCRIPTION}" /></td> </tr>
# #-----[ AFTER, ADD ]------------------------------ #
<tr> <td class="row1">Site Welcome Message</td> <td class="row2"><input class="post" type="text" size="40" maxlength="255" name="site_welcome" value="{SITE_WELCOME}" /></td> </tr>
# #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ #
_________________ Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF & 24" LCD EIZO FlexScan EV2451 | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 7 Ultimate | APC Back-UPS ES 700 | Lenovo ThinkPad X250 | iPhone X 256 GB & Pitaka Aramid | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA | Ubuntu Server |
|
| Stránka: 1 z 1
| [ Príspevok: 1 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
| scrolling v HTML, XHTML, XML, CSS | 2 | 488 | 16.09.2008 12:28 walther | | CSS a scrolling v HTML, XHTML, XML, CSS | 16 | 1106 | 04.09.2008 14:00 Blackshadow | | Windows Vista - Welcome Center - freezing v Operačné systémy Microsoft | 0 | 287 | 19.03.2008 1:45 STJ | | pomaly sekany scrolling vo FF v HTML, XHTML, XML, CSS | 2 | 566 | 16.05.2016 17:41 neopagan | | Joomla Problem s Welcome to the FrontPage v Redakčné systémy | 3 | 812 | 02.12.2008 17:52 mariachi | | Vypnutie obrazovky pred 'welcome screen' win xp v Operačné systémy Microsoft | 4 | 557 | 15.01.2007 17:43 raddo | | hlaska SYSTEM MESSAGE v Antivíry a antispywary | 0 | 852 | 12.04.2008 22:35 popolvar | | Disable Board Message v Redakčné systémy | 0 | 3742 | 13.10.2006 9:23 JanoF | | Acer Extensa 5620 scrolling na touchpade vo Win8 v Notebooky a netbooky | 3 | 345 | 04.01.2014 15:50 brmbo | | Message Box YES/NO v JavaScript, VBScript, Ajax | 3 | 457 | 10.11.2009 20:52 myxall | | Runtime++library message error v Notebooky a netbooky | 2 | 646 | 18.05.2009 11:39 MORPHIUM | | Private Message Encryption and Decryption v Redakčné systémy | 0 | 515 | 13.10.2006 9:26 JanoF | | Laravel / NextJS / message: 'CSRF token mismatch. v PHP, ASP | 0 | 445 | 30.11.2021 2:45 Hi332 | | Python - Cryptographic message syntax CMS + pecat v Perl, Python, Ruby, CGI | 2 | 351 | 29.06.2021 14:49 arno |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|