Seite 1 von 2

Portal-Ansicht im Foren Bereich?

Verfasst: 12.06.2009 21:04
von Sandro
Wollte mal fragen, ob es möglich ist, die Portal Ansicht ( die Kästchen Links und Rechts ) in die Foren Ansicht zu übertragen?

MFG

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 12.06.2009 21:50
von redbull254
Hallo erstmal (soviel Zeit muss sein),
klar, wenn Du Bock zum basteln hast. :grin:

http://www.board3.de/viewtopic.php?f=31&t=1355

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 12.06.2009 21:54
von Sandro
DANKE ;-)

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 13.06.2009 12:21
von ralf-isi
nimm beim einbauen genügend zeit mit. :lol:
auf den verwendeten style achten (bei B3B nachaschauen)
und nicht verzweifeln - es funktioniert.

schönes wochenende
ralf

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 13.06.2009 13:04
von Sandro
so, habs grad mal versucht, schaut selbst, etwas scheint schief gegangen zu sein:

http://www.spinnfischer-online.de

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 13.06.2009 13:08
von coolsoft
da ist schonmal der erste Fehler:

Code: Alles auswählen

Parse error: syntax error, unexpected $end in /hp/bg/aa/rz/www/Forum/cache/tpl_subsilver2_portal.block.poll.html.php on line 1
Vermutlich passt ein
<!-- IF .... -->
<!-- END IF -->
Klammerpaar nicht - scheint aber noch mehr schief gegangen zu sein.

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 13.06.2009 13:27
von Sandro
Werd es mal in den alten zustand zurück versetzen, weiß einer zufällig wie ich mit Adobe Dreamwaver CS3 die gewünschten Zeilen suchen bzw.finden kann, ohne jede einzelne Zeile durchlesen zu müssen.

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 13.06.2009 19:57
von ralf-isi
Sandro hat geschrieben: Adobe Dreamwaver CS3 die gewünschten Zeilen suchen bzw.finden kann, ohne jede einzelne Zeile durchlesen zu müssen.
CTRL+F oder unter Edit -> Find an Replace (suchen + ersetzen).

Gruss Ralf

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 13.06.2009 23:15
von Sandro
Danke Ralf!

Re: Portal-Ansicht im Foren Bereich?

Verfasst: 14.06.2009 13:48
von Sandro
So, hab das Problem gefunden, diese Zeilen gibt es bei mir nicht:

Open: styles/subsilver2/template/portal/portal_body.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All

Code: Alles auswählen

<!--version $Id: portal_body.html 347 2008-08-29 20:26:42Z kevin74 $ //-->
			  
			  <!--
			      .gensmall {
			      margin: 1px 1px;
			      font-size: 10px;
			      }
			      
			      small, .small {
			      font-size:10px; 
			      font-weight:bold;
			      font-family:Arial, Helvetica, sans-serif;
			      }
			      
			      /* Container for sub-navigation list */
			      #navigation {
			      padding-top: 0px;
			      font-size: 1.1em;
			      }
			      
			      /* Link styles for the sub-section links */
			      #navigation a {
			      color: #105289;
			      font-weight: normal;
			      padding: 1px;
			      display:block;
			      }
			      
			      #navigation a:hover {
			      color: #d31141;
			      }
			      //-->
			  
			  
			  <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
				  <tr>
					  <!-- [+] left block area -->
					  <td width="{PORTAL_LEFT_COLUMN}px" valign="top" style="padding-right:6px;">
						  
						  <!-- IF S_DISPLAY_MAINMENU -->
						  <!-- INCLUDE portal/block/main_menu.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_DISPLAY_BIRTHDAY_LIST -->
						  <!-- INCLUDE portal/block/birthday_list.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_DISPLAY_CLOCK -->
						  <!-- INCLUDE portal/block/clock.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_DISPLAY_PORTALSEARCH and S_DISPLAY_SEARCH -->
						  <!-- INCLUDE portal/block/search.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_DISPLAY_RANDOM_MEMBER -->
						  <!-- INCLUDE portal/block/random_member.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_DISPLAY_ATTACHMENTS -->
						  <!-- INCLUDE portal/block/attachments.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_CUSTOM_SMALL -->
						  <!-- INCLUDE portal/block/custom_small.html -->
						  <!-- ENDIF -->      
						  
						  <!-- IF S_STYLE_OPTIONS and S_DISPLAY_CHANGE_STYLE -->
						  <!-- INCLUDE portal/block/change_style.html -->
						  <!-- ENDIF -->      
						  
						  <!-- IF S_DISPLAY_TOP_POSTERS -->
						  <!-- INCLUDE portal/block/top_poster.html -->
						  <!-- ENDIF -->      
						  
						  <!-- IF S_DISPLAY_LATEST_MEMBERS -->
						  <!-- INCLUDE portal/block/latest_members.html -->
						  <!-- ENDIF -->
						  
						  <!-- IF S_DISPLAY_LINK_US -->
						  <!-- INCLUDE portal/block/link_us.html -->
						  <!-- ENDIF -->
						  
					  </td>
					  <!-- [-] left block area -->
					  <td style="width:4px;" valign="top"></td>
					  
					  <!-- [+] center block area -->
   <td valign="top">
Replace With
Tip: Replace the preceding line(s) to find with the following lines.

Code:Select All

Code: Alles auswählen

<!-- Removed for Mod Portalview -->
Find
Tip: This may be a partial find and not the whole line.

Code:Select All

Code: Alles auswählen

<br />
			  <div class="copyright" align="center">{L_PORTAL_COPY}</div>
			  <br />
		  </td>
		  
		  <!-- [-] center block area -->
		  <td style="width:4px;" valign="top"> </td>
		  
		  <!-- [+] right block area -->
		  <td width="{PORTAL_RIGHT_COLUMN}px" valign="top" style="padding-left:6px;">
			  <!-- IF S_DISPLAY_USERMENU -->
			  <!-- IF not S_USER_LOGGED_IN -->
			  <!-- INCLUDE portal/block/login_box.html -->
			  <!-- ENDIF -->
			  
			  <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			  <!-- INCLUDE portal/block/user_menu.html -->
			  <!-- ENDIF -->
			  <!-- ENDIF -->
			  
			  <!-- IF not S_IS_BOT and S_USER_LOGGED_IN and S_ZEBRA_ENABLED and S_DISPLAY_FRIENDS -->
			  <!-- INCLUDE portal/block/online_friends.html -->
			  <!-- ENDIF -->
			  
			  <!-- IF S_DISPLAY_ADVANCED_STAT -->
			  <!-- INCLUDE portal/block/statistics.html -->
			  <!-- ENDIF -->
			  
			  <!-- IF S_DISPLAY_MINICAL -->
			  <!-- INCLUDE portal/block/mini_calendar.html -->
			  <!-- ENDIF -->
			  
			  <!-- IF S_DISPLAY_LEADERS_EXT -->
			  <!-- INCLUDE portal/block/leaders_ext.html -->
			  <!-- ELSEIF S_DISPLAY_LEADERS -->
			  <!-- INCLUDE portal/block/leaders.html -->
			  <!-- ENDIF -->      
			  
			  <!-- IF S_DISPLAY_LAST_BOTS and S_LAST_VISITED_BOTS -->
			  <!-- INCLUDE portal/block/latest_bots.html -->
			  <!-- ENDIF -->      
			  
			  <!-- IF S_DISPLAY_LINKS -->
			  <!-- INCLUDE portal/block/links.html -->
			  <!-- ENDIF -->
			  
			  <!-- IF S_DISPLAY_PAY_S -->
			  <!-- INCLUDE portal/block/donation_small.html -->
			  <!-- ENDIF -->
		  </td>
		  <!-- [-] right block area -->
	  </tr>
</table>
Replace With
Tip: Replace the preceding line(s) to find with the following lines.

Code:Select All

Code: Alles auswählen

<!-- Removed for Mod Portalview -->

So sieht meine portal-body.html aus:

Code: Alles auswählen

<!-- DEFINE $S_IN_PORTAL = 1 -->

<!-- INCLUDE overall_header.html -->



<!-- Removed for Mod Portalview -->



		<!-- IF S_DISPLAY_GENERAL -->

			<!-- INCLUDE portal/block/general_block.html -->

		<!-- ENDIF -->



		<!-- IF U_RESTORE_PERMISSIONS and S_DISPLAY_MAINMENU -->

			<!-- INCLUDE portal/block/general_block.html -->

		<!-- ENDIF -->



		<!-- IF S_DISPLAY_WELCOME -->

			<!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->

			<!-- ELSE -->

				<!-- INCLUDE portal/block/welcome.html -->

			<!-- ENDIF -->

		<!-- ENDIF -->

		<!-- IF S_DISPLAY_GALLERY_CENTER --> 

		<!-- INCLUDE portal/block/album_center.html --> 

		<!-- ENDIF -->



		<!-- IF S_CUSTOM_CENTER -->

			<!-- INCLUDE portal/block/custom_center.html -->

		<!-- ENDIF -->

		

		<!-- IF S_DISPLAY_RECENT -->

			<!-- INCLUDE portal/block/recent.html -->

		<!-- ENDIF -->			



		<!-- IF S_DISPLAY_ANNOUNCEMENTS -->

			<!-- IF S_ANNOUNCE_COMPACT -->

				<!-- INCLUDE portal/block/announcements_compact.html -->

			<!-- ELSE -->

				<!-- INCLUDE portal/block/announcements.html -->

			<!-- ENDIF -->

		<!-- ENDIF -->

		

		<!-- IF S_DISPLAY_NEWS -->

			<!-- IF S_NEWS_COMPACT -->

				<!-- INCLUDE portal/block/news_compact.html -->

			<!-- ELSE -->

				<!-- INCLUDE portal/block/news.html -->

			<!-- ENDIF -->

		<!-- ENDIF -->



		<!-- IF S_DISPLAY_POLL -->

			<!-- INCLUDE portal/block/poll.html -->

		<!-- ENDIF -->



		<!-- IF S_DISPLAY_PORTAL_FORUM_INDEX -->

			<!-- INCLUDE forumlist_body.html -->

			<br clear="all" />

			<table class="legend">

				<tr>

					<td width="20" align="center">{FORUM_NEW_IMG}</td>

					<td><span class="gensmall">{L_NEW_POSTS}</span></td>

					<td>&nbsp;&nbsp;</td>

					<td width="20" align="center">{FORUM_IMG}</td>

					<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>

					<td>&nbsp;&nbsp;</td>

					<td width="20" align="center">{FORUM_LOCKED_IMG}</td>

					<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>

				</tr>

			</table>

			<br clear="all" />

		<!-- ENDIF -->

	

       	<!-- IF S_DISPLAY_ONLINE_PORTAL_LIST and S_DISPLAY_ONLINE_LIST -->

			<!-- INCLUDE portal/block/whois_online.html -->

		<!-- ENDIF -->



		<!-- IF S_DISPLAY_PAY_C -->

			<!-- INCLUDE portal/block/donation.html -->

		<!-- ENDIF -->

		

		<!-- IF S_DISPLAY_WORDGRAPH -->

			<!-- INCLUDE portal/block/wordgraph.html -->

		<!-- ENDIF -->

		

		<!-- IF S_DISPLAY_JUMPBOX -->

			<!-- INCLUDE portal/block/jumpbox.html -->

		<!-- ENDIF -->	



		<!-- Removed for Mod Portalview -->


<!--// board3 Portal by www.board3.de //-->

<!-- INCLUDE overall_footer.html -->