vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Extended Signature Limits (https://vborg.vbsupport.ru/showthread.php?t=95523)

GoNz00 09-04-2005 06:26 AM

all working now, mabey an idiots guide included in the zip would help ?

GoNz00 09-04-2005 07:46 AM

so anyway, i have just restricted the admin permissions to allow no more than 5 lines of text, tested it by adding 10 lines of text, saved, checked and im displaying all 10 lines of text..

do i have to start editing the plugin code dude ?

or does it just not work..

i must say with such an undetailed readme, its hard to figure out if your not a tech wizard and just a humble lorry driver....

Zain Jaffer 09-04-2005 08:52 AM

Great i will use this when i move to 3.5 :)
If you need to look for some more ideas you can check out https://vborg.vbsupport.ru/showthread.php?t=79566

Mith 09-04-2005 09:32 AM

The limits on my board seems to be working fine.

But I now always get an error flash up then i save a usergroup. (see attachment)

I have only just noticed this, so I am assuming it must be to do with the sig-limit plugin

EDIT: Just tested: If i remove the bitfield_siglimits.xml file.. that error goes away

Andreas 09-04-2005 11:15 AM

@GoNzOO
Hmm, which instructions do you need?
I thought I mentioned everything that is necessary in the Readme ...
Also, if the limit is set to 5 lines you should not be able to enter 10 lines.
Does your Account have any additional Usergroups?
Did you edit the Signature in ACP or through profile.php?
If you edit it in ACP/MCP there will be no checks.

@Mith
For some reason the Bitfield cache did not get rebauild, see Post #32 (https://vborg.vbsupport.ru/showpost....&postcount=32).
Call that URL and it should work afterwards.

GoNz00 09-04-2005 11:47 AM

thanks i got it working ok now,
you just need to explain in total n00b when i come along... :ermm:

nexialys 09-04-2005 12:04 PM

when everything is in place, here are the things you can see - in the attachments,

img 1: the admincp Edit Usergroups
img 2: the userCP Edit Signature

btw, there is nothing to show in the usercp if that user have nothing entered in the permissions...

Andreas 09-04-2005 12:19 PM

Yes, the Text is just shown when there are Restrictions - don't think it is necessary to show when there are none.
But the Images Text should not shown up when [img] is disabled anyway :)

nexialys 09-04-2005 01:03 PM

Quote:

Originally Posted by KirbyDE
But the Images Text should not shown up when [img] is disabled anyway :)

easy, in the "profile_editsignature_start" hook:
Code:

        if ($permissions['maxsigimages'])
        {

replaced by
Code:

        if ($permissions['maxsigimages'] AND $vbulletin->options['allowbbimagecode'])
        {


Andreas 09-04-2005 01:10 PM

Yeah, I know - that was more a mental note to myself ;)

nexialys 09-04-2005 01:18 PM

Quote:

Originally Posted by KirbyDE
Yeah, I know - that was more a mental note to myself ;)

yeah, sure, i know... but for the mortals here, i have to show i'm helping you.. a little... ;)

Mith 09-04-2005 03:16 PM

Kirby, running this code worked thanks:

Code:

/admincp/index.php?do=buildbitfields
I have a suggestion to make this sig limiter nigh on perfect:
I need this to check that current users are within the limits I have set, and if they aren't it needs to take them to their signature to put it right (perhaps with a large message explaining the rules and what they need to do to change it)

Thanks for your hard work

Andreas 09-04-2005 03:28 PM

Hmm, that requires a bit more work ... i'll take a look into that, but don't expect anything that does what you want being release any time soon.

Zain Jaffer 09-04-2005 04:32 PM

Also add that you can ban some sites being used to host like geocities.com ugh

Kirk Y 09-04-2005 04:40 PM

Disable external URLs.

Edit: BTW Kirby, small gramatical issue: the 3 "then"s you have in the Posting Rules under Edit Signature should be "than". Would it also be possible to set a seperate setting for the amount of smilies that can be used in Signatures? When I set the allowed number of images, I mean those set using the [img] tag. I don't want to set a limit on the number of smilies a user can implement.

uae 09-04-2005 05:19 PM

Big time HOTM, way to go Kirby.

Andreas 09-04-2005 05:27 PM

@Zain Faffer
Maybe ...

@acidburn0520
Hmm, checking the # of Images is done by vBulletin itself - and it does not differentiate between Smilies and Images.
But it should be possible to get around this.

Andreas 09-04-2005 06:21 PM

OK, I've corrected the spelling, separated Images and Smiles, added a new setting for Smilies - but I am not sure if this does work correctly already.
Gonna have to test this tomorrow, as I am in a hurry to leave at the moment.

BamaStangGuy 09-04-2005 06:31 PM

Goody :)

Kirk Y 09-04-2005 08:11 PM

Quote:

Originally Posted by KirbyDE
OK, I've corrected the spelling, separated Images and Smiles, added a new setting for Smilies - but I am not sure if this does work correctly already.
Gonna have to test this tomorrow, as I am in a hurry to leave at the moment.

Thank you for a speedy reply and fix... I wish more hack authors were like you.

* acidburn0520 eagerly awaits update

Oblivion Knight 09-11-2005 10:24 AM

I've updated the phrases to be a little more "vBulletin-esque". :classic:

I'm attaching an updated product .xml file because I tried to export the product phrases in a separate .xml file and it didn't work.. Absolutely nothing has changed in this file apart from the phrases, all credit goes to Kirby.

spongebobrox128 09-11-2005 03:17 PM

Let me get this straight. Do you set the signature limit settings via the Admin CP, via Phrases, or via the Plugin XML?

Biker_GA 09-11-2005 03:30 PM

AdminCP via Usergroup settings.

spongebobrox128 09-11-2005 03:58 PM

Can you excempt any usergroup you want from the signature limits?

Biker_GA 09-11-2005 05:30 PM

Yes you may.

Martin 09-11-2005 07:53 PM

The max font size is in pixels or is it HTML font size? I have this installed and am getting reports of people saying it tells them the font is too large.

Andreas 09-11-2005 08:03 PM

HTML font size, eg. the Option for [size]

Martin 09-11-2005 08:08 PM

Weird, then, that the default is 10 when the max HTML size is 7.

Martin 09-11-2005 08:09 PM

BTW, Kirby, EXCELLENT job :)

Andreas 09-11-2005 08:16 PM

Hmm, the default should be zero for all Values ...

SNOWCRAZE 09-12-2005 03:14 AM

Wonder if everything works on RC3? I got everything works but seem it didn't detect filesize, width, and height.

RivaCom 09-13-2005 12:10 AM

I am also wondering if this works with RC3 as, we set our permissions in the usergroups, to allow them to use images, we turn on sigs, but the sigs will only show up if we turn on the [img] file. Now the only other way around this would be to not allow text sigs for our normal users at all, but we are looking to allow [img] for some groups and just text sigs for others.

Andreas 09-14-2005 02:24 AM

@RivaCom
This is not possible as 0=No Limit

@SNOWCRAZE
getimagesize() might fail on certain images.
URL?

RivaCom 09-14-2005 04:48 AM

Even if I limit the size of the images it still doesn't seem to work.

Andreas 09-14-2005 04:54 AM

Should work.
Is the User where it does not work a member of several Usergroups?

Brinnie 09-14-2005 07:10 AM

Quote:

Originally Posted by KirbyDE
You've uploaded bitfield_siglimits.xml to direcotry includes/xml before you imported the Product XML?

The directions didn't say anything about that.

Brinnie 09-14-2005 07:20 AM

Mr Kirby,

I like what you have done with Internal URLs. But say I only wanted users to link images from photobucket.com or imageshack.us but not somepornsite.com.

Is there a way to do the same for hotlinking as you did with links?

Thank you.
Ms. Brinnie

RivaCom 09-14-2005 01:34 PM

Quote:

Originally Posted by KirbyDE
Should work.
Is the User where it does not work a member of several Usergroups?

Nope only members, I limit the image to 1 by 1 pixel which should basicly eliminate thier pictures. But they still come up, they also beat the only 1 pictured allowed rule.

Andreas 09-14-2005 05:10 PM

http://img222.imageshack.us/img222/9...mits3so.th.png

Seems to work just fine?

Btw.: Just noticed a Typo in the error, lol.

Acers 09-14-2005 05:16 PM

i have tried the font size setting and kept it at 2. All times its getting bypassed. Dunno how. The member is of one usergroup only(using a test user) and even if i choose font size 7 from the dropdown for fonts it still takes that.
The external link and lines is coming all right(on exceeding the error comes but the font is not working at all :S

here are the images
http://img245.imageshack.us/my.php?image=snap17kp.gif

http://img245.imageshack.us/my.php?image=snap29il.gif


All times are GMT. The time now is 10:32 AM.

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.01566 seconds
  • Memory Usage 1,809KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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