News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How does "Blue thme" (FX) move "Reply" button above normal menu bar?

Started by eclipsenow, February 05, 2009, 11:49:16 PM

Previous topic - Next topic

eclipsenow

Hi all,
I was searching through acres of code and couldn't find out about it to my satisfaction. How do they move the "REPLY" button both "up" above the menu bar and below it? (Might only show up if you are logged into SMFthemes).

http://www.smfthemes.org/index.php?board=9.0;theme=64

Also, another thing I like about that theme is when browsing the forums (not threads) the words "Latest post" are not included in the "Latest post" box, but are just in a summary heading above that column. It's much tidier than having "Latest post" in bold next to every single thread.

I'm staring at the code, but don't know enough about the "normal" default code to recognise what they've changed. Any help? (I'm using RC1).


* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)

Neorics

for all i know you cant... but i'm not sure...

i'm saying you can't because the reply button is in the display.template.php and the top menu is in the index.template.php so yah...
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

eclipsenow

I think I may have mispoken when I wrote this...

QuoteHow do they move the "REPLY" button both "up" above the menu bar and below it? (Might only show up if you are logged into SMFthemes).

I didn't mean the top main menu, but the menu of post items.

EG:



* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)


eclipsenow

Vision from FX, I don't think it's RC1 yet. I was just interested in the code... where to look for it. Adding a main menu button was a lot less painful than I thought it would be, so it gave me hope that this was simple as well.
* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)

Yağız...

QuoteHow do they move the "REPLY" button both "up" above the menu bar and below it?
This should be done by default...
For removing 'Last Post' text, find and remove in MessageIndex.template.php:
<strong>', $txt['last_post'], '</strong>

eclipsenow

Cool. It would be great to move the "Last post" to above the "Last post" column, but delete it out of each and every "last post" forum, if that makes sense.
* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)

Yağız...

Find in MessageIndex.template.php:
<td class="windowbg2 lastpost">
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" style="float: right;" /></a>
<span class="smalltext">
', $topic['last_post']['time'], '<br />
', $txt['by'], ' ', $topic['last_post']['member']['link'], '
</span>
</td>

Replace with:
<td class="windowbg2 lastpost">
<img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" style="float: right;" /></a>
<span class="smalltext">
', $topic['last_post']['time'], '<br />
<a href="', $topic['last_post']['href'], '">', $txt['last_post'], ' ', $txt['by'], '</a> ', $topic['last_post']['member']['link'], '
</span>
</td>

eclipsenow

* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)

eclipsenow

OK, now this again...

I love Crip's "Orangeline" theme but it has the "Reply" to post button roughly where THIS forum has it... next to all the "Mark Unread", "Print", etc buttons. However, I'd like it to be where the following theme has it. (Vision from FX).



See how the reply button is a graphic lifted up off the line? Now I don't know php or how they've done it, so it could be a lot of work.
EDIT: I just remembered, it has to be Crip's Orangeline because I'm not sure if the Vision theme from FX has been upgraded for RC1 yet.... so I have to move the post buttons around to be like Vision, rather than just adopt Vision (and the post buttons) and then style vision to look more like Crip's Orangeline, if that makes sense.
* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)

Rumbaar

Well the Graphics and Templates area would be best for these kind of questions, or better yet the support threads for the theme/s in question.

But visually can you screenshot what it is not and then edit in where you want it.

The reason it's 'lifted' off the line is due to the graphic used.  If the graphic for the 'Add poll' was there (which is most likely missing) it would be lifted of the line as well.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: