portal aanpassen

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
iemand08
Berichten: 616
Lid geworden op: 06 jan 2006, 13:22

portal aanpassen

Bericht door iemand08 » 03 mar 2006, 12:02

hallo.

hoe/waar kan ik de portal aanpassen???

http://www.misterxje.nl/portal.php

dus ik wil daar tekst hebben staan.

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 03 mar 2006, 12:08

De welkomst-text staat in portal.php
Voor de rest moet je in /templates/xxx/portal_body.tpl zijn.

iemand08
Berichten: 616
Lid geworden op: 06 jan 2006, 13:22

Bericht door iemand08 » 03 mar 2006, 12:10

dus je moet in /templates/xxx/portal_body.tpl zijn voor dat tekstvak wat onder welkom staat???

zo ja, wat moet ik dan aanpassen:

Code: Selecteer alles

<table width="100%" cellspacing="0" cellpadding="5" border="0" align="center">
  <tr>
	<td valign="top" width="23%">
	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>{L_BOARD_NAVIGATION}</b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="left"><span class="genmed" style="line-height: 150%">
			&raquo; <a class="mainmenu" href="{U_PORTAL}">{L_HOME}</a><br />
			&raquo; <a class="mainmenu" href="{U_INDEX}">{L_FORUM}</a><br />
			&raquo; <a class="mainmenu" href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
			&raquo; <a class="mainmenu" href="{U_FAQ}">{L_FAQ}</a><br />
			&raquo; <a class="mainmenu" href="{U_SEARCH}">{L_SEARCH}</a><br />
		</span></td>
	   </tr>
	  </table>

	  <br />

	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>{L_STATISTICS}</b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br />&nbsp;</span></td>
	   </tr>
	  </table>

	  <br />

	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>Links</b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="center"><a href="http://smartor.is-root.com" target="_blank"><img src="images/smartorsite_logo.gif" width="88" height="31" alt="Smartor Site" border="0" vspace="3"></a></td>
	   </tr>
	  </table>

	</td>

	<td valign="top" width="55%">
		<!-- BEGIN welcome_text -->
		<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
		  <tr>
			<td class="catHead" height="25"><span class="genmed"><b>{L_NAME_WELCOME}</b></span></td>
		  </tr>
		  <tr>
			<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{PORTAL_ANNOUNCE}<br />&nbsp;</span></td>
		  </tr>
		</table>

		<br />

		<!-- END welcome_text -->
		<!-- BEGIN fetchpost_row -->
		<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
		  <tr>
			<td class="catHead" height="25"><span class="genmed"><b>{L_ANNOUNCEMENT}: {fetchpost_row.TITLE}</b></span></td>
		  </tr>
		  <tr>
			<td class="row2" align="left" height="24"><span class="gensmall">{L_POSTED}: <b>{fetchpost_row.POSTER}</b> @ {fetchpost_row.TIME}</span></td>
		  </tr>
		  <tr>
			<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td>
		  </tr>
		  <tr>
			<td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
		  </tr>
		</table>

		<br />

		<!-- END fetchpost_row -->
	</td>

	<td valign="top" width="22%">
	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>{L_NAME_WELCOME} {U_NAME_LINK}</b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="left"><span class="gensmall">
			<!-- BEGIN switch_user_logged_in -->
			<div align="center"><br />{AVATAR_IMG}</div>
			<br />{LAST_VISIT_DATE}<br /><br />
			<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br />
			<!-- END switch_user_logged_in -->
			<br />{CURRENT_TIME}<br /><br />{S_TIMEZONE}</span>
		</td>
	   </tr>
	  </table>

	  <br />
	<!-- BEGIN switch_user_logged_out -->
	<form method="post" action="{S_LOGIN_ACTION}">
	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>{L_LOGIN}</b></span></td>
	   </tr>
	   <tr>
		<td class="row1"><span class="gensmall" style="line-height=150%">
		<input type="hidden" name="redirect" value="{U_PORTAL}" />
		{L_USERNAME}:<br /><input class="text" type="text" name="username" size="15" /><br />
		{L_PASSWORD}:<br /><input class="text" type="password" name="password" size="15" /><br />
		<input class="text" type="checkbox" name="autologin" />&nbsp;{L_REMEMBER_ME}<br/>
		<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /><br /><br /><a href="{U_SEND_PASSWORD}">{L_SEND_PASSWORD}</a><br /><br />{L_REGISTER_NEW_ACCOUNT}<br />&nbsp;</span></td>
	   </tr>
	  </table>
	</form>
	<!-- END switch_user_logged_out -->
	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /></span><div align="center" class="gensmall">[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</div><span class="gensmall"><br />{RECORD_USERS}<br />&nbsp;</span></td>
	   </tr>
	  </table>

	  <br />

	  <form method="post" action="{S_POLL_ACTION}">
	  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
	   <tr>
		<td class="catHead" height="25"><span class="genmed"><b>{L_POLL}</b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="left">
			<div align="center" class="gensmall"><b>{S_POLL_QUESTION}</b></div><br />
			<!-- BEGIN poll_option_row -->
			<input type="radio" name="vote_id" value="{poll_option_row.OPTION_ID}" /><span class="gensmall">{poll_option_row.OPTION_TEXT}&nbsp;[{poll_option_row.VOTE_RESULT}]</span><br />
			<!-- END poll_option_row -->
			<br />
			<!-- BEGIN switch_user_logged_out -->
			<div align="center">{L_LOGIN_TO_VOTE}</div>
			<!-- END switch_user_logged_out -->
			<!-- BEGIN switch_user_logged_in -->
			<div align="center" class="gensmall"><input type="submit" class="mainoption" name="submit" value="{L_VOTE_BUTTON}" {DISABLED} /></div>
			<input type="hidden" name="topic_id" value="{S_TOPIC_ID}" />
			<input type="hidden" name="mode" value="vote" />
			<!-- END switch_user_logged_in -->
			<br />
		</td>
	   </tr>
	  </table>
	  </form>

	  <br />

	</td>
  </tr>
</table>

<br />

Raimon
Berichten: 4397
Lid geworden op: 27 aug 2005, 12:59
Contacteer:

Bericht door Raimon » 03 mar 2006, 12:13

Als je de welkoms tekst wil veranderen zit je helemaal fout!

de welkom tekst kun je veranderen in /portal.php
Dus ik bedoel hiermee de tekst welcome to my comunitie :wink:
Laatst gewijzigd door Raimon op 03 mar 2006, 12:14, 1 keer totaal gewijzigd.

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 03 mar 2006, 12:14

De welkomst-text staat in portal.php

Code: Selecteer alles

#
##---[ OPEN ]-----------------------------
#

portal.php

#
##----[ FIND ]-----------------------------
#

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Replace this with your text';

#
##---[ IN LINE, FIND ]----------------------
#

Replace this with your text

#
##----[ VERVANG ]-----------------------
#

Met je eigent text ;-)

iemand08
Berichten: 616
Lid geworden op: 06 jan 2006, 13:22

Bericht door iemand08 » 03 mar 2006, 12:17

Ik weet nou niet of we allebei het zelfde bedoelen. daarom maar even een screen:

Afbeelding


Dus daar wil ik tekst hebben staan.

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 03 mar 2006, 12:18

Dat is wat ik bedoelde ;) en wat Raimon ook bedoelde lijkt me.
Volg nou maar op wat ik zei, die mini MOD :\

iemand08
Berichten: 616
Lid geworden op: 06 jan 2006, 13:22

Bericht door iemand08 » 03 mar 2006, 12:20

oke bedankt!!!

Gebruikersavatar
Diablo Gamer
Berichten: 1394
Lid geworden op: 02 jan 2004, 20:33
Locatie: Dalen/Drenthe/Holland
Contacteer:

Bericht door Diablo Gamer » 03 mar 2006, 15:05

ik heb even snel de hele regel gepakt wat in de portal.php staat

Code: Selecteer alles

#
##---[ OPEN ]-----------------------------
#

portal.php

#
##----[ FIND ]-----------------------------
#

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

#
##---[ IN LINE, FIND ]----------------------
#

Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^

#
##----[ VERVANG ]-----------------------
#

Met je eigent text ;-)
It`s nice to be important, but it`s more important to be nice.

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 03 mar 2006, 15:29

Had ik ook al gedaan Diablo Gamer.

// Edit: je hebt gewoon mijn stukje gekopieërd en zelf beetje gewijzigd :o Je hebt de originele text van Smartor's ezPortal erbij gezet. Maar als je de link van de TS had gezien, zou je weten dat er nog geen text stond ;) Vandaar dat ik de originele text er ook niet had bijgezet.
Laatst gewijzigd door XGE_Lithium op 03 mar 2006, 15:30, 1 keer totaal gewijzigd.

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 03 mar 2006, 15:30

XGE_Lithium schreef:Had ik ook al gedaan Diablo Gamer.
Nee hoor, diablo heeft de goede inline find gegeven, jij niet ;)

Gebruikersavatar
XGE_Lithium
Berichten: 1278
Lid geworden op: 26 okt 2005, 19:28
Locatie: Heythuysen
Contacteer:

Bericht door XGE_Lithium » 03 mar 2006, 15:31

paul schreef:
XGE_Lithium schreef:Had ik ook al gedaan Diablo Gamer.
Nee hoor, diablo heeft de goede inline find gegeven, jij niet ;)
Zie mijn vorige edit ;)

Gesloten