Quote:
|
Can you make a specific user be allowed to use html?
If so, how? EDIT: hey, I have an idea, could I make a secondary usergroup that has it enabled, put the desired user as secondary usergroup for it, but have him display as his primary one? Will that work? If not.....what will? sorry guys...wrong thread. rofl... |
Yes it will work, if the primary usergroup does allow membergroups.
|
i am pretty sure there is a plugin for that which may make things a little neater....
|
I got the same error someone else got about the escape strings
In the product I have I put that "Rebuild Bitfields" script Andreas wrote Code:
<plugins> Here's my bitfield Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
You must use the Code as Product install Code.
|
1 Attachment(s)
It was in a product but removed the plugin tags around it.
when I upload the product I get this error Code:
### INSERT QUERY GENERATED BY fetch_query_sql() ### |
1 Attachment(s)
Did you create the product XML by hand?
There is almost no chance the product manager would generate smth. like that ... |
Well I took references frommy other product xml's.
Thanks. Now I'm on to update my testimonials mod. |
Hi, this is the XML I'm trying to use:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
download the xml's Andreas did for me and look off of those.
|
I don't see any difference other than the group used, and I don't think that's what causes the problem.
Ok, figured that I needed to rebuild bitfields.. But it still does not save. |
vbulletin, NOT vBulletin - better yet use your own product id.
|
I changed the product ID to my own. There are no results though.
As I said, after sumbitting the usergroup options, it says "usergroup X saved", but then after I reload the page, the option is back to "off" (as it was originally)... :( My latest XML: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> |
Did you rebuild the bitfield cache?
|
Yes. Using the admincp navbar link in debug mode.
Figured: The problem was that I specified invalid decimal bitfield value. Now it is working (after I changed 0 to 1). :) |
I don't think '' and '0' are valid bitfield values.
1st bitfield should have value of 1 2nd should have 2 3rd should have 4 4th should have 8 5th should have 16 and so on.... |
Yes, I already figured that, thanks.
It should be mentioned in the first post though. |
I assumed everybody knows how the binary system works ;)
|
Even if yes, it is not mentioned that XML uses binary data as the values. YOu did not specify what to put between the tags :)
|
Quote:
|
Ah, I didn't see that :(
|
I have a usergroup xml file with 3 bitfield options. How can I get them to be "Yes" by default when the product is installed?
At the moment, I've set the database column default to 7, then rebuild the bitfields, which makes them all appear as "Yes" when you edit a usergroup, but you need to go into each usergorup and click "Save" to make them take effect. If you don't, they are still set as "No" in the forum, despite Usergroup Manager saying they are yes. Any ideas? |
You can either run a manual query to update the bitfield values or you will have to save each Usergroup - There is no way to set it to a default value for existing usergroups since the datastore will not contain the values for the new settings ;)
Chris |
Dang, I was afraid of that. Cool, thanks Chris :)
|
thanks, very useful.
|
I found that the product attribute of the <bitfields> on vb3.5.0 is not case sensitive while 3.5.1 is
|
Quote:
I spent the last 8 hours clicking around and found Andreas had a problem with his signature hack when vb351 came out, but since I didn't see the previous version, I don't know what he did to fix. Sorry if this was answered elsewhere. |
Yep, that does not work any longer for 3.5.1+ as the bitfield builder ignores bitfields for non-active products.
You must adjust it a bit to just use the XMLReader. |
Quote:
For the record, I gave up and moved the code to a seperate admin file and call it after installation. |
Hi,
I cannot get this work ;( I made the following bitfield: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> Tobi |
Does noone have an idea what is wrong in my coding?!
|
Did you rebuild the bitfield cache?
@MrBlunt Well, as said - just directly use the XMLReader and set your bits accordingly. Or fake the product being installed and call the bitfield builder. |
Quote:
Regards, Tobi |
If you already have a thread there or create on - sure
|
1 Attachment(s)
hi,
Thanks for your explanation verry usefull.One question through.My permissions show up fine the only thing that annoys me a little is that that little help icon that refuses to shoowup nexto my permissions ? i bet it got something todo with the adminhelp manager you see in debug mode ? buh i hate XML most of the time i doesn't work for me HTML Code:
<?xml version="1.0" encoding="iso-8859-1"?> Code:
"ALTER TABLE " . TABLE_PREFIX . "usergroup ADD myproductpermissions INT(10) UNSIGNED NOT NULL DEFAULT 0"; |
posted in wrong thread ...
|
Just an FYI, for those interested in having custom forum permissions that correspond with custom usergroup permissions, you may want to check out my hack discussed in the following thread:
Custom Usergroup Forum Permissions |
There is a reason why there is no built-in support for custom forum permissions ;)
|
Quote:
|
All times are GMT. The time now is 11:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|