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)

TosaInu 10-22-2005 11:17 PM

Nice hack.

msd 10-23-2005 05:12 AM

Quote:

Originally Posted by Sel
Great mod! Just one thing I've noticed though...

I've disabled the use of [url] tags which works fine when a user manually types them in. However if a user just types www.vbulletin.org for example without the [url] tags then vBulletin automatically adds the tags when the sig is saved.

Hope that explanation makes sense. Thanks.

Does anybody else have this problem? Is there a fix?

I had the same problem here. Is there a solution?

Sel 10-24-2005 09:01 AM

Quote:

Originally Posted by msd
I had the same problem here. Is there a solution?

I notified the guys over at vBulletin, here is the solution they came up with http://www.vbulletin.com/forum/bugs3...iew&bugid=1662

Works a treat. ;)

chiptz 10-24-2005 08:53 PM

hi,

I got an error when saving usergroup permitions.

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

lazytown 10-26-2005 08:12 AM

Very nice mod -- thank you!

One minor problem: If you have a joinable group, then when a user is a member of that group they will get whatever the sig limits are in that group. As far as I can tell, there is no way to disable the sig limits applying on just that group (if you disable them on the joined group, then the user has no sig limits at all, regardless of their main group settings).

-V

Andreas 10-26-2005 10:25 AM

Permissions are inherited if the primary usergroup allows membergroups.
This is how the permissions system does work.

lazytown 10-26-2005 12:31 PM

I don't think I made myself clear on this. The way permissions usually work with multiple groups for a user is they get the best of either group. So if one group says 15K attachments and the other says 20k, a user in both groups gets 20k.

Are you saying that if one group has 4 lines and the other has 5 lines, the user will get 5 lines? If so, then I cold just set the extra group to 1 line and they will always get the setting of their primary group.

-V

Quote:

Originally Posted by Andreas
Permissions are inherited if the primary usergroup allows membergroups.
This is how the permissions system does work.


Andreas 10-26-2005 02:42 PM

> Are you saying that if one group has 4 lines and the other has 5 lines, the user will get 5 lines?
Yes, as 5 is greater than 4.

chiptz 10-26-2005 09:14 PM

Quote:

Originally Posted by Andreas
> Are you saying that if one group has 4 lines and the other has 5 lines, the user will get 5 lines?
Yes, as 5 is greater than 4.

do you have any idea on what could be causing the error I reported in my previous post? and how to correct it?

Andreas 10-26-2005 10:15 PM

No idea. Feel free to send me an ACP login and i'll take a look.
I'd also need the userid of one user where it doesn't work as it should.

freite 10-28-2005 06:57 AM

Thanks for a great plugin.

I had to add the following line to make it count [center] and other alignment tags.

$siglines += fetch_character_count($line_parsed_sig, '<div');

3dsoft 10-28-2005 07:43 AM

I may be blind, but here is my question.

In the readme.txt file, it says
Quote:

1) Upload bitfield-siglimits.xml
But WHERE is that file located? I can only see <product-siglimits.xml>

crzy 10-31-2005 11:16 AM

thank you nice one

paulius 11-01-2005 03:22 AM

Quote:

Originally Posted by 3dsoft
I may be blind, but here is my question.

In the readme.txt file, it says


But WHERE is that file located? I can only see <product-siglimits.xml>

I ask the same question. I want to use the plugin but nothing works... (see attachments)

When I install it, I get a quick glance at an error message.

Could there be more detailed install instructions?

PS: I'm using 3.5.0... Not .1

proxx 11-02-2005 05:45 AM

It would be great if there was a way to force ALL users to update their signature upon login .or something... This way, this hack would work on ALL users, and not just the new signature updaters

Andreas 11-02-2005 05:31 PM

<font size="3">Important notice for vBulletin 3.5.1</font>
This Hack is not compatible with tihs vBulletin Version, you must disable the product.

Omranic 11-02-2005 05:54 PM

thanks Andreas for notification
hope to see update for 3.5.1

thanks man

Andreas 11-02-2005 06:04 PM

ZIP updated, fixed bitfield XML attached as well.

Omranic 11-02-2005 07:20 PM

thanks man

Great Jop & nice work

Updated .....................

& the usergroup problem haas been solved
( only re-uploading "bitfield_siglimits.xml" file & U are gone )

Snake 11-02-2005 07:35 PM

Thanks for the update bro! :)

Bieddos 11-03-2005 12:10 AM

Quote:

Originally Posted by Andreas
ZIP updated, fixed bitfield XML attached as well.

where i must put this xml? i must reinstall the plugin? Or not?

Andreas 11-03-2005 12:31 AM

Bitfield and CPNav XMLs always go to includes/xml

loonytune15 11-03-2005 12:57 PM

Thanks for the speedy solution.

GoNz00 11-03-2005 01:43 PM

just to let you know it works with the 2 updated files, the hotfix :)

Andreas 11-03-2005 01:44 PM

It's actually just one file that has been updated ;)

GoNz00 11-03-2005 02:31 PM

my bad :)

Chroder 11-03-2005 04:00 PM

The updated XML file fixed the bitfield problem in the ACP, but I'm getting these kinds of errors when browsing threads:

Quote:

Warning: parse_url(http://#): Unable to parse url in /includes/class_bbcode.php(149) : eval()'d code on line 38
When I disable this product, they go away.

Andreas 11-03-2005 04:05 PM

To fix this, make sure that only valid URLs get posted, edit Plugin "Derefer/External Link Check" and add a @ in front of parse_url() tu supress the warning or disable this Plugin (you will lose the ability to check for external URLs)

Chroder 11-03-2005 04:24 PM

Quote:

Originally Posted by Andreas
To fix this, make sure that only valid URLs get posted, edit Plugin "Derefer/External Link Check" and add a @ in front of parse_url() tu supress the warning or disable this Plugin (you will lose the ability to check for external URLs)

That did it :) Thank you :D

akanevsky 11-05-2005 11:43 AM

What does the "precedence" paremeter in your XML serve for?

Andreas 11-05-2005 02:47 PM

Normally higer values would be taken. To be able to have 0=Unlimited, it must be made sure that 0 overrides all other values - this is what precedence is for.

Debianer 11-05-2005 07:44 PM

Salve!
If the image limit is three the hack will not allow to have three pictures in the signature. The error-message always says they are too big in size or data.
Does someone have an idea? Maybe a workaround?

Stephan

Andreas 11-05-2005 07:49 PM

Can you give more specific information:
What is the exact message?
What are the exact limits set (width, height, filesize, amount)?

Christine 11-05-2005 07:50 PM

Quote:

Originally Posted by Debianer
Salve!
If the image limit is three the hack will not allow to have three pictures in the signature. The error-message always says they are too big in size or data.
Does someone have an idea? Maybe a workaround?

Stephan

It will take the combined dimensions. If you have 100x150 set, than the three images combined can't go beyond that.

One of my favorite features. :D

Debianer 11-05-2005 07:58 PM

Salve!
The message:
Code:

Your signature image(s) are too large. The maximum dimensions are {1}w x {2}h in pixels and the maximum filesize is {3}.
The exact limits:
Code:

Can Link to External URLs: Yes
Maximum Number of Lines: 6
Maximum Font Size: 4
Signature Image(s) Maximum File Size (bytes): 25600
Signature Image(s) Maximum Width (pixels): 468
Signature Image(s) Maximum Height (pixels): 120
Maximum Number of Signature Images: 3
Forbidden vB Codes: quote

Stephan

Edit:
Quote:

Originally Posted by Christine
It will take the combined dimensions. If you have 100x150 set, than the three images combined can't go beyond that.

One of my favorite features. :D

I know. But it does not work anyway.

Andreas 11-05-2005 08:08 PM

OK. And which images did you try to include?

Debianer 11-05-2005 08:16 PM

Salve!
An example:
http://i22.photobucket.com/albums/b3...allylarry1.jpg

The only thing I can think of is that your hack adds the heights of the images, too?
If that is the case, how can i change it?

Stephan

Andreas 11-05-2005 08:30 PM

Hmm, I set the same limits, tried the same image - works just fine for me.

Debianer 11-05-2005 08:35 PM

Salve!
You have to place it in the same line for three times.
I calculated:
8.13 x 3 = 24.39 (kb)
90 x 3 = 270 (px width)

Stephan

Andreas 11-05-2005 08:43 PM

If they are all in the same line, yes.

But as the software can't determine how they will be displayed on the users browser, it has to take worst case into account: every image in a "new line".

That's 90 * 270, which is over the limit of 468 x 120.


All times are GMT. The time now is 11:34 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.01627 seconds
  • Memory Usage 1,818KB
  • 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
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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