example side block for simple portal?

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!

example side block for simple portal?

Post by neuropass »

hey guys,

Can you please post an example for a single lright side portal block?

i can't figure it out.

i want to move on the statistic on a side small block..

Re: example side block for simple portal?

Post by cisco007 »

just a hint, in the simpleportal_body.html file all the blocks on the right start after this,

Code: Select all

<td valign="top" style="width: 220px; padding-left:6px;">
the first right block is this:

Code: Select all

	<!-- Start User Menu -->
	<div class="forabg">
		<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt>{L_PORTAL_USERMENU}</dt>
				</dl>
			</li>
		</ul>
		<ul class="topiclist forums">
			<li>
			<div class="content<!-- IF S_USER_LOGGED_IN --> online<!-- ENDIF -->" style="width:auto; height:auto; padding:10px; padding-bottom:0px;">
			<div style="text-align:center;"><!-- IF S_USER_LOGGED_IN --><!-- IF USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif"/><!-- ENDIF -->
			<p style="font-size:14px;">{USERNAME}</p><!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif"/><br /><!-- ENDIF -->
			</div>
			<!-- IF S_USER_LOGGED_IN and not S_IS_BOT -->
			<!-- IF S_DISPLAY_SEARCH -->
			<p>&raquo; <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><br />
			&raquo; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
			&raquo; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a><br />
			&raquo; <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></p>
			<!-- ENDIF -->
			<!-- ENDIF -->
			<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
			<p>
			<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
			<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>

			<p>{L_USERNAME}:<br /><input type="text" name="username" id="username" size="20" class="inputbox autowidth" title="{L_USERNAME}" /> <br /><br /> 
			{L_PASSWORD}:<br /><input type="password" name="password" id="password" size="20" class="inputbox autowidth" title="{L_PASSWORD}" /></p>
			<p><!-- IF S_AUTOLOGIN_ENABLED -->{L_PORTAL_REMEMBER} <input type="checkbox" name="autologin" id="autologin" /></label><!-- ENDIF --> <input type="hidden" name="redirect" value="{U_PORTAL}" /> <input type="submit" name="login" value="{L_LOGIN}" class="button1" /></p>
			</form></p>
			<!-- ENDIF -->
			</div>
			</li>
		</ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- End User Menu -->
then you will get the idea, pretty simple!

Re: example side block for simple portal?

Post by neuropass »

got it thanks!!