Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 9,776 through 9,800 (of 32,505 total)
  • Author
    Search Results
  • #156624
    Robkk
    Moderator

    do this instead since you want it for all of the bbPress login forms.

    .bbp-login-form {
    	max-width: 270px;
    }

    and you could put the CSS in many places

    a custom css plugin
    jetpacks css module
    your child themes stylesheet
    the bbpress.css stylesheet that should be copied to your child theme in a bbpress folder

    #156621
    supremor
    Participant

    Where do I place the code?

    #156619
    Robkk
    Moderator

    you can see it comes back to normal on very small sizes close to 200 maybe settings a max width for the login form would do the job.

    try something close to this , edit if you want.

    .widget.bbp_widget_login .bbp-login-form {
    	max-width: 270px;
    }
    #156617
    discdemo
    Participant

    hmm, bummer. Thank you though for the code, Doug.
    Perhaps it will come in handy if I don’t just use the wall.
    I might need it.

    Thank you, again.
    jz

    #156616
    Robkk
    Moderator

    if you have WordPress all set up and also downloaded and activated bbPress.

    then follow this article and see if it helps.

    https://codex.bbpress.org/getting-started-with-bbpress/

    if you want more explained articles on how to set up your forums

    there is a step by step 5 part guide on how to setup bbPress

    in codex.bbpress.org/

    still have issues then please reply back

    #156614
    Doug Smith
    Participant

    You can add this code to your theme’s functions.php file to enable the editor.

    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    

    The visual editor is almost essential for the non-technical audience I have on my forum. Unfortunately, it’s not perfect. For example, if someone copies and pastes a previous post to quote it they’ll end up with a bunch of html visible in their post.

    #156612
    dingzj
    Participant

    Spending whole day to figure out the solution of this issue, congrats to @korobochkin for solving this problem.

    Since I’s with WordPress 4.1 and seems it’s have mature multiple sites support, when greping keywords , only these popup, none in the wp-signup.php files.

    grep wp_signup_location * -r
    wp-admin/includes/ms.php:				$sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
    wp-includes/canonical.php:				$redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
    wp-login.php:		wp_redirect( apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) );
    

    Can you put your code for wp-signup.php page-activate.php at https://gist.github.com/ and give a link here?

    #156607
    jeffacubed
    Participant

    @korobochkin – you’re 100% correct, in that there should be no difference between sub-domain & sub-folder setups for making this work as you described.

    If you could share/paste the actual code for the req’d changed files – that would be wonderful!

    If for whatever reason the actual code can’t be pasted here on the forums, you can always email the files (if you like) to me ( cubedit {at} jeffacubed {dot} com )

    спасибо
    -J

    #156606
    Nicolas Korobochkin
    Participant

    I don’t have experience with subfolder installs but I think there is no difference between subdomain and subfolder installs for this case. I can publish my code but its looks like default wp-signup.php and wp-activate.php with small changes like few <div>, additional CSS classes and commented few lines of code.

    At first glance this two files looks messy and hardcoded but you can Folding all functions and comments in code editor.

    #156600
    jsantana
    Participant

    erm, yes, pretty much everything web relate, but not the language itself ‘PHP’. Also not an expert with wordpress. Just asking to get step by step as I’ve seen answers here with just code, without explaining where to insert it.

    #156599

    In reply to: White screen "Blocked"

    cooshtee
    Participant

    I am encountering exactly the same issue as Divine_Alex

    It’s working fine on my iMac but on my iPad I sporadically get the white screen saying blocked when you try and login or register via the shortcode pages.

    My client gets the white screen on PC and Mac desktops sporadically too.

    The inconsistency makes it very hard to debug.

    I’ve tried turning off all plugins.

    Does anyone have any ideas?

    Site URL is: http://www.blesmaforum.org

    Cheers

    #156597
    Robin W
    Moderator

    ok, so how tech savvy are you do you know

    1. how to create a notepad/notepad++ file and copy/paste code into it?
    2. FTP this to your wordpress site?

    Come back and let me know

    #156589

    In reply to: Hidden private forum

    Robin W
    Moderator

    No leave it at 2.5.2 – might have been an issue with you mamp.

    The reference to php 5.4 being stricter I found seemed to indicate that there was an issue in certain circumstances, so unless it is a firm problem I don’t want to alter code.

    I know which files I changed (only 2) and will keep this as a reserve in case.

    Thanks for coming back ! much appreciated !

    #156588
    jsantana
    Participant

    Hello, I’m new to wordpress and bbPress and I’m trying to find an option to close topics after a some time, for example, after 2 days the topic was created.

    How may I do this? Do I have to edit the code? If so, can someone explain step by step, as I have never worked with PHP before.

    Thanks.

    #156577
    jeffacubed
    Participant

    I’d say @korobochkin – nailed the solution on this lingering problem with sub-site (only) user-registration, bbPress & multi-site!! Any chance you’d be able to share the exact code/steps you took to resolve this?

    It sounds like hooking into the wp_signup_location filter opens the door 🙂

    I’ve been trying to work through the steps/logic that Kolya has shared – but I’ve yet to make the entire piece work (though I know it will, eventually)

    -J

    #156574
    Asitha
    Participant

    Hi there,

    We have a forum using bbPress and have set a number of forums to “Private”, and it has been working for quite some time. Normally if a person who is not logged in visits the forums page, it would show the message from the feedback-no-forums.php file, however now it doesn’t display anything at all. Just a blank page.

    Looking at the HTML code that’s loaded, nothing within the container is loaded either which is strange. However, if I set one of the forums to public, the forum shows.

    Any suggestions?

    #156573

    In reply to: Custom Forum Layout

    TSW
    Participant

    Thanks Robin – close but I need to show individual forums, not topics.

    This is roughly what I need:

    Forum Topics Posts Freshness
    21CL – Group A 2 4 2 weeks, 1 day ago
    21CL – Group B1 3 3 2 weeks, 1 day ago

    etc

    This is pretty much what the built in shortcode [bbp-forum-index] does … I just need to be able to pick the individual forums as they are listed on different student-classroom pages.

    Any thoughts?

    #156565
    Robin W
    Moderator

    Try adding this to your functions file

    function change_search() {
    $args['posts_per_page'] = 50
    return $args;
    }
    
    add_filter('bbp_before_has_search_results_parse_args', 'change_search' );
    
    

    where 50 is the number you want displayed

    I haven’t tested, if it doesn’t work come back and I’ll fix it

    #156562

    In reply to: Custom Forum Layout

    Robin W
    Moderator

    this plugin might be what you need

    bbp additional shortcodes

    #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/

Viewing 25 results - 9,776 through 9,800 (of 32,505 total)
Skip to toolbar