News:

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

Main Menu

Center Posters Information

Started by Aportadordelmix, April 17, 2009, 06:35:57 PM

Previous topic - Next topic

Aportadordelmix

Link to Mod

Center Posters Information


Author: S-M-F Modders Team
Latest Version: 1.1
Compatible With SMF: 1.1.11, 2.0 RC2, 2.0 RC3
Website: SMFModders.com




Summary

This mod simply centers the posters information, which is on the left side of a post. Giving posts a very nice touch.

As of version 1.1, the SMF Modders Team has made this mod compatible with SMF 1.1.11, as well as 5 themes. (2.0: Default/Curve, Core. 1.1: Default/Core, Classic, Babylon)

Formerly known as "Center User Information In Posts"





Languages

N/A (No language strings used)





Installation

Package Manager should work in most cases. If you need to make any edits, the full list can be obtained from the Parse function on the right.

Useful links
Manual Installation Of Mods
How Do I Modify Files?





Support

Questions should be addressed to the designated support topic for the mod on SMFModders.com.

Mod Support Board





Changelog

+) SMF 1.1 Compatible
+) Core Theme Compatible
+) Classic Theme Compatible
+) Babylon Theme Compatible
!) Mod name changed from "Center User Information In Posts" to "Center Posters Information"





Files modified by Center Posters Information

SMF 2.0 RC2 & RC3
./Themes/default/Display.template.php
./Themes/core/Display.template.php - If applicable

SMF 1.1.11
./Themes/default/Display.template.php
./Themes/classic/Display.template.php - If applicable
./Themes/babylon/Display.template.php - If applicable





The SMF Modders Team

Core Developers
Beta Testers
Support Staff
Theme Designers
Translators
Public Relations
Developers





Link to Mod

damnitmike

KF!

Very cool, very neat! It makes the member info look much better!

Thanks!

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

fals

That's one simple "MOD" - I think small changes like this belong in "The Tips and Tricks Board" instead.

Not that i don't appreciate your work (and others) , but i think there's way to many avatar and minor graphic changes filling up the MOD section... Then i could easy contribute with 100 of new "mods" based on all the changes on my forum...

Well maybe it just me :-)






500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

JBlaze

Quote from: fals on April 18, 2009, 06:12:07 AM
That's one simple "MOD" - I think small changes like this belong in "The Tips and Tricks Board" instead.

Not that i don't appreciate your work (and others) , but i think there's way to many avatar and minor graphic changes filling up the MOD section... Then i could easy contribute with 100 of new "mods" based on all the changes on my forum...

Well maybe it just me :-)

FYI, this isn't a "minor" change.

Nice job KF :)
Jason Clemons
Former Team Member 2009 - 2012

fals

Quote from: JBlaze on April 18, 2009, 06:31:20 AM
FYI, this isn't a "minor" change.

Hmmm ok my bad


File Edits       
./Themes/default/Display.template.php                 
Find:
<div class="floatleft poster">         
Replace With:
<div class="floatleft poster" style="text-align: center;">         






500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

JBlaze

Quote from: fals on April 18, 2009, 06:45:08 AM
Quote from: JBlaze on April 18, 2009, 06:31:20 AM
FYI, this isn't a "minor" change.

Hmmm ok my bad


File Edits      
./Themes/default/Display.template.php                
Find:
<div class="floatleft poster">         
Replace With:
<div class="floatleft poster" style="text-align: center;">         


I take that back :)

I was thinking it was the one he was working on that places the poster info *above* the post :)

* JBlaze hits himself upside the head.
Jason Clemons
Former Team Member 2009 - 2012

KahneFan

While I agree it's a small change, for those who don't know how to even access their files, small changes (to us) are still very large changes.

However, if the SMF team feels this would be better as a tip/trick, I'm OK with that as well. :D
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Sudhakar Arjunan

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum


KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Ravac

Nice work KF, Keep up the good work ;)

You are better and better every day ! :D

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Rehash D Internet


KahneFan

For 1.1.x

./Themes/{theme}/Display.template.php
(if this file does not exist in your theme, edit the default theme)
FIND:

<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">


REPLACE WITH:

<td valign="top" width="16%" rowspan="2" style="overflow: hidden; text-align: center;">
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Rehash D Internet

Thanks a lot, but my display.template is edited. Where exactly should that text be in the script?

Should I do it before installing the package or after?

KahneFan

For 1.1.x, there's no package for this mod, only the code edits above. If your Display.template.php does not look like above, attach it here and I'll take a look.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

C4G-TK

@ KahneFan

Is there an edit to make the same information get centered inside of the PersonalMessage.template?  This way my profiles can be uniform in both areas?  I looked for a div to put that extra bit of code and it will center the info, but then the avatar doesn't appear.  I'm using RC1 on default.

Thanks for your time.

-img removed-

KahneFan

To center the PM user info for 2.0RC1

./Themes/{theme}/PersonalMessage.template.php

Find:

<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">


Replace with:

<td valign="top" width="16%" rowspan="2" style="overflow: hidden; text-align: center;">
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

ericnet

Hi,

your mod is very nice... is possible in future version for this mod, add right    
vertical bar  ;D

Advertisement: