Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,251 through 10,275 (of 32,522 total)
  • Author
    Search Results
  • #154079
    Robkk
    Moderator

    1. the login issue , i cant do much about since its about the design of bbpress.org , i can pitch some desgin ideas like just showing login and register links in the admin bar instead of the anonymous user profile dropdown so that it could be more like the wp admin bar as it is now.

    2. i dont think bbpress login shortcode/widget have a referrer login redirect , use this plugin to get that kind of functionality.

    https://wordpress.org/plugins/peters-login-redirect/

    if it doesnt work , i dont know how else to help you on this issue.

    3. i think you should create a new topic for this, i dont really know much about this.

    #154078
    Robkk
    Moderator

    @suntura

    you have to wrap the loop with pagination code and divs manually

    like for example in content-single-forum.php, around the loop originally has the get template pagination kind of code, you have to replace the first one above the loop with the php code for the count, and the below with the pagination links.

    like this.

    <div class="bbp-pagination-count">
    
    		<?php bbp_forum_pagination_count(); ?>
    
    	</div>
    
    			<?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    
    <div class="bbp-pagination-links">
    
    		<?php bbp_forum_pagination_links(); ?>
    
    	</div>  

    you have to make sure you are choosing the right pagination set up for each content single file template.

    also make sure you have copied the templates over to your child theme so you can edit them with no problem.

    #154075
    jlaks
    Participant

    Thx Rob,

    Missed it as well my eyes are weary. Thank You for the quick response. Setting new forum for my eccomerce site https://www.boatpartsforless.com/. Learned quite a bit about bbPress in a day. Last thing really needing attention before it goes live is a login re-direct and one piece of code color of font forum titles. Really like bbPress but two a few quirky things.

    First: when I registered today for bbPress forum I really had to look for log in then finally figured out it was the icon top right. Seems like logging in and registering should not take that much effort.

    Second: Quirk. After log in site does not redirect back to page you where on. That disappointed me earlier today when searching for info and had to register to add to this topic. Again while I am really liking bbPress so far, seems weird two paramount conveniences are not incorporated in out of the box.

    Last one: is a little scary. If someone inputs incorrect log in information it redirects to WordPress main login in screen. Really have to work on that one before forum goes live. While most hackers know where log in in is for WordPress sites still seems stupid to advertise it like that.

    Or it could just be me, frustrated with having to learn something new.

    #154073

    In reply to: CSS Problem

    Robkk
    Moderator

    the css from this code is affecting the whitespace

    #left-area ul, .entry-content ul, .comment-content ul {
    list-style-type: disc;
    padding: 0 0 23px 16px;
    line-height: 26px;
    }

    maybe creating a bbpress.php file could fix this or just adding #bbpress-forums to the selector with reduced padding-left .

    #bbpress-forums #left-area ul, .entry-content ul, .comment-content ul {
    list-style-type: disc;
    padding: 0 0 23px 0px;
    line-height: 26px;
    }

    heres info on creating a bbpress.php file.

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

    umm i dont know what to tell you about the sidebar going the profile and tag pages, it might be because of the template you are using for bbpress currently so maybe making a bbpress.php could fix it but i dont know

    #154070
    Robkk
    Moderator

    the link should be <a href="http://mysitename.com/login" title="login">Login</a>

    i forgot to put the actual word LOGIN , idk maybe i was drunk or something

    #154062
    jlaks
    Participant

    Hi robkk,

    I have tried every way I can to get the link to show, but no matter what I do it won’t. I can easily change the text “You must be logged in to create new topics” but no luck adding a link there. I have been working with the files form-topic.php, form-reply.php and form-forum.php. Here is the piece of code in each file I am working with including your snippet above. Any help will be much appreciated.

    <div class="bbp-template-notice">
    			<p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.<a href="http://mysitename.com/login" title="login"></a>', 'bbpress' ); ?></p>
    		</div>

    I understand I have to use my url for forum login in “mysitename.com”

    Thanks

    #154059
    bsilverop
    Participant

    Hi All,

    I’m having some trouble getting my forum pages to be full width. If I use the shortcode to embed a forum and set my page template to “Full Width”, it works fine. But then if you click another forum topic it goes back to what looks like half width. I have tried copying my full-width.php (twenty fourteen) and calling it bbpress.php and forum.php, but it seems to have no impact. I have also tried adding some CSS, but also seemed to have no impact:

    .bbpress-forums .col-2cl .main {
    background: none repeat-y right 0;
    padding-right: 0px;
    }

    I’m kind of at a loss as to why the forum pages are still not full width, so would appreciate any suggestions. Thanks,

    #154056
    Robin W
    Moderator

    quite codeable, but don’t know of any existing code to do this

    #154049
    Robin W
    Moderator

    simplest solution without me documenting alternatives would be to create bbpress roles with the same names as you member ones

    see https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#14-adding-new-bbpress-roles

    so you’d create a bbpress role called new member and give it the same capabilities as participant

    #154047

    In reply to: Separate forums?

    Robin W
    Moderator

    Meanwhile, however, can I list only one forum at a time?

    see earlier answer – ‘[bbp-single-forum id=123]‘

    at the end the pages that appear after the user clicks a top menu called “Chevrolet.”

    see earlier answer – ‘Then create a wordpress page called say GM, and put the shortcode’

    you can put as much text on that page before the shortcode as you like

    “See other forums,”

    just use a hyperlink to a page with the shortcode [bbp-forum-index]

    http://www.w3schools.com/html/html_links.asp

    #154032
    akyboy
    Participant

    HI thanks for answer

    This is the link to our site:

    http://www.cannedbandits.org/the-third-campaign-on-the-global-map/ and this thread have some link in it, as you can see, on hover it goes red but Author link is changed to with same colors.

    #154030
    Robkk
    Moderator
    #154029
    akyboy
    Participant

    HI guys,

    I am trying to do the same,…

    I have this in my theme css

    body {	
    	color:#dbd8c4;
    	font-size:13px;
    	font-family: 'arial';
    	position:relative;
    }
    a {
    	color:#dbd8c4;
    	text-decoration:none;
    	
    }
    a:hover {
    	text-decoration:underline;
    	color:#ba110e;
    	font-size: 14px;
    }

    If i change colors even nickname profile link changes too.

    I would only like to change formatting of links user post on forums. Is that possible?

    #154027
    mrpjdavis
    Participant

    Hi there.

    When I try to import an existing SMF forum I get the following error:

    WordPress database error: [Unknown column 'members.member_name' in 'field list']
    SELECT convert(members.id_member USING "utf8") AS id_member,convert(members.passwd USING "utf8") AS passwd,convert(members.member_name USING "utf8") AS member_name,convert(members.email_address USING "utf8") AS email_address,convert(members.website_url USING "utf8") AS website_url,convert(members.date_registered USING "utf8") AS date_registered,convert(members.real_name USING "utf8") AS real_name,convert(members.aim USING "utf8") AS aim,convert(members.yim USING "utf8") AS yim,convert(members.icq USING "utf8") AS icq,convert(members.msn USING "utf8") AS msn,convert(members.signature USING "utf8") AS signature,convert(members.avatar USING "utf8") AS avatar,convert(members.location USING "utf8") AS location,convert(members.personal_text USING "utf8") AS personal_text FROM smf_members AS members LIMIT 0, 100

    Not sure what I am doing wrong!

    #154022

    In reply to: Help Css & Layout

    Robkk
    Moderator

    @mnhfile

    I am using godaddy wordpress managed hosting and this issue occurs because of their cache layer

    great that you found the issue with the cache layer from godaddy

    Anyhow my tab/heading problem is solved because of loop code in this link

    well its there for sure , but i forgot i edited the file,

    i will link you to the unedited file i based the one i edited off of in a minute.

    The new file should show freshness, voices, topics, and all the missing labels.

    i want some modification in tabs/heading — which show or hide forums../// or modification like tabs act like toggles

    This is some custom development , i dont know how to hook this up yet , but i know its made up of some jQuery

    heres an example in this link

    http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_toggle

    you can create a new topic for this and see if anyone else can help , right now i dont know how to do it.

    #154021
    Robkk
    Moderator

    @johnohfs oh , well the grey bars are actually the li.bbp-header and li.bbp-footer that hold the labels

    here are what css codes are causing the problem.

    changing display:inline; to display:block; should fix the problem for you.

    #main li {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    display: inline;
    margin-right: 5%;
    }
    @media only screen and (min-width: 769px)
    #main li {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    display: inline;
    margin-right: 12%;
    }

    i think putting .bbpress if you already created a bbpress.php file or #bbpress-forums before #main li { should fix the problem, so that only on bbpress pages would have a different css for the #main li

    #154020

    In reply to: Help Css & Layout

    mnhfile
    Participant

    Css or php changes by sftp not updated to my wordpress site. I figured out this is not parent/ child theme problem .. I am using godaddy wordpress managed hosting and this issue occurs because of their cache layer and i don’t know how to clear it. I try to contact them but unable to reach them beacuase of voice issue in international call.

    Anyhow my tab/heading problem is solved because of loop code in this link https://raw.githubusercontent.com/robkk/better-bbpress-responsive-theme/master/bbpress/loop-forums.php

    i want some modification in tabs/heading — like in the picture arrow appears which show or hide forums../// or modification like tabs act like toggles (function).
    Image and video hosting by TinyPic

    #154012

    In reply to: How to display Users

    Robkk
    Moderator

    thats some custom development right there.

    you can of course display the Original Poster and Recent Poster’s image using code that is already in bbPress.

    getting an avatar image of the frequent posters is custom development.

    Robkk
    Moderator

    for just the forum and topic title links

    #bbpress-forums a.bbp-forum-title, 
    #bbpress-forums a.bbp-topic-permalink {
    font-size: 16px;
    }
    #154006
    packzap
    Participant

    Yes, that was the problem. I added bb_ to table prefix and re-ran. Now it imported all users, forums, topics and posts from old version 1.2 bbPress. Woo-hoo! Thanks.

    #153999
    chero123
    Participant

    hello, good day!…I want to put a button "thanks" for each post in the user profile and the Times Appears "Thanked"

    but I find this plugin or shortcode, or a way to do

    example:

    I found this plugin: https://wordpress.org/plugins/bbpress-like-button/

    but does not show the data in the public profile …

    although the plugin either to pay, no matter
    It is now important for a forum

    help!
    kind regards

    Robin W
    Moderator

    Try

    Forum/Topic headings

    #bbpress-forums ul.forum-titles
     
     {
    font-size:  16px;
     }

    Topic/reply text

    #bbpress-forums .bbp-topic-content p, 
    #bbpress-forums .bbp-reply-content p
     
     {
    font-size:  16px;
     }
    #153993
    Robin W
    Moderator
    #153988
    Sam Rohn
    Participant

    bbpress 1.0.2 is obsolete for a few years now and is no longer supported, current bbpress is version 2.5.4

    https://wordpress.org/plugins/bbpress/

    using wordpress and bbpress 2.x, you could set up wp at domain.tld/blog and put bbpress (2.x) on a wp page like domain.tld/blog/forum

    see the bbpress codex for more info on setting up bbpress 2

    Step by step guide to setting up a bbPress forum – Part 1

    see here for info on importing other forums

    https://codex.bbpress.org/import-forums/

    sam

    Pavle123
    Participant

    Code above should be added to your functions.php file in your theme folder.

Viewing 25 results - 10,251 through 10,275 (of 32,522 total)
Skip to toolbar