Helping you Build Your Own Social Network!

Faster, better and easier!

very specific pbm replated to my website

(15 posts) (2 voices)

Tags:

No tags yet.


  1. Hi Brajesh,

    I have a plugin named "Schools" which is the exact replica of "Groups" minus the forums. It also replicates the Group extending api.

    The only thing is that the theme template files for this plugin are directly into my custom theme which is not a BP child theme.

    All the plugins which work for groups can be made to work for schools.

    Until I tried groups review which is the only plugin so far to use the Group extending api.

    Now I modified the groups review plugin to work for schools and I get the enable reviews in admin settings, when i enable it i get the review posting displayed right. But I am having a problem posting a review. When I post a review it takes me to the home page. And the review is not saved in the DB as well.

    I am suspecting its this line from the group-classes.php

    var $template_file = 'groups/single/plugins';

    Will pointing this to my custom theme schools/single/plugins work?

    If yes, how can i make it point there?

    If not, any idea how I can fix this. This is THE most important component of my website. I got to get this going.

    Please help.

    Thanks.

    Posted 1 year ago #
  2. Yes, Please make that change. That should work if you have modified the reviews plugin too and you have the plugins.php in your custom theme/schools/single/

    . If that does not work, please drop me a copy and I will check and fix that.

    Thanks
    brajesh

    Posted 1 year ago #
  3. How can I make the $template_file to the plugins.php in my custom theme?
    i used get_bloginfo( 'template_directory' ); to get to mu custom theme, but this dsnt wrk :(

    Posted 1 year ago #
  4. Hi Gwu,
    if you have modified the groups copy to act as schools, the plugins.php is nothing but the home.php of your component with item body containing this

    <?php do_action( 'bp_template_content' ) ?>
    Posted 1 year ago #
  5. sorry to bug u brajesh, I m still not getting ur point. :(

    so this is my directory structure
    ---wp-content
    ---plugins
    ---bp-schools (my plugin - copy of Groups)
    ---bp-school-reviews (extends bp-schools, also has its own template files)
    ---themes
    ---custom theme (not a child theme of BP)
    ----schools (theme templates for schools, same as bp-default/groups)
    ---single
    ---plugin.php

    I already have all of this in place. even the plugin.php is there and its contents are same like groups/single/plugin.php

    Somehow the submit on the reviews page does not re direct properly. the reviews are not submitted.

    Let me know if I m still not clear. I can send u my plugins thru email.

    thanks so much.

    Posted 1 year ago #
  6. Hi Gwu, I may not be following it correctly. Please do send me a copy of the School extension class and the modified group-review plugin.

    Posted 1 year ago #
  7. email sent. Please check.

    Posted 1 year ago #
  8. Brajesh, did u get a chance to look at this?

    Thanks,

    Posted 1 year ago #
  9. Hi Gwu, Sorry, could not find enough time on this. will be checking tomorrow and update you.

    Posted 1 year ago #
  10. not a pbm. do let me know. Thanks.

    Posted 1 year ago #
  11. last day of my membership..wanted to get this done.
    wil join back again in a weeks time.

    Posted 1 year ago #
  12. Hi Gwu,
    Just checked the code and I did not find any error. Can you please send me the schools plugin on my email. Sorry, I could not check earlier but looked at the code today and Could not find any issue. Please send me the schools plugin and I can test it why it is not working.

    Posted 1 year ago #
  13. sent please check,

    Posted 1 year ago #
  14. did u get my email?

    Posted 1 year ago #
  15. Hi Gwu,
    yes, I have got your mail and will send you the update by tonight. Been busy on something else but had scheduled it for today.

    Posted 1 year ago #

Reply

You must log in to post.