MOD Port Request - Bottom Aligned Signature 1.1.0

Support for IntegraMOD 140

Moderator: Integra Moderator

MOD Port Request - Bottom Aligned Signature 1.1.0

PostAuthor: Dr. Bantham » Sun May 21, 2006 5:03 am

This MOD seems like a simple fix, but much of the existing code does not match. I assume this must be due to PCP use in IntegraMOD. Has anyone worked it out for IM?

Code: Select all
##############################################################  ## MOD Title]http://www.golfexpert.net/phpbb[/url]  ## MOD Author, Secondary: AbelaJohnB < [url=http://www.JohnAbela.com]http://www.JohnAbela.com[/url]  ## MOD Description:       This mod will align signatures at ##                        the bottom of posts. ## MOD Version:           1.1.0 ##  ## Installation Level:    Easy ## Installation Time:     5 Minutes (1mn by EasyMOD of Nuttzy) ## Files To Edit:         2 ##      viewtopic.php ##      templates/subSilver/viewtopic_body.tpl ## ## Included Files:        0 ## ##############################################################  ## For Security Purposes, Please Check: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] for the  ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code  ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered  ## in our MOD-Database, located at: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url]  ##############################################################  ## Author Notes:  ## ## 1. Special thanks ## ----------- ## This MOD has been created by John B. Abela, but he decided ## to stop developing it. So with it's agreement I now continue ## his job and fully take charge of it. ## ## And a special thanks to tomm coidd too for its fix for Mozilla ## & Firefox! ## ## 2. Compatibility ## ----------- ## This MOD is phpBB 2.0.16 compliant (prior release not tested) ## ## 3. EasyMOD ## ----------- ## This MOD is compatible with EasyMOD of Nuttzy and can be ## installed by it but is not yet certified EMC (EasyMOD Compliant)! ## [url=http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15]http://area51.phpbb.com/phpBB22/viewforum.php?sid=&f=15[/url] ## ## 4. Official last version link ## ----------- ## Meanwhile the phpBB group validation and as the MOD is not yet ## in the phpBB MOD database, check this official link for updates... ## [url=http://www.golfexpert.net/phpBB]http://www.golfexpert.net/phpBB[/url] ## ##############################################################  ## MOD History:  ##  ##   2005-07-09 - Version 1.1.0 ##      - MOD widely rewrite to be fully compliant with Mozilla ##        & Firefox (not only for the 1st post) - Thanks tomm coidd! ## ##   2004-03-27 - Version 1.0.3 ##      - Now compliant with Mozilla & Firefox ## ##   2003-12-21 - Version 1.0.2 ##      - Instructions updated to be compliant with Attachment MOD ##        No code changed, just the way to proceed the MOD ## ##   2003-08-09 - Version 1.0.1 ##      - Fix: 2 <br> not needed ##      - Updated to be compliant with the last phpBB template ##      - Rewrite to be safer & EasyMOD compliant ## ##   2002-04-08 - Version 1.0.0 ##      - Initial final release ##  ##############################################################  ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD  ##############################################################  #  #-----[ OPEN ]------------------------------------------------  #  viewtopic.php  #  #-----[ FIND ]------------------------------------------------  #  # NOTE: this is a find on part(s) of code line(s), not whole line(s)!  # The original line(s) to find should be longer and look like this (if no MOD has already modify it(them)): # # $user_sig = '<br>_________________<br>' . str_replace("n", "n<br>n", $user_sig); # $user_sig = '<br>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  '<br>  #  #-----[ IN-LINE REPLACE WITH ]--------------------------------  # '  #  #-----[ OPEN ]------------------------------------------------  #  templates/subSilver/viewtopic_body.tpl    #  #-----[ FIND ]------------------------------------------------  #  <table>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  cellpadding="3"  #  #-----[ IN-LINE REPLACE WITH ]--------------------------------  # cellpadding="0"  #  #-----[ FIND ]------------------------------------------------  #  # NOTE: this is a find on part(s) of code line(s), not whole line(s)!  # The original line(s) to find should be longer and look like this (if no MOD has already modify it(them)): # # <td><span><a></a><b>{postrow.POSTER_NAME}</b></span><br><span>{postrow.POSTER_RANK}<br>{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br><br>{postrow.POSTER_JOINED}<br>{postrow.POSTER_POSTS}<br>{postrow.POSTER_FROM}</span><br></td> # <td>  #  #-----[ BEFORE, ADD ]-----------------------------------------  #  <Start>         <td><table>             <tr> <End>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  <td>  #  #-----[ IN-LINE REPLACE WITH ]-------------------------------- #  <td>  #  #-----[ FIND ]------------------------------------------------  #  <td><table>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  width="100%" height="28" valign="top"><table><table  #  #-----[ FIND ]------------------------------------------------  #               <tr>                   <td><hr></td>  #  #-----[ REPLACE WITH ]----------------------------------------  #  <Start>                 </table>                 <hr><span>{postrow.MESSAGE}</span></td> <End>  #  #-----[ FIND ]------------------------------------------------  #  # NOTE: this is a find on part(s) of code line(s), not whole line(s)!  # The original line(s) to find should be longer and look like this (if no MOD has already modify it(them)): # # <td><span>{postrow.MESSAGE}{postrow.SIGNATURE}</span><span>{postrow.EDITED_MESSAGE}</span></td> # <td><span>{postrow.MESSAGE}  #  #-----[ IN-LINE FIND ]----------------------------------------  #  <td><span>{postrow.MESSAGE}  #  #-----[ IN-LINE REPLACE WITH ]--------------------------------  # <td><span>  #  #-----[ FIND ]------------------------------------------------  #  # NOTE: this is a find on part(s) of code line(s), not whole line(s)!  # The original line(s) to find should be longer and look like this (if no MOD has already modify it(them)): # # <td><span><a>{L_BACK_TO_TOP}</a></span></td> # <span><a>{L_BACK_TO_TOP}</a></span>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  <span><a>{L_BACK_TO_TOP}</a></span>  #  #-----[ IN-LINE BEFORE, ADD ]---------------------------------  # <table><tr><td>  #  #-----[ IN-LINE AFTER, ADD ]----------------------------------  # </td></tr></table>  #  #-----[ FIND ]------------------------------------------------  #  # NOTE: this is a find on part(s) of code line(s), not whole line(s)!  # The original line(s) to find should be longer and look like this (if no MOD has already modify it(them)): # # <td><table> # <table>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  cellpadding="0"  #  #-----[ IN-LINE REPLACE WITH ]--------------------------------  # cellpadding="3"  #  #-----[ FIND ]------------------------------------------------  #  # NOTE: this is a find on part(s) of code line(s), not whole line(s)!  # The original line(s) to find should be longer and look like this (if no MOD has already modify it(them)): # # <td><img></td> # <td>  #  #-----[ IN-LINE FIND ]----------------------------------------  #  height="1"  #  #-----[ IN-LINE REPLACE WITH ]--------------------------------  # height="7"  #  #-----[ SAVE/CLOSE ALL FILES ]--------------------------------  #  # EoM
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: MOD Port Request - Bottom Aligned Signature 1.1.0

PostAuthor: evolver » Sun May 21, 2006 11:45 am

The problem with height is that it isn't working the way it is supposed to...with IE and some other browsers

I have read about this problem many times...
[google]HEIGHT IE[/google]

So, I'm afraid that even when you get this MOD in place, the result won't be satisfying at all.
Last edited by evolver on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: Eon » Mon May 22, 2006 8:04 am

Oh Evolver that's a sweet looking title you have there.

<img> Glad to see you on board as an official party now.

Also on this subject, wasn't a mod worked out by Simon N that produced a fairly good end product on this? I will see if I can find the link again.


http://integramod.com/forum/viewtopic.p ... c&&start=0

This may produce the desired result. Once you do all the edits.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

PostAuthor: evolver » Mon May 22, 2006 8:25 am

[quote=""Eon";p="6880""]Oh Evolver that's a sweet looking title you have there.

:grin: Thank you Eon :o I've been promoted
I feel like a scholar who made it trough the exams right now :#:
Last edited by evolver on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: Eon » Mon May 22, 2006 11:43 am

blah.. I wished everything worked the same. I use Maxthon cause it loads fast and is packed full of options that make it awesome.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

PostAuthor: Simon N » Tue May 23, 2006 11:40 pm

Ohhhhhh just saw my name <img>

My changes work fine for me in both IE and firefox but then I am using the beta release of IE7 so they may have possibly fixed a few issues.

We can only hope
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00

PostAuthor: Dr. Bantham » Wed May 24, 2006 2:14 am

"Simon N";p="7089" wrote:My changes work fine for me in both IE and firefox but then I am using the beta release of IE7 so they may have possibly fixed a few issues. We can only hope
Simon,
I applied your fix, but it re-introduced the "scrollbar within post" problem. I was in a rush at the time, so I just backed out of the MOD without trying to apply the old patch for that bug. There were also a couple of replies that suggested code revisions. Before I dive in, have you refined the MOD to account for these issues? Many thanks for the work, as the signature layout has always annoyed me.
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

PostAuthor: Simon N » Wed May 24, 2006 4:26 am

Scroll bar in post?

I never actually create mods if i can help it as my time here is sporadic due to work. I do try and show the code I use to fix things and if your meaning posts stretchign incorrectly I fixed mine using percentages rather than fixed pixels.
Last edited by Simon N on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[marq=left][url=http][img=left]http://www.tau-designs.org.uk/pictures/im2_88x32.png[/img][/url] | [url=http][img=left]http://www.free-riders.co.uk/images/banners/freeriders_88_31.gif[/img][/url][/marq]
User avatar
Simon N
Sr Integra Member
Sr Integra Member
 
Posts: 242
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:43 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]