Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 5,301 through 5,325 (of 11,580 total)
  • Author
    Search Results
  • #137595
    Biswadip
    Participant

    I am using WordPress 3.6.1 with plugins Buddypress 1.8.1 and bbpress 2.3. I am trying to import the latest topics and replies from specific bbpress forums into specific wordpress pages.

    I started with a Mysql query:

    $query=”SELECT * FROM wp_posts WHERE post_type = ‘topic’ OR post_type = ‘reply’ ORDER BY post_date DESC”;

    Then (in pseudo code) I planned to do the following:

    // since forum is a parent of topic which is a parent of reply
    // if post is topic get forum id
    // if post is reply get forum id from the parent of the topic
    //create an array of latest topics and replies associated with their forums
    //print latest topics and replies for each forum to different wordpress pages.

    The problem I cannot seem to solve is – where to get the name of the forum from? Without getting the name of the forum from somewhere in the database, my only option would seem to be to hardcode the forum id’s of each forum with their respective names. Which means every time a new forum is created this needs to be added in manually in the code. None of the tables I see in the wp database seems to contain the names of the different forums. Even if one of the other tables did contain it I am still not sure how I would then associate the forum id’s from the wp_posts table with the forum names from another table – presumably I would have to do some kind of join? Or maybe I am going about it completely the wrong way – is anyone able to help an inexperienced developer out of his depth navigate his way through this problem?

    #137582
    Kaliceos
    Participant

    Indeed, it looks like the new parent is not caught. It’s strange because in the code, the ID of the parent forum is correctly read as we can see in the <ul id="forums-list-17150" class="bbp-forums"> and is seen as a category. It seems like the post_parent argument is not used.

    Have you (or your theme creator) applied a filter to bbp_has_forums ?

    Can you check with an other theme ? (use https://wordpress.org/plugins/theme-test-drive/ if you don’t want to disturb your visitors)

    #137577
    vetto
    Participant

    set up a test forum so you can see the result of my messing around with the /includes/replies/template file

    Ignore the aesthetics, gotta get the structure right before I can finish the design.
    http://themainbrace.com/forums/forum/we-are-motorcycles/test/

    #137575
    vetto
    Participant

    WP 3.6.1
    BBP 2.4
    (buddypress 1.8.1 if that’s relevant)

    I am trying to style my loop-single-reply template.
    I am working on a copy placed in my wp_theme/bbpress directory…it is a copy of the default.

    The problem is in the bbp reply DIV (that contains the author div and the content div). I need to get the content function to stop automatically adding “div” tags around the content (I want to use span tags).

    I have tried to follow the rabbit trail through the files to figure out where these DIV tags are getting added, and the best I can figure is that there is a filter putting them in there.

    I only need the actual content and so I have commented out the filter applied in includes/replies/template.php around line 525, and simple replaced it with return $content

    That worked, but now bbcode is not working. Is there a way to stop this behavior without altering the bbpress plugin files (which will get destroyed during an upgrade)?

    My forum is private, but I can set a public test one up if that will help…

    #137567

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    Yeah, nearly there, some suggestions for what some of those content conversions should be and testing to see if I missed any would be extremely helpful.

    #137561
    thelaw
    Participant

    I’ve tested bbpress with the Genesis 2 themes and the forum index doesn’t work. Some type of strange post page is created that has an image thumbnail on it and text of the index page (last post) but not functional. Change the theme and bbpress works like a charm.

    #137560

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    Looks like the last thing needed now for SMF v2.x is converting any custom HTML/BBCodes for topic/reply content.

    From my tests the following BBCodes are converting fine:

    • [url]
    • [img]
    • [email]
    • [b] – bold
    • [i] – italic
    • [u] – underline
    • [s] – strikethrough
    • [left]– left aligned
    • [center] – centre aligned
    • [right] – right align
    • [font=fontname] – fonts
    • [color=colorname] – color name
    • [color=#FFFFFF] – color hex value
    • [sup] – superscript
    • [sub] – subscript
    • [quote] – quote

    The following need to be converted by regex strings during import:

    • [quote author=SMF Admin link=topic=9.msg30#msg30 date=1380330453] – Quoting a post, username, post id & date support needs to be added.
    • [pre] – pre formatted text
    • [code] – partially working
    • [size=x] – font size
    • [glow=red,2,300]Glow[/glow] – What do we want to translate this to?
    • [shadow=red,left]shadow[/shadow] – What do we want to translate this to?
    • [move]marquee[/move] – What do we want to translate this to?
    • [tt] – teletype? should this be a monospaced font?
    • [table], [tr] & [td] – tables and closing tags
    • [list] – unordered list
    • [list=decimal] – ordered list
    • [li] – list item
    • [hr] – horizonal rule

    SMF Smilies Working (extra space added so these render in code block)

    • 🙂 : )
    • 😉 ; )
    • 😀 : D
    • 🙁 : (
    • 😮 : o
    • 😛 : P

    SMF Smilies not working

    • ;D ;D
    • >:( >:(
    • 8) 8)
    • ??? ???
    • ::) ::)
    • :-[ :-[
    • -X :-X
    • :-\ :-\
    • :-* :-*
    • :’;( :'(

    What should the above be converted to with the smilies included with WordPress?
    https://codex.wordpress.org/Using_Smilies

    Have I missed any BBCode and/or other ‘stuff’ that isn’t getting converted correctly during the SMF import?

    #137559

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    @remcob00 What can I say… AWESOME, thank you, tested and working magnificently 🙂

    #137524
    minutepapillon
    Participant

    Hi,
    I am building a multilingual (WPML plugin) website with a Bbpress forum inside. The forum is not multilingual and the fact that bbpress uses page.php to generate its pages causes the flag icons to display. They are not needed and they point to nowhere …
    So I have to suppress the flags icons in the header when the page.php is displaying a forum.
    But how can I test (in php) that I am in the forum ?

    Thanks for any clue.

    Nicolas

    #137518
    janellv
    Participant

    So… I just took another user I have for testing and made it a Participant in the forums (from the user page). That changed its view of the forums to the problematic one above. I changed it back to “No role on these forums” and it has the normal view again. But of course then it can’t post.

    I changed it to Moderator, and this time it could see the normal view of the forums, but then it still can’t post.

    I’ve read in another thread that you can delete all of your settings, everything, and then start over. I’d like to try that. But I can’t seem to find where to do that on the Settings page – how do I do that?

    #137516
    janellv
    Participant

    Well….turns out my site was attacked by spammers yesterday and turned off by my web host. That’s all worked out now, so everything should be visible again….

    And I am running bbp 2.4 – I accidentally took the number from a different plugin.

    Ok, so here’s something really weird. I just created a new user, UN testing, PW testing, and the forum looks ok for that user. The only difference between the two that I can find is that on the list of users page, the Forum Role says “Participant” for the gvrunner username, and is blank for the testing username. But if I go in to view their user info, it does say Participant for both of them in the Forum Role dropdown at the bottom.

    #137515
    Biswadip
    Participant

    I too am looking for examples for displaying the latest replies, topics etc. from specific forums.

    I am resorting to trying to get the information from the database with mysql queries but because a reply has a parent of topic which has a parent of forum_id I am not sure how to get the forum_id of a reply.

    #137514
    Biswadip
    Participant

    I want the latest posts (topics or replies) from a specific forum. I can get the latest posts from all forums with something like:

    SELECT * FROM wp_posts WHERE post_type = ‘reply’ OR post_type = ‘topic’ ORDER BY post_date DESC LIMIT 4

    What I need to do is to specify the forum of the topic or reply by adding a condition saying something like:

    If it is a reply get the parent of the parent_type (i.e. the specific forum which is the parent of the topic) and if it is a topic get the parent_type (which I can get from the wp_posts table). Then check if this matches the specific forum we want.

    No idea how to do this though (especially the parent of the parent_type bit)……..

    #137474

    In reply to: Author

    Stephen Edgar
    Keymaster

    This issue typically comes up when people are testing the import to bbPress. If you import the users and forums, topics, replies etc then reset bbPress only the forums, topics, topic tags and replies are deleted. bbPress does not delete the imported users as the user account may have additional WordPress roles (eg. Author) and has blog posts or comments on blog posts etc and we don’t want bbPress deleting content that isn’t its own.

    Ideally you would have a test site for WordPress & bbPress to test the importer and once you are happy with everything get bbPress installed on your primary WordPress site, disable your existing forums and import into bbPress ‘all the things’ and be up and running from then on with bbPress.

    #137469
    Venny1962
    Participant

    Hi… me again!

    I do have the latest versions of WordPress 3.6.1 and bbPress 2.4

    When I make a forum post you can hardly see the words… Very faint! I’ve checked all the settings but I don’t see any setting for that. I tried different Themes including TwentyEleven but no change.

    Thanks

    #137464
    Skeary
    Participant

    forums/user/test/
    is rendering very weirdly:

    <div class="entry-content" itemprop="text"><p>Profile Topics Started Replies Created Favorites Subscriptions Edit Profile Forum Role: Keymaster Topics Started: 0 Replies Created: 1</p>
    </div>

    which looks obviously incorrect because it’s missing html tags in between things.

    I tried putting a die; at the bottom of templates\default\bbpress\user-profile.php and the page rendered properly, but all the other profile type pages are still broken. Removing everything from my functions.php doesn’t help either.

    What could be going back and stripping out the html tags?

    I am developing in a Genesis child theme and installed a bbPress Genesis Extend plugin.

    #137463

    In reply to: bbPress 2.2.4 Released

    EricSchmitz
    Participant

    David, thanks for the tip on moving a topic from one forum to the other. I found that I also have to make a new post to the “to” forum as well as the “from” forum, in order to get them both to show the correct number of posts in each.

    The /forums/ page indicates that the moved topic is still in the old forum, and not in the new. Further, going into the old (from) forum, I see “there is one topic in this forum” but none listed. Similarly, going into the new (to) forum, I see “there are no topics…” and yet the topic I moved in there is listed. Creating (and then deleting) a new “test” topic in each causes the issue to be corrected in all listing pages.

    It’s a rather frustrating work-around, but at least it solves the problem I was having. I am using version 2.4 now, and it’s still an issue. Hoping that might be resolved in the next release or so.

    #137459
    g3n3sisq
    Participant

    Ok so I have the latest wordpress / bbpress and buddy press so far as I know.

    I have created a forum – and it would seem that only people who are keymasters / admins can actually comment / post through the forum. Every time I log into my test account which is set as a ‘participant’ and subscriber, i get the message “you do not have permission” when i try to comment or reply to a forum post.

    I have been looking into this for a good couple of days now. I have installed the members plugin, I have re-routed the forum roles etc….

    I’m at a loss

    #137401
    Daniel J. Lewis
    Participant

    The solution ended up being really simple. Just create a “recent posts” page (or call it whatever you want” and use the shortcode [ bbp-topic-index ].

    Stephen Edgar
    Keymaster

    Thanks for that, it appears it’s not related to another bug I was testing for 🙁

    As per above using your bbPress.org/wordpress.org username and password can you create a ticket on Trac and we can then track it much better there.

    #137377
    Crayz
    Participant

    Hello, I have a default WordPress install (latest version) with a default bbPress 2.4 install using TwentyTwelve, no files have been modified. The replies pagination does not work, though the pagination for topic listings is.

    Does anybody else have this issue? I’m going to take a look at the pagination functions and see if I can come up with a fix

    Thanks.

    francishunger
    Participant

    On http://www.ausstellungpro.de/?post_type=forum the login is not working as expected. I have created a ‘testuser’ with password ‘testuser’ and role ‘participant’.

    When logging in, in the frontend there seems to be nothing happening (e.g. I could create a new post or the warning ‘You must be logged in to create new topics.’ disappears).

    In addition, the forum is in English, while it should be in German like the rest of the site.

    What should I look for or try out?

    #137351
    benjito
    Participant

    I strongly suspect this is a problem due to my noviceness but i can’t for the life of me figure out what is going on and the forum posts don’t seem to quite match.

    I have set up a couple of test forums to try out bbPress but the landing page (below) domain.com/forums is just throwing out a lump of un-rendered text, rather than links to the forums available.

    any ideas?

    http://www.activenaturalist.org.uk/forums/

    #137342
    Ristana
    Participant

    Hi guys,

    Has there been any other fix to this problem, as I don’t have direct access to our server I can’t modify core files either. Problem is same as above if the Forum root “forums” shares a name with a page it does not use the page settings but tries to display it like a blog layout. So if you click Forums in the breadcrumb it takes you to a blog archive type page instead of the index page it should. I am using latest version of wordpress 3.6.1, latest version of bbpress 2.4 and use Headway theme 3.5.5. Any advise would be greatly appreciated. Link to site is http://thaimarket.co.za/forum/ Thanks

    #137338
    arthurse
    Participant

    Thanks Travis. MyCred seems to be good for me, i tested it a little bit, have a lot of settings and works with bbPress. May be it will be my choice.

Viewing 25 results - 5,301 through 5,325 (of 11,580 total)
Skip to toolbar