I'm trying through your API to get the associated social buddy boss group of a learn dash group. To be more clear, this is what I'd like to get:
https://www.evernote.com/shard/s230/client/snv?fbclid=IwAR2kPw36gUCU5pYTS-QTbQBXBxcZ5m86DaUNP_VPxl0ylF8qMWGM8LtoOMw&isnewsnv=true¬eGuid=a36d2160-a64e-48ce-9d10-7fc85cbff3f6¬eKey=cbd9fb0303a6e1d7&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs230%2Fsh%2Fa36d2160-a64e-48ce-9d10-7fc85cbff3f6%2Fcbd9fb0303a6e1d7&title=Edit%2BGroup%2B%25E2%2580%259CImprovisation%2BMade%2BEasy%2BMasterclass%2BGroup%253B%2BThe%2B3-Step%2BSystem%2BTo%2BQuickly%2BMaster%2BThe%2BHoly%2BGrail%2BOf%2BCre%25E2%2580%259D%2B%25E2%2580%25B9%2BDonna%2BSchwartz%2BMusic%2BAcademy%2B%25E2%2580%2594%2BWordPress
I need a basic functions where I can pass the learndash group and get back the social buddyboss group.
I'm already at this point:
<?php
$current_course = learndash_get_course_id();
$group_id = learndash_get_course_groups($current_course);
?>
What I'd like to achieve is to add a simple link to the social group as you can see from this screenshot:
https://www.evernote.com/shard/s230/client/snv?fbclid=IwAR3jIzrRIQsM26EGbhE-Eg0gMCWPiv3ls7YUEkjYNVtmrohzLP4lnfEibRc&isnewsnv=true¬eGuid=90d5b100-a615-4068-865c-3f350d8660c9¬eKey=64b5021654bab6cd&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs230%2Fsh%2F90d5b100-a615-4068-865c-3f350d8660c9%2F64b5021654bab6cd&title=M1L1%2B-%2BWelcome%2B%2526%2BYour%2BSuccess%2BStrategy%2B-%2BDonna%2BSchwartz%2BMusic%2BAcademy
Please let me know if I was clear enough.
Thanks in advance,
Have a wonderful day.
Related
For this report, I need one field (Sales Code) to only show if it has been updated. Periodically they change Sales code and I want a report to show the prior code along side the new code when it changes. Along with its part number and so on.
I was wondering the best way to go about tackling this request.
I tried to do _add_days -1 and compare the Sales code --> Sales code1. I dont think that will give me what I am looking for.
For example Sales code changes from AA --> AB.
I want to see New CODE OLD Code Part Number and so on...
AB AB 12345
The pattern you are encountering is called a slowly changing dimension.
Here's a wee free primer.
https://www.kimballgroup.com/2013/02/design-tip-152-slowly-changing-dimension-types-0-4-5-6-7/
You don't mention the structure of the data you're working with so it would be quite difficult for me to say what type you have other than the fact that you're trying to track historical data and seem to have it captured somehow rules out type 0.
Because of that, I can't come down from Mount Sinai with the solution but this can help you start to think through the problem.
In Framework manager have the modeler design the fields for SalesCode and SalesCode1
To only show if there was a change
Add a detail filter:
SalesCode <> SalesCode1
To control the context of time, have a separate filter like:
[Sales Date] between ?FromDate? and ?ToDate?
I have a search form that has a text field and 3 drop downs, that have categories. What I'm trying to achieve is the current search query that posts appears as follows:
?s=Milk&cat=4&cat=7&cat=15.
What I'm trying to achieve is something like:
?s=Milk&cat=04,7,15
I'm relatively new to WordPress and PHP and haven't been able to find any good documentation or references to what I need to do to accomplish this.
I don't necessarily want the answer, just some guidance in the right direction.
This was already answer: multiple categories query
It must be like this:
/?cat=970,971,972 where the # is the cat id.
We have multiple e-learning modules under one domain.
We want to know how many new users start each module over a set period of time e.g.
trainingDomain.com/module01 > 4 new starts
trainingDomain.com/module02 > 2 new starts
trainingDomain.com/module03 > 5 new starts
The metric that seems to best fit new starts is new users by module.
We have tried various approaches but no success so far. I suspect we are misunderstanding something conceptual.
Each page in a module saves a moduleID to a custom dimension i.e. click scope. If we create a custom report with new users as the metric and moduleID as the primary dimension, only the first module visited registers in the report.
Does anyone have a suggestion of a better way we can approach this or a way to tweak the current approach to work? I'm really struggling to get my tiny brain around this...
Many thanks!
Actually, custom dimension is redundantly for your purpose.
Create a page content group with your modules. Then create a custom report with the new users as metric, page as a dimension and filter by your content group.
I helping a friend of mine to create a calculation formula in gravityforms and Woocommerce.
He whant to add:
number of prints: 1-24, 25-49
And number of prints color: 1, 2
based on the Quantity the prints color have differents prices.
ex:
prints 1-24, color 1 = 22,50 Skr
Prints 25-49, color 2 = 17,50 Skr
in my form now i have, product name, number of prints ( where i type the number of prints ), number of prints color ( dropdown ), And total.
But i donĀ“t now how i add the calculation formula.
Hope some one can help us.
I try not to post links to my products here unless I can provide a free alternative as well... but in this case, I do not know of a simple or free way to accomplish this without the use of my GP Conditional Pricing add-on for Gravity Forms. It supports tiered pricing (also known as bulk discounts) as you've described here. You'll need a copy of Gravity Perks to download this add-on.
I have a view showing all the OG groups. Now, I'd like to display a number of members and posts within the group next to each group name. I have spent last few days looking for a solution for my problem, unfortunately with no luck.
This would look like this:
Group name -
Members: X Posts: Y
I tried to create separate views showing list of groups (this was easy) and number of members of each group (easy) and then use views_field_view module to display the number of members as a field under the group name. This almost worked. The problem is that each group shows now a multiple times on the list.
I will be rally grateful for any direction or advice.
Cheers!
The easiest thing to try with your current setup is under "Advanced" > "Query settings" select distinct on the first view.
If this dosnt work, instead of using views_field_view just output the group ID in the first view and then theme this field in a views template file to bring in your other view setting the group id as the argument to this view.
Here is an example, put the following code in a file called:
views-view-field--view1name--groupidfieldname.tpl.php
changing the groupid, view and display names.
<?php
$view = views_get_view('view_2_name');
$view->set_display('display_name');
$view->set_arguments(array( $row->node_field_data_field_groupidfieldname ));
$view->execute();
print $view_leader->render();
?>
I think your answer is here: https://drupal.org/node/1101102#comment-7404856
You could also use https://drupal.org/project/views_php .There you can access the group id and query the members count and many other funny things.