 | Re: MODs Installed in RCF... |  |
Posted: 04/05/2007 12:27 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
I'll have to look into this tomorrow. I'm too tired to continue tonight...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/09/2007 11:01 PM |
|
|
|
|
|
| Glider |
| Posts |
245 |
| Word Cnt. |
8,270 |
| BDay |
Oct 9 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Mar 11, 2007
Local time: 3:24 AM
Location: Houston
|

|
|
|
|
 |
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
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: MODs Installed in RCF... |  |
Posted: 04/10/2007 1:55 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/10/2007 2:03 PM |
|
|
|
|
|
| Glider |
| Posts |
245 |
| Word Cnt. |
8,270 |
| BDay |
Oct 9 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Mar 11, 2007
Local time: 3:24 AM
Location: Houston
|

|
|
|
|
 |
| 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 |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/10/2007 2:13 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/10/2007 8:32 PM |
|
|
|
|
|
| Glider |
| Posts |
245 |
| Word Cnt. |
8,270 |
| BDay |
Oct 9 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Mar 11, 2007
Local time: 3:24 AM
Location: Houston
|

|
|
|
|
 |
| i need all of that code or do i just need the one little section for the table? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/10/2007 8:34 PM |
|
|
|
|
|
| Glider |
| Posts |
245 |
| Word Cnt. |
8,270 |
| BDay |
Oct 9 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Mar 11, 2007
Local time: 3:24 AM
Location: Houston
|

|
|
|
|
 |
| my bad, that is the table... lol. are the things that i dont have right now taken out? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/10/2007 8:35 PM |
|
|
|
|
|
| Glider |
| Posts |
245 |
| Word Cnt. |
8,270 |
| BDay |
Oct 9 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Mar 11, 2007
Local time: 3:24 AM
Location: Houston
|

|
|
|
|
 |
| should i wait until you can fix the birthday part? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/10/2007 10:22 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:24 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: How do i get this on my site? |  |
Posted: 04/11/2007 1:17 AM |
|
|
|
|
|
| Glider |
| Posts |
245 |
| Word Cnt. |
8,270 |
| BDay |
Oct 9 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Mar 11, 2007
Local time: 3:24 AM
Location: Houston
|

|
|
|
|
 |
| well dang, this seems complicated |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|