Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 8,326 through 8,350 (of 32,505 total)
  • Author
    Search Results
  • #164269
    folgerj
    Participant

    Well I created a page titled activate with nothing on it… I can’t find any documentation that details if there needs to be a shortcode on that page but mine is blank. I’m still getting new users but I don’t know what they are seeing. I created one user to see the process and I did see a 404 page. I still saw on the same page a link to continue the log in process…

    This is the downside so far. In the Docs there should be a description of each of the required pages and what they do as well as what I need to do with them… I’m still not sure I’m doing this right.

    http://www.autumnadvice.com

    #164257
    PinkishHue
    Participant

    Aah just realised of course that code is showing just the *last* reply, not listing all replies, so I will keep tweaking it and update if I can get it showing *all* replies.

    #164256
    PinkishHue
    Participant

    @julia_b (If you’re still waiting for a reply!) – you need to put this in your functions.php file, more info here: https://codex.bbpress.org/functions-files-and-child-themes-explained/

    This works great, thanks so much for sharing this code!

    I’ve also managed, with very little tweaking, to get this displaying replies under topics within the topics list (this is very rough with some bits commented out but pasting here in case it helps someone)

    
    // https://bbpress.org/forums/topic/how-to-add-latest-reply-or-topic-to-forum-list/
    function jagreplies_add_last_reply() { { 
     $jagreplies_last_reply_id = bbp_get_topic_last_reply_id();
     //$jagreplies_last_topic_id = bbp_get_forum_last_topic_id();
    
    $new_args = array(
        'post_type'=> 'reply',
        'p' => $jagreplies_last_reply_id
    );
    $post_title_args = array(
        'post_type'=> 'topic',
        'p' => $jagreplies_last_topic_id
    );
    $other_args = array(
        'post_type'=> 'topic',
        'p' => $jagreplies_last_topic_id
    );
    $jagreplies_query = new WP_Query( $post_title_args );
    $nest_query = new WP_Query( $new_args );
    $another_nest_query = new WP_Query( $other_args );
    
       if ( $jagreplies_query->have_posts() ) : while ( $jagreplies_query->have_posts() ) : $jagreplies_query->the_post();
         $this_post_id=$post->ID;
         $this_post_permalink= get_permalink(); ?>   
                                 
         <!--<a href="<?php //echo $this_post_permalink; ?>">-->
    
    <?php endwhile; 
       endif; wp_reset_query();
    
       if ( $nest_query->have_posts() ) : while ( $nest_query->have_posts() ) : $nest_query->the_post();
         $this_post_id=$post->ID;
         //$this_post_title= get_the_title();
         //$this_post_content= get_the_excerpt(); 
         $this_post_content= the_content(); ?>
    
         <h1><?php echo $this_post_title; ?></h1></a>
         <div class="the_content"><?php echo $this_post_content; ?></div>
                         
       <?php endwhile;
    elseif ( $another_nest_query->have_posts() ) : while ( $another_nest_query->have_posts() ) : $another_nest_query->the_post();
         $this_post_id=$post->ID;
         //$this_post_title= get_the_title();
         //$this_post_content= get_the_excerpt();
         $this_post_content= the_content(); ?>   
                                      
         <!--<h1><?php //echo $this_post_title; ?></h1></a>-->
         <div class="the_content"><?php echo $this_post_content; ?></div>
                         
       <?php endwhile; 
       endif; 
        }} 
    // Hook into action
    add_action('bbp_theme_after_topic_freshness_author','jagreplies_add_last_reply');

    This is extremely useful in creating a ‘Facebook’ style site where all content can be displayed on one single page (I know, Facebook, yuck! But it’s what ‘the people’ like)

    Now I just need to try to get the bbpress Ajax Replies plugin working in conjunction with this so people can post and reply from that single page. Interesting!

    **edited to add – if using my code above you may just want to change the last line ‘bbp_theme_after_topic_freshness_author’ to a different hook depending on where you want to display it, I am using customised templates but I’m not sure how it would look loading the content there if using the default templates

    #164244

    In reply to: Importing from WBB4

    Stephen Edgar
    Keymaster

    What happens if you logout and log in again, also fully refreshing the import page would do the same thing, if you’ve left the import page open for too long without doing anything then the MySQL connection is dropped from the database and is most often the cause of only seeing Starting without any other error.

    #164243

    In reply to: Importing from WBB4

    sammmmy
    Participant

    2000user…. 5000threads… 150000posts… If this could be important.

    I used 1 line/sec
    The field says starting and does nothing more

    #164237
    Robkk
    Moderator

    try some troubleshooting.

    Troubleshooting

    install bbPress on your site first if you need more help.

    #164225

    In reply to: Importing from WBB4

    sammmmy
    Participant

    i thought so and used this code:

    https://gist.github.com/anonymous/526a8d9913e872ad5a43

    the import was starting but not more…
    I am still helpless

    #164217
    seo india
    Participant

    Most of the Marketing Bots are advance enough to break through any type of Captcha Code. The real issue is not pondering over your captcha code, but you need to make your login/registration process secure with additional questions such as

    What is the 3rd character in my Domain after www. ?

    As far as math captcha is concerned, it can be easily cracked by Marketing Bots. You need to create your own custom question and this will surely help to get rid of automated registrations.

    I was handling wordpress blog for 1 client and every day I used to get around 10-50 comments. Ultimately I had to block the commenting feature. Spamming is really bad form of marketing.

    Sam Rohn
    Participant

    the bbpress search code posted above by robkk works fine for me with wordpress 4.2.2 + bbpress 2.5.8, shows expected bbpress topics and replies in wp search results for admins, non admin members, and non logged in users

    also respects posts hidden by s2member bbpress level restrictions

    sam

    #164202

    In reply to: Importing from WBB4

    Stephen Edgar
    Keymaster

    in wbb4 there is no salt…

    Yes, if that salt field is not in the user table then delete that block of code from your custom script.

    #164199

    In reply to: Importing from WBB4

    sammmmy
    Participant

    could it be the there is a problem with the user import?

    in wbb4 there is no salt

    https://gist.github.com/anonymous/bb7ddafb17dc41aa8e00

    #164192
    Stephen Edgar
    Keymaster

    @susfse You are using define( 'WP_DEBUG', true ); and because of this one of your plugin or themes is doing it wrong and bbPress is informing you of that, to fix the issue start deactivating each of your plugins until you no longer see the message, then you will have the name of plugin causing the issue, you can then contact the plugin author about fixing the issue. If it’s not a plugin, switch your theme to Twenty Fifteen to determine if it’s your theme.

    #164182

    In reply to: dots bbpres theme

    Robkk
    Moderator

    Use this Custom CSS

    #bbpress-forums ul li {
      margin-left: 0;
      text-indent: 0;
      list-style: none;
    }
    #164175

    In reply to: Importing from WBB4

    Robkk
    Moderator

    well for the wbb1_post it looks right.

    #164174

    In reply to: Importing from WBB4

    sammmmy
    Participant

    Thanks for your help.
    I think that was correct, because in wbb3 it was wbb1_1_post

    …and in WBB4 it is wbb1_post

    or am i wrong?

    #164164
    Robkk
    Moderator

    I think editing the bbPress templates removing all instances of bbp_author_link() and bbp_reply_author_link() would be what you are looking for.

    You can also edit the loop (like loop-topics.php) files to remove the text that says Author and Posts, or use some CSS.

    Theme Compatibility

    #164162
    Robkk
    Moderator

    Follow anything that is listed on this WordPress Codex guide

    https://codex.wordpress.org/Common_WordPress_Errors#Internal_Server_Error

    #164159

    In reply to: Bulk Forum Creation

    Robkk
    Moderator

    You can kind of do the same process that is mentioned here.

    Creating Test Data

    And you could possibly use a plugin to create forums too like this one

    Test Data for bbPress – Plugin

    #164158
    Robkk
    Moderator

    This should just change it to something like

    1 hour ago/26 minutes ago/5 days ago/8 months ago/2 years ago

    Layout and functionality – Examples you can use

    #164153
    Robkk
    Moderator

    However I have topics associated with forums and if you click on the forum the topics do show (Introductions – for example has a topic in it). But even though the topic shows once the correct forum is clicked the notification banner at the top states “This Forum is Empty”

    Hmm try some troubleshooting , clear cache run repair tools.

    Troubleshooting

    #164144
    folgerj
    Participant

    I’m using weaver extreme, current WP install and current Buddy press install and BPress install.
    Over all the site is working http://www.autumnadvice.com/ and I think looks good. But I have a question about two components that I apparently have ignored.
    I can click repair and register and activate are labeled as none. I created a login/registration page and put the login shortcode on it and put it in my menu.
    When I link register to this page, and save, the page disappears from the menu and from the list of pages. I don’t see anything in the documentation about how to call or link to these functions but I feel I’m missing something that I should be doing.

    I don’t see anything on Activate at all??? what is the purpose of it?

    Also If anyone wants to give feed back on how I’m implementing so far I would love it.. I don’t see a listing but I think if the owner/moderators created a list of what they see as best practice forums, it would help us to get ours off the ground. If you had under pimp your press a separate topic where folks can say what they are using as plugins and CSS and so forth… might be there already but searching for it is not clear… Maybe I’m lazy.. 🙂 Thanks

    Stagger Lee
    Participant

    Ah OK. You can find hundred of excuses. Bit you know as good as I know bbPress is lacking huge behind other forum scripts.
    At the end it is your time, you code for nothing if people dont use bbPress.

    All those names of developers are very active in core community. Developers of bbPress plugins are not.
    Either they abandon plugin and lose lust, dissapear.

    Please no excuses. Nobody force you do one way or other. It is up to you. But I have seen infinite number of times Users asked you to implement those plugins in core and you ignored it. Why it has to be plugin Author making such wish ? Despite “or” in sentence.

    OK, you personally dont have time and it is to be respected. Make some internal discussion and ask other bbPress developers if they have time to adopt some plugin(s).

    Give us later a raport how it all goes and stands.

    Stephen Edgar
    Keymaster

    A year or two ago we had lots of translation issues with bbPress, to fix this I got en_AU (English Australian) of the ground and translated all the things, WordPress, BuddyPress and bbPress and help out on the #polyglots team https://make.wordpress.org/polyglots/

    The string I translated to test was the Pending string replaced with stickfinger for en_AU:

    https://translate.wordpress.org/projects/bbpress/dev/en-au/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=196793&filters%5Btranslation_id%5D=9251229

    I then downloaded the .po and .mo files (at the bottom of that screen you can export these) and replaced my en_AU bbpress-en_AU.mo/bbpress-en_AU.po files in /wp-content/languages/plugins

    What happens if you export the .po/.mo files from /bbpress/2.5.x/pt-br/default?

    Also make sure your files are named bbpress-pt_BR.mo and bbpress-pt_BR.po

    Stagger Lee
    Participant

    You noticed I am not asking all this will be in the core and force people parse all those lines of code if they dont want it or dont need it. Just as it is a GPL take ownership from todays developers, or cooperate with them as co-maintainer Author.

    Fast few of them should be in the core definitelly.

    Stagger Lee
    Participant

    Here is a list in my opinion should have under Author names at least one nam of bbPress core developers. Not of things on list has anything to do with me personally, just using other popular forum scripts as reference.

    – Live preview (live or button for another window/popup)
    – Report content (reply)
    – Ignore User
    – bbPress moderation panel separate from backend
    – Notifications
    – Make topics/forums read, unread (dont know if it is already in the core)
    – bbPress TinyMce plugin
    – Reply titles
    – View counts
    – Topics for posts (very important even if not used on all installations)
    – Online / Offline status
    – bbPress Polls (not shortcode based)
    – Attachments
    – Move topics / replies between subforums
    – Avatar management
    – Like / Vote topics, replies (I personally would never use this one, but..)
    – New plugin that makes it easy to add custom fields and add them where you need (this one is not referenced by other forum scripts).

    And some more, other people can have other lists. Most important is that at least one bbPress core developer stand on Author list and guarantee plugin will work with latest bbPress version. Not in same minut maybe, nobody is a Superman, but few days after new bbPress version got out.

Viewing 25 results - 8,326 through 8,350 (of 32,505 total)
Skip to toolbar