|
Page 2 of 3
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
Like I said before ..a simple DB query could set all old users to the new format, I'm just not the best person to do that for you.
Putting the date in the next box (on the same line) could move the problem to the next box (if people have small screens or make the browser window smaller).
If you don't want change date format to something more acceptable you could try something like this (untested and maybe incorrect!!):
Find in your css:
.row-post-date, .row-post-buttons {
border: solid 1px #ffffff;
border-right-color: #dddddd;
border-bottom-color: #dddddd;
vertical-align: middle;
font-size: 10px;
line-height: 12px;
color: #666666;
background: url('images/cyan/bg_postbottom.gif');
white-space: nowrap;
padding: 1px;
}
Replace with:
.row-post-date {
min-width: XXXpx;
}
.row-post-date, .row-post-buttons {
border: solid 1px #ffffff;
border-right-color: #dddddd;
border-bottom-color: #dddddd;
vertical-align: middle;
font-size: 10px;
line-height: 12px;
color: #666666;
background: url('images/cyan/bg_postbottom.gif');
white-space: nowrap;
padding: 1px;
}
Where XXX should be replaced by the actual desired width!
Then do cross-browser checks (FF, IE, Chrome, Opera, Safari)
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#16 Tue 30 Apr, 2013 19:35 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Limun
Joined: January 2008
Posts: 1334
Location: [Censor]
|
Re: Problem With Users Block In The Forum
pay attention also to this:
viewtopic_body.tpl
<th width="150">{L_AUTHOR}</th>
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#17 Wed 01 May, 2013 14:13 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
Ooopz, yes you are right Limun
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#18 Wed 01 May, 2013 14:32 |
|
spirit22
Joined: April 2013
Posts: 51
|
Re: Problem With Users Block In The Forum
Thanks guys, but I'm a little confused with this problem. Do I have to edit the file. Css to align the two <div>?
I just want to leave them on the same line, because now apparent in two lines, one above the other.
|
#19 Thu 02 May, 2013 14:55 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
to clear it up:
1. You put back the date in the original box (to avoid moving the problem to the new location (this box contains other stuf, sometimes invisible or not and it may be too much to add there on that same line).
2. You try editing what Limun says to the .tpl (set 150px wider)...crossbrowser check!
3. Only if NOT working:
You try the css edit ...crossbrowser check!
PS.. I would also put pack the post number link {why would you remove something that works perfectly and bot the cause of the problem?).
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#20 Thu 02 May, 2013 16:25 |
|
spirit22
Joined: April 2013
Posts: 51
|
Re: Problem With Users Block In The Forum
The problem is that the date format lets the user block very wide, so I put in the other block.
So as I edited looks good, but falls into two lines, instead of appearing all on the same line.
I will continue investigating. Thanks.
|
#21 Thu 02 May, 2013 17:20 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
Please read point 1 very carefully, I don't think this is a good idea to move the problem IMHO (it's a good idea to FIX it!).
There are at least 3 advises for you to test, but if you go for something completely different (move the date) ..I step out
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#22 Thu 02 May, 2013 17:53 |
|
spirit22
Joined: April 2013
Posts: 51
|
Re: Problem With Users Block In The Forum
I only want the user block with normal size.
I repeat, If I put the date in that block is really bad, is very wide because the date format in the database is incorrect. if you can not help me I'll manage somehow. The error I have to correct it in one way or another and there are many ways. I hope that MG can help me or other expert, for that is the support.
|
#23 Thu 02 May, 2013 18:07 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
I thought I was fabulas
Sorry, all answers are in the thread (only not the db query code), but if you refuse to test anything we say.. then what must we do?
I'm done repeating .. I know the problem and understand it too .. it's up to you to test and see what a suggestion does IMHO.
Greetings,
Joshua203
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#24 Thu 02 May, 2013 19:20 |
|
spirit22
Joined: April 2013
Posts: 51
|
Re: Problem With Users Block In The Forum
Sorry Josua, I don't understand what you say me to edit more, as well I tried everything you told me and the date format in the block user don't can put because it can't be made smaller, it is a problem of the database and there do not enter many words, the space is small.
Please trying to explain better because my english is bad and I'm not a programming expert. I don't refuse to test your suggestions, I had it also solved the problem, I only needed align the date with the profile, PM and email buttons because it appears the date up and the buttons down. I'm asking something simple for you.
This is the code of viewtopic.tpl where I have to align the date and buttons, but it still fails in any way.
<tr>
<td class="row-post-date"></td>
<td class="row-post-date"><div style="text-align: left;"><!-- IF S_ADMIN -->{postrow.POST_EDIT_STRING_SHORT}<!-- ELSE -->{postrow.POST_DATE}<!-- ENDIF --></div><div class="post-buttons;" align="right" style="text-align: right;"> {postrow.PROFILE_IMG}{postrow.PM_IMG}{postrow.EMAIL_IMG}{postrow.WWW_IMG}{postrow.ALBUM_IMG} </a>
<!-- IF not S_BOT -->
<!-- BEGIN switch_quick_quote -->
<a href="javascript:addquote(%27{postrow.U_POST_ID}%27,%27quote%27,true,false);"><img src="{IMG_QUICK_QUOTE}" alt="{L_QUICK_QUOTE}" title="{L_QUICK_QUOTE}" /></a><a href="javascript:addquote(%27{postrow.U_POST_ID}%27,%27ot%27,true,false);"><img src="{IMG_OFFTOPIC}" alt="{L_OFFTOPIC}" title="{L_OFFTOPIC}" /></a>
<!-- END switch_quick_quote -->
<!-- ENDIF -->
<a href="{U_BACK_TOP}"><img src="{IMG_ARU}" alt="{L_BACK_TOP}" title="{L_BACK_TOP}" /></a><a href="{U_BACK_BOTTOM}"><img src="{IMG_ARD}" alt="{L_BACK_BOTTOM}" title="{L_BACK_BOTTOM}" /></a>
</div>
</td>
</tr>
|
#25 Thu 02 May, 2013 21:06 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
spirit22 wrote: it is a problem of the database and there do not enter many words, the space is small.
This is why I said "make it wider" (not smaller)
If the above is not what you want... then you need to wait for a DB query to set old users to new format (this way the block will be for small date formats only).
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#26 Thu 02 May, 2013 22:00 |
|
spirit22
Joined: April 2013
Posts: 51
|
Re: Problem With Users Block In The Forum
Better say you don't want help me to align the date and the buttons in the same line.
I will try to fix it myself or I'll ask help in another forum. Don't worry.
|
#27 Thu 02 May, 2013 22:14 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
Re: Problem With Users Block In The Forum
Right and I explained why 2x... sorry
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#28 Thu 02 May, 2013 22:26 |
|
Limun
Joined: January 2008
Posts: 1334
Location: [Censor]
|
Re: Problem With Users Block In The Forum
.... help me to align the date and the buttons in the same line.
I will try to fix it myself ......
and here is the code
find
<td class="row-post-date"><div style="text-align: center;"><b>{postrow.SINGLE_POST}</b> <!-- IF S_ADMIN -->{postrow.POST_EDIT_STRING_SHORT}<!-- ELSE -->{postrow.POST_DATE}<!-- ENDIF --></div></td>
<td class="row-post-buttons post-buttons">
<div style="text-align: right; vertical-align: middle;">
<div class="extra-top-padding" style="position: relative; float: left; text-align: left; vertical-align: middle;">
{postrow.PROFILE_IMG}{postrow.PM_IMG}{postrow.EMAIL_IMG}{postrow.WWW_IMG}{postrow.ALBUM_IMG}
</div>
replace with
<td class="row-post-date"><div style="text-align: center;"><b>{postrow.SINGLE_POST}</b> </div></td>
<td class="row-post-buttons post-buttons">
<div style="text-align: right; vertical-align: middle;">
<div class="extra-top-padding" style="position: relative; float: left; text-align: left; vertical-align: middle;">
<!-- IF S_ADMIN -->{postrow.POST_EDIT_STRING_SHORT}<!-- ELSE -->{postrow.POST_DATE}<!-- ENDIF -->{postrow.PROFILE_IMG}{postrow.PM_IMG}{postrow.EMAIL_IMG}{postrow.WWW_IMG}{postrow.ALBUM_IMG}
</div>
clear cache
PS . your code in few posts above its not ok
PS . and i m 99% sure that one day you will put back post date back ,because date it gona push buttons or something else , specialy with users who use low resolution on their display
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#29 Fri 03 May, 2013 06:35 |
|
spirit22
Joined: April 2013
Posts: 51
|
Re: Problem With Users Block In The Forum
Thanks a lot Limun. If you ever need anything just tell me, I owe you.
Problem solved.
|
#30 Fri 03 May, 2013 16:27 |
|
|
Page 2 of 3
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|