example side block for simple portal?

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
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.
Else your topic may be ignored or locked!
Locked
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

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..
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

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!
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

Re: example side block for simple portal?

Post by neuropass »

got it thanks!!
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
Locked