Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Darrell3831
Worker
Worker


Joined: Feb 18, 2004
Posts: 244

PostPosted: Thu Jan 19, 2006 8:29 pm Reply with quote

rwsNuke 7.6 2.0.2 - phpBB 2.19

The text surrounding the forum avatar does not have br tags apperantly.

Image

Any suggestiongs on what I need to do to fix this?

Thanks,

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Thu Jan 19, 2006 10:58 pm Reply with quote

More left over code. I apologize about this and promise you I will have this all cleaned up in the next release!

In themes/fisubice/forums/viewtopic_body.tpl
FIND
Code:
<!-- td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></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 />
{postrow.POSTER_FROM}</span><br />
<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td -->


CHANGE TO
Code:
<td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></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 />
{postrow.POSTER_FROM}</span><br />
<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td>
 
View user's profile Send private message
Darrell3831
PostPosted: Fri Jan 20, 2006 4:14 am Reply with quote

Thanks Raven!

I was able to get it working from that.

There is another table row directly below the one mentioned. Once you un-comment the one listed above you need to immediately comment out the one below it.

In not, you'll have two table rows. One correct and one like my example image. Both side by side.

Smile

Thanks again, Works now!
Darrell
 
Raven
PostPosted: Fri Jan 20, 2006 4:47 am Reply with quote

I don't find any other commented rows.
 
Darrell3831
PostPosted: Fri Jan 20, 2006 4:04 pm Reply with quote

My version came like this right out of the archive.

Code:
<!-- BEGIN postrow -->

<tr>
<!-- td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></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 />
{postrow.POSTER_FROM}</span><br />
<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td -->
<td rowspan="2" 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}{postrow.H_BR_0}{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}{postrow.H_BR_1}{postrow.H_BR_2}{postrow.POSTER_JOINED}{postrow.H_BR_3}{postrow.POSTER_POSTS}{postrow.H_BR_4}{postrow.POSTER_FROM}</span>{postrow.H_BR_5}<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td>


If you take the !-- and the -- away from the first td tag then you'll end up with very similar blocks of code.

These two blocks of code cause the td to be duplicated twice in a row.

Once I realized it, I just deleted the second td tag. The are slightly different. Should I not have done that??

Only registered users can see links on this board! Get registered or login!

For me it's working now. At least I think it is..

Thanks,
Darrell
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Fri Jan 20, 2006 4:55 pm Reply with quote

Im not sure which of the two very similar sets of code within those duplicat TD tags we should be using but here is what I'm currently using with additional br tags
Code:


<!-- BEGIN postrow -->
<tr>
<!-- TD no longer required ??  -->
 <!--td> valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}"></a><strong>
 {postrow.POSTER_NAME}</strong></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 />
{postrow.POSTER_FROM}</span><br />
<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td -->
<!-- end old TD code  -->

<! replacement TD code  for above -->
<td rowspan="2" 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.H_BR_0}{postrow.RANK_IMAGE}<br />
{postrow.POSTER_AVATAR}{postrow.H_BR_1}<br /><br />
{postrow.H_BR_2}{postrow.POSTER_JOINED}<br />
{postrow.H_BR_3}{postrow.POSTER_POSTS}<br />
{postrow.H_BR_4}{postrow.POSTER_FROM}</span><br />
{postrow.H_BR_5}<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td>
<!-- end replacement code -->
 
View user's profile Send private message Send e-mail
Darrell3831
PostPosted: Fri Jan 20, 2006 5:13 pm Reply with quote

Thanks!
 
Raven
PostPosted: Fri Jan 20, 2006 8:20 pm Reply with quote

I don't know where/how the different code is being introduced. I will go over the theme again, but you saw the code I have.
 
bfnuke
Hangin' Around


Joined: Feb 01, 2006
Posts: 43

PostPosted: Fri Feb 03, 2006 1:36 pm Reply with quote

Just as a quick comment. I thinkthere needs to be a <br /> between teh rank_image and teh poster_avatar in Raven's version... Looks like it is missing, even though it displays correctly.
 
View user's profile Send private message
Guardian2003
PostPosted: Fri Feb 03, 2006 1:58 pm Reply with quote

I already posted the fix for this above (4 posts up)
 
bfnuke
PostPosted: Fri Feb 03, 2006 3:15 pm Reply with quote

I see that but yours also has other things in there like this:

Code:
{postrow.H_BR_2}


What are those for?
 
Guardian2003
PostPosted: Fri Feb 03, 2006 4:00 pm Reply with quote

I never got around to investigating that - it may be some future planned forum enhancement or part of some Groups system.
I does need further investigation, so thanks for the reminder Wink but that code will work without any problems.
 
Guardian2003
PostPosted: Fri Feb 03, 2006 4:15 pm Reply with quote

Oops, I never noticed that Raven actually posted a fix too so maybe his is the correct one.
 
bfnuke
PostPosted: Sat Feb 04, 2006 4:19 am Reply with quote

And Raven's fix is missing the <br /> Wink Who knows. All I know is I fixed mine and it looks like this:

Code:


<td valign="top" class="{postrow.ROW_CLASS}" rowspan="2"><span class="name"><a name="{postrow.U_POST_ID}"></a><strong>{postrow.POSTER_NAME}</strong></span><br />
<span class="postdetails">{postrow.POSTER_RANK}<br />
{postrow.RANK_IMAGE}<br />
{postrow.POSTER_AVATAR}<br /><br />
{postrow.POSTER_JOINED}<br />
{postrow.POSTER_POSTS}<br />
{postrow.POSTER_FROM}</span><br />
<img src="themes/fisubice/forums/images/spacer.gif" alt="" width="150" height="1" />
</td>
 
Raven
PostPosted: Sat Feb 04, 2006 5:10 am Reply with quote

This has allbeen fixed in the next release.
 
Nomad
Client


Joined: Jan 21, 2006
Posts: 87
Location: Arizona

PostPosted: Fri Apr 28, 2006 4:46 pm Reply with quote

To Clarify this.....

1. I applied Raven's Fix
2. But I also had to delete the next table statement that came immediatly after that.

Then it looked pretty!

So everybody was right !
Wave

_________________
Nomad!~! 
View user's profile Send private message Visit poster's website AIM Address
Guardian2003
PostPosted: Sat Apr 29, 2006 12:02 am Reply with quote

That is correct, you would need to comment out or delete the other one.
This issue has been fixed in RN.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©