![]() |
anyone?
|
When I try to upload the bitfield xml I get a "Invalid File Specified"
|
Quote:
|
On our site this doesnt seem to work with images stored in the DB as attachments.
It works perfect for external images within the [ img ] tags. Everything else (counting images, text size,..) works perfect as well. Does getimagesize return nothing for attachment images? At least removing the @ in front of the call didnt change or show anything. Any clues? |
Works awesome on my page (vB 3.5.1)!! Thanks!!
|
Working great on www.xlforum.net . The 4600+ members were kinda freaked out for awhile but they understand the reasons behind the restrictions and are happy about them now.
|
does this require allow_url_fopen to be on/enabled and/or does it support cURL?
(or does it not even use either of those the the image info?) reason I ask is because my host has the fopen disabled. |
allow_url_fopen is required.
|
dangit :p
any possibility of adding cURL support? and if the fopen is disabled do I lose all functionality? |
No cURL support ... too lazy and not required (for me).
image checks won't work, except that it's fine |
Quote:
It doesn't work on the test site which runs 3.5.1 in combination with VB Drupal. It checks attachments from the live site (which is still on a 3.0.x) correctly. Any settings in VB that i maybe missed to set? |
I have the 3.5.1 bug when i try to edit usergroups
The bitfield_siglimits.XML gives me this error when I try to upload it: "Invalid File Specified" So had to disable this hack :( |
Who told you to import a bitfield XML?
|
someone at vbulletin
so, what to do with this? Quote:
|
Upload it to includes/xml - that's it.
|
perfect thank you
|
This doesn't seem to stop people from posting links to outside sites, even if the option is set to no for their usergroup. I'm using the latest version too with no luck. Is it working for everybody else?
|
It should work. Did you difine which domains should be considered internal?
|
Yes I did, but I just realised what the problem was.
[url]google.com[*/url] still works, but not [url]www.google.com[*/url] Neither one should work, right? |
What did you put as internal?
|
(domain).com
And the domain was not google either. :-) [url]http://google.com[*/url] doesn't work either, which is good, but if they just enter google.com, it works and converts it to a link. |
Replace
PHP Code:
PHP Code:
|
Nice, that works. Thanks! :)
Any way to make it work for text urls too? You know, if they just type domain.com without URL tags. So people can't even mention outside domains in their sig? |
No. How should the script know if blah.bla is a domain?
|
That's a good point. Anyway, at least the outside link setting works perfectly now. Thanks for the help. This hack is extremely useful. :)
|
Example Signautre that does fail? Which limits are set?
|
The image is 125 (w) x 93 (h), it is used two times.
Worst case: Each image is displayed in one row, eg. total dimensions are 125 (w) x 186 (h), which is over your defined limit of 500 x 100. |
Yes, as you don't have any control about how images are actually being positioned/displayed both worst case scenarios are being considered - which is all images in one line, or all images in one row.
If you have a better idea, let me know :) I thought about calculating the max. space taken, but that won't work too well, if you define 100x500 (=5000 pixel) one could use a 1x5000 iamge then ... |
Been looking for something like this, just installed on 3.5.2 and no probs!
|
i have just installed this mod and want to limit the members to only 4 lines within their signature, this works but the error message which should tell them that the max lines should be 4 or less i get this
1.Your signature can not be longer than $vboptions[maxsiglines] lines anyone know how i can change this?? the error message for the font size reads correct just not for the max lines... |
Such a phrase is not being used by this Hack.
|
done now had a duplicate phrase called the same thing
|
Checking the image size for attachment from the 3.5.2 still doesn't work on the beta site.
see also : this post and this. getimagesize() fails for attachments. It doesn't return anything (or more specific it won't pass the ($imginfo = getimagesize($sig) ) if condition. It doesn't fail for attachments of the live site though (used on the beta site). parsing of the URLs is fine, so $sig contains the correct URL for the images/attachments. Both sites are on the same server, on different subdomains. Has anyone any clues whether this can be a vbulletin issue (wrong settings somewhere) or a server setup problem? |
sounds like you're in my boat, your host turns off the allow_url_fopen function for security reasons and supports cURL instead.
vBulletin has said they plan on integrating cURL in the future and Andreas has said this issue doesn't effect him so he doesn't plan on supporting cURL. Here's a message about it from my webhost. (dreamhost) Quote:
|
so does this not work with existing sigs, only when modifying?
|
Quote:
Future PHP versions will not support the current behaviour of allow_url_fopen due to its misunderstanding by most webhosts. |
well the blog provided some good examples of how its a security risk, add how cURL has some better functions.
here's the last post Quote:
|
Quote:
allow_url_fopen is turned on, since it works with checking attachments from a VB 3.0.x install (=the current live site) but not for checking attachments for the 3.5.2 install where the sig image limiter is running on (= the current beta site). Both installs use the same server on different subdomains. Unless there is a switch/option somewhere in Apache/PHP/MySql that I missed both sites run on the same configuration. |
I'm running 3.5.0 and am having trouble with people who were outside the limits *before* the hack was installed. in which case they aren't able to edit their signatures in such a way to be within the limits. my font limit is 14, they've got 16 in their sig, they aren't allowed to change the font size, instead getting a message 'your font is too large'.
is the hack incompatible with 3.5.0? |
bitfield.xml dont' work
|
All times are GMT. The time now is 09:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|