Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,801 through 9,825 (of 32,511 total)
  • Author
    Search Results
  • #156559
    Robin W
    Moderator
    #156552
    Robin W
    Moderator

    ok fro for each menu item

    1. create a wordpress page
    2. put the shortcode for that subforum in it
    3. publish
    4. add to menu or sub menu

    #156546
    siddardha
    Participant

    hello,

    the plugin author helped, here is the code

    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    <div id=”bbp-user-topics-started” class=”myforumtest”>
     
    <div class=”bbp-user-section”> <h2 class=”entry-title”><?php _e( 'Forum Topics Started', 'bbpress'); ?></h2>
     
    <?php if ( bbp_get_user_topics_started( $user_id, 'topics-created') ) : ?>
     
    <?php bbp_get_template_part( 'pagination', 'topics' ); ?>
     
    <?php bbp_get_template_part( 'loop', 'topics' ); ?>
     
    <?php else : ?>
     
    <p><?php bbp_is_user_home() ? _e( 'You have not created any topics.', 'bbpress') : _e( 'This user has not created any topics.', 'bbpress' ); ?></p>
     
    <?php endif; ?>
     
    </div>
    </div>
    sebgates
    Participant

    Hi, I set up bbpress for a charity. Everything is working OK apart from the email notifications. My question: Is there anyway to send out emails which do not contain lots of unwanted characters? When a forum admin creates a post (especially using attachments and paragraph breaks) the email that gets sent looks something like this:

    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”><span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>New Bhakti Marga Logo Announcement</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>Intro</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>As Bhakti Marga approaches its tenth anniversary, the time has come for a new era of change. Bhakti Marga has always stood for the uniting Love of God, transcending all religions and bringing people together from all corners of the globe. Now more than ever is a time of change both inside and outside and it is our mission and goal to be at the forefront of that change, ushering in a new age of love and spiritual growth that is so very needed in this world. With all that in mind, Sri Swami Vishwananda has decided that the logo of Bhakti Marga needs to change to reflect that renewed conviction of change and spiritual awakening.</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”><span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>Symbolism of the new logo</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”>The white horse is a symbol of transformation and new beginnings. It signifies a return to the light from darkness, a journey from our minds to our hearts.<span lang=”de-DE”> Perhaps the most famous use of the white horse comes form the Hindu shastras which claim that Kalki, the tenth avatar of Maha Vishnu, will come riding on a white horse, bringing with him a new dawn and the end of the Kali Yuga. It is exactly that transformation and progression that Sri Swami Vishwananda wishes upon this world and Bhakti Marga is aligning itself to that wish through this new logo. The old logo served to unite us. We believe the new one serves to propel us forwards towards God</span><span style=”font-family: Arial Unicode MS,serif;”><span lang=”de-DE”>’</span></span><span lang=”de-DE”>s Love as one big family.</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>Logo Elements</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>As well as the previously discussed white horse, the new Bhakti Marga logo also contains a few other noteworthy elements. We have now also added the Maha Mantra of Bhakti Marga and the Sri Sampradaya, Om Namo Narayana, to the inner sector of the logo. The Name of God is the greatest and most powerful gift given to us for our spiritual salvation in this age. If we are indeed to usher in a new age then we wish to show the way in which this will be accomplished; through the continuous, loving chanting of the Divine Names.</span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>On the outer petals of the logo you can now find a variety of logos and symbols, each representing a different facet of Bhakti Marga. For example, you will find the logos for Atma Kriya Yoga, OM Healing, Simply Meditation and the Mantra Project as they are the principle techniques and practices that have been given by Swamiji over this first decade of Bhakti Marga. You will also find symbols of meditation and prayer to symbolise our way of life, the spiritual path we have chosen to take under the guidance of our Satguru. The symbols of the world</span><span style=”font-family: Arial Unicode MS,serif;”><span lang=”de-DE”>’</span></span><span lang=”de-DE”>s religions previously used in the centre of the old logo are also now found on the outer petals. Bhakti Marga will always stand for the unity of religions and the new logo will continue to uphold that stance. The remaining five petals at the top of the logo consist of the Bhakti Marga t</span>ilak,<span lang=”de-DE”> Lord Narayana</span><span style=”font-family: Arial Unicode MS,serif;”><span lang=”de-DE”>’</span></span><span lang=”de-DE”>s S</span>h<span lang=”de-DE”>ankha and C</span>hakra<span lang=”de-DE”> and his eternal bhaktas and servants, G</span>aruda<span lang=”de-DE”> and H</span>anuman<span lang=”de-DE”>. These serve as the symbols of our Guru Parampara (lineage), the most important element of Bhakti Marga by far. Only through worship to the Guru are we to ever succeed in our goals. These symbols will serve as a reminder of that for generations to come. </span></span></span></span></p>
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”> <span style=”color: #000000;”><span style=”font-family: Helvetica,serif;”><span style=”font-size: small;”><span lang=”de-DE”>Last but not least, the white horse is seen emerging from a lotus. The lotus is a widely used symbol in spirituality for a good reason. Lotus</span><span style=”font-family: Arial Unicode MS,serif;”><span lang=”de-DE”>’ </span></span><span lang=”de-DE”>grow in swamps and muddy areas, yet they blossom into beautiful and pure flowers. This is the very same struggle we are faced with. We live in a world of illusion and darkness and our only wish is to rise into the light of God</span><span style=”font-family: Arial Unicode MS,serif;”><span lang=”de-DE”>’</span></span><span lang=”de-DE”>s Love. Bhakti Marga will shine through as a lotus amidst the world</span><span style=”font-family: Arial Unicode MS,serif;”><span lang=”de-DE”>’</span></span><span lang=”de-DE”>s darkness. </span>Sri Swami Vishwananda will be ever there to hold <span lang=”de-DE”>our</span> hand<span lang=”de-DE”>s</span> on this journey but the first step must come from our side. Let us join hands as one renewed family and usher in this new age of Love together as one, under the eternal guidance of our beloved Satguru, Sri Swami Vishwananda.</span></span></span></p>
     
    <p style=”margin-bottom: 0cm; widows: 2; orphans: 2;”></p>

    Post Link: http://forum.atmakriya.org/home/topic/awakening-of-a-new-era-sri-swami-vishwananda/

    ———–

    You are receiving this email because you subscribed to the Important News forum.

    Login and visit the forum to unsubscribe from these emails.

    #156528
    jayadevan.online
    Participant

    Hi,

    i am facing exactly the same issue here… When clicking the forum link it gives the 404 error, i checked and tried everything as described in codex and every where else, but no success. and i found @cyclesha had a fix in the website and its working fine now.

    can any one please guide me?

    #156527
    Robkk
    Moderator

    if you talking about the white-space on the left and right sides of the page.

    did you create a bbpress.php file??

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #156524
    Robkk
    Moderator

    if you dont want users to subscribe to forums/topics at all disable subscriptions in settings>forum

    if you dont want users to favorite topics disable subscriptions in settings>forum

    the subscription and favorites sections will disappear if disable both

    you can also copy the file content-single-user.php into a folder called bbpress in your child theme. then delete these lines of code below.

    <?php if ( bbp_is_favorites() ) bbp_get_template_part( 'user', 'favorites'       ); ?>
    <?php if ( bbp_is_subscriptions() ) bbp_get_template_part( 'user', 'subscriptions'   ); ?>
    <?php if ( bbp_is_single_user_topics() ) bbp_get_template_part( 'user', 'topics-created'  ); ?>
    <?php if ( bbp_is_single_user_replies() ) bbp_get_template_part( 'user', 'replies-created' ); ?>
    #156523
    Robkk
    Moderator

    hmmm i see you hid the notice with some CSS for a quick solution.

    you can check and see if creating a bbpress.php file would solve the issue.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    #156522

    In reply to: WordPress dashboard

    Robkk
    Moderator

    see if this works

    add it to your function.php in your child theme or functionality plugin.

    /**
     * Disable admin bar on the frontend of your website
     * for subscribers.
     */
    function rkk_disable_admin_bar() { 
    	if( ! current_user_can('edit_posts') )
    		add_filter('show_admin_bar', '__return_false');	
    }
    add_action( 'after_setup_theme', 'rkk_disable_admin_bar' );
     
    /**
     * Redirect back to homepage and not allow access to 
     * WP admin for Subscribers.
     */
    function rkk_redirect_admin(){
    	if ( ! current_user_can( 'edit_posts' ) ){
    		wp_redirect( site_url() );
    		exit;		
    	}
    }
    add_action( 'admin_init', 'rkk_redirect_admin' );
    #156521
    Robkk
    Moderator

    It doesn’t show all the forum categories. It’s showing up like a blog post/page instead.

    this is common , all you have to do is create a bbpress.php file your bbpress installation.

    heres more instructions on how to create one.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    Why is it showing /forums/forum? I only want it to be for example /forums

    its suppose to be setup that way.

    you can disable the Prefix all forum content with the Forum Root slug in settings>forum, its recommended though.

    Now, if I try to go to http://www.mydomain.com/blog/forums/forum/ to see the whole list of forums like it should be

    you should go to http://www.mydomain.com/blog/forums/

    /forums/ for all forums

    /forums/forum for specific forum.

    #156120
    Divine_Apex
    Participant

    I am currently experiencing a padding issue with mini avatar icon displays. For example, on the last post author among other things:

    [IMG]http://i.imgur.com/YYBQoHX.png[/IMG]

    I am using a custom avatar plugin and it seems users with blank avatars don’t have this padding issue. I have checked CSS and can’t seem to find where to mess with this padding or anything that seems to work.

    I am also using this code in my loop-single-forum file to display the topic title under the last post time

    <?php do_action( 'bbp_theme_before_topic_author' ); ?>
    
    			<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>
    <?php do_action( 'bbp_theme_before_topic_author' ); ?>
    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    			<?php do_action( 'bbp_theme_after_topic_author' ); ?>
    

    My site:
    http://the-divine.net/forum

    #156219
    Chad
    Participant

    Playing around with a test WP install with bunch of plugins I intend to use in production.

    So I installed WP at /blog and installed handful of plugins, notably bbpress and buddypress, yoast seo

    This is the problem:
    http://www.mydomain.com/blog/forums/

    It doesn’t show all the forum categories. It’s showing up like a blog post/page instead.

    This is one of the parent forums:
    http://www.mydomain.com/blog/forums/forum/the-buzz/

    Why is it showing /forums/forum? I only want it to be for example /forums

    Now, if I try to go to http://www.mydomain.com/blog/forums/forum/ to see the whole list of forums like it should be, it redirects me to “forum banners”?

    MY SETTINGS:

    permalinks: post name

    Yoast SEO: %%title%% %%page%%

    .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    Appreciate any help on this. Thanks.

    #156207
    Matt
    Participant

    I tried this and it actually works.

      Place Adsense over single from topic

      That is really simple way to place ads over the single topic of your bbpress forum. You just use ftp to customize the following file

      wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic.php

      Just place your Adsense ads code over or under

      Also you can place that on otherwhere such

      content-single-forum.php
      content-archive-forum.php
      content-archive-topic.php

    gdavide
    Participant

    I’ve successfully installed bbpress2 and migrated every content from the old mingle forum and topics/reply to bbpress, by following these advices:
    https://codex.bbpress.org/import-forums/mingle/

    To rewrite every old mingle topic’s google search to bbpress, i’ve modified the .htaccess file on the root directory as shown below:

    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^forum/forum-group2/discussioni-forum1/(.*)-thread\d+ http://www.mysite.it/forums/topic/$1/ [R,L]
    

    (in my case i’ve only one forum)
    It works!

    #156478
    Robkk
    Moderator

    your registration page is made from BuddyPress.

    unless there is another registration made from the bbPress register form shortcode that is causing the problem.

    you can try deactivating your plugins one at a time and try to find if there is a plugin causing the issue.

    other than that i guess go to https://buddypress.org/support/

    #156474
    TSW
    Participant

    I have multiple forums all secured by a membership-plugin. I would like to create 1 page for all the forums and have the page as such:

    BASIC MEMBERSHIP LEVEL FORUM TITLE
    There are several forums, one each for the different facilitated group. Please note that although all forums are listed, you will only have access to the facilitated group you belong to.
    [forum a shortcode]
    [forum b shortcode]

    ADVANCED MEMBERSHIP LEVEL FORUM TITLE
    There are several forums, one each for the different facilitated group. Please note that although all forums are listed, you will only have access to the facilitated group you belong to.
    [forum c shortcode]
    [forum d shortcode]

    The appearance of the shortcode I would like to be similar to [bbp-forum-index] ….

    List the forum name (link) with (ideally) the # of topics, the # of posts, and the freshness.

    I do not want to see the detail and the box for creating a new topic on this page. The forum link to topic and reply can function as they normally do.

    Is this clear and does anyone know how I can accomplish this?

    #156467
    supremor
    Participant

    The code worked. Now is there a way to remove the text ‘FORUMS’ that was on top of the search bar?

    #156464
    supremor
    Participant

    Thanks for your help. Created the child theme and the code works great. No more dashboard. 🙂

    #156460

    In reply to: Hidden private forum

    Robin W
    Moderator

    from php 5.4 onwards php was stricter when looking at strings and arrays.

    I’ll need to correct the code to work with later php versions

    #156457
    Robin W
    Moderator

    One last thing, do I add the code via the editor or FTP?

    Either is fine, I’d tend to do it via FTP and keep ols and new versions of the function file on your PC

    And is there a tutorial on how to add a child theme?

    This is a wordpress feature

    Just google ‘wordpress creating a child theme’ or ‘wordpress creating a child theme video’ depending on whether you prefer seeing or reading

    How to Create a WordPress Child Theme

    looks a reasonable explanation

    #156455
    supremor
    Participant

    One last thing, do I add the code via the editor or FTP?

    And is there a tutorial on how to add a child theme?

    #156443
    Robin W
    Moderator

    see

    Functions files and child themes – explained !

    but basically at the end.

    #156441
    supremor
    Participant

    Where in the functions file do we add the code?

    #156431

    In reply to: Hidden private forum

    ttmt
    Participant

    Hi Robin

    I have error messages in the plugin as well next to the Activate buttons.

    Dashboard > Settings > bbp Privarte Group > General Settings:

    Under Hide topic and reply counts

    Warning: Illegal string offset 'hide_counts' in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/settings.php on line 414
    

    Under Show Descriptions

    Warning: Illegal string offset 'activate_descriptions' in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/settings.php on line 420

    Under Remove ‘Private’ prefix

    Warning: Illegal string offset 'activate_remove_private_prefix' in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/settings.php on line 426

    #156430
    Robin W
    Moderator

    Wish I was a team !!

    I suspect that this is how it works.

    For participant roles I can use my plugin to tightly control access.

    For moderators, originally moderators could see and moderate all forums.

    I then amended this to allow them to moderate only forums with no group set or with their group set. However this related to moderation, I have sort of presumed that moderators could see other groups and have participant rights in them, just not moderate, as it was moderation that I was controlling.

    I suspect that some users would like it as above, and others with no rights for other private forums, as you desire.

    I’ll take another look at the code to see how easy it is to change, but moderation hits into many places in the core bbpress code, and I’m not sure how easy it would be to be that flexible.

Viewing 25 results - 9,801 through 9,825 (of 32,511 total)
Skip to toolbar