Skip to main content
Topic: quickbuttons to top (Read 3331 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

quickbuttons to top

1. How to remove empty space?
2. How to return the old display profile?

Re: quickbuttons to top

Reply #1

1) how did you put the buttons up there?
2) what is the "old display profile"?
Bugs creator.
Features destroyer.
Template killer.

Re: quickbuttons to top

Reply #2

1. I like the buttons above.
2. old view, there is no need to hover over the user name
Last Edit: September 30, 2016, 03:16:18 am by inter
Sorry for my English

Re: quickbuttons to top

Reply #3

Yes, I got that, but how did you put them up there?
What did you change?
Bugs creator.
Features destroyer.
Template killer.

Re: quickbuttons to top

Reply #4

Code: [Select]
<ul id="buttons_28840" class="quickbuttons sf-js-enabled sf-arrows">
...
</ul>

move to up
Sorry for my English

Re: quickbuttons to top

Reply #5

Possibly:
1. Edit the relevant css or overwrite it with custom css.
2. Edit Display / Generic Templates after copying default theme.

The best is to use modified copies of default theme template or use addon to remove / add after / before without manually have to change the default.

Re: quickbuttons to top

Reply #6

Quote from: inter –
Code: [Select]
<ul id="buttons_28840" class="quickbuttons sf-js-enabled sf-arrows">
...
</ul>

move to up
It depends where you moved it up...
Is it too bothersome attach the modified file? ;)
Bugs creator.
Features destroyer.
Template killer.

Re: quickbuttons to top

Reply #7

I'm not good at css

Re: quickbuttons to top

Reply #8

I think you are moving the said code above this one:
Code: [Select]
      // Show the post itself, finally!
      echo '
                  <div class="inner" id="msg_', $message['id'], '"', $ignoring ? ' style="display:none;"' : '', '>', $message['body'], '</div>';
As such, you need to rectify this css:
Code: [Select]
.quickbuttons:after
By changing it to:
Code: [Select]
.inner:after

For poster info to be displayed in old "SMF" display profile style, last time I check, it involves the Generic template. I have to check again for it.

Re: quickbuttons to top

Reply #9

Ok. I think I got it. For old SMF display profile style, you need to edit GenericMessages.template.php and find the code between // Don't show these things for guests. and // Done with the detail information about the poster.

The ul under first li for $message['member']['name'] should be restored to main list by:
1. Move the code to before // Are we showing the warning status?
2. Then, remove opening and closing ul under first li for $message['member']['name'].

I guess that's about it.
Last Edit: September 30, 2016, 09:23:13 am by ahrasis

Re: quickbuttons to top

Reply #10

thanks  ahrasis, emanuele.

problem #2 is almost solved  ;D