ChrissiLisa (@chrissilisa)

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • @chrissilisa

    Participant

    yes i am sure … replies are not possible in this case

    In reply to: Picture Upload

    @chrissilisa

    Participant

    I found GD “bbPress Attachments”

    when I upload an image and edit the topic, the files are not visible anymore.

    Is it possible to configurate the path of uploades images ?

    @chrissilisa

    Participant

    i found this solution:

    <li class=”bbp-body”>
    
    <?php while ( bbp_topics() ) : bbp_the_topic();
    
    if(isset($_GET[‘submit’]) && !empty($_GET[‘ort’])){
    
    $ort = get_post_meta( bbp_get_topic_id(), ‘ort’,true);
    
    if($ort==$_GET[‘ort’]){
    
    //do_action( ‘bbp_template_before_topics_loop’ );
    bbp_get_template_part( ‘loop’, ‘single-topic’ );
    
    }
    
    }
    
    else{
    do_action( ‘bbp_template_before_topics_loop’ );
    bbp_get_template_part( ‘loop’, ‘single-topic’ );
    
    }
    
    endwhile; ?>

    The problmem is, that when I have 2 results the 2 topic are broken to 2 pages (I see an pagination für evtry topic) – how can I avoid this ?

    @chrissilisa

    Participant

    Thanks!

    @chrissilisa

    Participant

    i want to ensure, that a user can post only one topic, so i have to check if the user has just posted to make the form unvisible

    @chrissilisa

    Participant

    thanks

    @chrissilisa

    Participant

    something like update_post_title ?

    @chrissilisa

    Participant

    this works:

    $topic_id = bbp_get_topic_id();
    $forum_id = bbp_get_topic_forum_id( $topic_id );
    $forum_name = bbp_get_forum_title($forum_id); 	
    
    if(stripos($forum_name,'baufinanzierungsberater')!==false){

    … now there is still the problem with the different title

    @chrissilisa

    Participant

    Yes it does,

    but I only need it for this forum.

    Another question, how can I set “$value1+$value2” automaticly as topic title ?

    I dont need the topic title field…

    Thanks,
    best regards
    Lisa

Viewing 9 replies - 1 through 9 (of 9 total)