Tact7626
04-24-2007, 03:54 AM
hello everyone. I was hoping to get some help on a little problem of mine. I hope this is the correct place. It's basically related to the custom images i used for the control inside each post.
EDIT: SORRY. FORGOT TO MENTION THIS IS ONLY FOR THE "CRUSIFIXION" STYLE!
If you would be so kind as to direct yourselfs to that style. (i don't think it's the default yet. :p) sorry for the trouble.
"edit, quote, multiquote, quickreply"
I made it so that it looks like one large image. (like an imagemap) but it's not. i just made all the buttons float left using divs and css.
here's a screenshot:
http://www.legionofangels.net/nail.jpg
The problem comes when you log out. for some reason the "quote" button is positioned on the far left of the post. (i know it's the float tag, but why did it go outside the div wrapper?)
here's the code if you'd like to take a look at it, please.
<div style="border:0px dotted black; width:400px;padding-top:10px;margin-top:0px;float:right;" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<div style="float:left">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/nailbg_01.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />nailbg_02</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/<if condition="$show['multiquote_selected']">on<else />nailbg_03</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
</div>
<div style="float:left">
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/nailbg_04.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
</div>
<div style="float:left">
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</div>
<div style="float:left">
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
</div>
<!-- / controls -->
</div>
here's a random thread i picked out so you can see what happens with logged off users.
http://www.legionofangels.net/forum/showthread.php?t=510
I'm well aware that I will never be able to keep the whole nail perfectly intact for a number of reasons (regular mods, regular members, permissions) that would affect how many buttons appear and the like.
the only thing that bugs me, is that when you're offline, the only remaining button is located on the far left of the post.
the owner of the site would greatly appreciate if someone would know to either, make it stay inside it's div wrapper and remain on the right side, (the div wrapper is float:right) or make it not show any buttons at all for logged off users. he's ok with any of these solutions if at all possible.
any tips, advice, thoughts, comments, help, are greatly appreciated.
thank you very much for your time.
EDIT: SORRY. FORGOT TO MENTION THIS IS ONLY FOR THE "CRUSIFIXION" STYLE!
If you would be so kind as to direct yourselfs to that style. (i don't think it's the default yet. :p) sorry for the trouble.
"edit, quote, multiquote, quickreply"
I made it so that it looks like one large image. (like an imagemap) but it's not. i just made all the buttons float left using divs and css.
here's a screenshot:
http://www.legionofangels.net/nail.jpg
The problem comes when you log out. for some reason the "quote" button is positioned on the far left of the post. (i know it's the float tag, but why did it go outside the div wrapper?)
here's the code if you'd like to take a look at it, please.
<div style="border:0px dotted black; width:400px;padding-top:10px;margin-top:0px;float:right;" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<div style="float:left">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/nailbg_01.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />nailbg_02</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/<if condition="$show['multiquote_selected']">on<else />nailbg_03</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
</div>
<div style="float:left">
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/nailbg_04.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
</div>
<div style="float:left">
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
</div>
<div style="float:left">
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</div>
<div style="float:left">
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
</div>
<!-- / controls -->
</div>
here's a random thread i picked out so you can see what happens with logged off users.
http://www.legionofangels.net/forum/showthread.php?t=510
I'm well aware that I will never be able to keep the whole nail perfectly intact for a number of reasons (regular mods, regular members, permissions) that would affect how many buttons appear and the like.
the only thing that bugs me, is that when you're offline, the only remaining button is located on the far left of the post.
the owner of the site would greatly appreciate if someone would know to either, make it stay inside it's div wrapper and remain on the right side, (the div wrapper is float:right) or make it not show any buttons at all for logged off users. he's ok with any of these solutions if at all possible.
any tips, advice, thoughts, comments, help, are greatly appreciated.
thank you very much for your time.