Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,426 through 27,450 (of 32,458 total)
  • Author
    Search Results
  • #3549
    dragosbogdan
    Member

    I’ve seen this issue posted on multiple threads, but I couldn’t find the solution in any of them. my issue is simple: I want to hide children forums and only display parent forums on the main page of my site. My theme uses the following code to display the forum list:

    <?php foreach ( $forums as $forum ) : ?>

    <tr<?php alt_class(‘forum’); ?>>

    <td>“><?php forum_name(); ?> — <small><?php forum_description(); ?></small></td>

    <td class=”num”><?php forum_topics(); ?></td>

    <td class=”num”><?php forum_posts(); ?></td>

    </tr>

    <?php endforeach; ?>

    What should I change?

    #3548

    In styling my page I messed up the PHP code apparently. When I log in, it does log me in. But the Log In fields just stay there instead of showing the admin|Admin|Logut links.

    Can someone please take a look and tell me what I did and how to fix it? Thanks! http://www.undercoverlawyer.com/forum/

    -Sherry

    #65544
    Christiaan
    Member

    Have you got the code at the top of your config file? That was the problem I ran into. I was able to use a relative path once I did that too. So the start of your config file should look something like this:

    <?php
    require_once('../wp-blog-header.php');

    #63120

    In reply to: Super Sticky Problem

    stumain
    Member

    Looking in the code, yes this is as intended.

    familiar
    Member

    I have been experiencing the following issue after moving my install from a staging server:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bb_template_scripts’ was given in /home/tdsegvth/public_html/thepoolparties/bb-includes/wp-functions.php on line 586

    I have tried disabling all plug-ins, combing through the code to figure out what it could possibly be, and doing everything I can imaging to the database. The entire setup seems to be working perfectly aside from that error.

    Obviously the site can’t go live until this is fixed, so any suggestions would be appreciated.

    You can see the site here: http://thepoolparties.jellynyc.com/

    The version that isn’t experiencing the error is here: http://thepoolparties.wearefamiliar.com/

    Thanks for any help!

    #65527
    Christiaan
    Member

    Oh, I’ve just noticed this all written by the plugin!! Ha. I’ll remove it and see what happens.

    Edit: strange, I’ve deactivated the plugin and remove the code from the .htacess file, and the forum is accessible. But I was also expecting to start getting the 404 errors again, and I’m not.

    I expect I have not got to the end of this problem

    Edit 2: Indeed, my WP permalinks aren’t working now. This integration thing really is an up hill battle.

    #65526
    Christiaan
    Member

    Hi Chris, I’ve got access to access logs, if that would help.

    It appears to be .htaccess related. If I remove the .htaccess file from the WP directory my forum is accessible.

    I’ve forgotten the timeline of what I was working on now (can’t multitask very well!) but it’s possibly related to this plugin that I’ve installed to get rid of a 404 problem: https://bbpress.org/forums/topic/strange-redirections-and-404s-after-wp-integration

    Although when I deactivate this plugin it doesn’t make any difference. Here’s the htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^forum/topic /forum/topic.php [QSA,L]
    RewriteRule ^forum/forum /forum/forum.php [QSA,L]
    RewriteRule ^forum/tags /forum/tags.php [QSA,L]
    RewriteRule ^forum /forum/index.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    #3541
    Krystian
    Member

    Hi.

    First of all, thanks a ton for all the hard work that you guys have done making our live easier. I apologies if there is other discussion about this issue (I did a search and didn’t find an answer).

    I’m integrating my WordPress blog with BBpress forums and I would like to have the Latest Discussions list in the sidebar for all pages. I already put it in the blog with a WP pluging, now I’m trying to put it in the forum.

    I tried copy and paste the code from front-page.php to sidebar.php. It works fine when I’m in the front page, but disappears when I enter in a topic or other page.

    So, could you give me a clue, a code or a pluging I can use to have this done???

    Any help is appreciate. Thanks.

    Krystian at decnex.net

    #65251
    chrishajer
    Participant

    I tagged the thread modlook which means a moderator will look at it.

    #3539
    Christiaan
    Member

    I thought I’d jumped through all the hoops; I’ve managed to get everything integrated on the front end but when I go to access the forum admin section now I get a blank page.

    Since being able to access the forum admin section I’ve changed <?php bb_get_header(); ?> to <?php get_header(); ?> in the bbPress theme files, moved require_once('../wp-blog-header.php'); up to the top of my config file.

    If I remove require_once('../wp-blog-header.php'); from my config file I can access the admin section.

    Any ideas?

    #65250
    Christiaan
    Member

    Solved, my problem was I needed to change <?php bb_get_header(); ?> to <?php get_header(); ?> in the bbPress theme files, but I also needed to move require_once('../wp-blog-header.php'); up to the top of my config file.

    It would be useful if both these aspects were mentioned in the Functions section of https://bbpress.org/documentation/integration-with-wordpress/

    Who can I contact to suggest these changes to that page?

    #65249
    Christiaan
    Member

    Do I need to add some code to the bbPress theme to call the header maybe?

    #65451

    In reply to: Email bugs

    chrishajer
    Participant

    Interestingly, these headers are in this message:

    X-Assp-Re-Spamlover: Password
    X-Assp-Received-DNSBL: pass
    X-Assp-Whitelisted: Yes
    X-Assp-Tag: DNSBL
    X-Assp-Envelope-From: root@admin2.byetcluster.com

     

    Looks like the host is doing some outbound spam filtering?

    #65450

    In reply to: Email bugs

    chrishajer
    Participant

    I received the message at gmail after 10 minutes total:

    from        Jessians' Forum <xxxxxxxxxxxxx@gmail.com>
    to xxxxxxxxxx@gmail.com
    date Wed, Jun 25, 2008 at 11:27 AM
    subject Jessians' Forum: Password
    mailed-by admin2.byetcluster.com

    11:27 AM (17 minutes ago)

    Message-Id: <20080625162901.E5B6B194CD@node2.byetcluster.com>
    Date: Wed, 25 Jun 2008 12:29:01 -0400 (EDT)

    Your username is: xxxxxxxxxxx
    Your password is: abcdefgh1jkl
    You can now log in: http://jessians.co.cc/forum/

    Enjoy!

    Spam Filtered (ID:1971432)

     

    That last line, “Spam Filtered” is not normally in my gmail messages. That got added somewhere along the way, before it got to gmail.

    I still don’t have the other message.

    #65509

    In reply to: where is my bb-admin ?

    chrishajer
    Participant

    When you are logged in as keymaster, do you have a link next to your profile link that says “admin”?

    It looks something like this:

    Welcome, admin! View your profile (Admin | Log out)

    If not, it sounds like you lost the keymaster capabilities.

    https://bbpress.org/forums/topic/lost-key-master

    https://bbpress.org/plugins/topic/fix-admin-access/

    You can search the forum for keymaster and find many more related topics.

    #3537
    mciarlo
    Member

    Users on my forum are able to use the following url to edit posts:

    http ://www.cairoshell.com/forum/edit.php?id=

    How do I fix this? I suspect this is an available bug in every bbPress forum.

    #65507
    chrishajer
    Participant

    Interesting. Do you have access to any sort of MySQL logs? I doubt you will be able to see this from a browser since the script is just timing out.

    I have not tried to upgrade my old installation to a current one so I have not experienced this. Now I’m scared :-)

    #65498

    In reply to: Adding [code]

    chrishajer
    Participant

    I have the allow images plugin as well, and I can post code just fine. I am using an older version though, maybe yours is newer.

    #65497

    In reply to: Adding [code]

    rivermaya
    Member

    finally, the backticks work after I deactived the Allow Images plugin .. so I can’t use that plugin for it purpose then

    ps : thank you Chrishajer and Geekgirl89

    #65475

    In reply to: Work in progress

    Null
    Member

    In THEORY you could use the forum database table for the blog. A blog would be a new topic in which people could reply. Adding a filter would seperate the blog-forums from the normal forum.

    This way, the database doesn’t have to be extended, a simple filter would do… plus it would be easier to code as a plugin

    Well in theory

    Just filter it:

    blog name = forum name

    blog topic = forum topic

    blog reply = forum reply

    blog is filtered from the forum and only topic owner can add/edit here.

    To make it more simple, when a user makes a blog a forum called “userblogs” (must be unique so a series of numbers could be added) is created and filtered (hidden). Then when loading a profile page it checks the forum “userblogs” where topic starter = profilename and it shows the “blogs” of that profile name…

    Hope you understand what I mean, goodluck

    _Null

    #65496

    In reply to: Adding [code]

    rivermaya
    Member

    I don’t know what’s wrong, when I use backtick between code, the code disappear :( , when I use only one backtick in front or after the code, only word “Google” appear (I’m trying your with example code Chrishajer)

    is there any options to allow html on post ?

    #64682
    chrishajer
    Participant

    mciarlo: back to the original problem then. When a user registers in bbPress, they’re not registered in WordPress?

    Have you searched the forum for either cookie or role?

    A couple things sounded interesting:

    https://bbpress.org/forums/topic/wordpress-integration-logout-problem

    https://bbpress.org/forums/topic/integration-how-to-do-it

    #65495

    In reply to: Adding [code]

    chrishajer
    Participant

    You need to enclose your post in backticks. On my keyboard, that’s the unshifted key to the left of the number 1, upper left corner of the keyboard. When you use a backtick `, the code looks like code:

    <a href="http://www.google.com" title="use backticks to show code">Google</a>

    #65494

    In reply to: Adding [code]

    rivermaya
    Member

    actually I need to show the hyperlink code like a href=”….”

    so the members can see what they must put on it

    #65493

    In reply to: Adding [code]

    geekgirl89
    Member

    That’s what the purpose of code is, to show code the way you type it in.

Viewing 25 results - 27,426 through 27,450 (of 32,458 total)
Skip to toolbar