 | [Solved] problems with the Gender MOD 1.0.1a |  |
Posted: 05/17/2007 5:52 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I've installed this mod with EM ok after I did a few commands manually but I've noticed that under Author "# Just remove it" is showing. This is when viewing a topic. When viewing someone’s profile the gender info shows fine though  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] problems with the Gender MOD 1.0.1a |  |
Posted: 05/17/2007 5:54 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: problems with the Gender MOD 1.0.1a |  |
Posted: 05/17/2007 5:55 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:07 PM
Location: St Pete, FL
|

|
|
|
|
 |
I have to take off for a few hours. I will look at this when I return...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] problems with the Gender MOD 1.0.1a |  |
Posted: 05/17/2007 6:04 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Ok,
I think it's something to do with this
| Code:
|
<!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br /># Just remove it</span><br />{postrow.POSTER_FROM_FLAG}</td>
<!-- BEGIN switch_gender_display -->
{L_GENDER}{postrow.POSTER_GENDER}<br />
<!-- END switch_gender_display -->
{postrow.POSTER_FROM}</span><br /></td>
|
| Code:
|
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN postrow -->
#
#-----[ FIND ]------------------------------------------
#
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}">
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POSTER_FROM}</span><br /></td>
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
# Just remove it
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_gender_display -->
{L_GENDER}{postrow.POSTER_GENDER}<br />
<!-- END switch_gender_display -->
{postrow.POSTER_FROM}</span><br /></td>
|
it's because of the flag mod I'm not able to get the code to work properly  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] problems with the Gender MOD 1.0.1a |  |
Posted: 05/17/2007 6:19 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I think I’ve done it. I just deleted the "# Just remove it" but now gender doesn't show underneath the posters name where I wouldn't have thought it would show next to the flag etc. Instead it shows at the top of the thread. Not sure if that's right
How are you anyway Nightrider? I've been offline for a while due to net problems *tut haven't been able to get online since Sunday gone  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: problems with the Gender MOD 1.0.1a |  |
Posted: 05/17/2007 10:28 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:07 PM
Location: St Pete, FL
|

|
|
|
|
 |
Neither of these are valid:
| Code:
|
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
# Just remove it
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
|
So it's not surprising that this didn't work. Any row that starts with a # is treated as a comment, so EM totally ignored Just remove it. Since there was nothing on the uncommented line after Just remove it, EM had nothing to do. IOW, this MOD should not have been validated...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] problems with the Gender MOD 1.0.1a |  |
Posted: 05/18/2007 4:56 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
| Oh right, so have I corrected it ok? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: problems with the Gender MOD 1.0.1a |  |
Posted: 05/18/2007 4:59 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 1:07 PM
Location: St Pete, FL
|

|
|
|
|
 |
I had to go in and correct it. There was an extra </td> since the IN-LINE REPLACE WITH didn't have anything to do. I corrected it so that your View Topic page would display properly...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] problems with the Gender MOD 1.0.1a |  |
Posted: 05/18/2007 5:23 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Ah I see. Kewl  |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|