-
Posts
12,727 -
Joined
-
Last visited
-
Days Won
13
Community Answers
-
Ryan Ashbrook's post in Converting from vBulletin 3.8.11 forum permissions was marked as the answer
Yes, go to your Admin CP > Members > Groups - click the Padlock (titled "Permissions") next to a group, and you can set permissions across the whole suite. Repeat for each group.
-
Ryan Ashbrook's post in What does the Void Account button do in Commerce? was marked as the answer
It does a number of things:
Cancel all invoices. Resolve all support requests. Ban the account. Add a note indicating why the account was voided. Void or refund all transactions. Cancel all billing agreements. Cancel all purchases. All of these are elective, so you decide what happens when you void an account.
-
Ryan Ashbrook's post in Image in front of Group Formatting was marked as the answer
What kind of icon? You can include really any HTML in there - for your prefix, you would either do this, for an actual image:
<img src='/path/to/image.png' alt='Group Name'><span style='color:white; background:#cd7f32; font-weight: bold; padding: 3px 8px; border-radius: 3px; text-shadow: #000 2px 2px 4px ;'> Or for a Font Awesome icon, you would do this (in this case, you can also control the color - if you want it to match the rest of the group name, then you would place it inside the span rather than outside):
<i class='fa fa-ICON'></i><span style='color:white; background:#cd7f32; font-weight: bold; padding: 3px 8px; border-radius: 3px; text-shadow: #000 2px 2px 4px ;'>
-
Ryan Ashbrook's post in Why is this hook causing ICS to have a parse error in ACP? was marked as the answer
A fix for this should be forthcoming in 4.5.2.
-
Ryan Ashbrook's post in delete content item directly without go to Deleted Content was marked as the answer
In your Content model, do something like this:
/** * Do Moderator Action * * @param string $action The action * @param \IPS\Member|NULL $member The member doing the action (NULL for currently logged in member) * @param string|NULL $reason Reason (for hides) * @param bool $immediately Delete Immediately * @return void * @throws \OutOfRangeException|\InvalidArgumentException|\RuntimeException */ public function modAction( $action, \IPS\Member $member = NULL, $reason = NULL, $immediately = FALSE ) { if ( $action === 'delete' ) { $immediately = TRUE; } return parent::modAction( $action, $member, $reason, $immediately ); }