Simple portal clock block addon

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
Locked
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Simple portal clock block addon

Post by Steve »

Description:
Adds a flash clock block to your simple portal,you must have this portal mod installed here : viewtopic.php?f=8&t=354

upload this sidemenuclock.swf to both prosilver and subsilver2 theme/images folder.
download:
sidemenuclock.zip
Open language/en/mods/simple_portal.php
find:

Code: Select all

   'PORTAL_HEADLINE'			=> 'Portal',
add before:

Code: Select all

   'DATE_TIME'                  => 'DATE & TIME', 
prosilver instructions
Open styles/prosilver/template/simpleportal_body.html
find:

Code: Select all

<!-- Start User Menu -->
add after:

Code: Select all

<div class="forabg">
	<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt>{L_DATE_TIME}</dt>
				</dl>
			</li>
		</ul>
    <div class="sidemenu_custom">
		<ul class="topiclist forums">	
		    <li><div style="text-align: center;">
			<object type="application/x-shockwave-flash" data="{T_THEME_PATH}/images/sidemenuclock.swf" width="180" height="180">
				<param name="wmode" value="transparent" />
				<param name="movie" value="{T_THEME_PATH}/images/sidemenuclock.swf" />
			</object>         
	        </div></li>
  		</ul>
	</div>
	<span class="corners-bottom"><span></span></span></div>
</div>
Refresh template in admin control panel >> styles >> for prsilver.
pic:
simple-pro.PNG
subsilver2 instructions
Open styles/subsilver2/template/simpleportal_body.html
find:

Code: Select all

<!-- Start User Menu -->
add after:

Code: Select all

<table class="tablebg" width="100%" cellspacing="1" style="table-layout: fixed;">
   <tr>
    <th>{L_DATE_TIME}</th>
	</tr>
	<tr>
        <td class="cat"></td>
    </tr>
    <tr>
        <td class="row1" width="100%" valign="middle">
		<div class="username" style="text-align: center;">
			<object type="application/x-shockwave-flash" data="{T_THEME_PATH}/images/sidemenuclock.swf" width="100%" height="180">
				<param name="wmode" value="transparent" />
				<param name="movie" value="{T_THEME_PATH}/images/sidemenuclock.swf" />
			</object> 
	    </div>
		</td>
    </tr>
</table>
Refresh template in admin control panel >> styles >> for subsilver2.
pic:
subp.PNG
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Simple portal clock block addon

Post by Stoker »

Cool :)
Board rules! No PM support
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 848
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Simple portal clock block addon

Post by Steve »

portal.php where is it :D
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Simple portal clock block addon

Post by Stoker »

Its cool, but I am not into this flash thing.
But I no other people like and use it ;)
Board rules! No PM support
Locked