Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 3,876 through 3,900 (of 14,265 total)
  • @robin-w

    Moderator

    the topic and reply forms are at the bottom of the forum and topic pages, so there is no need to visit a separate page.

    I agree that this is far from obvious.

    my style pack plugin adds a button which takes you there

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Buttons

    I’m looking at creating a pop-up topic and reply form at the moment, but this is very much work in progress. If I succeed I’ll try and remember to post back here

    @robin-w

    Moderator

    šŸ™‚

    @robin-w

    Moderator

    sorry, I’m confused on what the issue is – when I click on the login link above, I get taken to the expected login.

    @robin-w

    Moderator

    dashboard>appearance>widgets and choose the sidebar and add a custom html widget

    @robin-w

    Moderator

    anything can be done if you can find someone with the technical skills and time and are willing to pay the money for them to do the work !!

    The plugin does not generate WordPress ‘pages’ as such, it uses a theme’s template and renders data within that.

    I’m just a bbpress user who helps out on this forum, but if we ignore login, register and password reset which users may or may not want as pages (many use sidebar widgets and a multitude of membership plugins and methods to handle registration etc.) then I’m not clear what you want to happen with topic and reply forms – what is missing that you want that needs multiple forms?

    @robin-w

    Moderator

    The solution I’m looking for is for BBP to dynamically generate them as required. Is that possible?

    not within the current product.

    I’m not quite sure what you have against creating 5 pages yourself šŸ™‚ šŸ™‚

    @robin-w

    Moderator

    ok, so your topic and reply forms will have pages with urls, so you just need to put the buttons where you want

    <input type="button" value="button name" onclick="window.open('http://www.website.com/page')" />

    @robin-w

    Moderator

    not sure what that means – render a screen with the form? or create a worpdress page ?

    perhaps you could describe what you want to achieve from what and to what.

    @robin-w

    Moderator

    @robin-w

    Moderator

    suspect it might have been another plugin that was dependant on it, but anyway glad you are fixed.

    @robin-w

    Moderator

    oops semi colon missing from $image = line

    <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
    <?php 
    $image_id = get_user_meta (bbp_get_reply_author_id(),  'profile-picture' , true) ;
    $image = get_post_meta ($image_id, _wp_attached_file, true) ;
    echo '<li>herestart'.$image.'hereend</li>' ;
    ?>

    @robin-w

    Moderator

    ok, so we are making progress.

    I don’t expect this to work, just to return the next stage

    so amend that to

    <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
    <?php 
    $image_id = get_user_meta (bbp_get_reply_author_id(),  'profile-picture' , true) ;
    $image = get_post_meta ($image_id, _wp_attached_file, true)
    echo '<li>herestart'.$image.'hereend</li>' ;
    ?>

    @robin-w

    Moderator

    that’s fine, I wanted to see what was in the database ie in this case 1345, I suspect it is a reference to a media image

    @robin-w

    Moderator

    ok, can you change the other one to

    <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
    <?php 
    $avatar = get_user_meta (bbp_get_reply_author_id(),  'profile-picture' , true) ;
    echo '<li>herestart'.$avatar.'hereend</li>' ;
    ?>

    @robin-w

    Moderator

    try

    <?php 
    $neighborhood = get_user_meta (bbp_get_reply_author_id(),  'user-subdivision' , true) ;
    echo '<li>'.$neighborhood.'</li>' ;
    ?>

    come back if that doesn’t work

    @robin-w

    Moderator

    oops sorry, I’ll correct that

    @robin-w

    Moderator

    hmm…just loaded Asgaros to my test site, and it has it’s own tables

    wp_forum_forums
    wp_forum_topics
    wp_forum_posts

    as well as several others dealing with subscriptions, polls and ads.

    the issue with importing would be hooking forum_topics which holds header stuff with forum posts which holds the content, but also the replies.

    What size is your current Asgaros forum – eg forums, topics replies?

    @robin-w

    Moderator

    for the avatar, I need to know what is stored in the usermeta, so can you try adding this after line 44

    <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>

    to get

    <?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
    <?php 
    $avatar = get_user_meta (get_current_user_id(),  'profile-picture' , true) ;
    echo '<li>'.$avatar.'</li>' ;
    ?>

    I need to see if this produces a url or link to media item etc.

    @robin-w

    Moderator

    ok replace the

    <?php echo 'hello' ; ?>

    with

    <?php 
    $neighborhood = get_user_meta (get_current_user_id(),  'user-subdivision' , true) ;
    echo '<li>'.$neighborhood.'</li>' ;
    ?>

    and let’s see if that does that one first

    @robin-w

    Moderator

    but yes the answer is just a case of filling in the form, in the same sense as completing a crossword is just a case of writing the answers in the squares šŸ™‚ šŸ™‚

    @robin-w

    Moderator

    no idea how asgaros stores the data in the database – is it separate tables or in posts/postmeta?
    and different tables for forums vs topics vs replies ?
    and does it use wordpress user ID’s?

    @robin-w

    Moderator

    @scifikriss I see you have asked this many months ago.

    The problem is that developing a script is a long tedious process requiring running the process many times, and having to reset databases in between. When I first started with bbpress in 2013 I imported a snitz database and it took 24 attempts over 2 weeks to succeed. https://bbpress.org/forums/topic/documented-import-from-snitz-access-database/

    If you’d like me to look at what might be involved as a paid piece of work, contact me via

    Contact me

    @robin-w

    Moderator

    you can amend the topic and reply form templates and put those as hidden fields

    @robin-w

    Moderator

    either

    Reply Subscribed

    or

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form item 6

    @robin-w

    Moderator

    so we need to work out which theme template is rendering the forum pages

    looking at the page you gave me, I see that the template has a div of

    <div id="content-area" class="clearfix">

    This is probably a common div to several files, but we can use it’s presence to track down the file

    so you need to look in your theme (wp-content/themes/%your-theme-name%) for likely files

    If you have notepad++ (or another text editor that will do this) you can download your theme to your computer and do a search across all the files.

    otherwise you might have files called page.php, single.php, content.php, content-page.php etc.

    in each file where you find the <div id="content-area" then add a further class, but call each one something different

    eg

    <div id="content-area myclass1" class="clearfix">
    <div id="content-area myclass2" class="clearfix">
    etc.

    then use the browser inspector and hopefully you’ll find the class repeated in there which will tell you what template it is using

    then come back

Viewing 25 replies - 3,876 through 3,900 (of 14,265 total)