Disable signature images by individual user request

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Get Involved
dvt85
Registered User
Posts: 130
Joined: Tue Sep 11, 2007 1:57 am

Disable signature images by individual user request

Post by dvt85 »

Hey guys,
just wondering if there is a mod that disables signatures (mainly images) per user basis?
like a button that a user can click somewhere on the forum that prevents them from seeing other users signatures
this is mainly for speed reasons, because a lot of my users have massive and sometimes inappropriate signatures

thanks in advance.


V

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Disable signature images by individual user request

Post by Oyabun1 »

dvt85 wrote:... because a lot of my users have massive ... signatures
Change the signature settings in the ACP.
dvt85 wrote:...because a lot of my users have ...inappropriate signatures
Get better moderators that will point out to users when the signature images are inappropriate or ban them if they are outside the rules.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

dvt85
Registered User
Posts: 130
Joined: Tue Sep 11, 2007 1:57 am

Re: Disable signature images by individual user request

Post by dvt85 »

thanks for the reply above, but thats not the answer im looking for.
anyone else?


V

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Disable signature images by individual user request

Post by 4_seven »

just for takers: simplest way is a little link under all signatures, eg. -hide signature image-.
if u click, signature is invisible (no loading time)
and the link change to -show signature image-
click again: it shows normally.

an additional column to users_table to hold the blocked user_ids array,
a little function for the signature row and et voila...
Current Mods | Mod Base | php(BB) programming | No help via PM

dvt85
Registered User
Posts: 130
Joined: Tue Sep 11, 2007 1:57 am

Re: Disable signature images by individual user request

Post by dvt85 »

4_seven wrote:just for takers: simplest way is a little link under all signatures, eg. -hide signature image-.
if u click, signature is invisible (no loading time)
and the link change to -show signature image-
click again: it shows normally.

an additional column to users_table to hold the blocked user_ids array,
a little function for the signature row and et voila...
yes thats what i need, but a per user basis.

anyone?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51936
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Disable signature images by individual user request

Post by Brf »

Have those users hide signatures in their UCP in Board prefs / Edit display options.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Disable signature images by individual user request

Post by 4_seven »

dvt85 wrote:but a per user basis.
why but, i tell exactly what u need..
Current Mods | Mod Base | php(BB) programming | No help via PM

dvt85
Registered User
Posts: 130
Joined: Tue Sep 11, 2007 1:57 am

Re: Disable signature images by individual user request

Post by dvt85 »

4_seven wrote:
dvt85 wrote:but a per user basis.
why but, i tell exactly what u need..
can you please elaborate? im slow
thank you very much

V

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Disable signature images by individual user request

Post by 4_seven »

dvt85 wrote:
4_seven wrote:just for takers: simplest way is a little link under all signatures, eg. -hide signature image-.
if u click, signature is invisible (no loading time)
and the link change to -show signature image-
click again: it shows normally.

an additional column to users_table to hold the blocked user_ids array,
a little function for the signature row and et voila...
yes thats what i need, but a per user basis.
i mean there must be no but, bcs. i explain it exactly this way (per user basis)
Current Mods | Mod Base | php(BB) programming | No help via PM

dvt85
Registered User
Posts: 130
Joined: Tue Sep 11, 2007 1:57 am

Re: Disable signature images by individual user request

Post by dvt85 »

OK let me try to explain this again....

I want a logged in user to be able to disable all signature images for his viewing, and keep this setting. But other users wont be affected.

thanks
V

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Disable signature images by individual user request

Post by 4_seven »

exactly that i understand before. it is per-user and other users have nothing to do with my personal signature blocking list. in words: each user have the choice to block img signatures from each other users in a personal blocking list. and of course this will be saved in db by click.
4seven wrote:just for takers: simplest way is a little link under all signatures, eg. -hide signature image-.
if u click, signature is invisible (no loading time)
and the link change to -show signature image-
click again: it shows normally.

an additional column to users_table to hold the blocked user_ids array,
a little function for the signature row and et voila...
only thing that is needed now, is someone, who build this mod ;)
Current Mods | Mod Base | php(BB) programming | No help via PM

dvt85
Registered User
Posts: 130
Joined: Tue Sep 11, 2007 1:57 am

Re: Disable signature images by individual user request

Post by dvt85 »

Um..... CAN ANYONE WRITE THIS MOD!?!?!?!?!?? SOUNDS SO SIMPLE BUT IM SO DUMB!!!!

.m.
Registered User
Posts: 438
Joined: Wed Nov 04, 2009 8:39 pm

Re: Disable signature images by individual user request

Post by .m. »

^ do you want a button for each & every signature - what is your default theme ..

Ather
Registered User
Posts: 1032
Joined: Fri May 08, 2009 9:42 am
Location: Kingdom of Bahrain
Name: Ather Akber

Re: Disable signature images by individual user request

Post by Ather »

Here is quick jquery powered hack :)

Open:
styles/prosilver/template/viewtopic_body.html

Find :

Code: Select all

<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
Replace With :

Code: Select all

<!-- IF postrow.SIGNATURE -->
		    <script type="text/javascript">

       if(typeof(jQuery) == 'undefined')
       {
          document.write('<sc'+'ript type="text/javasc'+'ript" src="ht'+'tp://code.jquery.com/jque'+'ry-latest.min.js"></scr'+'ipt>');
          jQuery.noConflict();
       }

    </script>

    <dl class="signature">
       <dt>
          <a onclick="jQuery(this).parents('.signature').find('.keskaa-content').toggle('slow'); return false;" href="#">Show/Hide Signature</a>
       </dt>
       <dd>
          <div class="keskaa-content" style="display: none;border-bottom: 1px solid rgb(204, 204, 204);">{postrow.SIGNATURE}</div>
          <noscript>
             <span style="background-color: black; color:black;">{postrow.SIGNATURE}</span>
          </noscript>
       </dd>
    <dt style="border-bottom:none; color: #CCCCCC; text-align: right;">Signature Mod - Ather</dt>
    </dl>
		
	<!-- ENDIF -->
Thats it :)
CPL Syed Ather Akbar
Regional Command Southwest
Camp Leatherneck, Afghanistan

My Mods/Snippets

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Disable signature images by individual user request

Post by Oyabun1 »

dvt85 wrote:...just wondering if there is a mod that disables signatures (mainly images) per user basis? ...
Brf wrote:Have those users hide signatures in their UCP in Board prefs / Edit display options.
As Brf indicated, no MOD is required. The display of signatures can be turned on or off by each user.Image
I still think changing the behaviour of your members posting inappropriate images is the best long term option though.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Locked

Return to “[3.0.x] MOD Requests”