Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
How do i get this on my site?
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3, 4  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: MODs Installed in RCF...
PostPosted: 04/05/2007 12:27 AM 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: 9:03 AM
Location: St Pete, FL
peace.gif
I'll have to look into this tomorrow.  I'm too tired to continue tonight...

Rolling Eyes
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: How do i get this on my site?
PostPosted: 04/09/2007 11:01 PM Reply with quote
Glider
MistaChy
Glider
Posts 245
Word Cnt. 8,270
BDay Oct 9
Sign Libra
Sex Sex:Male
Joined: Mar 11, 2007
Local time: 7:03 AM
Location: Houston
blank.gif
the word count mod seems to work. i had to put new words, it didnt take into account previous words before installation.

well that leaves zodiac, and the modification of the birthday mod...

now we know... and knowing if half the battle... thank god for GI JOE

headbang
Back to Top
View user's profile Find all posts by MistaChy Send private message   Visit poster's website
Re: MODs Installed in RCF...
PostPosted: 04/10/2007 1:55 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: 9:03 AM
Location: St Pete, FL
peace.gif
Right, there was no way for the MOD to go through and count all the words for all posted messages.  That would be an extremely slow process.  So this MOD can only count all new words as they are posted.  Luckily I installed this MOD fairly early after we started this community...

headbang
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: How do i get this on my site?
PostPosted: 04/10/2007 2:03 PM Reply with quote
Glider
MistaChy
Glider
Posts 245
Word Cnt. 8,270
BDay Oct 9
Sign Libra
Sex Sex:Male
Joined: Mar 11, 2007
Local time: 7:03 AM
Location: Houston
blank.gif
Can you come up with the code for the few things i have so far? The code for putting these things inside the box?
Back to Top
View user's profile Find all posts by MistaChy Send private message   Visit poster's website
Re: How do i get this on my site?
PostPosted: 04/10/2007 2: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: 9:03 AM
Location: St Pete, FL
peace.gif
This is the code used to display the left column user information in the viewtopic_body.tpl file:

Code:
            <table border="0" cellspacing="0" cellpadding="3" width="100%">
            <tr>
               <td width="100%" align="left" valign="top">
                  <table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                     <td nowrap="nowrap">
                        <table>
                        <tr>
                           <td align=left valign=top>
                              <table>
                              <tr><td align="center"><span class="postdetails">{postrow.RANK_IMAGE}</span><td></tr>
                              <tr><td align="center"><span class="name"><b>{postrow.POSTER_NAME}</b></span></td></tr>
                              <tr><td align="center"><span class="postdetails">{postrow.POSTER_AVATAR}</span><td></tr>
                              </table>
                           </td>
                           <td align=right valign=bottom>
                              <table>
                              <tr>
                                 <td align="center" nowrap="nowrap"><span class="postdetails">{postrow.POSTER_RANK}</span></td>
                              </tr>
                              <tr>
                                 <td>
                                    <table border=1>
                                    <tr>
                                       <td class="row4"><span class="postdetails">{postrow.SEARCH_TEXT}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.SEARCH2}</span></td>
                                    </tr>
                                    <tr>
                                       <td class="row4" width=50><span class="postdetails">{postrow.TOTAL_WORDS_TEXT2}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.WORD_COUNT}</span></td>
                                    </tr>
                                       <tr>
                                          <td class="row4"><span class="postdetails">{postrow.POSTER_AGE_TEXT}</span></td>
                                          <td class="row1" nowrap align=center><span class="postdetails">{postrow.POSTER_AGE2}</span></td>
                                       </tr>
                                    <tr>
                                       <td class="row4"><span class="postdetails">{postrow.L_ZODIAC2}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.ZODIAC_IMG}</span></td>
                                    </tr>
                                    <tr>
                                       <td class="row4"><span class="postdetails">{postrow.POSTER_GENDER_TEXT}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.POSTER_GENDER2}</span></td>
                                    </tr>
                                    </table>
                                 </td>
                              </tr>
                              </table>
                           </td>
                        </tr>
                        </table>
                     </td>
                  </tr>
                  <tr>
                     <td>
                        <table width="100%">
                        <tr>
                           <td nowrap><span class="postdetails">
                              {postrow.POSTER_JOINED}<br />
                              {postrow.LOCAL_TIME}<br />
                              {postrow.POSTER_FROM}</span>
                           </td>
                           <td align="right" valign=middle><span class="postdetails">{postrow.POSTER_FROM_FLAG}</span></td>
                        </tr>
                        </table>
                     </td>
                  </tr>
                  </table>
               </td>
            </tr>
            </table>

This is the actual file with the code in place:

viewtopic_body.txt

You will probably have to make some adjustments in the viewtopic.php file too.  If I remember correctly, I had to create some new variables to store some of this information.  We can deal with that when you get to that point...

headbang
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: How do i get this on my site?
PostPosted: 04/10/2007 8:32 PM Reply with quote
Glider
MistaChy
Glider
Posts 245
Word Cnt. 8,270
BDay Oct 9
Sign Libra
Sex Sex:Male
Joined: Mar 11, 2007
Local time: 7:03 AM
Location: Houston
blank.gif
i need all of that code or do i just need the one little section for the table?
Back to Top
View user's profile Find all posts by MistaChy Send private message   Visit poster's website
Re: How do i get this on my site?
PostPosted: 04/10/2007 8:34 PM Reply with quote
Glider
MistaChy
Glider
Posts 245
Word Cnt. 8,270
BDay Oct 9
Sign Libra
Sex Sex:Male
Joined: Mar 11, 2007
Local time: 7:03 AM
Location: Houston
blank.gif
my bad, that is the table... lol. are the things that i dont have right now taken out?
Back to Top
View user's profile Find all posts by MistaChy Send private message   Visit poster's website
Re: How do i get this on my site?
PostPosted: 04/10/2007 8:35 PM Reply with quote
Glider
MistaChy
Glider
Posts 245
Word Cnt. 8,270
BDay Oct 9
Sign Libra
Sex Sex:Male
Joined: Mar 11, 2007
Local time: 7:03 AM
Location: Houston
blank.gif
should i wait until you can fix the birthday part?
Back to Top
View user's profile Find all posts by MistaChy Send private message   Visit poster's website
Re: How do i get this on my site?
PostPosted: 04/10/2007 10:22 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: 9:03 AM
Location: St Pete, FL
peace.gif
That code not only displays the little box containing word count, posts, birthday, and zodiac sign, but it is the code for all the rest of the member details too.  If you only want the table, you don't need the whole thing, just the following:

Code:
<table border=1>
                                    <tr>
                                       <td class="row4"><span class="postdetails">{postrow.SEARCH_TEXT}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.SEARCH2}</span></td>
                                    </tr>
                                    <tr>
                                       <td class="row4" width=50><span class="postdetails">{postrow.TOTAL_WORDS_TEXT2}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.WORD_COUNT}</span></td>
                                    </tr>
                                       <tr>
                                          <td class="row4"><span class="postdetails">{postrow.POSTER_AGE_TEXT}</span></td>
                                          <td class="row1" nowrap align=center><span class="postdetails">{postrow.POSTER_AGE2}</span></td>
                                       </tr>
                                    <tr>
                                       <td class="row4"><span class="postdetails">{postrow.L_ZODIAC2}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.ZODIAC_IMG}</span></td>
                                    </tr>
                                    <tr>
                                       <td class="row4"><span class="postdetails">{postrow.POSTER_GENDER_TEXT}</span></td>
                                       <td class="row1" nowrap align=center><span class="postdetails">{postrow.POSTER_GENDER2}</span></td>
                                    </tr>
                                    </table>

If any of these variables are unassigned or missing, they will be ignored.  So you don't have to wait till the birthday MOD is installed in order to add this.  There is a chance that many of these variables will be unassigned though, so your table may be mostly empty after you add it.  The rest of the code needs to be added to the viewtopic.php file.  I need to go through and find all the other code that I added for this...

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: How do i get this on my site?
PostPosted: 04/11/2007 1:17 AM Reply with quote
Glider
MistaChy
Glider
Posts 245
Word Cnt. 8,270
BDay Oct 9
Sign Libra
Sex Sex:Male
Joined: Mar 11, 2007
Local time: 7:03 AM
Location: Houston
blank.gif
well dang, this seems complicated
Back to Top
View user's profile Find all posts by MistaChy Send private message   Visit poster's website
 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
Goto page: Previous  1, 2, 3, 4  Next
Page 3 of 4


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

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