 | [Solved]Top topic on Portal MOD. |  |
Posted: 07/16/2007 2:50 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 2:47 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
Hi, i would like to ajust my top topic mod on my Portal page.But i dunno how to ajust the width and class. Can help me to ajust it ? Below are my current Top recent topic code. and the Portal_body file. I want make on below Welcome test board . http://www.wtfone.com/forum/portal.php
| Code:
|
<!-- Top Topics on Index 1.1.0 - Begin Code Addition -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th width="25%" class="thTop" nowrap="nowrap"> {L_TOPICSRECENT} </th>
<th width="38%" colspan="2" class="thTop" nowrap="nowrap"> {L_TOPICSPOPULAR} </th>
<th width="37%" colspan="2" class="thTop" nowrap="nowrap"> {L_TOPICSPOPULARVIEW} </th>
</tr>
<!-- BEGIN topicrecentpopular -->
<tr>
<td width="29%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSRECENT}</span></td>
<td width="31%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULAR}</span></td>
<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARC}</span></td>
<td width="29%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEW}</span></td>
<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEWC}</span></td>
</tr>
<!-- END topicrecentpopular -->
</table>
<!-- Top Topics on Index 1.1.0 - End Code Addition -->
|
My Current Portal body file
| Code:
|
<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 />
» <a class="mainmenu" href="{U_ALBUM}">{L_ALBUM}</a><br />
» <a class="mainmenu" href="{U_ACTIVITY}">{L_ACTIVITY}</a><br />
» <a class="mainmenu" href="{U_DOWNLOAD}">{L_DOWNLOAD}</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://www.4fxearth.net/phpBB2" target="_blank"><center><table align="center" border=1><tr><td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version =4,0,0,0" id="rb_james" width="120" height="300"><param name="movie" value="http://wtfone.com/forum/Advertising/4fxearth.netLogo2.swf"><par am name="quality" value="high"><embed name="rb_james" src="http://wtfone.com/forum/Advertising/4fxearth.netLogo2.swf" quality="high" width="120" height="300" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1 _Prod_Version=ShockwaveFlash"></embed></object></td></tr></table></cen ter></a>
</tr>
</table>
<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://www.freetradezone.com.my" target="_blank"><img src="Advertising/ftz_logo.GIF" width="168" height="100" alt="FTZ 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%">{WELCOME_TEXT}<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>{fet chpost_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 />
<a href=http://www.techfactormarketing.com target="_blank"><center><img src="Advertising/Tech.jpg" width="407" height="91" border="0" align="top"></center>
</a>
|
Im no idea to ajust the table width ...i ajust using 1hours, but get nothing.  |
|
Last edited by masteranu84 on 07/22/2007 9:26 AM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: Top topic on Portal MOD. |  |
Posted: 07/16/2007 10:13 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
I'm not sure I understand what you're asking. Are you asking to decrease the width of the table that displays the Top Topics or do you want to adjust the column widths inside of it???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Top topic on Portal MOD. |  |
Posted: 07/17/2007 2:12 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 2:47 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
| Nightrider wrote:
|
I'm not sure I understand what you're asking. Are you asking to decrease the width of the table that displays the Top Topics or do you want to adjust the column widths inside of it???
|
no, i mean i want make more 1 the recent topic table on my portal page.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Top topic on Portal MOD. |  |
Posted: 07/20/2007 1:06 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
Which Recent Topic MOD did you install? You should be able to change index.php to portal.php and index_body.tpl to portal_body.tpl in the MOD script to get this to work. You may have to modify a few of the FIND commands too...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Top topic on Portal MOD. |  |
Posted: 07/20/2007 1:32 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 2:47 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
| Nightrider wrote:
|
Which Recent Topic MOD did you install? You should be able to change index.php to portal.php and index_body.tpl to portal_body.tpl in the MOD script to get this to work. You may have to modify a few of the FIND commands too...
|
Problem Fix ..i install the portal recent topic mod edi.  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Top topic on Portal MOD. |  |
Posted: 07/20/2007 4:47 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:47 PM
Location: St Pete, FL
|

|
|
|
|
 |
Kewl. Congratulations masteranu84!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|