Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,701 through 17,725 (of 32,519 total)
  • Author
    Search Results
  • #108483
    GHOSTChoja
    Member

    I am?? Andre, can you please tell me a good combination of the two so I can get started… PLEASE!

    Mny thanks for your help sir :)

    #39877
    unisphere
    Member

    Hi everyone, I’ve got a new WordPress theme support forum ready but I’m stuck in something. Registered users of the forum (Subscriber role) aren’t allowed to post certain tags in topics for security reasons.

    My question is, is there any way all code is allowed in raw format if it’s inside a CODE html tag? I believe the previous standalone version of bbpress supported this.

    Best regards

    #39875
    mouridis
    Member

    I’m greek and I have a WordPress blog in greek running bbpress RC4.

    The problem with using greek in your blog is the use of non-latin characters in the titles of the posts. This leads to the creation of slugs with non-latin characters and consequently pretty-permalinks with non-latin characters. That -of course- is a problem because URLs look nice in the address bar of your browser i.e.

    http://deltahacker.gr/2011/08/19/πάρα-πολύ-καλά-νέα-αυτό/

    but when you copy the URL to paste it somewhere else -in an email for example-, the same URL becomes:

    http://deltahacker.gr/2011/08/19/%CF%80%CE%AC%CF%81%CE%B1-%CF%80%CE%BF%CE%BB%CF%8D-%CE%BA%CE%B1%CE%BB%CE%AC-%CE%BD%CE%AD%CE%B1-%CE%B1%CF%85%CF%84%CF%8C/

    To resolve this problem, greek blog owners can use the plugin Greeklish-Permalings (from the words Greek & English). This plugin adds a filter on the sanitize_title function of WordPress with a new function that converts every non-latin character to a similar latin. For example, the greek alpha character “α” becomes the latin alpha character “a” and so on. So when someone creates a new post, and wordpress tries to create a slug automatically, sanitize-title is called, which is hooked to the plugin, and so a slug with only latin characters is created, even if there are non-latin characters in the title.

    You can see the code of this very small plugin on my dropbox:

    http://dl.dropbox.com/u/1816074/greeklish-permalinks.php

    The problem is that the plugin does not work with bbpress titles. If a forum or topic title contains greek (non-latin) characters, they are not converted to latin even if the plugin is enabled. Does someone know why is this happening?

    Doesn’t bbpress call the sanitize_title function? Do not plugin function filters work for custom post types?

    #108756

    In reply to: Theme issue

    Gautam Gupta
    Participant

    You might want to remove the whole .reply itself, if it’s not used elsewhere.

    #108755

    In reply to: Theme issue

    Gautam Gupta
    Participant

    Just remove float:left from .reply in style.css. :)

    #108480
    GHOSTChoja
    Member

    SOrry Tom, I didn’t understand any of that mate :(

    #108478
    tomunthank
    Member

    The bbpress 2.0 install theme bbp-twentyten and not functioning properlly. the pgn seems to missing or corrupted and does show on the install theme page in wordpress. I have not looked any of the code so i do know if there is also a code problem.

    #108477
    GHOSTChoja
    Member

    Just to make your insight a bit clearer here’s what I’ve done thus far and the dead-ends I’ve encountered:

    Below I have used the instructions with the Static Red Theme:

    2. Installation


    Quick guide:

    1) If this is your first custom theme, you will have to create a directory called “my-templates” inside

    your bbPress root directory

    >>>The only BBPress directory I could find was in the WordPress ‘plugin’ directory. This gave me:

    /htdocs/wp-content/plugins/bbpress/my-templates<<<

    2) Upload entire static-red/ folder to your my-templates folder

    >>>Yep, did that<<<

    3) Activate the theme from your ACP under Appearance

    >>>This does not show anything relating to any of the BBPress themes I have installed :(<<<

    #108748

    In reply to: Forums not displaying?

    Adam
    Member

    No I said I managed to get it to work. How ever when visiting the page with the topic or forum its a WordPress page. When NOT using that code snippit i got the 404 page

    I don’t understand your sticky post on how to make a theme (I am assuming WordPress themes can be created into) compatibility with bbpress.

    for what I understand of that sticky since I am the author of my theme I go into the bbpress default theme and copy all the files out of there and paste them into my theme. This would over ride things like my css, functions and possibly other files. what would you suggest to do to get around this (instead of creating a child theme).

    So here is what I did – as I read the sticky like 10 times:

    I copied all the files, except for the style and the functions.php and pasted them into my theme. these are the files from the from the bbpress default theme and pasted into my current wordpress theme. I then added the php code snipit to my functions.php like the sticky states. I then activated it (the theme) and went to where the forums should be. I am now getting 404 errors.

    ideas?

    #108740
    SRobbins
    Member

    Hi Jared,

    So it was not on sadly… however.. what you said fixed it! THANK YOU!:D

    One more question while I have you in my thread. How do I add forums to the nav bar? Right now its got the default Home and Sample page. I thought that would be under Appearance > Menus. So I added a “custom link”(being that there is no check box for plugins). But I have a feeling this is for some kind of pull down menu and not the nav bar.

    BTW, is there a place for ‘noobies’ to go? Just googling these questions and not finding answers makes me feel like Im super noobie questions that are too noobie to be asked in the webs.

    Im moving from vBulletin forums so excuse my stumbling. Cheers!

    #108704

    In reply to: Forum Order…

    jabbamonkey
    Member

    When using BuddyPress with BBpress, it acts all screwy…

    [bbp-topic-index] and [bbp-topic-form] both show “BLOG ARCHIVES NOT FOUND” when I use those short codes:

    http://montecristoowners.com/topics/

    [bbp-login] and [bbp-lost-pass] don’t work at all. Just show the title of the page … with no content at all.

    [bbp-register] is the only one that works, pointing the user to registration page.

    #108703

    In reply to: Forum Order…

    Have you tried using one of the shortcodes to generate the forum index?

    https://bbpress.org/forums/topic/bbpress-20-shortcodes

    It looks like your theme is displaying the forums with an archive view instead of using bbP’s forum view.

    #39864
    SRobbins
    Member

    I need a lot of help. I installed bbPress, and figured it would ask me configuration during the process… it did not.

    I have 2 problems:

    1) I dont know how to set up a link in my menu bar for my forum.

    2) I assumed it would ask me where I want to forums to exist to the outside world. I want them at http://www.mysite.com/forums. but I have no clue where it stuck them.

    the mysite.com is running wordpress right on it. A lot of the helpo I have found involves editing PHP code. While im a net geek I cant read PHP greek speak. :(

    Its a freash install so I dont need to worry about breaking thread links and the likes. Please help.

    #39858
    mweatherill
    Member

    I’ve added the following to my theme functions to include topics, posts and replies in search result:

    // Add Forums, Topics and Replies to search results
    function my_add_bbp_to_search( $post_type ) {
    $post_type['exclude_from_search'] = false;
    return $post_type;
    }
    add_filter( 'bbp_register_forum_post_type', 'my_add_bbp_to_search' );
    add_filter( 'bbp_register_topic_post_type', 'my_add_bbp_to_search' );
    add_filter( 'bbp_register_reply_post_type', 'my_add_bbp_to_search' );

    My frustration is that my search results are flooded with replies whilst I would prefer to only show each topic once. I’m willing to write a plugin to implement this “GROUP BY parent” logic but I’m not too sure how to approach the problem. Can anyone point me in the right direction for the filters that I need to intercept?

    #107821

    @WebEndDev

    Try adding this to the plugin:

    remove_action('genesis_after_endwhile', 'genesis_posts_nav');

    If that works then I will update the patch/plugin

    #107820

    Patch update. Still needs testers :)

    https://bbpress.trac.wordpress.org/ticket/1622

    #107818

    Glad you got it figured out :D

    For anyone who stumbles on this topic: the plugin linked to above has been tested with Genesis 1.7.1, WP 3.2.X, bbP RC 4, and *several* Genesis themes – so far I have found zero issues.

    The patch still needs more testing and tweaks, however. That’s next.

    #107817
    WebEndev
    Member

    @dave & @jared

    I was finally able to make it work. Let’s just say that BuddyPress complicated it somewhat, in combination with too many things going on in this site, in combination with my ineptitude. :)

    Jared – plugin works great – many thanks for your time and patience

    #107816
    David Decker
    Participant

    @WebEndev:

    I am so sorry for you! I hope I could help you out soon. I got mine working with Jared’s plugin patch – I just experimentet with his code line for the layout option and have all working like I want it.

    My above report you quoted was regarding the patch from John for bbPress core which was not working at that time (or the last time I tested it a few days ago…). So I am sorry if you got confused because of my report…

    Please have also a look here and especially for Nathan’s posts:

    https://bbpress.trac.wordpress.org/ticket/1622

    I hope this helps a bit right now. I am knee deep in important client work and might get back later here on…

    -Dave :)

    #107815
    WebEndev
    Member

    Hi Jared,

    I followed each of your suggestions yesterday, and was only able to get a full width layout using one method – create a page and use a bbpress shortcode. This leaves me with less than optimal control of the page.

    Every other method I tried resulted in a content-sidebar layout.

    I followed your advice and removed all bbpress template files from my child theme directory, removed all bbpress code from functions.php, and essentially reverted back to the bbpress plugin vanilla/’out of the box’, along with your extend plugin.

    What that resulted in was a content-sidebar layout….

    I assume that Dave (above post) is having the same layout issues based on this – “I assume the issue is from a wrong setting of the layout option?? Or some other function?”

    It seems that you are the only one to get it working…

    So… I am at a loss on this one…

    Thanks!

    #108699

    In reply to: Forum Order…

    jabbamonkey
    Member

    Well… that sucks. Then why is there an “order” field when you create or edit a forum/category? Also seems a little odd that they let you put things into a category, and then just shuffle things around. Makes no sense to have categories then.

    If there is no way to sort the fields (either by modifying the query, or by using some code to tell the site what order to put them in)… then, does anyone know how to hard-code the forum page (without messing up the rest of the forum functionality)?

    #108577
    monkfish13
    Participant

    So I finally found this after a lot of searching the WP codex and comparing the code between the two plugins.

    The setting to change is in jigopress-admin.php and your looking around line 40 for the position marker.

    I changed mine to 90 so it sits at the bottom of the admin menu – and doesn’t conflict with other top-level menus items

    I couldn’t however find a way to move the “products” and “orders” menu items down to sit with the jigoshop menu.

    Everything now works and is present in the menus – albeit not if a very good order.

    The advice above is informative – but not vary helpful if you actually want to fix the issue.

    If anyone can shed more light on this issue, it would be appriciated.

    With thanks

    Webbo

    #108712
    Adam
    Member

    I would do the codex as Jquery did their documentation IMO, wordpress pages/posts. Easy to set up, easy to edit and change, and allows for people to comment saying what changed, how to use or provide feed back.

    Gets the community involved. Thats how I do documentation for ruby based projects.

    Any ways,

    can you explain (since I am not testing this plugin till its 2.0) finished, how we will set it up for multi site to only use with ONE site? will it be done via the dash board?

    #108711

    bbPress already does do this, yes.

    The process isn’t being sped up, other than 2.0 being close to complete. What would help is having more developers contribute to bbPress core, and if we had a codex where members could contribute documentation.

    Once 2.0 ships I’ll be looking into how to best setup a codex for us.

    #108694

    In reply to: Empty Topic Tags

    This is a new one. The topic tags are updated on each reply with the contents of the input box. This is by design but will only result in empty tags if you reply to a topic with the tags input empty, so that forum members can self-police them. They are replaced as easily as they are deleted.

    One current drawback is if you trash or spam a topic, it could leave empty tags behind. I’d maybe open a ticket for it, and I can look into it further. Right now I can’t reproduce the bug, but that doesnt mean it isn’t one. :)

Viewing 25 results - 17,701 through 17,725 (of 32,519 total)
Skip to toolbar