Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 11,901 through 11,925 (of 32,521 total)
  • Author
    Search Results
  • #146426
    nirgalo
    Participant

    Hi, I would like the unread posts for a given user to display distinctively so the user quickly knows what to read. Also I would like threads which have new replies to also display distinctively. Not necessarily through colors, maybe using icons.
    There is a plugin bbPress Unread Posts doing close to what I am looking for, but it is not maintained anymore. Why such a basic feature needs to be done through a plugin and is not part of the bbPress stock features? Any idea of other plugins or custom code I can use?

    #146416
    herowp
    Participant

    Howdy.

    I have a problem with the breadcrumb navigation link. The link to the root forum(which returns a 404 page) is

    http://example.com/forums/forum

    and it should be:

    http://example.com/forums/

    I have no idea what to do, as I only installed the plugin and activated it.

    Can someone help me?
    Kind regards.

    Robin W
    Moderator

    ‘I have some forums that only serves as main forum for sub-forums’

    Try setting them as categories rather than forums – on the edit forum page you will see the option on the right hand side

    ‘It would also be nice if members could comment on a post, but not create new topics.’

    You can create a custom role to do this – see

    Layout and functionality – Examples you can use

    Layout and functionality – Examples you can use

    If you are not very good at code, come back and I will try to help further

    Robin W
    Moderator

    ok, on your breadcrumb issue see

    Layout and functionality – Examples you can use

    On your weird forums page, given that it says “continue reading” I suspect that your theme is treating this as a post, and just giving what it thinks is an ‘excerpt’.

    I’d suggest you next try setting up a page called ‘forums’ and using [bbp-forum-index] to get it to render. ie

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

    method 2

    If this doesn’t work, then come back

    Cars10
    Participant

    ..and same applies for scripts in line 245 (after code above was inserted)

    Cars10
    Participant

    Temp fix as we don’t know if we get a fix any time soon:

    file: /wp-content/plugins/bbpress/includes/core/template-functions.php
    at 173, INSERT
    		//Temp fix
    		$located = str_replace( "//", "", $located );
    		$located = substr($located, strpos($located, "/"));
    before:
    // Enqueue the style
    #146398

    In reply to: CSS Plugin

    Robin W
    Moderator

    I have thought several times about building a bbPress styling plugin, but not had time yet !

    There’s plenty about styling in the documentation

    Codex

    including a styling crib

    bbPress Styling Crib

    and instructions on how to style

    Step by step guide to setting up a bbPress forum – part 2

    #146396

    Topic: CSS Plugin

    in forum Plugins
    Solidify
    Participant

    My theme comes with an option in the settings to add my own CSS codes. I love it because I’m just starting out and learning a lot about CSS by just putting snippets of code in there and seeing what it does. Of course none of it fazes my forum and that really really sucks because I’ve read a lot of great reviews about bbPress and I’d like to use it on my site.

    Why doesn’t bbPress have the same feature? Is there an up to date plugin I can use, or do I have to create a custom style sheet?

    #146391
    Stephen Edgar
    Keymaster

    Thanks, I’ll add the BBCode [video=youtube_share;$1]$2[/video] as part of the vBulletin importer.

    And yes, let me know how it goes.

    #146388
    jbuesking
    Participant

    Apparently having a few broken attachments lingering from a phpbb3 to Kunena migration several years ago is what is giving me a problem now migrating attachments to bbPress.

    The error I’m seeing in my logs is:

    [15-May-2014 22:32:08 UTC] PHP Warning:  copy(http://www.mydomain.com/media/kunena/attachments/phpbb3/Cabs%201.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
     in /home/username/public_html/dev002/kunena-attachments-to-bbpress.php on line 45

    I looked to see if there was a “Kunena fix for broken attachments” script but nothing popped up yet.

    #146386
    MediaSVI
    Participant

    The SoundCloud is BBCode I got from vbulletin.org The youtube is part of VBulletin when it is installed.

    <object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=Paste SoundCloud Link Here&g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=Paste SoundCloud Link Here&g=bb" type="application/x-shockwave-flash" width="100%"></embed></object> <a href="Paste SoundCloud Link Here">Paste SoundCloud Link Here</a>

    I will re import the forum using the file you just made and let you know how it works.

    jeffacubed
    Participant

    I’m having what I ‘hope’ to be a major over-site as far as how bbPress new user registration functions on a WP multisite environment. I’m using bbPress 2.5.3 & WP 3.9.1 with three sub (directory) sub-sites:

    example.com (site1 or the root)
    example.com/site2
    example.com.site3

    I have ‘site2’ & ‘site3’ setup & working 100% with two separate, distinct bbPress forums: site2 = english, while site3 = french. Now the user registration ISSUE:

    When new users try to sign-up for either site2 or site3, say using [bbp-register] the bbPress registration process sends then automatically to the ‘root’ site (site1) at example.com/wp-signup.php – which is very problematic as example.com uses a different theme & content-wise a completely different site than site2 or site3

    I’m not stranger to digging into the php &/or template files – but I’m a bit confused around:

    1. If I’m missing something that’s entirely obvious that immediately resolves the new user registration issue w/ bbPress on multisite

    2. If not ‘1’ – what might be the ‘code-path’ of least resistance to resolve this specific issue

    Any input/ideas/suggestions would be fantastic,

    -Jeff

    #146374
    JBBoY
    Participant

    Hi community,

    My forum in BBpress It’s working properly and It’s awesome! congratulations! nice job guys!!

    But hope you can help me with a little problem. If I access the forums normally styles are ok, but when I show the forums via shortcodes like [bbp-forum-index] then the text fonts are different from what they should be. Is there a way to show the same font using the forum directly from url and with the shortcodes application?

    Thank you in advance for your help and time.

    #146362
    rbbouman
    Participant

    OK, I get it 🙂

    In your opinion, does it make sense to deinstall all plugins instead of deactivating them in order to test this? Or do I have to perform a new fresh install, since code already might have been overwritten and this is probably not undone by deinstalling plugins. I can do both on my local dev.

    #146356
    Stephen Edgar
    Keymaster

    I just checked the difference between the current version included with bbPress and that version you linked above. The version included with bbPress has quite a few enhancements, password support, forum categories, author IP, closed topics, sticky topics and topic tag slugs.

    The difference that you need is the BBCodes:

    // This is what is currently included with bbPress for YouTube:

    
    $vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    

    //And this is what we had in that custom linked version:

    
    // Replace '[video=youtube;$1]$2[/video]' with '$2"
    $vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    		
    // Replace '[video=youtube_share;$1]$2[/video]' with '$2"
    $vbulletin_markup = preg_replace( '/\[video\=youtube_share;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    // Replace '[SOUNDCLOUD]$1[/SOUNDCLOUD]' with '$1"
    $vbulletin_markup = preg_replace( '/\[SOUNDCLOUD\](.*?)\[\/SOUNDCLOUD\]/', '$1', $vbulletin_markup );
    

    So the addition of these two BBCodes:

    [video=youtube_share;$1]$2[/video] and [SOUNDCLOUD]$1[/SOUNDCLOUD]

    Do you know if both of these BBCodes are included with all vBulletin versions or are these custom BBCodes you manuallly created in your vBulletin install?

    Either way I just updated that gist with the above BBCode that you should be able to download and test as you did 8 months ago, it has ‘all the things’ above included in it. 🙂

    https://gist.github.com/ntwb/513187363f36b56ec77d

    #146351
    Stephen Edgar
    Keymaster

    For reference the core SQL queries: (Don’t forget the table prefix e.g. wp_)

    Forums:

    
    SELECT 
    symposium_cats.cid AS cid,
    symposium_cats.cat_parent AS cat_parent,
    symposium_cats.title AS title,
    symposium_cats.stub AS stub,
    symposium_cats.cat_desc AS cat_desc,
    symposium_cats.listorder AS listorder 
    FROM wp_symposium_cats AS symposium_cats
    

    Topics

    
    SELECT 
    symposium_topics.tid AS tid,
    symposium_topics.topic_category AS topic_category,
    symposium_topics.topic_owner AS topic_owner,
    symposium_topics.topic_post AS topic_post,
    symposium_topics.topic_subject AS topic_subject,
    symposium_topics.stub AS stub,
    symposium_topics.allow_replies AS allow_replies,
    symposium_topics.topic_sticky AS topic_sticky,
    symposium_topics.topic_started AS topic_started,
    symposium_topics.topic_date AS topic_date 
    FROM wp_symposium_topics AS symposium_topics 
    WHERE symposium_topics.topic_parent = 0
    

    Replies

    
    SELECT 
    symposium_topics.tid AS tid,
    symposium_topics.topic_category AS topic_category,
    symposium_topics.topic_parent AS topic_parent,
    symposium_topics.topic_owner AS topic_owner,
    symposium_topics.topic_post AS topic_post,
    symposium_topics.topic_started AS topic_started 
    FROM wp_symposium_topics AS symposium_topics 
    WHERE symposium_topics.topic_parent != 0 
    
    #146348
    Stephen Edgar
    Keymaster

    Turns out when I said it was late, it was, I downloaded and installed the plugin 😉

    Firstly for most forum importers I use a set of categories and forums based on the ‘Nested Set Model’, this gives a great hierarchy layout to test with.
    https://en.wikipedia.org/wiki/Nested_set_model#Example

    First issue (question) is, why the converter doesn’t find forums. Or at least doesn’t convert them.

    For the ‘Forum slug’ you have slug it should be stub

    Does WPS ‘pretty permalinks’ even work? I am guessing that’s what these are?

    Once I changed that the forums imported fine with correct title, desc, parent, order, slug.

    We don’t need to worry about counts as the bbPress repair tools will do this for us

    Categories or Forums I am not sure of, to set a category in WPS I set the Allow new topics? field to no we can use this to decide if the bbPress forum will be a forum or category if this is indeed the intended purpose of this field.

    Cloudup nea52czefrz

    I’ll go take a look at the topics and replies now…

    #146327
    Robin W
    Moderator

    yes that is the default – see

    Layout and functionality – Examples you can use

    to change it

    #146326
    Baker
    Participant

    Thanks ThemeTon. I was able to remove the FontAwesome icons with some override code.

    Regarding the way my sub-forums are being displayed…side-by-side, is this the “out-of-the-box” format for bbPress? If bbPress requires lots of coding/formating I’ll probably scrap it and switch to something more streamlined.

    #146323
    Robin W
    Moderator

    yes we can !

    Layout and functionality – Examples you can use

    please come back if not clear !

    #146312
    lagrou
    Participant

    I’ve added a WPS install to one of my test sites. By default WPS has 3 forum categories, and one topic with two replies. I’ve added two topics, to populate all categories, and made one category child of another. So it should look like what you expect.

    I’ve also created a group. In WPS, groups can have a forum, with no category hierarchy, so they are not listed in the table symposium_cats. I wasn’t using groups myself, but my proposal is, if we can, to make the converter gather the content as a subforum in bbPress, then the admin may decide to delete or restrict its content ? So, I’ve also created a group on that test install, with a topic and a reply.

    As I’m not sure what you call a MySQL export I’ve dumped it using a page template where I perform a succession of queries, then var_dump( $wpdb->last_query, $result ); and copy/pasted the page content as a text file, added to my repository above. I hope it’ll be fine.

    #146306
    ThemeTon
    Participant

    I saw there some styling from your theme (ShopAndBuy). That style adds fontawesome icon for every LI elements. But bbpress has so many ul/li structure for formatting forum section and that style makes this issue there. Please manage or remove that styles from line 350 of “ShopAndBuy/css/shortcodes.typography.css”

    Thanks

    #146301

    Topic: Changing sticky colors

    in forum Themes
    dhalkias
    Participant

    I have copied the bbpress.css file to my child theme. However when I edit the sticky code to try and change the text color and background color nothing happens. My code is below.

    .bbp-topics-front ul.super-sticky,
    .bbp-topics ul.super-sticky,
    .bbp-topics ul.sticky,
    .bbp-forum-content ul.sticky {
    	background-color: #ffffff !important;
    	font-size: 1.1em;
    	color: #black !important;
    }
    

    Can anyone help me to get the colours working?

    #146287
    Lerroy
    Participant

    This is what i used

    .bbp-forum-title,
    .bbp-topic-title {
       font-size: 16px !important;
       color: #008657;
    }
    #146279
Viewing 25 results - 11,901 through 11,925 (of 32,521 total)
Skip to toolbar