Coding Problem

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Coding Problem

Post by mikef35 »

Below is the code I am using, so far all is good except that the special rank is to far to the right. Any Ideas on how I can get it to line up to the left with the rest. Thanks

Code: Select all

<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->
			    <dd>
				<div class="profile-rank">
			        {postrow.RANK_TITLE}
			        <!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->
			        {postrow.RANK_IMG}
			    </div>
				</dd>
            <!-- ENDIF -->
			<dd>
			            <!-- IF postrow.EXTRA_RANK_TITLE --><div class="posterrank">{postrow.EXTRA_RANK_TITLE}</div><!-- ENDIF -->            <!-- IF postrow.EXTRA_RANK_IMG --><div class="postrankimg">{postrow.EXTRA_RANK_IMG}</div><!-- ENDIF -->
						</dd>
You do not have the required permissions to view the files attached to this post.

Coding Problem

Post by martin123456 »

Add

Code: Select all

<dd> your code here  </dd>
Take a close look at what you have so far
Last edited by martin123456 on 09 Jun 2012, 19:35, edited 1 time in total.

Coding Problem

Post by mikef35 »

I have tried that in many different ways, plus you can see it is wrapped in that now.

Coding Problem

Post by martin123456 »

you have

Code: Select all

<!-- IF postrow.EXTRA_RANK_TITLE --><div class="posterrank">{postrow.EXTRA_RANK_TITLE}</div><!-- ENDIF -->            <!-- IF postrow.EXTRA_RANK_IMG --><div class="postrankimg">{postrow.EXTRA_RANK_IMG}</div><!-- ENDIF -->
                  </dd>
try

Code: Select all

<dd><!-- IF postrow.EXTRA_RANK_TITLE --><div class="posterrank">{postrow.EXTRA_RANK_TITLE}</div><!-- ENDIF -->            <!-- IF postrow.EXTRA_RANK_IMG --><div class="postrankimg">{postrow.EXTRA_RANK_IMG}</div><!-- ENDIF --></dd>

Coding Problem

Post by mikef35 »

So what are you saying? Remove all the DIV's?

Coding Problem

Post by martin123456 »

mikef35 wrote:So what are you saying? Remove all the DIV's?
make it like this

Code: Select all

<dd><!-- IF postrow.EXTRA_RANK_TITLE --><div class="posterrank">{postrow.EXTRA_RANK_TITLE}</div><!-- ENDIF -->            <!-- IF postrow.EXTRA_RANK_IMG --><div class="postrankimg">{postrow.EXTRA_RANK_IMG}</div><!-- ENDIF --></dd>
and note the post count work off that code as it had the same problem ;)

Coding Problem

Post by mikef35 »

That is what I already have. And that is also not the rank I need to move. If you look at the picture, I only need to move the Administrator bar to the left.




The Post count was to far to the left, the <dd> put it back inline to the right.

Coding Problem

Post by mikef35 »

Got it worked out. SOLVED

Coding Problem

Post by martin123456 »

Just as i said ;)
rankk.png
You do not have the required permissions to view the files attached to this post.

Coding Problem

Post by mikef35 »

The code you suggested, had nothing to do with my problem. I worked it out, it was a graphics issue.