phpBB2.de Foren-Übersicht  
[netclusive - internet broadcasting]
 FAQ  •  Suchen  •  Download  •  Lesezeichen  •  Mitgliederliste  •  Benutzergruppen   •  Registrieren  •  Profil  •  Einloggen, um private Nachrichten zu lesen  •  Login
 
        
 
        
 

LinkLift

Nächstes Thema anzeigen
Vorheriges Thema anzeigen

Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.
Autor Nachricht
shaggy073077
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 04.04.2007
Beiträge: 7

BeitragVerfasst am: Fr 04 Mai, 2007 00:31 Antworten mit ZitatNach oben 

xoom hat folgendes geschrieben:
shaggy073077 hat folgendes geschrieben:
That is a very very good question. I MYSELF donot want any of my blocks on the right. I also want'em on the left only. Nothing on the right. Did u manage to flip this to the other side yet? and if so how?
spanishsilver hat folgendes geschrieben:
How can I postion some of the blocks on the left side of the index page. Thanks and great Mod


You must edit index_body_plus.tpl. This file works by tables. Only change the place any blocks (<td> and </td>)
Its very easy if you know work with tables.


Ok kind of a little bit of a tangle right now. I have table within tables.
Here is the code of what I have so far:
Code:
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
   <td colspan="2" class="maintitle">{L_INDEX}</td>
   </tr>
<tr>
<td valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br />
<a href="{U_PORTAL}" class="nav">Home</a> ---> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>{NAV_CAT_DESC}</td>
<td align="right" valign="bottom" class="gensmall">
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><br />
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a href="{U_MARK_READ}"><strong>{L_MARK_FORUMS_READ}</strong></a>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
{BOARD_ANNOUNCES}
<table width="100%" cellpadding="2" cellspacing="1" border="10" class="forumline">
<tr>
<th>{L_BOARD_NAVIGATION}</th>
</tr>
        <tr>
          <td class="row1"><span class="genmed">
          <a href="#"><b>NAVIGATE</b></a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_HOME}"> <a href="{U_PORTAL}">{L_HOME}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_FORUM}"> <a href="{U_FORUM}">{L_FORUM}</a><br />
             <a href="#"><b>NEWS</b></a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_CATEGORIES}"> <a href="{INDEX_FILE}?news=categories" alt="Index">{L_CATEGORIES}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_ARCHIVES}"> <a href="{INDEX_FILE}?news=archives" alt="Index">{L_ARCHIVES}</a><br />
             <a href="{U_DOWNLOAD}"><b>DOWNLOAD</b></a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_NEWEST_DL}"> <a href="dload.php?action=toplist&list=newest">{L_NEWEST_DL}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_SEARCH}"> <a href="dload.php?action=search">{L_SEARCH}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_TOP_DL}"> <a href="dload.php?action=toplist&list=downloads">{L_TOP_DL}</a><br />
             <a href="#"><b>TOOLS</b></a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_RECENT}"> <a href="{U_RECENT}">{L_RECENT}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_CALENDAR}"> <a href="{U_CALENDAR}">{L_CALENDAR}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_ALBUM}"> <a href="{U_ALBUM}">{L_ALBUM}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_LINKS}"> <a href="{U_LINKS}">{L_LINKS}</a><br />
             <a href="#"><b>ABOUT_US</b></a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_FAQ}"> <a href="{U_FAQ}">{L_FAQ}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_STAFF}"> <a href="{U_STAFF}">{L_STAFF}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_MEMBERLIST}"> <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_USERGROUPS}"> <a href="{U_GROUP_CP}">{L_USERGROUPS}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_STATISTICS}"> <a href="{U_STATISTICS}">{L_STATISTICS}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_RANKS}"> <a href="{U_RANKS}">{L_RANKS}</a><br />
            <img src="templates/fisubsilversh/images/arrow.gif" alt="{L_CONTACT}"> <a href="{U_CONTACT}">{L_CONTACT}</a>
            </span> </td>
            <td><table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline" valign="top">
<tr>
<th colspan="2">{L_TOP_POSTERS}</th>
</tr>
<tr>
<td class="row1" align="center"><span class="genmed">{L_TOP_MEMBER}</span></td>
<td class="row1" align="center"><span class="genmed">{L_TOP_POSTS}</span></td>
</tr>
<tr>
<!-- BEGIN users -->
<td class="row1" align="left"><span class="gensmall"><a href="{users.URL}"> {users.USERNAME}</a></span></td>
<td class="row1" align="center"><span class="gensmall"><b>  {users.POSTS}</b></span></td>
</tr>
<!-- END users -->
</table><br /><table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_RECENT_TOPICS}</th>
</tr>
<!-- BEGIN switch_recent_topics_yes -->
<tr>
<td class="row1" align="left"><span class="gensmall">
<!-- BEGIN recent_topic_row -->
<img src="templates/fisubsilversh/images/arrow.gif"> <a href="{switch_recent_topics_yes.recent_topic_row.U_TITLE}">{switch_recent_topics_yes.recent_topic_row.L_TITLE}</a><br />
by <a href="{switch_recent_topics_yes.recent_topic_row.U_POSTER}">{switch_recent_topics_yes.recent_topic_row.S_POSTER}</a> on {switch_recent_topics_yes.recent_topic_row.S_POSTTIME}<br /><br />
<!-- END recent_topic_row -->
</span></td>
</tr>
<!-- END switch_recent_topics_yes -->
<!-- BEGIN switch_recent_topics_no -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_NO_RECENT_TOPICS}</span></td>
</tr>
<!-- END switch_recent_topics_no -->
</table><br />{BOARD_INDEX}<!-- BEGIN switch_show_lastvisit -->
<table width="100%" cellpadding="3" cellspacing="1" border="10" class="forumline">
<tr>
<th>{L_LAST_VISIT}</th>
</tr>
<tr>
<td class="row1"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- END switch_show_lastvisit --></td>
        </tr>
        <tr>
        <td>test</td>
        </tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td class="nav"><a href="{U_PORTAL}">Home</a> ---> <a href="{U_INDEX}">Forum Index</a></td>
</tr>
</table>
<br />
</td>
<td width="10"><img src="images/spacer.gif" alt="" width="10" height="30" /></td>
<td width="175" valign="top">
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th>{L_LOGIN}</th>
</tr>
<tr>
<td align="center" class="row1"><span class="gensmall">
<input type="hidden" name="redirect" value="{U_PORTAL}" />
{L_USERNAME}:<br />
<input class="post" type="text" name="username" size="15" />
<br />
{L_PASSWORD}:<br />
<input class="post" type="password" name="password" size="15" />
<br />
</span>
<!-- BEGIN switch_allow_autologin -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input class="text" type="checkbox" name="autologin" /></td>
<td class="gensmall">&nbsp;{L_REMEMBER_ME}</td>
</tr>
</table>
<!-- END switch_allow_autologin -->
<br/> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
<br /> <br /> <a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
</form>
<!-- END switch_user_logged_out -->
<br />
<!-- BEGIN switch_show_shoutbox -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th><a class="link2" href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></th>
</tr>
<tr>
<td class="row1"><span class="genmed"><iframe src="{U_SHOUTBOX}" scrolling="NO" width="100%" height="270" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe></span></td>
</tr>
</table>
<br />
<!-- END switch_show_shoutbox -->
</td>
<table border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<td><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" title="{L_NEW_POSTS}" /></td>
<td class="gensmall">{L_NEW_POSTS}</td>
<td>&nbsp;</td>
<td><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" title="{L_NO_NEW_POSTS}" /></td>
<td class="gensmall">{L_NO_NEW_POSTS}</td>
<td>&nbsp;</td>
<td><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" title="{L_FORUM_LOCKED}" /></td>
<td class="gensmall">{L_FORUM_LOCKED}</td>
</tr>
</table>


Note:
There is a <td>test</td> in the above code it's me testing the table stuff.

To Do:
1.)Board Navigation part of the table keeps "spanning" (going) down and ain't "blocked properly.

2.) Top Posters, Recent Topics, board, online stats (in center) ain't up to the top of were "board navigation" is at.

3.) top posters, recent topics, board, online stats (in center) inbetween there and the board navigation block there squeezed together and there ain't a space in between there.

4.) top posters, recent topics, board, online stats (in center) ain't shoved over to the right all the way to fill up the page-one page width wide (you'll see if you create a testindex.php page off of my code on your server.

5.) Stick all of the "if user logged out" stuff to the left

6.) Anything I'm forgetting above.

Please don't laugh at me coding tables. I do table but not this advanced. I know I'm close and yes tables can be very very tricky and aggrivating at times.
OfflineBenutzer-Profile anzeigenPrivate Nachricht senden
Google







Verfasst am: Nach oben

Baby_Love
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 07.05.2006
Beiträge: 33

BeitragVerfasst am: So 03 Jun, 2007 20:23 Antworten mit ZitatNach oben 

Hello!

Do i still need to do this? To add this extra lines to index.php file before adding blocks to index page??

This has been writen in 2004. Do our "Phpbb 2 plus 1.53a based on 2.0.22" need this editing?

I added 3 blocks from portal to index, but they don't show up Smile Wierd.

Thanks for the answer!
Bye.
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenE-Mail senden
xoom
phpBB2.de User
phpBB2.de User



Anmeldungsdatum: 12.12.2005
Beiträge: 27
Wohnort: Spain

BeitragVerfasst am: Mo 04 Jun, 2007 01:34 Antworten mit ZitatNach oben 

This mod work fine in Plus 1.53a, my forum now its working with this mod and 1.53a

_________________
Free Icons and Photoshop tools
OfflineBenutzer-Profile anzeigenPrivate Nachricht sendenWebsite dieses Benutzers besuchen
Beiträge der letzten Zeit anzeigen:      
Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.

Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen

Ähnliche Beiträge
Thema Autor Forum Antworten Verfasst am
Links im Portal dabsy4family phpBB2.x - Support 0 So 23 Aug, 2009 15:24 Letzten Beitrag anzeigen
portal trixi phpBB2.x - Installation 0 So 16 Aug, 2009 23:01 Letzten Beitrag anzeigen
how do i edit the login box in portal... nibraz Support Forum 1 Mo 13 Jul, 2009 22:24 Letzten Beitrag anzeigen
portal.php als Startseite.. lazerus Support allgemein 1 Di 05 Mai, 2009 18:46 Letzten Beitrag anzeigen
Suche diverse Mods Hunter phpBB2.x - MOD Support 2 So 03 Mai, 2009 19:38 Letzten Beitrag anzeigen