Forum Activity for @the-patria-company

PatriaCo
@the-patria-company
07/28/16 03:48:51PM
349 posts

Group Discussions - Reply Count


Jamroom Developers

I think I found a problem. I have an active discussion board with 37 replies in it. The screenshot shows a replies count of - 75. the url is /group_discuss/group_id=XX --- it is the page that lists the discussions available. I am not sure of the tpl file.

{$item.user_jrAction_item_count} => "37" shows the correct item count (but this might be coincidental)

Back to my original question... I am looking for the count of replies per comment
{$item.discuss_comment_count} does not exist in the item_list.tpl when I do a {debug}

does this mean it is impossible?
Screenshot 2016-07-28 17.27.41.png Screenshot 2016-07-28 17.27.41.png - 25KB
PatriaCo
@the-patria-company
07/28/16 09:51:00AM
349 posts

Group Discussions - Reply Count


Jamroom Developers

Is it possible to have a bit of code print out the reply count in a thread?

I am going to use a bit of js and css to hide the indented discussion replies (as they are getting quite long and hard to follow) and I would like to add the count (hide/display) link beside the "Reply" link (as an example 8 is representing the count I would like the code to generate):

Reply || View/Hide Replies: 8

Thanks!
Screenshot 2016-07-28 11.48.09.png Screenshot 2016-07-28 11.48.09.png - 35KB

updated by @the-patria-company: 11/17/16 04:31:11PM
PatriaCo
@the-patria-company
07/27/16 05:07:34PM
349 posts

FoxyCart Transaction Method


Suggestions

Is there a way to capture the transaction method from FoxyCart?

We have FoxyCart set up to accept Visa/MC via Auth.net and PayPal and Bitcoin. I can't figure out in Jamroom how to tell which method a customer is selecting for our accounting purposes.

Thanks :)
updated by @the-patria-company: 11/07/16 10:35:04AM
PatriaCo
@the-patria-company
07/27/16 03:02:08PM
349 posts

Issue Tracker Back Burner Tab


Jamroom Developers

I would like to clone the module and do some renaming (since I am using the Issue Tracker for its intended purpose already). In this cloned version I would like to have the back burner tab be visible to everyone.

Is there a piece of the module core that I can adjust on my cloned version to make this happen?

Thanks :)
PatriaCo
@the-patria-company
07/27/16 11:31:36AM
349 posts

Broken "Create" Page


Jamroom Developers

Everything is working out great now! Thanks :)
PatriaCo
@the-patria-company
07/27/16 10:42:25AM
349 posts

Issue Tracker Back Burner Tab


Jamroom Developers

How can I get the Back Burner Tab to show for everybody?

I already made sure in the profile.php on lines 262-264 to comment out this code so that the page opens for everyone:

// if (!jrUser_is_logged_in()) {
//     jrCore_page_not_found();
// }

Now I just need the tab to show.

Thanks :)
updated by @the-patria-company: 11/17/16 11:48:46AM
PatriaCo
@the-patria-company
07/20/16 05:16:31PM
349 posts

Broken "Create" Page


Jamroom Developers

LOL!! Hey Paul apparently there are a lot of "page" references that needed to remain "page" and not be changed to archeology. pagebreak, pager, jrCore_page_banner, jrCore_page_display

I will continue to check around but at least the "create" is working now. :)

Thanks guys!!
updated by @the-patria-company: 07/20/16 05:16:54PM
PatriaCo
@the-patria-company
07/20/16 05:04:08PM
349 posts

Broken "Create" Page


Jamroom Developers

and these showed up

[20-Jul-2016 15:50:49 America/Tegucigalpa] PHP Fatal error: Call to undefined function jrCore_archeology_banner() in /public_html/modules/atArcheology/index.php on line 177 [6]

[20-Jul-2016 16:15:49 America/Tegucigalpa] PHP Fatal error: Call to undefined function jrcore_archeology_include_admin_menu() in /public_html/modules/atArcheology/index.php on line 97 [1]
PatriaCo
@the-patria-company
07/20/16 03:08:52PM
349 posts

Broken "Create" Page


Jamroom Developers

I have cloned the page creator module so that the new module will specifically keep track of archaeological records, everything looks good but my create page doesn't work, can anyone see the error in my create code?

//------------------------------
// create
//------------------------------
function view_atArcheology_create($_post, $_user, $_conf)
{ // Must be logged in to create a record jrUser_session_require_login(); jrUser_check_quota_access('atArcheology'); // Bring in language jrUser_load_lang_strings(); $_lang = jrCore_get_flag('jr_lang'); // Start our create form jrCore_archeology_banner(1); // Form init $_tmp = array( 'submit_value' => 2, 'cancel' => jrCore_is_profile_referrer() ); jrCore_form_create($_tmp); // Archeology Title $_tmp = array( 'name' => 'archeology_title', 'label' => 3, 'help' => 4, 'type' => 'text', 'validate' => 'not_empty', 'required' => true ); jrCore_form_field_create($_tmp); // Archeology Location (profile or main site) // NOTE: master admin only $_opt = array( 0 => $_lang['atArcheology'][15], 1 => $_lang['atArcheology'][16] ); $_tmp = array( 'name' => 'archeology_location', 'group' => 'master', 'label' => 13, 'help' => 14, 'type' => 'select', 'options' => $_opt, 'default' => 1, 'validate' => 'number_nn', 'min' => 0, 'max' => 1, 'required' => false ); jrCore_form_field_create($_tmp); // Archeology Body $_tmp = array( 'name' => 'archeology_body', 'label' => 5, 'help' => 6, 'type' => 'editor', 'validate' => 'allowed_html', 'required' => true ); jrCore_form_field_create($_tmp); // Include Header $_tmp = array( 'name' => 'archeology_header', 'label' => 22, 'help' => 23, 'type' => 'checkbox', 'default' => 'on', 'validate' => 'onoff', 'required' => true ); jrCore_form_field_create($_tmp); // Item Features $_tmp = array( 'name' => 'archeology_features', 'label' => 24, 'help' => 25, 'type' => 'checkbox', 'default' => 'on', 'validate' => 'onoff', 'required' => true ); jrCore_form_field_create($_tmp); // Display record with form in it jrCore_archeology_display(); }


Thanks for the help :)
updated by @the-patria-company: 10/26/16 08:11:20AM
  21