Forum Replies Created
-
In reply to: Adding border bottom to widgets
your welcome
In reply to: Do you guys think this is possible??yeah i might have to
but before that im going to contact the developer , because they have this plugin where you can implement it into wordpress comments and im sure that an akismet integration would be a hell of a feature on wordpress comments or other post types.
In reply to: Adding border bottom to widgetsit shouldnt be each page…just each different sidebar you use if you use a plugin like custom sidebars .
you can either enter each css code for each instance of the widget
or you can give each instance of the widget a certain css idif you want to give each recent topics widget a certain css id
download the plugin “widget css classes”
in the options of the plugin you can activate “show additional field for id”
then you can just 1 css id for where ever you place the widget
you input your id in the widgets section , in each widgets options
it should show fields to input your custom fields like this
CSS CLASS:
CSS ID:so if i enter
CSS CLASS:
CSS ID: custom-idi would have to add this css code
#custom-id ul li {
border-bottom: 1px solid #F1F1F1;
}In reply to: css advice needed for forum posts on mobile deviceyeh i have the layout your talking about but i have it on my site for whatever width the screen is.
heres a pic of a single reply
https://docs.google.com/file/d/0B_Ue9ryY5cmYU3BHMDRkNzJsNU0/edit
and whenever the screen gets smaller i just change the size of the fonts and the avatar size
i will share the template files and css on github some time later though
In reply to: css advice needed for forum posts on mobile deviceim working on a good layout that should be great on mobile devices
its pretty much just turning attributes like freshness, posts, voices, and topics into rows instead of columns.
And using topic reply space wisely , and basically turning bbpress replies VISUALLY into a comment system
I might share my template files and css in the future
but i did check out your site and see that your using buddypress too
so you could try this plugin
https://wordpress.org/plugins/buddymobile/
I havent tried it yet so i cant really say much about it though.
In reply to: Real anonymous posting in bbpressSo where do we put this code, some might ask?: This is a plugin, so we can create a file like /wp-content/plugins/empty-anonymous-replies-in-bbpress/empty-anonymous-replies-in-bbpress.php. Then we visit the plugin section in the backend and activate it. This code should also work from the functions.php file in the current theme directory. I hope this helps the users, that aren’t sure what to do with this code.
you make a .php file copying the entire code they published
or copy after
/** * Plugin Name: Empty Anonymous Replies in BBPress * Plugin URI: http://wordpress.stackexchange.com/a/133420/26350 */and add that code to functions.php if you hopefully have a child theme
In reply to: Adding border bottom to widgetslook up the css in inspect element
and youll see that when you look at http://desimedicos.com/forums/view/latest-topics/
on the recent forum topics widget the id of the widget is #bbp_topics_widget-8 now
so now you would have to also add the custom css
#bbp_topics_widget-8 ul li {
border-bottom: 1px solid #F1F1F1;
}look for changes like that on each page you have those widgets
In reply to: Adding border bottom to widgetson my end whenever i used #sidebar and .widget it didnt work
so
#bbp_topics_widget-4 ul li {
border-bottom: 1px solid #F1F1F1;
}#bbp_topics_widget-4 ul li {
border-bottom: 1px solid #F1F1F1!important;
}#bbp_topics_widget-4 li {
border-bottom: 1px solid #F1F1F1;
}should all work
In reply to: Adding border bottom to widgets#bbp_topics_widget-4 ul li {
border-bottom: 1px solid #F1F1F1;
}they work on my end
do
#bbp_topics_widget-4 ul li {
border-bottom: 1px solid #F1F1F1!important;
}or clear your cache
In reply to: Adding border bottom to widgets#bbp_topics_widget-4 li {
border-bottom: 1px solid #F1F1F1;
}i think this is what your looking for?
In reply to: Adding border bottom to widgetsgive me a site link and ill check it out
In reply to: Adding border bottom to widgetsread this on finding the widget class and id and customize it
if you want to use a custom class and id for the widgets then get this plugin
In reply to: Has anyone used the bbpress ajax replies plugin??i see this plugin will work when enable threaded replies is activated.
plugin developer should have put that on the read me text file
In reply to: Changing Font Color & Sizeuse css to make your changes
everything is pretty much in there
this is very touching
thanks for the information
In reply to: I want to add ads a lots of ads!!2. Below Each of the reply
3. Interstilies add before opning forum.
users are going to love adblock then
i suggest that you dont bombard them with ads everywhere , show at least 2 – 4 on just one page
use this plugin
In reply to: display labels based on topic status?solved my own problem
found this
instead of using function.php
i threw this into loop-single-topic ,
the way i have my topics arranged it shows below the titlefor closed label
<?php $topic_id = bbp_get_topic_id(); if ( get_post_type( $topic_id ) == bbp_get_topic_post_type() && bbp_is_topic_closed( $topic_id ) ) echo '<span class="closed">[CLOSED]</span>'; ?>for sticky label
<?php $topic_id = bbp_get_topic_id(); if ( get_post_type( $topic_id ) == bbp_get_topic_post_type() && bbp_is_topic_sticky( $topic_id ) ) echo '<span class="sticky">[STICKY]</span>'; ?>In reply to: custom forum freshness blocknevermind i pretty much got it
looked at https://bbpress.org/forums/topic/freshness-link/
used
<?php bbp_forum_last_topic_title(); ?>to get the title of the last recent topicand some code i had that robin gave me some time ago
end function is this
<div class="bbp-forum-last-topic-name"><a href="<?php bbp_forum_last_topic_permalink(); ?>" title="<?php bbp_forum_last_topic_title(); ?>"><?php bbp_forum_last_topic_title(); ?></a></div> <span class="bbp-last-post-by-author"><?php printf( __( '%1$s', 'bbpress' ),bbp_get_forum_freshness_link( array() ) ); ?></span> <?php _e(' by ', 'bbp'); ?> <span class="bbp-forum-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>@robin-w Thank you very much!!!
@robin-w its not anything additional
im just trying to get the same function cyberchimps forums is using
@robin-w if it works
i dont know any other ways to make a function find out if the topic author and reply author have something in common , then in the end result display the label “topic author”
after – i did find an example of a bbpress forum using exactly what i want though
http://cyberchimps.com/forum-topic/full-width-bbpress-forum/page/2/
@netweb thanks for the reply
i might do that function if i cant get the exact function im looking fori did find an example of a bbpress forum using exactly what i want though
if you look at any other participant in the forum they do not have the topic author label
so its exactly what im looking for.
im trying to think of an idea of a function that would do that, but i have no idea how to make a function that does
if topic author is the same as reply author display label above reply author avatar, or below forum role. IF not the same dont display anything.
@robin-w hey thanks for helping me out
and i was using 5 pages as an example
i would like the topic starter label throughout a topic , for whatever number pages it may have
so should i basically use this
//This function adds the author to the reply function reply_display_author () { if( get_post_type() == 'reply' ) { echo '<span class="bbp-topic-started-by">' ; printf( __( 'Topic started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) )) ; echo '</span>' ; } else { return ; } } add_action ('bbp_theme_before_reply_content', 'reply_display_author') ;with this function instead??
<?php if ( bbp_thread_replies() ) : ?> <?php bbp_list_replies(); ?> <?php else : ?> <?php global $countr ; $countr=-1 ; ?> <?php while ( bbp_replies() ) : bbp_the_reply(); ?> <?php $countr ++ ;?> <?php bbp_get_template_part( 'loop', 'single-reply' ); ?> <?php endwhile; ?> <?php endif; ?>In reply to: bbpress topic breadcrumbs (yoast) messed up??Nevermind ill just remove the breadcrumbs from bbpress pages and style the bbpress breadcrumbs to be like my yoast ones