• Hi Jacob,

    A while ago you created for me/my site a shortcode to allow a single photo to be displayed within a BBPRESS topic/reply = [photo 123]

    I know there is a WPPA generator button as part of the Visual Editor for WordPress Posts.

    What would be really nice, if possible, is a simple WPPA Generator on the BBPRESS Forum Topic and Reply pages, that allows members to simply select the photo of choice – I don’t want to offer them options to insert albums or anything else, just insert the [photo 123] code in a User Friendly way.

    I hope this will be possible to develop – my site will really benefit from it.

    Cheers,

    Laurence

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter coffeecuplj

    (@coffeecuplj)

    Hi Jacob,

    Do you think this will be possible to develop ?

    Laurence

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    As I understand: You want a shortcode generator that just creates shrtcode [photo nnn]
    Looks doable – when i am back from hollidays. One question:
    Should the user be able to select his own photos only?

    Thread Starter coffeecuplj

    (@coffeecuplj)

    Hi Jacob,

    I think the default option should be that they can only select their own photos. That way the list of photos will be small for them to scroll through.

    A nice to have, if technically possible, would be for the user to see an option (within the insert photo routine) to open the list to see all members photos but the list reverts back to just their photos next time they use it)

    Thanks

    Laurence

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I will get into this later. This may take one or two months. Still on hollidays without pc. I can recommend that…

    Thread Starter coffeecuplj

    (@coffeecuplj)

    Hi Jacob,

    Have you had time to think about this request yet.

    I’m being asked constantly by my members to have a function that allows them to add a photo to the forum discussion (using BBPRESS) that stores the photo in their album for future reference/use.

    There seems to be a growing feeling of discontent with the way they currently use my site which is to upload a photo to their album and then use the [photo 123] shortcode to added it to the discussion thread.

    Members simply want to click a button while in the discussion topic, that allows them to upload a photo direct into the discussion. Without this functionality on my website I’m loosing members and content to other Facebook style discussion websites.

    Thanks in advance for your help,

    Laurence

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    This will be my first dev job after the release of 6.7.07 (end of this week)

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I have a basic version working. It shows the users photos (max 100), a preview and the Insert Photo button.

    You can test it when you install beta version 6.7.08.Beta.002
    See: https://wppa.nl/docs-by-subject/development-version/ for instructions

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed 6.7.08, released today.

    From the changelog:

    Added shortcode generator for shortcode [photo]. Including upload new photo. Requires enabling the use of shortcode [photo] in Table IX-L1.

    Thread Starter coffeecuplj

    (@coffeecuplj)

    Hi Jacob,

    I’ve installed 6.7.08 and have the use of shortcode enabled in Table IX-L1

    I can see the camera icon and the functionality in WordPress Posts, which works, but not in the BBPRESS forum page. Is there a setting somewhere I need to set to enable this to work in BBPRESS Forums Topics and Replies ?

    Also, wasn’t it possible to have the upload functionality included, so that it could be called a the point a member wants to insert a photo into a discussion Topic or Reply and store it in their gallery for future reference at the same time. Just asking as that would make a massive difference to how members use the site and remove the marjority of complaints/feedback I get from members.

    Thanks in advance,

    Laurence

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I have no experience with bbpress, i will get into this.
    The upload functionality is included ( it took me 3 days to get it working ) Try it on the wp edit post screen. There is an ‘Upload new photo’ textlink in the left column.

    See: https://wppa.nl/wp-content/wppa-pl/Screenshots/Upload-on-photo-shortcode-generator.PNG

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I spent the entire weekend on this issue.
    This are my findings:

    1. bbpress has a switch on the settings page: Add toolbar & buttons to textareas to help with HTML formatting This activated the wp_editor() as opposed to a simple text input field. However, the switch to use tynymce is set to false, it should be true to go to the ‘visual’ editing mode that is required for adding buttons to the toolbar.
    This is fixable by a patch to …/plugins/bbpress/includes/common/template.php on line 1735.
    It reads:

    
    'tinymce'           => false,
    

    it should be:

    
    'tinymce'           => true,
    

    2. When done so, there is an insert photo button that requires an url. To get rid of this button you have to remove one line of code, also in a bbpress file.
    3. To add the shortcode generator, a few things must be done in wppa to make it working at the frontend of the site.
    4. The proble, is however, that the code that cretes the pop-up dialog, known as thickframe does not want to work at the frontend. Many people have tried this without success.

    5. My plan is to see if there is a frontend editing plugin that allows the addition of ‘external’ ‘plugins’ to the tinymce editor, and use their technology. If that fails, i will see if i can get it working using a jQuery popup window.

    To be continued…

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The line to remove is in …/plugins/bbpress/includes/common/template.php on line 1858:
    array_push( $buttons, 'image' );

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I got it working. I will still need a few days programming, but i will release it in the next version (6.7.10)

    Thread Starter coffeecuplj

    (@coffeecuplj)

    ive been following your updates Jacob with interest.

    That’s great news that you’ve got it working ??

    Thanks in advance

    Laurence

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘WPPA Generator button in BBPRESS topic/reply’ is closed to new replies.