News:

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

Main Menu

Display Signatures Only Once Per Page

Started by H, July 09, 2009, 05:15:32 PM

Previous topic - Next topic

H

Link to Mod

Save page space and bandwidth by only displaying each user's signature once per topic page. Unlike similar mods, this works on all installed themes
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

babjusi


JBlaze

Jason Clemons
Former Team Member 2009 - 2012


Antechinus



Groundhog

Thanks H

Works well.

A little bug or change required.

Can't uninstall for some versions as in package-info.xml

   <uninstall for="1.1.9-2.0">

needs changed to:

   <uninstall for="1.1.9-2.0.99">



H

Thanks everyone for the feedback :)

Groundhog, thanks for that. I updated the package
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Groundhog

Quote from: H on July 10, 2009, 08:23:26 AM
Groundhog, thanks for that. I updated the package

That's what I like about this forum. A pleasant response  :)

The mods a good idea. I have been on some forums and you can hardly see the post replies for the large signature/images.

Sakae

http://www.tigrelog.com.br
l: simple p: machines


digit

Am I the only one getting a ton of errors like this?


8: Undefined variable: counter
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

H

Can you post the code for your prepareDisplayContext function from Sources / Display.php? :)

The mod adds a line of code under the counter declaration, so it is possible something went wrong and the counter line has disappeared.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

H

It looks like the counter line got replaced instead of added to.

Find:
static $sigoncepertopic = array();

Add on the line before:

static $counter = null;




Did the mod actually install properly? The second edit is completely missing from your Display.php

:)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

digit

VOILA!

My bad!

I manually installed this - I guess my dyslexia is getting worse!

Thanks!
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

kingkingston

Brilliant mod,helps a lot with people having big sig's

kai920


H

Updated the mod's page to show there is support for 1.1.0 and 2.0 RC1.2
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

C4G-TK

Just a question,

If a person has made say 6 replies in a thread on one page, does it show the signature in the most recent post or the oldest post?  I think I would like this if it shows in the most recent post.

-img removed-

kai920

Quote from: C4G-TK on August 11, 2009, 06:37:16 PM
Just a question,

If a person has made say 6 replies in a thread on one page, does it show the signature in the most recent post or the oldest post?  I think I would like this if it shows in the most recent post.

Right now the mod is set to show the signature in the oldest post.

Kyrna

I just tried to install this mod and received the following message:
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF"

I'm using 1.1.10 and have two mods installed.
1.     Lots_o_Smileys             1.0
2.    Spoiler Show And Hide    1.0.3

H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Kyrna


H

Glad that solved it. I made a boo boo in the package so it was my fault :P
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Kyrna

Quote from: H on August 21, 2009, 06:29:19 PM
Glad that solved it. I made a boo boo in the package so it was my fault :P
No problem - anyone can make a mistake. It's fixing it that's important. ;)

Shannar

Quote from: H on July 09, 2009, 05:15:32 PM
Save page space and bandwidth by only displaying each user's signature once per topic page.

How about add option to profile for view all user's signature, if some persone want this?
Sorry for terrible English. My native language is C++ Russian.

malcomxar

Hi! I am trying to use this mod but when i try to install (i use smf 1.1.10) I get a "corrupt package"

And also I can't parse it to install manually.

Any ideas?

H

Quote from: Shannar on October 08, 2009, 06:06:41 AM
Quote from: H on July 09, 2009, 05:15:32 PM
Save page space and bandwidth by only displaying each user's signature once per topic page.

How about add option to profile for view all user's signature, if some persone want this?

I'll take a look at this for a future version :)

Quote from: malcomxar on November 09, 2009, 11:28:35 AM
Hi! I am trying to use this mod but when i try to install (i use smf 1.1.10) I get a "corrupt package"

And also I can't parse it to install manually.

Any ideas?

I'm not quite sure what happened there. I've re-uploaded another version which should fix the problem
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

kai920

Hi,

Can't parse for SMF 2.0 RC2 under "Manual Install Instructions for SMF" (version 1.0.2)

H

Please try again now. There is a bug in the version number code in the package manager that meant it wasn't being detected correctly. As this mod actually works on all 1.1.x+ versions I've just removed the version check code from package-info.xml
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Yiorgos

#31
Thank you H  for that nice mod
It is very useful.  Pages load faster and look  nicer !!!

I made some corrections on your file (SMF 2.0 RC2) and managed to make this mod installable on SMF 2.0 GOLD
I do not mean to take over H's work but I will assist SMF users if needed.

Download attached file.

www.sdtv.gr


Abandoned modifications that I corrected to apply on SMF 2.0 Gold
Simple Awards System  To award good members
Limit Posts Per Day  for over-posting members

Illori

since there is no license on this mod you are not allowed to update the distribute to others you can post your changes but not the package. your mod package has been removed.

Yiorgos

Thank you Illory.
I 'm sorry for any inconvenience I caused.

www.sdtv.gr


Abandoned modifications that I corrected to apply on SMF 2.0 Gold
Simple Awards System  To award good members
Limit Posts Per Day  for over-posting members

digit

I just uninstalled this mod....

It was causing the <a name="new"></a> tag to not appear on the newest posts.

So this button...  the one that appears inside Message.index.php on the right, was not working on my site.  Instead of taking users to the latest post, it was taking them to the first post.

SO - After uninstalling this mod, I found this one...
http://www.simplemachines.org/community/index.php?topic=54974.msg385750#msg385750

...  and my site is working fine again.  ;D

I just thought I would share this in case others have had a similar problem.

keywords: latest post link button not working


Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Skaty


Shambles



SMiFFER

I know this thread is old and I do know this mod has not been updated since ages.
Nevertheless I gave this a try.

I works, it only causes one major bug. I had reported that very bug and was informed by the SMF leaders that it is THIS MOD which causes the bug.

If you uncheck the check box "show signature" on an already existing post, the signature will NOT be removed if that post that you just edited is the first post of that person on that page.

Deinstalled.

Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Arantor

Show Signature on a per post basis is also a mod, and neither were designed to work with the other. If your criteria for a mod is 'not buggy', uninstall both of them, because both of them are misbehaving in this situation.

sam666

Thanks for reviving this thread. Great mod, should be part of the default install  :)

FrizzleFried

Can someone update this mod to work with 2.1.1 by chance?  I did just attempt an install and there is a single edit with an issue (but that doesn't mean it will work).

This mod really makes a difference in forums with ... creative users signatures. 

:D

FrizzleFried


FrizzleFried

Nevermind.  I've figured out the very tiny edit to get this to work with 2.1.x.  I see no license.  What are the rules for releasing a 2.1.x tweaked version?  I ask ZERO credit but would like to make it available for those who know nothing about editing code, etc.

EDIT: And the author hasn't posted in about 10 years...

von Corax

Quote from: FrizzleFried on March 31, 2022, 11:57:12 AMNevermind.  I've figured out the very tiny edit to get this to work with 2.1.x.  I see no license.  What are the rules for releasing a 2.1.x tweaked version?  I ask ZERO credit but would like to make it available for those who know nothing about editing code, etc.

EDIT: And the author hasn't posted in about 10 years...

I would very much like to see an upgrade to this mod to work with 2.1.x.

Marina3

Quote from: FrizzleFried on March 31, 2022, 11:57:12 AMNevermind.  I've figured out the very tiny edit to get this to work with 2.1.x.  I see no license.  What are the rules for releasing a 2.1.x tweaked version?  I ask ZERO credit but would like to make it available for those who know nothing about editing code, etc.


What kind of file manual editing do you need to do to make this mod work with SMF 2.1.4?
Please share!

Advertisement: