The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A few simple things

3 posters

Go down

In progress A few simple things

Post by Apex March 2nd 2013, 00:25

Okay I'm not very experienced with generating CSS, only editing it but I'm starting from scratch on this one so there is no CSS. I just want to fix these last few things, and I'm running phpbb2.

A few simple things Exampl10

1. This area repeats after each post, instead of it being there could anyone help me just make it a tiny gap in between each post?

2. Instead of it repeating with Re: Subject etc, I would like for just the date to display there and get rid of the Re: subject part.

3. This border appears on the main index also, I'd like to either decrease the size, or remove it.

4. And finally, I'd just like to remove this whole bar in general, if possible.

If anyone can provide me with the proper coding, that would be greatly appreciated.

EDIT: Also, the user profile area in posts, I'd like to reduce that to the smallest possible height wise. As in, move the Join Date etc right up against user's avatars. I want it to be extremely space efficient.
Apex
Apex
Forumember

Posts : 76
Reputation : 1
Language : English

Back to top Go down

In progress Re: A few simple things

Post by Cassius Dio March 2nd 2013, 11:57

Hi! Very Happy

For first problem, add to JavaScript codes management:
Code:
$(document).ready(function(){
$('tr[class^="post"]:not("[id]"):has(".browse-arrows")').remove();
});

For second I'm afraid you can't.

For third, add to CSS Stylesheet:
Code:
.forumline{
border: 0px !important;
}

For fourth problem, remove from viewtopic_body template this code:
Code:
   <tr>
      <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
      <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
   </tr>
Save, then publish template.

For last problem (the EDIT part) I need your forum URL. Can you post it here? Thanks.
Cassius Dio
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

In progress Re: A few simple things

Post by Apex March 2nd 2013, 15:51

Thanks a lot for your help, here's my forum URL: http://illuminatedones.forumotion.com/

Oh and for the first problem, it removed that area but didn't create a gap in between each post. If that's possible, I'd just like small gaps in between each post instead of them all being connected, so they're each their own separate box basically. And if possible, probably not I'm guessing, but at the top of each post box add a header/row title or whatever. I'm trying to recreate this basically: http://www.i-mockery.com/forum/showthread.php?t=69708901 so I want them set up like that if it's possible.

I'd just like all the profile info to go right up against the avatar, and for it to be the minimal amount of space every time someone posts. Depending on the length of their post of course. And also, if this is possible, when someone posts there is a small space between their message and the top where it says "Re: subject" etc, I'd like for the post to begin directly against the top if you understand what I'm saying, so remove the small gap. Thanks!
Apex
Apex
Forumember

Posts : 76
Reputation : 1
Language : English

Back to top Go down

In progress Re: A few simple things

Post by Cassius Dio March 2nd 2013, 22:58

Add to CSS Stylesheet:
Code:
tr.post td.hr{
display: none !important;
}

tr.border-posts td{
border-bottom: 5px solid #DDD !important;
}

Add to JavaScript codes management:
Code:
$(document).ready(function(){
$('.post td[valign="top"][width="150"]').css('padding','0px 3px');
});

Find this piece of code in viewtopic_body template:
Code:
                  {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
               </td>
            </tr>
         </table>
      </td>
   </tr>
and add after:
Code:
<tr class="border-posts"><td colspan="2" width="100%"></td></tr>
Save and publish template. Wink
Cassius Dio
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

In progress Re: A few simple things

Post by SLGray March 3rd 2013, 02:27

Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.


A few simple things Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: A few simple things

Post by Apex March 3rd 2013, 08:14

Okay thank you most of it worked! I had to change the color for the gaps in between each post. But is there any way I can add a row title/header image at the top of each post box? I'm guessing since the border is technically at the bottom of each post to create the gap appearance, the header image would also be technically at the bottom of each. I'm sure that would be possible to code.

As for the poster profile info, the box still has extra space at the bottom even in small posts and the text isn't pushed up against the avatar.

Also, I'm not sure what you'd title this topic so if you want to rename it by all means go ahead.

EDIT: Instead of making a whole nother topic I'll ask it here, is there any way to get rid of the 'New Topic' button inside topics and only display the Add Reply button?
Apex
Apex
Forumember

Posts : 76
Reputation : 1
Language : English

Back to top Go down

In progress Re: A few simple things

Post by Apex March 4th 2013, 13:09

Bump
Apex
Apex
Forumember

Posts : 76
Reputation : 1
Language : English

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum