Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
doktornotor
BBCoder IV
Posts: 167 Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:
Post
by doktornotor » 02 Dec 2011, 09:52
Putting it here before I lose the code again...
Open: viewtopic.php
Find:
Add after:
Find:
Code: Select all
$user_cache[$poster_id]['sig'] = bbcode_nl2br($user_cache[$poster_id]['sig']);
$user_cache[$poster_id]['sig'] = smiley_text($user_cache[$poster_id]['sig']);
$user_cache[$poster_id]['sig_parsed'] = true;
}
Add after:
Code: Select all
$signat[$poster_id]++;
if($signat[$poster_id] >= 2)
{
$user_cache[$poster_id]['sig'] = '';
}
Support requests via PM go straight to /dev/null!
Terr0r
BBCoder V
Posts: 339 Joined: 04 May 2011, 00:47
BBCodes: 100
Location: The Netherlands
Contact:
Post
by Terr0r » 02 Dec 2011, 15:02
What does this editing have you a screenshot before you editing and afther you editing
If you can't fix it with ducktape you ain't using enough
For my MODS and BBCodes or other things that I have made take a look
here
doktornotor
BBCoder IV
Posts: 167 Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:
Post
by doktornotor » 02 Dec 2011, 15:31
Shockingly, it does exactly what the subject says - show users' signature once per page in topic view.
Support requests via PM go straight to /dev/null!
analyst_underscore
BBCoder I
Posts: 1 Joined: 25 Jul 2012, 03:44
BBCodes: 0
Post
by analyst_underscore » 25 Jul 2012, 03:49
Can this be made so that the last post the user has on the page gets the sig rather than the first?