News:

SMF 2.0.19 has been released! Please update. Read more.

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

If you kill enough orcs, it usually solves the problem.

Mods & Themes | Revamped theme for this site | Dark theme for this site


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-

Advertisement: