[ Príspevok: 1 ] 
AutorSpráva
Offline

Prevádzkovateľ fóra
Prevádzkovateľ fóra
Scrolling Welcome Message

Registrovaný: 01.05.05
Príspevky: 12424
Témy: 1447 | 1447
Bydlisko: Bratislava
Vek: 32
NapísalOffline : 14.10.2006 15:06 | Scrolling Welcome Message

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 ]------------------------------------------
#


_________________
SilverStone SST CS01 | Corsair SF600 600W SFX | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 (16 Cores / 32 Threads) & Noctua NH-U9DX i4 | Kingston HyperX Savage 32 GB DDR4 2400 MHz | PNY NVIDIA Quadro K1200 DP 4 GB DDR5 | Intel SSD 750 1.2 TB NVMe & Intel SSD 730 240 GB SATA & Seagate BackUp Plus Portable 12 TB USB | 31.5" 4K LCD EIZO FlexScan EV3237 & 2 x 24" LCD EIZO FlexScan EV2451 | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech Wireless G700s | Harman Kardon Nova | Microsoft Windows 7 Ultimate | APC Back-UPS ES 700 | Lenovo ThinkPad X250 - Intel Core i7 5600U, 8 GB DDR3 1600 MHz, Intel HD Graphics 5500, SanDisk SSD 512 GB, 12.5 FHD LED IPS, WWAN 3G 4G LTE, Microsoft Windows 7 Ultimate | Nintendo Classic Mini | BlackBerry Passport 96 GB
 [ Príspevok: 1 ] 


Scrolling Welcome Message



Podobné témy

 Témy  Odpovede  Zobrazenia  Posledný príspevok 
V tomto fóre nie sú ďalšie neprečítané témy.

scrolling

v HTML, XHTML, XML, CSS

2

356

16.09.2008 12:28

walther

V tomto fóre nie sú ďalšie neprečítané témy.

CSS a scrolling

v HTML, XHTML, XML, CSS

16

951

04.09.2008 14:00

Blackshadow

V tomto fóre nie sú ďalšie neprečítané témy.

Windows Vista - Welcome Center - freezing

v Operačné systémy Microsoft

0

159

19.03.2008 1:45

STJ

V tomto fóre nie sú ďalšie neprečítané témy.

Disable Board Message

v Redakčné systémy

0

3523

13.10.2006 9:23

JanoF

V tomto fóre nie sú ďalšie neprečítané témy.

hlaska SYSTEM MESSAGE

v Antivíry a antispywary

0

556

12.04.2008 22:35

popolvar

V tomto fóre nie sú ďalšie neprečítané témy.

pomaly sekany scrolling vo FF

v HTML, XHTML, XML, CSS

2

236

16.05.2016 17:41

neopagan

V tomto fóre nie sú ďalšie neprečítané témy.

Joomla Problem s Welcome to the FrontPage

v Redakčné systémy

3

643

02.12.2008 17:52

mariachi

V tomto fóre nie sú ďalšie neprečítané témy.

Vypnutie obrazovky pred 'welcome screen' win xp

v Operačné systémy Microsoft

4

293

15.01.2007 17:43

raddo

V tomto fóre nie sú ďalšie neprečítané témy.

Message Box YES/NO

v JavaScript, VBScript, Ajax

3

268

10.11.2009 20:52

myxall

V tomto fóre nie sú ďalšie neprečítané témy.

Runtime++library message error

v Notebooky a netbooky

2

381

18.05.2009 11:39

MORPHIUM

V tomto fóre nie sú ďalšie neprečítané témy.

Private Message Encryption and Decryption

v Redakčné systémy

0

280

13.10.2006 9:26

JanoF

V tomto fóre nie sú ďalšie neprečítané témy.

Acer Extensa 5620 scrolling na touchpade vo Win8

v Notebooky a netbooky

3

179

04.01.2014 15:50

brmbo



© 2005 - 2017 PCforum, edited by JanoF