vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Signature Permission Issues (https://vborg.vbsupport.ru/showthread.php?t=310461)

tbworld 06-22-2014 07:32 AM

Thanks @Cellarius,
I was just looking into this, and you are right about the confusion. I interpreted the question meaning 4 lines in the signature editor, which is also an option. Nevertheless you answer still applies as I was going to write up something similar, but maybe not as elegant.

What table is the signature text stored? I can find "sigparsed", but the users signature text eludes me at the moment. :)

CAG CheechDogg 06-22-2014 07:41 AM

Quote:

Originally Posted by tbworld (Post 2503009)
Thanks @Cellarius,
I was just looking into this, and you are right about the confusion. I interpreted the question meaning 4 lines in the signature editor, which is also an option. Nevertheless you answer still applies as I was going to write up something similar, but maybe not as elegant.

What table is the signature text stored? I can find "sigparsed", but the users signature text eludes me at the moment. :)

That's the table where the text is also stored together side by side with the sigpic ...

--------------- Added [DATE]1403426678[/DATE] at [TIME]1403426678[/TIME] ---------------

The column is signatureparsed

tbworld 06-22-2014 07:57 AM

Thanks @CheechDogg, I finally found it in table 'usertextfield' in vb4. Thanks for the reply.

In table "sigpic", I ony see the image data in vb4.

Are you running vb3 or vb4?

CAG CheechDogg 06-22-2014 08:01 AM

You are welcome !

I'm running vb4 tbworld .... and yes I see what you are talking about now ...

XGC Paravain 06-22-2014 02:29 PM

1 Attachment(s)
Quote:

Originally Posted by tbworld (Post 2503016)
Bottom line @Cellarius is right. Of course I thought the original poster was talking about the number of lines allowed in the editor, which in theory looks like you could write a modification to parse the "signature" column for 'cr/lf' and then clear the signature cache. @Cellarius translated the OP as images (which I think is what he was asking about -- I had it wrong), I haven't looked at the code for that issue. Anyway, no quick fix.

I have never explored or used the signature section of vbulletin's code. I have never allowed the use of it on my boards, mainly because I was naive in this area on how the members would abuse it. :)

The number of lines in the text editor could be the issue, I know in the permissions I have every usergroup set at 1 Signature except for 2 usergroups, Multimedia I have set for 2 Signatures and the paid membership set for 4 Signatures.

Custom Avatars work fine when a member is in the same paid membership usergroup they are allowed a custom avatar and when a member is removed from that usergroup their avatar goes back to a default avatar just fine, I just don't see why the Sigs or Sigpics don't do the same.

Here is a print screen of a member that has been removed from the membership usergroup but sill has 4 sigpics

XGC Paravain 06-22-2014 02:31 PM

Quote:

Originally Posted by cellarius (Post 2503007)
First of all, I'd really appreciate if you would speak of sigpics, not sigs. This is not about 4 signatures, but about signature pictures, and it confuses me all the time if you go on about people having 4 signatures.

Second: The number of sigpics is checked against permissions when the signature is created. If the user has permission to use 4 sigpics at the time of creation, he can create a signature with 4 pictures. This signature then is used until he changes it, nom matter what permission changes happen until then. Only when changing the signature the number of pics is checked again. There is no way that I'm aware of to change the signature automatically when the permission is revoced.

It may be possible through an addon - you might have to remove the signature as a whole. Possibly using regex it would also be possible to only remove the last three sigpics.

About the sigs and sigpics the you mentioned above, sorry I didn't know the terminology you were looking for, sorry for me shotcoming

tbworld 06-22-2014 02:47 PM

As @cellarius elegantly pointed out, and I can completely confirm, that it is not possible without additional code to make this work. It is not a bug with the vbulletin code, but how the code was designed. You can argue whether the code should have been designed in this fashion, but that yields useless results. That being said it looks like the idea is probable.

It would have been a nice option for a subscription mode as you have demonstrated and sorry, I could not find a quick solution for you. Please take care :)

--------------- Added 22 Jun 2014 at 08:48 ---------------

Quote:

Originally Posted by XGC Paravain (Post 2503085)
About the sigs and sigpics the you mentioned above, sorry I didn't know the terminology you were looking for, sorry for me shotcoming

Don't worry about it, we are all learning, but thanks for caring. :)

cellarius 06-22-2014 02:50 PM

Quote:

Originally Posted by XGC Paravain (Post 2503085)
About the sigs and sigpics the you mentioned above, sorry I didn't know the terminology you were looking for, sorry for me shotcoming

We already cleared that in #5 and #6 in this thread, didn't we? No use discussing it all over again :)

XGC Paravain 06-23-2014 08:44 PM

Quote:

Originally Posted by cellarius (Post 2503094)
We already cleared that in #5 and #6 in this thread, didn't we? No use discussing it all over again :)

Are you serious?

cellarius 06-23-2014 08:50 PM

Quote:

Originally Posted by tbworld (Post 2495098)
You can set the number of images per signature in the usergroup manager, is this what you are referring too as signatures?

Quote:

Originally Posted by XGC Paravain (Post 2497288)
Yes that's exactly the way I set the usergroup

Yes, I am.

That's were we established we're talking sigpics here, and in the posts before it got quite clear that we all were pretty confused by your talk about "four signatures".

See, we're reading and answering many threads a day, and do not necessarily remember everything about them. Why make our lives harder by not clearly saying what things are about?


All times are GMT. The time now is 10:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete