Forum Replies Created
-
In reply to: How to add Topic Counts and Reply Counts Anywhere
Take a look at the below link as this works for a logged in user. The three shortcodes should help achieve what you are looking for.
In reply to: How to add Topic Counts and Reply Counts Anywherebbp-Style-Pack has the option ‘Topics Counts’ which adds the number of Topics and Replies posted below a forum members profile picture which is visible when you look at posts and replies etc.
Note sure if this is what you were looking for etc. ?
In reply to: BBP-Style-Pack change Forum Display for Mobile viewsSo finally worked out how to achieve as above using the below CSS. and hopefully this helps others.
Now just have to remove some pesky comma’s from sub forums list display that have appeared.
/* small devices (phones, 400px and down) */
@media only screen and (max-width: 400px) {a.bbp-forum-link {
display : block !important ;
}In reply to: BBP-Style-Pack change Forum Display for Mobile viewsI do not see differently, Currently I see list view for both Mobile and Laptop.
Ideally looking to change only mobile view to VERTICAL so my Forum icons all line up exactly like Vertical View Mobile above.
Hope that makes sense.
In reply to: BBP-Style-Pack change Forum Display for Mobile viewsHi Robin
Your test forum I believe is arranged as bbp style pack > Forum Templates > Alternate Forum template 1
My Forum is arranged as bbp style pack > Forum Templates > Default Forum Template > Click to Select
Then under bbp style pack > Forum Display > (Item 1 checkbox is not Selected)My Forum presents all Forums in a horizontal format, which is great for views on Desktop / PC etc.
But what I am looking to achieve is to change that horizontal format to a vertical format when somebody views my forums on a mobile device < 400 dpi.Horizontal View Mobile
https://uktechhub.com/wp/wp-content/uploads/2024/08/horizontal-view.pngVertical View Mobile
https://uktechhub.com/wp/wp-content/uploads/2024/08/vertical-view.pngHorizontal View when bbp style pack > Forum Templates > Default Forum Template > Click to Select
And looking to change this view to Vertical for mobile screens
https://uktechhub.com/wp/wp-content/uploads/2024/08/horizontal-view-template-horizontal.pngMy Site URL: https://uktechhub.com/forums/
Thank you π
So I have worked out how to modify the BBPRESS main forum menu ‘Topics and Posts’ titles to now show Icons as per Topics Voice and Topics Replies (as above).
I then modified the Loop-Forum.php file and edited as described above for the Loop-Topics.php but changed the …
<li class=”bbp-topic-voice-count”>
<li class=”bbp-topic-reply-count”>for
<li class=”bbp-forum-topic-count”>
<li class=”bbp-forum-reply-count”>This does remove the menu bar ‘Topics and Posts’ titles but alas this seems to cause a clash (maybe) with BBP-Style-Pack as the main forum page becomes distorted.
Hi Robin
An update to say the CSS worked perfectly and now I have Icons on my forum heading menu where there was the Voices and Replies wording.
I am going to use the above CSS as a start and see if I can also achieve the same for Topics and Posts on the forum heading main front forum page.
Cheeky link to my site so others can see progress also π
https://uktechhub.com/forums/forum/wireless-routers-modems/asus/
Thanks Robin
I have already created a directory on my theme called βbbpressβ so will add and then mod the loop-topics.php and add the custom css as advised.
Your guidance most appreciated as always and hopefully this will be useful for others also π
P.S. Shame you cannot add this to your BBP Style Pack at some point in the future as I am sure lots of BBPRESS Forum owners/dev’s would like this option π
Re-bump encase anybody can advise π
In reply to: No forum sidebarVery strange, best next step is to see if any plugins are causing a conflict, if the site is not live, disable one plugin at a time and see if the BBPRESS side bar appears
In reply to: No forum sidebarInteresting, have you activated the ‘bbPress WP Tweaks’ plugin ?
If so, then go to Dashboard > Settings > bbPress WP Tweaks > BBPRESS Side bar and for ACTION select REPLACE. for TARGET select SIDEBAR WIDGET AREA.Then the BBPRESS Widgets sidebar should be accessible if you go to Dashboard > Appearance > Widgets > BBPRESS Sidebar
If that does not work, you may ave to try with a different theme
In reply to: No forum sidebarI use the free version ‘bbPress WP Tweaks’ which adds a dedicated BBPress sidebar to all forum pages including any searches.
Its a little outdated, but works well for myself.
My dedicated BBPRESS Sidebar is on the Right:
https://uktechhub.com/forums/forum/mobile/hope this helps π
Ignore
Post to original Q and A as formatting is not correct for PHP code
https://wordpress.org/support/topic/add-xootix-login-to-bbpress/#post-17505394
So as a slight deviation, I managed to resolve how to add a login link to βYou must be logged in to reply to this topic.β and not βYou must be logged in to create new topics.β.
I use the login plugin (paid) created by Xootix and I asked them for the necessary code (PHP) to add a link to the βYou must be logged in to reply to this topic.β or at least enable the wording to be clickable.
Below is PHP code provided by Xootix and I added it to the Themes functions.php and this works very well
add_action( ‘wp_footer’, function(){
if( is_user_logged_in() ) return;
?><style type=”text/css”>
.bbp-no-reply .bbp-template-notice{
cursor: pointer;
}
</style>
<script type=”text/javascript”>
jQuery(document).ready(function($){
$(‘body’).on( ‘click’, ‘.bbp-no-reply .bbp-template-notice’, function(){
$(‘.xoo-el-login-tgr’).trigger(‘click’);
} )
})
</script>
<?php
} );I did try a href=”https://uktechhub.com/login” title=”login”>Login</a with <> at each end, but this did not seem to work
Any guidance on the code I need to add would be most welcomed after the You cannot create new topics.
Thanks
In reply to: Editing the look of closed topics…Is there any update on this thread, looking to achieve exactly the same by adding a Locked / Closed tag (icon) when a topic is closed ?
I have already used the code to ensure text does not turn Grey, so just looking to add some form of symbol so forum users can see topic thread has been closed
Thanks
BTW – for reference for others, code to stop Closed Topics text changing to Grey is …
#bbpress-forums .status-closed,
#bbpress-forums .status-closed a {
color: #000 !important;
}In reply to: bbP Signature – DevelopmentGD bbPress Tools is what I use and works well for my Forum members to have individual signatures etc.
Not tried it with Hyperlinks.In reply to: BBPRESS Feeds : All Recent PostsI have manged to come up with a way to achieve what I want and thought I would share it with others on this BBPRESS forum.
So I wished to show an activity stream that lists the most recent post /replies, which can include many posts from the same topic as the standard widget does already, but also expand the each post so it is readable by default (like a preview window) ?
So I already use GD Power Search for bbPress and have created a custom search parameter via hyperlink which shows the newest post regardless of where they may come from as either a single topic or multiple, the key is post post/reply freshness.
The link I used (added to menu) is (https://uktechhub.com/forums/search/-/?gdpos=power-search-request&gdpos_search_types=reply) which performs a search each time for newest post/reply and displays the text box.
A crude workaround, but it works π
In reply to: BBPRESS Feeds : All Recent PostsI forgot to mention, I use the widget (BBPRESS- Recent replies) which work well but am looking o achive the same results via a MENU drop down (shortcoode) or simular hyperlink.
I use the following to show latest Topics – https://uktechhub.com/forums/view/latest-topics/
Looking o achieve simular for Replies ?
In reply to: Bbpress – caching mobile pages plugin@robin-w on the other topic is very knowledgeable, turn off all cache plugin and see if problem is still there.
Are you using any cookies plugin, as this I have had issue with ?
have you always had this problem, as maybe a theme issues, any chance of you trying a different theme, just for testing ?
In reply to: Bbpress – caching mobile pages pluginIs the problem relating to you as an Moderator when you are logged in / out or as a forum user (participant) logged in/out ?
In reply to: Bbpress – caching mobile pages pluginI found W3 Total cache did not offer any perfomance improvements and I actually had less visitors when using the cache plugin.
The plugin works and does cache certain areas, but I am working with my hosting company to ensure server side cache is best, as nothing really else I have tried isas good as i was hoping (for BBPRESS)
Take a look at https://bbpress.org/forums/topic/bb-press-conflict-with-w3-total-cache/
in particular the below options to add to the page cache>never cache –
/forums*
/forum*
/topic*
/topics*
/reply*