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] problems with the Gender MOD 1.0.1a
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] problems with the Gender MOD 1.0.1a
PostPosted: 05/17/2007 5:52 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
greatbrE.gif
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  Embarassed
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] problems with the Gender MOD 1.0.1a
PostPosted: 05/17/2007 5:54 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
greatbrE.gif
download link to the mod i'm using http://www.djpassions.com/gender_mod_1_0_1a.zip
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problems with the Gender MOD 1.0.1a
PostPosted: 05/17/2007 5: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: 1:07 PM
Location: St Pete, FL
peace.gif
I have to take off for a few hours.  I will look at this when I return...

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: [Solved] problems with the Gender MOD 1.0.1a
PostPosted: 05/17/2007 6:04 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
greatbrE.gif
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  violent1
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: [Solved] problems with the Gender MOD 1.0.1a
PostPosted: 05/17/2007 6:19 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
greatbrE.gif
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  dontknow

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  Crying or Very sad
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problems with the Gender MOD 1.0.1a
PostPosted: 05/17/2007 10:28 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: 1:07 PM
Location: St Pete, FL
peace.gif
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...

Brick wall
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: [Solved] problems with the Gender MOD 1.0.1a
PostPosted: 05/18/2007 4:56 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
greatbrE.gif
Oh right, so have I corrected it ok?
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: problems with the Gender MOD 1.0.1a
PostPosted: 05/18/2007 4:59 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: 1:07 PM
Location: St Pete, FL
peace.gif
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...

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
Re: [Solved] problems with the Gender MOD 1.0.1a
PostPosted: 05/18/2007 5:23 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 6:07 PM
Location: Birmingham, UK.
greatbrE.gif
Ah I see. Kewl  Applause
Back to Top
View user's profile Find all posts by Chris Powell 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

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0743s (PHP: 64% - SQL: 36%) - SQL queries: 54 - GZIP disabled - Debug on