Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved]Top topic on Portal MOD.
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved]Top topic on Portal MOD.
PostPosted: 07/16/2007 2:50 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 2:33 AM
Location: Klang, Malaysia
malaysiC.gif
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">&nbsp;{L_TOPICSRECENT}&nbsp;</th>
   <th width="38%" colspan="2" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICSPOPULAR}&nbsp;</th>
   <th width="37%" colspan="2" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICSPOPULARVIEW}&nbsp;</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%">
         &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 />
                  &raquo; <a class="mainmenu" href="{U_ALBUM}">{L_ALBUM}</a><br />
                  &raquo; <a class="mainmenu" href="{U_ACTIVITY}">{L_ACTIVITY}</a><br />
            &raquo; <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 />&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://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 />&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>{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" />&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 />
<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. Embarassed  Embarassed


Last edited by masteranu84 on 07/22/2007 9:26 AM; edited 1 time in total
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Top topic on Portal MOD.
PostPosted: 07/16/2007 10:13 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:33 PM
Location: St Pete, FL
peace.gif
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???

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Top topic on Portal MOD.
PostPosted: 07/17/2007 2:12 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 2:33 AM
Location: Klang, Malaysia
malaysiC.gif
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???

dontknow


no, i mean i want make more 1 the recent topic table on my portal page.


Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Top topic on Portal MOD.
PostPosted: 07/20/2007 1:06 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:33 PM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Top topic on Portal MOD.
PostPosted: 07/20/2007 1:32 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 2:33 AM
Location: Klang, Malaysia
malaysiC.gif
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...

munky2


Problem Fix ..i install the portal recent topic mod edi.  headbang
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Top topic on Portal MOD.
PostPosted: 07/20/2007 4:47 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:33 PM
Location: St Pete, FL
peace.gif
Kewl.  Congratulations masteranu84!!!   Applause

banana  blob8  banana  blob8  banana  blob8  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1103s (PHP: 61% - SQL: 39%) - SQL queries: 45 - GZIP disabled - Debug on