Status
Not open for further replies.

reeshe

Customer
I'm using VB shop to purchase sigs and avatar permissions. Break down for what happens;

avatars and sigs are off in usergroup settings
User purchases sig or avatar permission from the shop
The permission works..now they have the option to upload the avatar or enter a sig

The problem is everything -1..every dimension, every value etc:

8-4-2011 8-25-03 PM.webp8-4-2011 8-40-25 PM.webp


When I turn avatars or sigs on...It goes back to regular dimensions that I have set. Its only like this when I have it set to no in usergroups and the permission is purchased.
 
I'll look into it ASAP, I'm a bit swamped at the moment though so no hard promises as to how quickly I can get to it :)
 
Ok do u need anything from me? I've sent you site access before if you need it again I will send it.
 
Upon further investigation, this is actually a problem with vBulletin rather than vBShop.

For some inexplicable reason, vBulletin sets the values you're seeing when you turn off the options you describe. I don't believe it's possible for me to revert the values without causing a performance hit.

A workaround, which is very troublesome but may work, is to create various free items that override the "avatar max width", "avatar max height", "avatar max size" (same for profile pictures and signature pictures) values with the values you would like. If you want different sizes for different usergroups, create different items and set the usergroup permissions on the items as you need them.

For signature pictures, there's about 7 values to override in a similar manner.

I wish I had better news :(
 
This really is bad because these options are the main reason for me using the mod.

Do you think re installation of the product would help. If so is there a way i can export and save my items in my shop. I have added 100s literally.
 
Nevermind I reread what you said and I understand now. Is this just a problem with my shop though?
 
Wouldnt it be possible to make it default the avatar setting to a certain number when the option is turned off?
IE: change where it tells VB to set width height to -1px to 100px instead
 
Editing out the code in question could have other ramifications that I cannot be sure of.

Create a new plugin in your Plugin Manager at admin_build_forum_perms_group - set it to execution order 1:
PHP:
$vbulletin->usergroupcache["$usergroup[usergroupid]"] = $usergroup;

That will undo the -1 ification :)
 
Editing out the code in question could have other ramifications that I cannot be sure of.

Create a new plugin in your Plugin Manager at admin_build_forum_perms_group - set it to execution order 1:
PHP:
$vbulletin->usergroupcache["$usergroup[usergroupid]"] = $usergroup;

That will undo the -1 ification :)

Do you have a similar fix for VB 3.8?
 
Editing out the code in question could have other ramifications that I cannot be sure of.

Create a new plugin in your Plugin Manager at admin_build_forum_perms_group - set it to execution order 1:
PHP:
$vbulletin->usergroupcache["$usergroup[usergroupid]"] = $usergroup;

That will undo the -1 ification :)


This did not work for me.:(
 
Status
Not open for further replies.

Legacy vBShop

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,261
Customer rating
0.00 star(s) 0 ratings
Back
Top