GithubHelp home page GithubHelp logo

sbrajesh / bp-simple-front-end-post Goto Github PK

View Code? Open in Web Editor NEW
29.0 9.0 13.0 139 KB

A simple front end posting plugin for BuddyPress/WordPress

Home Page: http://buddydev.com

PHP 97.88% JavaScript 2.12%

bp-simple-front-end-post's People

Contributors

raviousprime avatar sbrajesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bp-simple-front-end-post's Issues

Not working when using this with 'Blog Categories for Groups'

Latest versions of all installed.

As i understand no setup is required when using along with 'Blog Categories for Groups'.

When i use it, Posts get added to Wordpress correctly and show up in category archives, but they do not show on the Buddypress Blog page.

I keep getting the message box 'This group has no Blog posts.'

Any idea what i should be doing?

Thanks in advance.

Fatal error: Call to undefined function bp_new_simple_blog_post_form()

Wordpress Noob here. I can't understand why the function is not being found. I am using the example code: add_action( 'bp_init', 'my_post_form', 4 ); ---> this is calling bp_new_simple_blog_post_form() .

My understanding is that bp_init should initialize all bp functions, so there should be any undefined functions?

What am I doing wrong?

Thanks in advance!

Error details:

Fatal error: Call to undefined function bp_new_simple_blog_post_form() in /home/content/65/11231665/html/diasporahomecoming.com/site/wp-content/themes/klein-child/functions.php on line 38

Toolbar bug

~Hello @sbrajesh
It is showing +New(Media) in the toolbar on front end for logged out users,
I've tested this by deactivating BP Simple Front End Post and it disappears,
I'm now currently hiding the toolbar for logged out users,
Also this only shows on Buddypress pages, activity/members/groups/register/activate
toolbar

show_comment_option does not work

When I turn show_comment_option to true, it should remove the checkbox for "allow comments". This does not work. I found the reason in the file:

\wp-content\plugins\bp-simple-front-end-post\bp-simple-front-end-post.php

in line 298:

    if($show_comment_option)
        $this->show_comment_option=$show_comment_option;

should be changed to:

    if(isset($show_comment_option))
        $this->show_comment_option=$show_comment_option;

Because otherwise it's testing against the value itself, not if the variable has been set, so setting it to false will have no effect.

I changed it for my client, so it would be nice if you would implement it in your next update, so that my client don't need to modify the code again.

Thanks
Marian

How to Use

Hi there,
This is not an issue exactly. I don't know php so I can't understand how to use section of simple front end post plugin. An author has given some code for using this plugin. Can anybody tell me where to insert this code? Also please tell how to create form required for this.
I will be very grateful for your help.
Thanks

TinyMCE

How can i add the tinyMCE editor to the bp_simple_post_text textarea ?

I've tried with the classic jQuery script that we can found on Google everywhere, but nothing happens. No Magic. :'(

Is there a trick i didn't see ?

Tags disappear from edit post form once they have been used

I noticed that tags seem to disappear from the edit post form once they have been used.

Step 1: Create a new post making sure to select some tags
Step 2: Edit the post you have just created. For example go to example.com/members/username/buddyblog/edit/102/

You will see that the tags you choose in Step 1 are no longer displayed on the form. They've vanished!

Update: This issue is now resolved. Was a problem with my theme's CSS hiding the popular-category class.

Categories on form

Hi I would be so grateful for your help, maybe I am very slow today but i can't see for the life of me how to create a new form instance using this. I see the working example, and I guess it goes into bp-simple-front-end-post.php but where does it go and how do I call the form?

I would be perfectly happy with the normal form but I don't want to include TAGS for people to pick out and I only want to include a couple of categories.

I would be SO grateful if you could take a quick sec to tell me:

"Post this bit: $form=bp_new_simple_blog_post_form($form_name,$settings); here and the rest there" for instance.

Many thanks for your help :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.