Pagina 1 van 1
portal aanpassen
Geplaatst: 03 mar 2006, 12:02
door iemand08
hallo.
hoe/waar kan ik de portal aanpassen???
http://www.misterxje.nl/portal.php
dus ik wil daar tekst hebben staan.
Geplaatst: 03 mar 2006, 12:08
door XGE_Lithium
De welkomst-text staat in portal.php
Voor de rest moet je in /templates/xxx/portal_body.tpl zijn.
Geplaatst: 03 mar 2006, 12:10
door iemand08
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%">
» <a class="mainmenu" href="{U_PORTAL}">{L_HOME}</a><br />
» <a class="mainmenu" href="{U_INDEX}">{L_FORUM}</a><br />
» <a class="mainmenu" href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
» <a class="mainmenu" href="{U_FAQ}">{L_FAQ}</a><br />
» <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 /> </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 /> </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" /> {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 /> </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 /> </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} [{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 />
Geplaatst: 03 mar 2006, 12:13
door Raimon
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

Geplaatst: 03 mar 2006, 12:14
door XGE_Lithium
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 ;-)
Geplaatst: 03 mar 2006, 12:17
door iemand08
Ik weet nou niet of we allebei het zelfde bedoelen. daarom maar even een screen:
Dus daar wil ik tekst hebben staan.
Geplaatst: 03 mar 2006, 12:18
door XGE_Lithium
Dat is wat ik bedoelde

en wat Raimon ook bedoelde lijkt me.
Volg nou maar op wat ik zei, die mini MOD :\
Geplaatst: 03 mar 2006, 12:20
door iemand08
oke bedankt!!!
Geplaatst: 03 mar 2006, 15:05
door Diablo Gamer
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 ;-)
Geplaatst: 03 mar 2006, 15:29
door XGE_Lithium
Had ik ook al gedaan Diablo Gamer.
// Edit: je hebt gewoon mijn stukje gekopieƫrd en zelf beetje gewijzigd

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.
Geplaatst: 03 mar 2006, 15:30
door Paul
XGE_Lithium schreef:Had ik ook al gedaan Diablo Gamer.
Nee hoor, diablo heeft de goede inline find gegeven, jij niet

Geplaatst: 03 mar 2006, 15:31
door XGE_Lithium
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
