Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,451 through 17,475 (of 32,573 total)
  • Author
    Search Results
  • taesheren
    Member

    What I want people to see:

    http://pride.mmbr.no/wp-content/uploads/2011/10/bbpress2.png

    What people really see:

    http://pride.mmbr.no/wp-content/uploads/2011/10/bbpress3.png

    Only stickys show up in the forum. Also: notice how it says the forum has 2 topics, but viewing only 1.

    http://pride.mmbr.no/wp-content/uploads/2011/10/bbpress5.png

    http://pride.mmbr.no/wp-content/uploads/2011/10/bbpress4.png

    Here is the actual pages so you can see for yourselves:

    http://pride.mmbr.no/forum/delforum/minecraft » the forum

    http://pride.mmbr.no/forum/emne/1-9-og-apaxia-nova » the topic

    I installed bbPress via the WordPress Plugins tab and I have copied the template files to my custom theme and customized them (basicly just removed the sidebar) and added the add_theme_support( 'bbpress' ); line in functions.php.

    It’s like the topics are set to hidden.

    I have checked and double checked that the publish status is set to published. What do?

    Thank you for any help.

    #108209
    Erlend
    Participant

    Bugs/inconsistencies:

    – “Assign topic to” appears on all forums. That’s okay I guess, but should be an option, not mandatory.

    – If a “Resolved” or “Urgent” topic is moved to a non-support forum, the prefix will stay, but there’s no way of removing it as the extra controls don’t exist in this forum. When moving support topics to non-support forums, I would suggest stripping away all extra features entirely.

    I seem to remember the first time I did it the process was clean, but in all my last attempts I’ve received this error when moving a topic out of the troubleshooting board:

    ( ! ) Fatal error: Call to a member function get() on a non-object in C:wampwwwwordpress-singlewp-includesquery.php on line 27

    Call Stack

    # Time Memory Function Location

    1 0.0019 676480 {main}( ) ..index.php:0

    2 0.0030 681376 require( ‘C:wampwwwwordpress-singlewp-blog-header.php’ ) ..index.php:17

    3 0.0043 702424 require_once( ‘C:wampwwwwordpress-singlewp-load.php’ ) ..wp-blog-header.php:12

    4 0.0059 720680 require_once( ‘C:wampwwwwordpress-singlewp-config.php’ ) ..wp-load.php:29

    5 0.0083 848040 require_once( ‘C:wampwwwwordpress-singlewp-settings.php’ ) ..wp-config.php:90

    6 0.2526 29401072 do_action( ) ..wp-settings.php:206

    7 0.2567 30235488 call_user_func_array ( ) ..plugin.php:405

    8 0.2567 30235520 bbps_setup( ) ..plugin.php:0

    9 0.2571 30236240 bbps_includes( ) ..bbps-premium-support.php:43

    10 0.2593 30455272 include_once( ‘C:wampwwwwordpress-singlewp-contentpluginsbbpress-vip-support-pluginincludesbbps-support-functions.php’ ) ..bbps-premium-support.php:94

    11 0.2594 30460320 bbps_move_topic( ) ..bbps-support-functions.php:405

    12 0.3092 30240600 bbp_update_forum( ) ..bbps-support-functions.php:155

    13 0.3092 30243984 bbp_update_forum_last_topic_id( ) ..bbp-forum-functions.php:778

    14 0.3171 30283584 bbp_is_topic_published( ) ..bbp-forum-functions.php:426

    15 0.3171 30283584 bbp_get_topic_id( ) ..bbp-topic-template.php:963

    16 0.3171 30283584 bbp_is_single_topic( ) ..bbp-topic-template.php:361

    17 0.3171 30283872 bbp_is_query_name( ) ..bbp-common-template.php:169

    18 0.3172 30283872 bbp_get_query_name( ) ..bbp-common-template.php:1322

    19 0.3172 30283952 get_query_var( ) ..bbp-common-template.php:1338

    #108310

    In reply to: bbPress Language Files

    amirsaam
    Member

    I do not think you’re do the right thing guys. I think you jus’ must put the language file into WP language directory (wp-content/languages) with a name like (I’m not sure about it) bbp-fa_IR.po or bbppress-fa_IR.po and/or mo. That fa-IR is for my language, example for english: en_US

    master5o1
    Participant

    This works a whole lot better than the built in converter.

    The built in one could only handle 15 topics and, this plugin one is doing them all :D

    #107996
    master5o1
    Participant

    Not sure why the [bbp-*] shortcodes aren’t working on this page.

    http://beta.tartarus.co.nz/forum/

    tgiokdi
    Member

    with the small details that still need to be worked out, I think we’d better wait till a 2.1 release to actually mention it. a fair amount of people are still a little confused as to where the forums are installed to, how to administrate them, and most importantly, how to integrate their themes into the new bbpress. I’d say after those three major things are mentioned in the install instructions and made a bit clearer / automated, then it’s time to invite the masses :)

    #109638
    Justin Mason
    Member

    @TravisHill — Your code worked without fail. Thank you my friend, you saved a lot of headache.

    #40223
    goldmember
    Member

    If you look at a topic thread on my site (http://willowbilliards.com/forum/topic/test-topic-3/) you’ll notice that there’s no avatars showing.

    I figured out that the place where the code should exist is in /wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/bbpress/loop-single-reply.php so I stuck a message that says “avatar should go here”. Here’s the code from that page: http://pastebin.com/dMLeD6LV

    But what do I need to put there so the avatar actually shows? Please advise. Thanks in advance!

    It’s pretty much all stated in the title.

    There doesn’t appear to be anything preventing guests from seeing hidden or private topics when the [bbp-topic-index] short code is used.

    There is a forum on the site that only people that can view private forums are supposed to know about. You can’t view the topic’s contents, but the existence of the forum is nevertheless betrayed in the index.

    I was able to fix the problem by adding a check in the loop-single-topic.php template file.

    #109637
    travis.hill
    Participant

    Pass some $args through bbp_list_forums.

    If your using custom templates, locate the loop-single-forum.php file. Somewhere around line 25 you should find the bbp_list_forums function. Pass it some $args like so:

    <?php bbp_list_forums(array('separator' => '','show_topic_count' => false, 'show_reply_count' => false)); ?>

    That should get you going in the right direction.

    #109191
    bobbyh44
    Member

    “After I installed it the first time it took me a couple of hours to find my forums page.” – good that you persevered and got it working Patrick.

    Suspect that for every user that manages finally to find the solution, have half a dozen that just think – Sod it, doesn’t work, waste of time, delete.

    Maybe it’s some kind of elitist coder thing? If you can’t fill in the missing technical details you can’t join the club?

    I’ve gone over to SMF, Simple Machines Forum purely because they do indeed have clear documentation and installation instructions. I have confidence in the team behind the script because they are thinking of the end user and not just the code. I suggest that if you want this excellent addition to wordpres to be the roaring success it deserves to be, you do the same.

    Good luck with the project.

    #109636

    Forum Name | Topics | Posts | Last Post

    and in the # of topics and # of posts column, it adds the word “threads” and “posts” after the number.

    Main Footer

    <script type=”text/javascript”>

    <!–

    /* remove Forum Name | Topics | Posts…

    and add thread & post info by california */

    var td=document.getElementsByTagName(“td”);

    if(location.href.match(//?((index.cgi)???(action=(ma.+ad|logout|home))?(#.+)?)?$/)){

    for(i=0;i<td.length;i++){

    if(td.width==”1%” && td.innerHTML.match(/d/)){

    if(td[i+1].width.match(/^(1|7)%$/)){

    td.innerHTML+=”
    threads”;

    td.width=”8%”;

    }else{

    td.innerHTML+=”
    posts”;

    td.width=”7%”;

    }

    }

    if(td.width==”8%” && !td.innerHTML.match(/thread/)){

    td.width=”4%”;

    }

    if(td.className==”titlebg” && td.innerHTML.match(/Forum Name/i)){

    td.parentNode.style.display=”none”;

    }

    }

    }

    //–>

    </script>

    It will say “1 threads” if you only have one topic or post. The solution: post another thread.

    If you are using a “Divide/Seperate Categories” code then this code should be placed below that code.

    If for some reason you don’t want the words “threads” and “posts”, leave out the blue part. I wouldn’t really recommend this as the numbers in those two columns become completely meaningless and the column widths get all screwed up, but people still keep asking for it for some reason.

    #109719

    In reply to: Anonymous Posting

    jam09
    Member

    where do i put the modified code?

    #109718

    In reply to: Anonymous Posting

    master5o1
    Participant

    Assuming bbPress 2.0:

    You can modify this file (https://plugins.trac.wordpress.org/browser/bbpress/tags/2.0/bbp-themes/bbp-twentyten/bbpress/form-anonymous.php)

    Modify the <input> tags such that they’re type="hidden". Also make the value="Anonymous" for name and something like value="anonymous@example.com" for email.

    There is _probably_ a better way but this is the first that comes to mind for me.

    #108308

    In reply to: bbPress Language Files

    ModdeyDo
    Member

    Hi Vaju,

    I have now searched the internet (yes all of it I think) and it seems there is a lot of confusion about bbpress and how to change languages.

    Has anyone got this to work in version 2.0 (Plugin) ?

    Here is what I have tried so far :

    1: mo and po files uploaded to /wp-content/plugins/bbpress/bbp-languages

    2: Looked in and edited a lot of php files.

    3. Checked nearly every file in my themes folder (Suffusion).

    4. Have been in discussion with Suffusion theme forum.

    None of the above has helped in any way :-(

    My wordpress is showing the correct language, which is great. A major problem is the Forum is not. I currently have the site offline for now. But it should be up again before the start of next week (well thats what I have told the users) :-)

    #106306
    kai920
    Member

    Thanks anointed, I might follow your approach as I want to keep the forums somewhat separated from the rest of the site. Am sure I will learn many things along the way also, as an added bonus :)

    #40212

    I have installed bbpress 2.0 at allaboutfocus.com on the Genesis Framework. Before I knew that shortcodes existed I create a single free forum with some test posts. You can see that here: http://allaboutfocus.com/forums/forum/free-forums/#

    Now I’ve discovered shortcodes. I created a new empty page called /mojo-forums. I edit that page and add a couple of simple shortcodes. When I save the new page I am instantly directed back to edit session for page http://allaboutfocus.com/forums/forum/free-forums/ . This is bizarre. That is not the page I was editing. Keep in mind this is all happening in the admin area. When I click on view to view the page /mojo-forums it shows me page /forums which has no edit options.

    Also – when I post a new test post it is showing the freshest post as 4 hours ago. But when you drill down to the post it has the correct time that I saved the post.

    Help.

    Thanks,

    Patrick

    #40211

    Topic: User Signup

    in forum Troubleshooting
    bobodisco
    Member

    How do I allow people to sign up to my forum, Currently I have a page set up with the sign up short code and when one attempts to sign up the WP login page is displayed with a message stating “User registration is currently not allowed.” Is this a setting that needs changing in the admin section of my site?

    Thanks

    #108307

    In reply to: bbPress Language Files

    Vayu Robins
    Member

    Hi Moddey.

    I am not sure if what I did is correct. I can’t seem to do this in all my themes. And I can’t seem to find out why.

    I am also interested in finding a solution that actually works. :-)

    #108306

    In reply to: bbPress Language Files

    ModdeyDo
    Member

    I would like to know how this is done, BBpress 2.0. I have uploaded the .mo and .po files all over the place :-) Only thing I have not done is what Vayu said:

    add_action(‘after_setup_theme’, ‘my_theme_setup’);

    function my_theme_setup(){

    load_theme_textdomain(‘bbpress’, get_template_directory() . ‘/languages’);

    }

    Do I have to do that ?

    TIA

    Moddey

    #105800

    In reply to: bbPress 2.0 – FAQ

    Is there any word on when bbpress will support more extensive forum like features? Ex: Image posting, youtube video posting, bbcode?

    I’m sorry if this question was already covered and I missed it. Congrats on the release and the success with the plugin thus far.

    #100700

    In reply to: bbPress 2.0 – FAQ

    Is there any word on when bbpress will support more extensive forum like features? Ex: Image posting, youtube video posting, bbcode?

    I’m sorry if this question was already covered and I missed it. Congrats on the release and the success with the plugin thus far.

    #106305
    Anointed
    Participant

    @kai920

    I ended up going an entirely different route in order to get forum specific sidebars on the pages. JJ’s answer would have been the easiest to achieve by using widget context, but I wanted full control.

    Very long story short…

    I started by registering a custom sidebar just for the forums.

    I then took all of the bbpress templates and rewrite them from scratch to include my custom code and forum sidebar.

    *Keep in mind that bbPress templates are nothing more than WordPress templates, so all rules that you follow when building a custom theme also apply to bbPress. Trying to explain how to build custom templates is WAY outside the scope of what I can provide. There are numerous tutorials all over the internet to get you started.

    **If you are not comfortable writing template code, then widget context is definitely the way to go.

    #109650
    binarymoon
    Participant

    Thanks for the tip off – I found the rogue code!

    #109185
    bobbyh44
    Member

    Ah – awesome. Thanks Andre, really appreciate it.

    Hopefully they’ll add that link into the bottom of the instructions so it reads:

    == Installation ==

    1. Place the ‘bbpress’ folder in your ‘/wp-content/plugins/’ directory.

    2. Activate bbPress.

    3. Visit ‘Settings > Forums’ and adjust your configuration.

    4. Create some forums.

    5. View your site.

    6. Adjust the CSS of your theme as needed, to make everything pretty.

    7. Create a page and add one or more of these short codes into it to display your forum: https://bbpress.org/forums/topic/bbpress-20-shortcodes

    All the best.

    Bob

Viewing 25 results - 17,451 through 17,475 (of 32,573 total)
Skip to toolbar