Page 1 of 100

Board3 Portal

Posted: Mon Sep 08, 2008 1:29 pm
by Extensions Robot
Modification name: Board3 Portal
Author: Marc
Modification description: Portal front page for phpBB3, complete with blocks and installer.
Modification version: 2.0.2
Tested on phpBB version: 3.0.12

Download file: board3_portal_202.zip
File size: 555.65 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--

Board3 Portal

Posted: Mon Sep 08, 2008 1:29 pm
by A_Jelly_Doughnut
Modification validated/released

Notes:

Board3 Portal

Posted: Mon Sep 08, 2008 1:29 pm
by Marc
There has been a new release, version 1.0.2.

Please download it here

Re: Board3 Portal

Posted: Mon Sep 08, 2008 1:33 pm
by cardnation
Congrats on the official release!

How close is this to the "phpBB3 Portal"? I've been using that for a while, but would love to convert.

Re: Board3 Portal

Posted: Mon Sep 08, 2008 2:23 pm
by ChriZathens
Hello there..!!
Congratulations for the first official portal release !! :D
Just one minor glitch, though..
I visit your board and the default theme shows a little weird when viewing it in high resolution.
My notebook has a 1680x1050 resolution and this is how it looks:
glitch.gif
glitch.gif (130 KiB) Viewed 90058 times
When viewing it in subsilver it is perfect. In prosilver it is almost perfect (the "Last post" area is too wide but not showing different like the default theme)

Nothing very serious but I thought I should let you know.. :)
Congrats again!! ;)

Re: Board3 Portal

Posted: Mon Sep 08, 2008 5:06 pm
by xxxopenxxx
Edit: Sorry, I believe I made a mistake. Works 100% :D

Re: Board3 Portal

Posted: Mon Sep 08, 2008 5:27 pm
by Saint_hh
I'm sorry to say that this is an outdated version (RC2 stage).
Please use the Board3 Portal RC3 until we've clarified what has happened and updated the file here in the mods database.

Sorry for any inconvenience!

Re: Board3 Portal

Posted: Mon Sep 08, 2008 9:29 pm
by JeRicHoOL
I'm about to edit the files to install my subsilver2 based style "X-Treme".
There is one edit I don't know how to do.

overall_header.html

Find
Tip: This may be a partial find and not the whole line.

Code: Select all

	<div id="datebar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
			<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
		</tr>
		</table>
	</div>
I don't have the above part like this.

Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code: Select all

<!-- ENDIF -->
Here is my overall_header-html file.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />



<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->

function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}

window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}

function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';

if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
}
}

/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}

if (!parent)
{
return;
}

var rb = parent.getElementsByTagName('input');

for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}

<!-- IF ._file -->

/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();

if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);

var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}

obj.width = width;
obj.height = height + 16;

obj.SetControllerVisible(true);

obj.Play();
}
<!-- ENDIF -->

// ]]>
</script>
<SCRIPT TYPE="text/javascript">
<!--
// copyright 1999 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but please keep this
// notice with the code.

var rollOverArr=new Array();
function setrollover(OverImgSrc,pageImageName)
{
if (! document.images)return;
if (pageImageName == null)
pageImageName = document.images[document.images.length-1].name;
rollOverArr[pageImageName]=new Object;
rollOverArr[pageImageName].overImg = new Image;
rollOverArr[pageImageName].overImg.src=OverImgSrc;
}

function rollover(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
if (! rollOverArr[pageImageName].outImg)
{
rollOverArr[pageImageName].outImg = new Image;
rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src;
}
document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src;
}

function rollout(pageImageName)
{
if (! document.images)return;
if (! rollOverArr[pageImageName])return;
document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src;
}
//-->
</SCRIPT>

</head>

<!-- IF SCRIPT_NAME == "index" -->
<style type="text/css">
html, body 
    {background: url(/styles/XT-Blue/theme/images/backgrounds/index.jpg) #222222 fixed;
	 background-position: center;
     background-repeat: repeat;}
</style>
<!-- ENDIF -->

<!-- IF SCRIPT_NAME == "viewforum" and FORUM_NAME eq "myforumname" -->
<style type="text/css">
html, body
    {background: url(/styles/XT-Blue/theme/images/backgrounds/index.jpg) #222222 fixed;
	 background-position: center;
     background-repeat: repeat;}
</style>
<!-- ENDIF -->

<a name="top"></a>

<div id="wrapheader">
	<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<table id="bx" width="100%" height="40" border="0" cellpadding="0" cellspacing="0">
				<td><img src="{T_THEME_PATH}/images/header/h11.png" width="40" height="40" alt=""></td>
				<td><img src="{T_THEME_PATH}/images/header/h12.png" width="100" height="40" alt=""></td>
				<td background="{T_THEME_PATH}/images/header/h13.png" width="100%" height="40">
				<td><img src="{T_THEME_PATH}/images/header/h14.png" width="100" height="40" alt=""></td>
				<td><img src="{T_THEME_PATH}/images/header/h15.png" width="40" height="40" alt=""></td>
			</table>
		</tr>
		<tr>
			<table id="bx" width="100%" height="140" border="0" cellpadding="0" cellspacing="0">
				<td><img src="{T_THEME_PATH}/images/header/h21.png" width="40" height="140" alt=""></td>
				<td><img src="{T_THEME_PATH}/images/header/h22.png" width="100" height="140" alt=""></td>
				<td background="{T_THEME_PATH}/images/header/h23.png" width="100%" height="140">
					<div id="logodesc">
						<table width="100%" cellspacing="0">
							<tr>
								<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
								<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
							</tr>
						</table>
					</div>
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
				</td>
				<td><img src="{T_THEME_PATH}/images/header/h24.png" width="100" height="140" alt=""></td>
				<td><img src="{T_THEME_PATH}/images/header/h25.png" width="40" height="140" alt=""></td>
			</table>
		</tr>
		<tr>
			<table id="bx" width="100%" height="66" border="0" cellpadding="0" cellspacing="0">
				<td><img src="{T_THEME_PATH}/images/header/h31.png" width="40" height="66" alt=""></td>
				<td><img src="{T_THEME_PATH}/images/header/h32.png" width="100" height="66" alt=""></td>
				<td background="{T_THEME_PATH}/images/header/h33.png" width="20%" height="66" align="center">
					<A HREF="{U_INDEX}"
					onMouseOver = "rollover('home')"
					onMouseOut = "rollout('home')"
					>
					<IMG SRC="{T_THEME_PATH}/images/buttons/home1.png"
					NAME="home"
					ALT="Home Page" BORDER=0
					HEIGHT=40 WIDTH=101
					>
					</A>
					<SCRIPT TYPE="text/javascript">
					<!--
					setrollover("{T_THEME_PATH}/images/buttons/home2.png");
					//-->
					</SCRIPT>
				</td>
				<td background="{T_THEME_PATH}/images/header/h33.png" width="20%" height="66" align="center">
					<A HREF="{U_FAQ}"
					onMouseOver = "rollover('faq')"
					onMouseOut = "rollout('faq')"
					>
					<IMG SRC="{T_THEME_PATH}/images/buttons/faq1.png"
					NAME="faq"
					ALT="Home Page" BORDER=0
					HEIGHT=40 WIDTH=101
					>
					</A>
					<SCRIPT TYPE="text/javascript">
					<!--
					setrollover("{T_THEME_PATH}/images/buttons/faq2.png");
					//-->
					</SCRIPT>
				</td>
				<td background="{T_THEME_PATH}/images/header/h33.png" width="20%" height="66" align="center">
					<!-- IF not S_IS_BOT -->
						<A HREF="{U_TEAM}"
						onMouseOver = "rollover('team')"
						onMouseOut = "rollout('team')"
						>
						<IMG SRC="{T_THEME_PATH}/images/buttons/team1.png"
						NAME="team"
						ALT="Home Page" BORDER=0
						HEIGHT=40 WIDTH=101
						>
						</A>
						<SCRIPT TYPE="text/javascript">
						<!--
						setrollover("{T_THEME_PATH}/images/buttons/team2.png");
						//-->
						</SCRIPT>
					<!-- ENDIF -->
				</td>
				<td background="{T_THEME_PATH}/images/header/h33.png" width="20%" height="66" align="center">
					<!-- IF S_DISPLAY_SEARCH -->
						<A HREF="{U_SEARCH}"
						onMouseOver = "rollover('search')"
						onMouseOut = "rollout('search')"
						>
						<IMG SRC="{T_THEME_PATH}/images/buttons/search1.png"
						NAME="search"
						ALT="Home Page" BORDER=0
						HEIGHT=40 WIDTH=101
						>
						</A>
						<SCRIPT TYPE="text/javascript">
						<!--
						setrollover("{T_THEME_PATH}/images/buttons/search2.png");
						//-->
						</SCRIPT>
					<!-- ENDIF -->
				</td>
				<td background="{T_THEME_PATH}/images/header/h33.png" width="20%" height="66" align="center">
					<!-- IF not S_IS_BOT -->
						<!-- IF S_DISPLAY_MEMBERLIST -->
							<A HREF="{U_MEMBERLIST}"
							onMouseOver = "rollover('members')"
							onMouseOut = "rollout('members')"
							>
							<IMG SRC="{T_THEME_PATH}/images/buttons/members1.png"
							NAME="members"
							ALT="Home Page" BORDER=0
							HEIGHT=40 WIDTH=101
							>
							</A>
							<SCRIPT TYPE="text/javascript">
							<!--
							setrollover("{T_THEME_PATH}/images/buttons/members2.png");
							//-->
							</SCRIPT>
						<!-- ENDIF -->
					<!-- ENDIF -->
				</td>
				<td background="{T_THEME_PATH}/images/header/h33.png" width="100%" height="66"></td>
				<td><img src="{T_THEME_PATH}/images/header/h34.png" width="100" height="66" alt=""></td>
				<td><img src="{T_THEME_PATH}/images/header/h35.png" width="40" height="66" alt=""></td>
			</table>
		</tr>
	</table>
</div>

<div id="wrapcentre">
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
	<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<table id="bx" height="45" border="0" cellpadding="0" cellspacing="0" align="center">
				<td><img src="{T_THEME_PATH}/images/p_menu/p_01.png" width="61" height="45" alt=""></td>
				<td background="{T_THEME_PATH}/images/p_menu/p_02.png" width="20%" height="45"></td>
				<td><img src="{T_THEME_PATH}/images/p_menu/cu_l.png" width="44" height="45" alt=""></td>
				<td background="{T_THEME_PATH}/images/p_menu/cu_m.png" width="20%" height="45" align="center">
					<h5>
						<!-- IF not S_IS_BOT -->
							<!-- IF S_USER_LOGGED_IN -->
								<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"> {PRIVATE_MESSAGE_INFO}
									<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}
									<!-- ENDIF --></a>
								<!-- ENDIF -->
							
							<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;<a href="{U_REGISTER}"> {L_REGISTER}</a>
							<!-- ENDIF -->
						<!-- ENDIF -->
					</h5>
				</td>
				<td background="{T_THEME_PATH}/images/p_menu/cu_m.png" width="20%" height="45" align="center">
					<h5>
						<!-- IF not S_IS_BOT -->
							<a href="{U_LOGIN_LOGOUT}"> {L_LOGIN_LOGOUT}</a>&nbsp;
						<!-- ENDIF -->
						<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"> {L_RESTORE_PERMISSIONS}</a>
						<!-- ENDIF -->
						<!-- ENDIF -->
						<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span>
						<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
						<!-- ENDIF -->
					</h5>
				</td>
				<td background="{T_THEME_PATH}/images/p_menu/cu_m.png" width="20%" height="45" align="center">
					<!-- IF not S_IS_BOT -->
						<!-- IF S_USER_LOGGED_IN -->
							<h5>
								<a href="{U_PROFILE}"> {L_PROFILE}</a>
							</h5>
						<!-- ENDIF -->
					<!-- ENDIF -->
				</td>
				<td><img src="{T_THEME_PATH}/images/p_menu/cu_r.png" width="45" height="45" alt=""></td>
				<td background="{T_THEME_PATH}/images/p_menu/p_02.png" width="20%" height="45"></td>
				<td><img src="{T_THEME_PATH}/images/p_menu/p_03.png" width="61" height="45" alt=""></td>
			</table>
		</tr>
		<tr>
			<table id="bx" height="45" border="0" cellpadding="0" cellspacing="0">
				<td><img src="{T_THEME_PATH}/images/p_menu/p_08.png" width="61" height="45" alt=""></td>
				<td background="{T_THEME_PATH}/images/p_menu/p_85.png" width="100%" height="45">
					<table width="100%" cellspacing="0">
						<tr>
							<!-- IF S_DISPLAY_SEARCH -->
								<td background="{T_THEME_PATH}/images/p_menu/p_85.png" width="10%" height="36" align="center">
									<A HREF="{U_SEARCH_UNANSWERED}"
									onMouseOver = "rollover('search_unanswered')"
									onMouseOut = "rollout('search_unanswered')"
									>
									<IMG SRC="{T_THEME_PATH}/images/buttons/ut1.png"
									NAME="search_unanswered"
									ALT="{L_SEARCH_UNANSWERED}" BORDER=0
									HEIGHT=36 WIDTH=133
									>
									</A>
									<SCRIPT TYPE="text/javascript">
									<!--
									setrollover("{T_THEME_PATH}/images/buttons/ut2.png");
									//-->
									</SCRIPT>
								</td>
								<td background="{T_THEME_PATH}/images/p_menu/p_85.png" width="10%" height="36" align="center">
									<A HREF="{U_SEARCH_ACTIVE_TOPICS}"
									onMouseOver = "rollover('search_active')"
									onMouseOut = "rollout('search_active')"
									>
									<IMG SRC="{T_THEME_PATH}/images/buttons/at1.png"
									NAME="search_active"
									ALT="{L_SEARCH_ACTIVE_TOPICS}" BORDER=0
									HEIGHT=36 WIDTH=133
									>
									</A>
									<SCRIPT TYPE="text/javascript">
									<!--
									setrollover("{T_THEME_PATH}/images/buttons/at2.png");
									//-->
									</SCRIPT>
								</td>
								<td align="center" width="60%">
									<!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}
									<!-- ENDIF -->
								</td>
									<!-- IF S_USER_LOGGED_IN -->
										<td background="{T_THEME_PATH}/images/p_menu/p_85.png" width="10%" height="36" align="center">
											<A HREF="{U_SEARCH_NEW}"
											onMouseOver = "rollover('search_new')"
											onMouseOut = "rollout('search_new')"
											>
											<IMG SRC="{T_THEME_PATH}/images/buttons/np1.png"
											NAME="search_new"
											ALT="{L_SEARCH_NEW}" BORDER=0
											HEIGHT=36 WIDTH=133
											>
											</A>
											<SCRIPT TYPE="text/javascript">
											<!--
											setrollover("{T_THEME_PATH}/images/buttons/np2.png");
											//-->
											</SCRIPT>
										</td>
										<td background="{T_THEME_PATH}/images/p_menu/p_85.png" width="10%" height="36" align="center">
											<A HREF="{U_SEARCH_SELF}"
											onMouseOver = "rollover('search_your')"
											onMouseOut = "rollout('search_your')"
											>
											<IMG SRC="{T_THEME_PATH}/images/buttons/yp1.png"
											NAME="search_your"
											ALT="{L_SEARCH_SELF}" BORDER=0
											HEIGHT=36 WIDTH=133
											>
											</A>
											<SCRIPT TYPE="text/javascript">
											<!--
											setrollover("{T_THEME_PATH}/images/buttons/yp2.png");
											//-->
											</SCRIPT>
										</td>
									<!-- ENDIF -->
							<!-- ENDIF -->
						</tr>
					</table>
				</td>
				<td><img src="{T_THEME_PATH}/images/p_menu/p_09.png" width="61" height="45" alt=""></td>
			</table>
		</tr>
		<tr>
			<table id="bx" height="40" border="0" cellpadding="0" cellspacing="0">
				<td><img src="{T_THEME_PATH}/images/p_menu/p_10.png" width="61" height="40" alt=""></td>
				<td background="{T_THEME_PATH}/images/p_menu/p_11.png" width="50%" height="40"></td>
				<td background="{T_THEME_PATH}/images/p_menu/clock.png" width="350" height="40">
					<p class="gensmallclock" align="center">
						<script language="javascript" src="{T_TEMPLATE_PATH}/liveclock.js">
						</script>
					</p>
				</td>
				<td background="{T_THEME_PATH}/images/p_menu/p_11.png" width="20%" height="40"></td>
				<td background="{T_THEME_PATH}/images/p_menu/p_11.png" width="30%" height="40" align="right">
					<!-- IF not S_IS_BOT -->
						<a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a>
					<!-- ENDIF -->
				</td>
				<td><img src="{T_THEME_PATH}/images/p_menu/p_13.png" width="61" height="40" alt=""></td>
			</table>
		</tr>
	</table>

<!-- INCLUDE breadcrumbs.html -->

<br />
<!-- ENDIF -->
I hope you guys can tell me where the place the part above.
Thanks in advance. ;)

Re: Board3 Portal

Posted: Mon Sep 08, 2008 11:15 pm
by g unit
What is the piece of code you're trying to add? That will be useful info when looking for its home ;)

Re: Board3 Portal

Posted: Tue Sep 09, 2008 12:27 am
by JeRicHoOL
I explained everything in my last post very detailed. :)

Re: Board3 Portal

Posted: Wed Sep 10, 2008 9:37 am
by avaren
I actually think you don't need that endif, just remove the

Code: Select all

<!-- IF not $S_IN_PORTAL or not S_DISPLAY_MAINMENU -->
you added after

Code: Select all

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
and it should look fine.

Re: Board3 Portal

Posted: Fri Sep 12, 2008 5:46 am
by Canis-Lupus
Sorry to be asking stupid questions but I only managed to install my first mod this morning. Still on a steep learning curve I'm afraid. My questions are:

1. Will this mod work on phpbb3.0.1?
2. I noticed in the XML installation file/istructions there was only edits provided for prosiliver. Does this mean this portal will not work with subsilver2 based themes?

Edit: Ok, I found the subsilver editing instructions.

Further edit: I checked the overall_header.html in the style I was looking at installing this feature with, "Dark Fantasy", which I believe to be a subsilver based theme. The breadcrumbs edit I found but the overall_header.html drew a blank when trying to find the text to be edited.

Does this mean it can't be installed with the style "DarkFantasy"?

Re: Board3 Portal

Posted: Fri Sep 12, 2008 7:52 am
by Marc
You could also post an order in this Forum: http://www.board3-styles.de/viewforum.php?f=46
;)

Re: Board3 Portal

Posted: Sat Sep 13, 2008 3:21 am
by Canis-Lupus
I'm guessing that the above means that I cannot use this portal with DarkFantasy?

Re: Board3 Portal

Posted: Sat Sep 13, 2008 6:40 am
by Alxor
Awesome, finally released in the mod database. Congrats! :ugeek: