miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

Quote, Edit links.. move to top right corner

Author LostBoy
Registered
#1 | Posted: 7 Feb 2006 22:56 

Author _Marco
Registered
#2 | Posted: 7 Feb 2006 23:59 
Open main_posts_cell.html and replace some <br> with <p align= .... > etc.
It's plain html.

_Marco

Author LostBoy
Registered
#3 | Posted: 8 Feb 2006 19:14 
hmm ok but its not in the same line with date and IP info :-/ Still better..

Author marsbar
Associated Member
#4 | Posted: 8 Feb 2006 19:59 | Edited by: marsbar 
Hmm... perhaps you need to remove any breaks between {$viewIP} and <script type="text/javascript">getQuotation();</script>{$allowed}</span>?
- mb

Author LostBoy
Registered
#5 | Posted: 8 Feb 2006 22:13 
No breaks there.. :-/

Author Caleb
Registered
#6 | Posted: 9 Feb 2006 05:52 | Edited by: Caleb 
smth like this?

<tr valign=top class={$bg}>
<td class=caption1 rowspan=2><a name="{$anchor}" href="JavaScript:paste_strinL('{$posterName}',2)"><span class=username>{$posterName}</span></a><br><span class=txtSm>{$viewReg}</span></td>
<td class=caption1><span class=txtSm><a href="#{$anchor}">#</a> {$l_posted}: {$postDate}{$editedBy}{$viewIP}</td></span><td nowrap=nowrap class=caption1><span class=txtSm><script type="text/javascript">getQuotation();
</script>{$allowed}</span></td>
<tr valign=top class={$bg}><td class=caption1 colspan=2><br>{$posterText}{$deleteBox}<br><br></td></tr>


instead of classic main_posts_cell.html

Author Caleb
Registered
#7 | Posted: 9 Feb 2006 06:02 
oh! and find in main_posts.html
<table class=forums>
<tr>
<td width="15%" class=caption4>{$l_author}</td>
<td width="85%" class=caption4>{$l_message}</td>
</tr>

and change it to

<table class=forums>
<tr>
<td width="15%" class=caption4>{$l_author}</td>
<td colspan=2 width="85%" class=caption4>{$l_message}</td>
</tr>

Author Caleb
Registered
#8 | Posted: 9 Feb 2006 07:35 | Edited by: Caleb 
or maybe so...
<tr valign=top class={$bg}>
<td class=caption1><a name="{$anchor}" href="JavaScript:paste_strinL('{$posterName}',2)"><span class=username>{$posterName}</span></a><br><span class=txtSm>{$viewReg}</span></td>
<td class=caption1 >
<table>
<td width=100%><span class=txtSm>
<a href="#{$anchor}">#</a> {$l_posted}: {$postDate}{$editedBy}{$viewIP}
</span></td>
<td nowrap=nowrap align=right><span class=txtSm><script type="text/javascript">getQuotation();</script>{$allowe d}</span>
</td>
<tr valign=top class={$bg}><td colspan=2 width=100%><br>{$posterText}{$deleteBox}<br><br></td></tr>
</table>
</td>
</tr>

in main_posts_cell.html

and do nothing in main_posts.html (use default)

Author Team
8-)
#9 | Posted: 9 Feb 2006 09:45 
marsbar provided correct, and there IS a <BR> between {$viewIP} and <script type="text/javascript">getQuotation();</script> - so you need just ro remove it.

Author Caleb
Registered
#10 | Posted: 9 Feb 2006 09:52 
Team
no that's not right.
in this case you'll get smth like
# Posted: 9 Feb 2006 07:35 - Edited by: Caleb Quote Edit

but not

# Posted: 9 Feb 2006 07:35 - Edited by: Caleb ____________ Quote Edit

or maybe i'm wrong?

Author Team
8-)
#11 | Posted: 9 Feb 2006 10:48 
Yes, removing <br> just moves this line to top. Your code is also correct, if you want to split it by 2 different table raws.

Author LostBoy
Registered
#12 | Posted: 10 Feb 2006 22:02 | Edited by: LostBoy 
thank you Caleb

btw you made little typo:)

<td nowrap=nowrap align=right><span class=txtSm><script type="text/javascript">getQuotation();</script>{$allowe d}</span>

Author Team
8-)
#13 | Posted: 13 Feb 2006 09:10 
LostBoy
This is not a typo - our board splits large phrases by spaces by default. So there must be no space.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / Quote, Edit links.. move to top right corner Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB