Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,051 through 28,075 (of 32,462 total)
  • Author
    Search Results
  • #63511
    chrishajer
    Participant

    Right now, there is a problem with the config.php. It’s really messed up. I can see the source of that file. Looks like it was edited improperly. It begins with this <!--p when it should begin with this <?php.

    I suggest you contact someone local you can trust who can help you get this up and running.

    It looks like the host supports PHP so that shouldn’t be a problem.

    #63510
    mun33b
    Member

    db-base.php file has been uploaded. The problem must be something else. PLEASE help me some one :/

    #63442
    Craig
    Member

    Thanks all!

    #3008
    Justin Tadlock
    Participant

    I run a bbPress install at http://justintadlock.com/forums.

    My problem is that when I click to go to the next page or page 2 of a forum or topic, I am taken to the first page. So, users can’t access everything.

    I use these calls in my template files:

    forum_pages();
    topic_pages();

    The links show properly, but nothing happens.

    I’m also using slug-based URLs but have tried all three options with no success.

    My .htaccess file looks like this:

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    Options +MultiViews

    However, I’ve tried several different versions with no pagination success.

    I also have this integrated into a WordPress install.

    I’m at a loss at the moment and was wondering if anyone had any ideas on what might be causing this.

    [Edit] Here’s an example page 2:

    /page/2

    #3007
    mun33b
    Member

    Major help is needed. I’m new to bbPress and am quite ‘nooby’; with these things :/ I done everything and I can’t access my forums:

    http://raiderfanzone.10gbfreehost.com/forums/

    Whats wrong?….

    _ck_
    Participant

    The auto-close-tags was broken in earlier versions of bbPress but if I am not mistaken, this is possibly fixed in 0.9 (out any day now).

    I just tested it on bbshowcase.org and leaving off the end tick simply treats the open tick like any other character (ie. no text is converted to code)

    #63498
    Sam Bauers
    Participant

    There may be some trickery you could do using iFrames to get the two different domains sending cookies at the same time on login. It wouldn’t be pretty though, and you would have to really test your code for vulnerabilities.

    Beau Lebens
    Participant

    @talbina – Automattic just hired the developer of BuddyPress (www.buddtpress.com), which is basically what you’re asking for, minus bbPress. So they are thinking somewhere along the lines of what you’re saying :)

    Needless to say it’s not much of a leap to take what comes of BuddyPress (a solid social networking core) and integrate that with bbPress to add the forums element (assuming BuddyPress doesn’t move in that direction itself, which is quite possible).

    #63501

    In reply to: Profile link?

    _ck_
    Participant

    I think it will be something like this

    <?php echo '<a href="'.get_profile_tab_link( bb_get_current_user_info( 'id' ), "edit" ).'">edit your profile</a>' ?>

    (untested) the “edit” part is just a guess…

    get_user_profile_link(bb_get_current_user_info( 'id' )) will get the profile link for general stuff, not the edit tab.

    #60382
    steward
    Member

    Help… I don’t understand anything :(.

    I read step by step your instruction and do all what do you wrote.

    But at the and I got: “The requested URL /<forum-home-dir>/<forum-slug> was not found on this server.”

    What I do wrong?

    #63474
    moongoddess
    Member

    Hi to any lost and wondering fellow twiggers – quite a few of our friends appear to be gathering on the following website

    http://www.tulipskitchen.blogspot.com

    Heres hoping ‘Pig2twig’ is upand running soon – hang on in there :)

    #3001
    citizenkeith
    Participant

    I’m trying to delete some posts. When I hit “delete” the post turns red. When I refresh the forum, I find that the posts are still there. They do not show up in the Admin panel of Deleted posts. I was able to delete before… the last one was about a week ago. I haven’t done anything to the forum since then. The last change I made was adding the Report Post plugin, but that was BEFORE I deleted my last post (2/25/08).

    I’m running the latest released version of bbPress, which is integrated with WP 2.3.

    Here are the plugins that I am currently running in bbPress:

    Use Display Name 0.7.2

    BBCode for bbPress 0.1

    Quote 0.2

    Show Post Count .73a

    Page Links 1.0.3

    Indicate New Posts 0.8

    Simple Onlinelist 1.5

    Move It 0.14

    Censor 0.1

    Page >> 0.7

    Unread Topics 0.4

    Comment Quicktags for bbPress 1.1

    bbPress Polls 0.27

    bbEmoticons 0.72

    Enhanced Registration 0.1.0.1

    Report Post 0.12

    bb-benchmark 0.17

    #63472
    minkeekat
    Member

    Well thank you for that message, but how do we contact the ‘adminsitrators’ of the website please? Any ideas would be good…

    Thanks :)

    Oh and ‘pig2twig’ is a help forum for people who are on a special weightloss programme and it is vital that we acess our forum and information, in case of illness and queries.

    t3ch33
    Member

    Please see the WordPress MU forum ( http://mu.wordpress.org/forums/topic.php?id=7778&page&replies=6#post-46043) and look for my first post where it says “feature and strip” …

    The font changes at that point. It looks like the rest of the thread is formatted like code. I don’t know why there’s a backtick near the word feature, but even if I did put it there and forgot to close it, is that the reason the entire thread appears formatted like code? If not, please explain.

    horrorshow
    Member

    sambauers,

    Will there be a new release of WordPress MU as well?

    I am not complaining, but I sometimes feel like WPMU is the ugly stepchild in that there is always extra hurdles to get things working with other software. ;)

    Don’t get me wrong, I love WPMU since it allows me to create a blog community and do some really cool things. keep up the good work!

    #63469
    cambslady
    Member

    I cannot access pigtotwig either.

    :-(

    Does anyone know what is going on and when the access will be available again?

    #63383
    chrishajer
    Participant

    Everything is possible. I suspect no one here has tried to do it, or at least not mentioned that they had done it.

    #63382
    kernpunt
    Member

    So is this not possible? Or has just no one tried to do it before?

    #2997
    _ck_
    Participant

    I’ve noticed there is a serious problem with the way the CSS works for the default Kakumei theme (and any other theme based on it).

    As you add information to the post author field on the left, it will start to vertically overflow and start to overlap the next post. This is because the designer unfortunately decided to use a shortcut via position:absolute making it impossible to clear:both columns.

    Here’s how to easily fix it by appending two simple lines to the very bottom of the style.css and no need to search for and edit/replace other lines.

    .threadauthor  {position:relative; float:left; margin:0 -110px 0 0; right:110px; }
    .poststuff {clear:both;}

    If you don’t want to edit any core files, simply put this into a plugin (make a new one or any existing one)

    function fix_kakumei_css() { echo '<style type="text/css">.threadauthor  {position:relative; float:left; margin:0 -110px 0 0; right:110px; } .poststuff {clear:both;} </style>';}
    add_action('bb_head', 'fix_kakumei_css');

    Tested working in Internet Explorer, Firefox, Opera and Safari for Windows. Would appreciate MAC browser feedback?

    (I will attempt to automatically include this hack in my plugins to help avoid edits since it’s usually my plugins that add so much info to the left but the new gravatar in 0.9 will also cause the overflow)

    Should actually be a core fix now that I think about it.

    #57374

    In reply to: plugin: seo meta

    victor-f
    Member

    Thasnk! Its work fine :P

    #63409
    Beau Lebens
    Participant

    Actually I’m not using any plugins for the integration process, as bbPress and MU seem to handle it reasonably well “out of the box”.

    I’m running r1197 of WPMU and 0.8.3.1 of bbPress.

    Here’s some of the things that are modified/running though:

    config changes in bbPress:

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://url.to.wordpress.install.com/';
    $bb->wp_siteurl = 'http://url.to.wordpress.install.com/';

    // Integrating with mu
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.domainname.com'; // leading . allows subdomain sharing
    $bb->usercookie = 'wordpressuser'; // WPMU doesn't hash cookies
    $bb->passcookie = 'wordpresspass'; // WPMU doesn't hash cookies

    // Load WordPress so we can use the same templates.
    define('WP_BB', 'true');
    require_once dirname(dirname(__FILE__)) . '/wp-blog-header.php';

    config changes for WPMU

    // Adding custom settings to force cookies to be shared with/accessible to bbPress
    define('USER_COOKIE', 'wordpressuser');
    define('PASS_COOKIE', 'wordpresspass');
    define('COOKIEPATH', $base);
    define('SITECOOKIEPATH', '/');
    define('COOKIE_DOMAIN', '.domainname.com'); // same as bbPress

    Plugins in bbPress

    – A custom one I call “NoLogin” that just attempts to remove all reference that’s built into bbPress (and block actual attempts) at logging in via bbPress (rather than via MU)

    – MD5 insecurity for bbPress by Sam Bauers

    – A quick fix called “MainDomain” that redirects requests to a subdomain instance of the forums to the canonical version which is hosted from mybabyourbaby.com (rather than babyname.mybabyourbaby.com)

    – A quick and dirty “FixKSES” which allows the left/center/justify/right paragraph buttons to work in TinyMCE, because I’m using that for post formatting.

    – Display Names by Michael Adams et al to show the MU display_name, rather than the bbPress username

    WPMU plugins/hacks

    Because I load the WP engine in addition to the bbPress engine (not very performance-friendly, but makes life easier for sharing code etc), I have access to a lot of the functionality I rely on in the rest of the site – grabbing friendly usernames, user icons/avatars, links to profiles (which are handled completely outside bbPress and WP functionality), etc etc.

    I use the TinyMCE editor bundled with WP in bbPress for posting, which is surprisingly easy to add – just load the JS file and add a class to the TEXTAREA. The only thing I haven’t fixed just yet on this is that if you edit an existing post with multiple paragraphs in it then TinyMCE seems to squash it all back down to one.

    I also found that I had to add a quick function to stripslashes() onto the hooks “pre_post” and “pre_topic_title” to prevent annoying slashes appearing in them.

    One last thing that I discovered was that because the WP engine is being loaded to display bbPress pages, but it doesn’t really “know about” those pages (they’re not internal WP pages), it technically triggers a 404, even though it displays just find. I explained this a bit here: https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load including a way around it.

    Templates

    I’m actually using the same templates for bbPress as I am for MU. I accomplish this by symlinking those files directly from the place they normally live, into my-templates/mbob/header.php and footer.php, then make custom files for all the internal bits.

    HTH someone :)

    Beau

    #63459
    itissue
    Member

    Nevermind. I figured it out. All I needed to do was create this:

    <?php if ( !bb_is_user_logged_in() ) : ?>

    ENTER CODE TO HIDE FROM REGISTERED USERS

    <?php endif; ?>

    A simple not was all it took.

    itissue
    Member

    I know there’s a way to hide a certain part of the front page by using this:

    <?php if ( bb_is_user_logged_in() ) : ?>
    INSERT HIDDEN CODE HERE
    <?php endif; else : // $forums ?>

    but I was wondering if you could have a section that only nonregistered users can view. This will make more sense after visiting my site:

    http://tapestry.endless-sonata.net

    At the bottom, I have a table that contains Hot Tags, Views, Users Online, and Top Posters. What I want is for that view to be only visible to registered users. Then, when a nonregistered user views this site, I want just the Hot tags to show in an expanded version, not off to the left. Is there a way to do this? I tried entering the alternate code after this:

    <?php endif; else : // $forums ?>

    but it didn’t display anything.

    #57199
    itissue
    Member

    I tried changing the date format using fel64’s wonderful plugin. It works great except the time is inaccurate. I have the timezone displayed. It shows the eastern time zone apparently. The problem is, the time displayed is obviously off by a lot. It says I posted something at 3:22 PM EST when in reality I posted it at 9:30 AM central time, which is 10:30 AM eastern time. Does anyone have an explanation for this? To see what I mean, go to http://tapestry.endless-sonata.net . Hover over the freshness to see the exact time.

    Edit: The timezone is supposed to be GMT, but apparently it’s displayed as EST. Strange. Is there a way to display the time zone selected by the user or hardcoded on config.php?

    #63457
    chrishajer
    Participant

    1. Validate a couple pages of your site here:

    http://validator.w3.org/

    2. I think you’ll find this font tag is invalid (missing a quote):

    <font color=white">

    Every browser deals with invalid markup in a different way.

Viewing 25 results - 28,051 through 28,075 (of 32,462 total)
Skip to toolbar