inherit
154226
0
Jun 25, 2023 5:37:27 GMT -8
Hassaan
76
May 2010
hassaan12
|
Post by Hassaan on Jun 30, 2014 0:51:16 GMT -8
|
|
inherit
72282
0
Feb 22, 2019 7:29:04 GMT -8
Smangii
what's this?
4,772
February 2006
smangii
|
Post by Smangii on Jun 30, 2014 14:29:30 GMT -8
Here is your mini profile layout template!
If you want to take out custom title and personal text, remove the blue lines.
<div class="$[miniprofile_class]" style="border-radius: 0px; padding-bottom: 40px; position: relative;">
$[user]<br />
{if $[user.is_guest]}Guest<br />{/if}
{if $[user.group]}$[user.group.name]<br />
{elseif $[user.rank]}$[user.rank.name]<br />{/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if}
$[user.warning.bar]
<br /><br />
{if $[user.personal_text]}$[user.personal_text]<br /><br />{/if}
{if $[user.is_member]}
Join Date: $[user.registered_on_short]<br />
Posts: $[user.posts]
{if $[user.location]}<br />Location: $[user.location]{/if}
{/if}
<div style="position: absolute; bottom: 5px; left: 5px;">
{if $[user.is_online]}
<img style="max-height: 20px;" src="http://i.imgur.com/E1ghDhE.png">
{else}
<img style="max-height: 20px;" src="http://i.imgur.com/20jyF7L.png">
{/if}
</div>
{if $[user.badges_miniprofile]}
<div class="$[user.badges_miniprofile_container_class]">
{foreach $[user.badges_miniprofile]}
$[user.badges_miniprofile.icon]
{/foreach}
</div>
{/if}
</div>
|
|
inherit
154226
0
Jun 25, 2023 5:37:27 GMT -8
Hassaan
76
May 2010
hassaan12
|
Post by Hassaan on Jul 1, 2014 1:12:33 GMT -8
Great stuff - thanks once again Smangii! Just one little thing - the user's location doesn't show when they are logged out. That's the first two done! I know I've requested a lot of things but I'd love for the forum to look good and how I'd want it to look before launching it. Another thing, would it be possible for the main page to look something like this? Obviously being spaced out when logged out but when logged in, where there are more pages on the navigation menu it wouldn't be as spaced out. Additionally, I'd like to remove the board info & statistics on each board (bar the main page) and of course the date formats. Instead of what is already there, telling you how long ago the post was made I'd like something like, for example: Today at 13:27 Yesterday at 20:23 29-06-2014, 10:38 Also, telling you the number of the post too - looking like this for example (the layout as opposed to the skin - I have edited this slightly) - users can change the subject line when they post: And a similar template/layout to the board one you did for me - just the last post & threads/posts swapped around, and the thread title in blue, author in black (just to differentiate). Also, if possible I'd like the reply box to look something like this: Not with the writing on the side but that shows what each button does. And just the layout, really. Adding to what's on the first page, I hope people can help.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 1, 2024 3:30:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 1, 2014 4:32:52 GMT -8
Hassaan, why are you bumping this when it's been less than three hours? You need to wait at least a day and be aware that these are volunteers helping you who likely have a different timezone--considering it's 7:30am where I'm at. They are not obligated to help and especially not that quickly!
|
|
inherit
72282
0
Feb 22, 2019 7:29:04 GMT -8
Smangii
what's this?
4,772
February 2006
smangii
|
Post by Smangii on Jul 1, 2014 14:01:07 GMT -8
Hassaan I actually did some tests... I don't think location shows up for guests at all, it's nothing that the layout template can control, unfortunately. You can create a custom field and set it to be viewable by guests if you really need that showing. I would have no idea how to change the time format, can't help you with that one :/ I know that you can sort of customize it in your profile > settings tab > Dates and Times The posting/reply page can't really be changed to the extent you want it using just layout templates (if at all). PB allows you to make polls with mostly all of those features, it's just formatting slightly different but does it need to look exactly like VB? It's unique to PB's style... quite frankly if you want it to look like VB so much, you should've gotten a VB To remove the Board Info & Statistics, you can go to Settings > Forum Settings > Info Centers, and disable it completely or choose what to enable/disable. I am working on the board mod for the main page and the thread view with the posts, see if I can get what you are looking for. --- Layout Templates > Thread > Post List To edit the color of the bars change the blue. I used the same code we have on my forum to get the number of the post. The first post won't show a number because it's not technically a "reply", the number only counts on 2nd post and after. {foreach $[post]}
<tr id="$[post.content_id]" class="$[post.content_class]{if $[post.even]} even{/if}{if $[viewing_recent_posts]} recent{/if}">
<td class="$[post.unblocked_class]" style="padding: 0px;">
<div style="padding: 10px; background: #E0E0E0;">
<span class="date">$[post.created_on]</span>
<div style="float: right;" id="post-text-$[post.id]"></div>
<script>
// show reply number
{if $[post.index] == 0}
var post = { page: location.href.match(/page=(\d+)/)?RegExp.$1-0:1, index: 0 };
{/if}
var index = (post.page-1)*15 + post.index++;
if(!location.href.match(/(\?|\&)q=/) && proboards.data("route").name == "thread"){
$("#post-text-$[post.id]").html(index == 0?"":"#"+index+"");
}
</script>
</div>
<table role="grid">
<tr>
<td class="left-panel" rowspan="2" style="padding: 10px;">
$[post.created_by.miniprofile]
</td>
<td class="content" style="padding: 10px;">
<article>
<h3 class="title aria-hidden">Post by $[post.created_by.name] on $[post.created_on]</h3>
<div class="message">$[post.message]</div>
</article>
</td>
</tr>
<tr>
<td class="foot">
{if $[post.edited]}
<div class="edited_by"><span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if}</div>
{/if}
{if $[post.created_by.signature]}
<div class="signature">$[post.created_by.signature]</div>
{/if}
<div class="info" style="margin: 10px; float: left;">
$[post.thread]
{if $[post.how_posted]}
<span class="post-method">via $[post.how_posted]</span>
{/if}
$[post.likes]
</div>
<div class="controls" style="margin: 10px; float: right;">
$[post.quote_button]
$[post.edit_button]
$[post.likes.button]
$[post.select_options]
</div>
</td>
</tr>
</table>
</td>
{if $[post.is_blocked]}
<td class="$[post.blocked_class] content center">
<div class="message note pad-bottom">This post is hidden</div>
$[post.display_blocked_post_button]
</td>
{/if}
</tr>
{/foreach}
{if !$[post]}
<tr class="last"><td class="last center" colspan="1">No posts were found.</td></tr>
{/if}
|
|
inherit
154226
0
Jun 25, 2023 5:37:27 GMT -8
Hassaan
76
May 2010
hassaan12
|
Post by Hassaan on Jul 2, 2014 0:52:05 GMT -8
Thanks once again, Smangii. It may seem as though I'm trying to make it too much like vBulletin. Maybe so as that service isn't free! But the main things I'd want changing is the timing and the layout. The board looks good, and I think it's just the main board layout and anything else I've stated I want done that is actually possible. I think the colours of the boards is to do with the skins, is it not? I'm trying to get a skin made on one of the other forums. Hopefully someone else can help with the timing but thanks for all your hard work so far.
|
|