Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,676 through 30,700 (of 32,491 total)
  • Author
    Search Results
  • #55629

    In reply to: Duplicate Posts

    fel64
    Member

    Chris, really? What browser?

    The page really shouldn’t hang just because of

    onclick="this.style.display='none';"

    I’m also using 1.0-alpha, and I have no problems. Taking out the JS solved the problem?!

    That should be such standard JS code I’m surprised it doesn’t work in Safari. I’ll have to test it.

    #56106
    fel64
    Member

    Yeah, netvibes only checks for an update in the feed occasionally. Web readers are annoying like that, but also annoyingly useful on account of the notifications etc. :P

    #1636
    chrishajer
    Participant

    1.0 Alpha checked out March 25, 2007.

    I just noticed in my admin panel that there are four normal looking entries in “Recently Moderated” and then the last one just shows this:

    Topic title started by .

    The source shows this:

    <li>Topic titled <a href="http://www.example.com/forum/
    topic.php?id&page&replies&view=all"></a> started by <a
    href="http://www.example.com/forum/profile.php?id=1"></a>.</li>

    [edit – I added line breaks there since the code overflow was not displaying]

    So, some of it is in the source, but there’s no topic title and there’s no topic starter name (which should be admin based on the id). It’s also missing the topic id, the page id, replies, etc.

    Any thoughts?

    I did change the name of the Key Master to “Admin” in bb-includes/capabilities.php if that matters.

    I am using the following plugins if it matters:

    allow-images.php

    js_quicktags.js

    bb-emoticons.php

    notification.php

    bb-limit-latest-discussion.php

    onlinelist.php

    bb-memberlist.php

    since-last-visit.php

    comment_qt_4_bbpress.php

    wordpress-integration.php

    Thanks. ( I imagine I can get rid of bb-memberlist since user management seems to be integrated into the admin panel now. )

    #55628

    In reply to: Duplicate Posts

    I actually had to remove the code I put in because it didn’t work properly with Safari. I’ve also just had to deal with the duplicates.

    #56110
    Null
    Member

    Don’t think so. Vbulletin is obsoleet even phpbb3 (more then 1.5 years late) isn’t as fast and need as bbpress is. I don’t think 1000 post will be a problem since bbpress is “build” a differnt way (don’t know the english terms to explain it right) :P

    #55700
    citizenkeith
    Participant

    I fixed mine… just had the code pasted incorrectly. But I didn’t like it… seems to slow the site down quite a bit. I’ll wait for a better solution.

    #55699
    Null
    Member

    What’s up with that tinymc… it’s crap really… don’t understand why wordpress uses it either, there are way better ones out there…. :D

    #56085
    wittmania
    Member

    Just an update… it does work when breaks and paragraphs are hard coded in, just not automatically.

    Thanks for checking into this.

    #56103
    wittmania
    Member

    Check and see why it is doing that. I had a similar problem whenever I would post a reply on a topic, and again when my pagination was different than the pagination in the “Topic Pages plugin.” It would say the forum was closed, even though it wasn’t.

    The problem there was that it was looking for a page/post that was beyond the actual page/post count. If that’s the case, it might have something to do with the link to the topic. On your influx of dreams post I was able to get a Topic Closed message by adding &page=2 to the end of the URL.

    I’m not saying that’s the problem, but maybe that will give you a place to start.

    I might also suggest to the BBP gods that it would be nice to find a solution so that if a user jumps beyond the current number of pages/posts/topics/whatever, it would display the last activity in that topic instead of the Topic Closed message.

    #55690

    In reply to: Plugin: Latest Replies

    LMD
    Participant

    Hello again, just finished examining code. There are two issues.

    The first issue is that the blog entries you are posting to bbPress appear as closed topics. This problem is totally unrelated to the “Add Titles to Replies” plugin, which does not touch the ‘topics’ table in the database at all. I suggest you enquire with the ‘bbPress Post’ author about this. Did you update that plugin on your forum at the same time as installing mine? That could be the source of the problem.

    Now, having said all that, the second issue is going to seem to contradict it. What I mean is, are you sure the topics are ‘closed’, or is it just that the content does not appear – that is, is it a phantom topic?

    This can occur when the ‘topics’ table gets updated, but the ‘posts’ table does not for some reason (usually a coding error). When you create a new topic in bbPress, you are actually simultaneously creating the topic and making the first post in that topic – so both tables get updated.

    This is where the problem involves my “Add Titles to Replies” plugin, because we have altered the ‘posts’ table, which may be causing an error in the ‘bbPress Post’ plugin code (that plugin writes to the database in a different way to the bbPress core).

    Still with me? Good…

    Now, I do not have access to an integrated WordPress/bbPress installation, so I have made a stab in the dark at trying to fix this the easy way. I’ve written a very short function (a bit of a hack really) that you can add to the ‘bbPress Post’ plugin.

    In the ‘bbPress Post’ plugin open the file called ‘bbpress_post.php’ and add the following code to the bottom of the page, just before the bottom PHP tag ?>

    /* Ugly 'Add Titles to Replies' Hack by LouiseDade */
    function bbpress_add_reply_title( $post_id, $topic_id ) {
    global $wpdb, $otherdb;
    $bb_table_prefix = bbpress_getoption('bb_prefix');

    if (bbpress_getoption('bb_other_base') === "no") {
    $topic_title=$wpdb->get_var("SELECT topic_title FROM ". $bb_table_prefix ."topics WHERE topic_id=$topic_id LIMIT 1; ");
    $wpdb->query("UPDATE ". $bb_table_prefix ."posts SET post_title='$topic_title' WHERE post_id='$post_id' LIMIT 1");
    } else {
    $topic_title=$otherdb->get_var("SELECT topic_title FROM ". $bb_table_prefix ."topics WHERE topic_id=$topic_id LIMIT 1; ");
    $otherdb->query("UPDATE ". $bb_table_prefix ."posts SET post_title='$topic_title' WHERE post_id='$post_id' LIMIT 1");
    }
    }

    Next, scroll up to the bbpress_new_post() function and at the bottom, before the closing curly brace, add:

    /* Added by LouiseDade - updates post reply title */
    bbpress_add_reply_title( $post_id, $topic_id );

    Then scroll up again to the bbpress_post_update() function and add the same code as above just before the closing curly brace again.

    Re-upload the plugin with the changes made and try posting a WordPress entry.

    If it works I shall jump around for joy, but unfortunately I have grave doubts about it. I think it might need to be done the hard-way, which involves rewriting some of the ‘bbPress Post’ plugin.

    Good luck!

    #55627

    In reply to: Duplicate Posts

    chrishajer
    Participant

    Hmm, I actually tried both of these today and my members were unable to post. The page just hung. I was using 1.0 alpha. Not sure what was going on there, but I removed this piece of code. I would rather deal with duplicate posts than a broken forum.

    #1632
    boomanfloral
    Member

    I just installed bbpress :) and I have a feed of my forum in my netvibes page, but it does not seem to ‘refresh’?

    My quesiton is: How fast does the netvibes page should ‘notice’ that I posted a new post in my forum? Is there something I should look into? I think it should be ‘noticed’ at once. Right?

    Many thanks!

    -daniel

    Update => It was just published in my netvibes page… that was after like 50 mins!! And I hit ‘refresh’ in the netvibes feed. :( Is this normal?

    #55689

    In reply to: Plugin: Latest Replies

    LMD
    Participant

    Hi,

    Thank you for letting me know. I suspect the problem is something to do with the fact that an extra database field has been created, and the ‘bbPress Post’ plugin is not updating that field. I have downloaded the plugin and will look at the code to see what’s going on — the fix may have to be in ‘bbPress Post’ rather than my plugins – but it may just be a small code change you can make yourself.

    So, I’ll get back to you in this topic later.

    #56083

    Ahhh great stuf now it works :-) Here’s what I did:

    1. Changed my the name of the users online plugin from onlinelist.php to users online.php

    2. I changed .htaccess back to Options +MultiViews

    3. There’s no step 3 ;-)

    Thanks a bunch guys

    Thomas

    #56088

    In reply to: Theme Check

    fel64
    Member

    There is no description of the stylesheet that I know of, but it’s fairly straightforward. Working on this should be identical to styling WP, only with different classes and ids. There is also no listing of template tags and other API functions, sorry.

    Not sure what you want to do with the images, but some things can be done with CSS.

    .post img {
    property: details;
    }

    You can set things such as the border and the maximum size and the like. http://www.w3schools.com/css/

    For incredibly fancy things with images you need swfIR, but that’s a flash thing and as such a) very annoying b) security risks? c) setup difficult.

    Right now, by the way, you appear to be using Trent’s forum theme, which includes a (hardcoded?) link to his about page (second blue tab at the top).

    You may also wish to re-count your forum’s posts (Admin > Site Management I think), as one of your forums has -1 posts.

    #1630
    Null
    Member

    Hi,

    Is it possible at all to update a db table when de-activating a plugin?

    Some plugins create an own db table and it would be great if this table is deleted when a plugin is deativated. Keeps the db clean :D

    Greetz

    #1629
    Null
    Member

    Hi,

    I finished the next version of the bbMenu plugin, but it has 1 little bug that I can’t seem to fix. When you double click a menu item (in the admin area -> site management) you can change the title. When you press “ok” ajax will save the changes to the db, but it will return the value TWICE (not update the value twice, that goes well).

    So like title:

    Forums

    edit to: bbForum

    press ok

    ajax will save: bbForum to the db, but will show:

    bbForumbbForum

    Refreshing the page will clear it and show it just once. How to fix this?

    I’ve created a beta file so you guys can see what i mean:

    http://www.sourceskins.com/bbmenu1.1beta.zip

    If you already used this plugin, you’ll have to delete the menu table from the db first!!

    Files that really matter:

    edit.php (file that is called when pressing ok)

    editinplace.js (handels al the editing)

    bbmenu.php (actual plugin)

    Also, when I commented out: require_once('../bb-load.php'); in the edit.php file, I didn’t had the problem (could be because nothing was being saved, so it wouldn’t return a value at all)

    Hope some one can help me with this so I can release this :)

    ps. when installing this plugin and you see nothing, refresh the page (still working on this)

    #1627
    wittmania
    Member

    I’ve been fiddling around inside Ardentfrost’s Private Messaging plugin, which is very cool!

    One question I have, though… it seems that when a PM is sent, it ignores the line breaks from the text area so that everything runs together. I suppose you could hard code the paragraph tags in, but most users would never take the time to do that.

    This might belong in the discussion on that plugin’s page, but my question is a general one. In the normal BBP post routine, it automatically converts the double line breaks so they show up correctly in the post. How is this done, and is it simple enough that I could add it somewhere in the plugin to make it perform the same way when a new private message is posted?

    Thanks!!!

    #55844

    In reply to: Setting user data

    fel64
    Member

    Unfortunately not, as it simply hangs itself on the get_profile_info_keys filter – so it gives extra values for the user to edit, which isn’t what I’m looking for.

    #55923

    In reply to: Show off your Forum !!

    Arlo
    Member

    This is my migrated phpBB forum. It’s integrated with my main site rather tightly (UI-wise, not database), and I did a bit of modification to the post layout, making the best use of the narrow column I think. Other than that, just your usual CSS tweakage.

    It’s not live yet, so I welcome feedback:

    http://automatorworld.com/bbpress/

    The plugins I’m using are:

    Comment Quicktags

    Front Page Topics

    Post Notification

    Page links

    Quote

    edit: Please feel free to register and test post, I would welcome the Q&A :)

    #56007
    Trent Adams
    Member

    It works if you are willing to download the latest TRAC version from https://trac.bbpress.org/browser/trunk/ and then scrolling down to the bottom of the page and clicking the ‘download in other format – Zip format’. That is the latest development version. Then you have to change your config.php to have:

    $bb->mod_rewrite = 'slugs';

    Your .htaccess file should just be back to whatever you had before. Mine is just the + MultiViews part.

    Trent

    #56006
    cocowawa
    Member

    fel64, this dont work the url“s link dont change and then error404

    i am adapting code to do a unique forum (without forums!) you con see: http://www.todopiscinasQQQ.es/foro/ (remove QQQ)

    Whats are wrong?

    Trent i hope to do this now but i thing i need to wait for 1.0 and my code dont works then.

    #56004
    fel64
    Member

    Open your config.php file and change line 26 (I think) to

    $bb->mod_rewrite = 'slugs';

    (It should have been $bb->mod_rewrite = [true or false] before.)

    Put the following code in your .htaccess file:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^forum/(.+)/page/([0-9]+)$ /forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/(.+)/?$ /forum.php?id=$1 [L,QSA]
    RewriteRule ^topic/(.+)/page/([0-9]+)$ /topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/(.+)/?$ /topic.php?id=$1 [L,QSA]
    RewriteRule ^tags/(.+)/page/([0-9]+)$ /tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/(.+)/?$ /tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /tags.php [L,QSA]
    RewriteRule ^profile/(.+)/page/([0-9]+)$ /profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/(.+)/([a-z]+)$ /profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/(.+)/([a-z]+)/page/([0-9]+)$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/(.+)/?$ /profile.php?id=$1 [L,QSA]
    RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([a-z-]+)$ /view.php?view=$1 [L,QSA]
    RewriteRule ^rss/$ /rss.php [L,QSA]
    RewriteRule ^rss/forum/([0-9]+)$ /rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/topic/([0-9]+)$ /rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([a-z]+)$ /rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([0-9]+)$ /rss.php?profile=$1 [L,QSA]
    </IfModule>

    #56003
    cocowawa
    Member

    Oh! I like it! Trent

    Could you give me your code please? or say me what are you doing

    Thanks!

    #54292
    Sam Bauers
    Participant

    On *nix RTFM…

    man patch

    On windows… no idea

Viewing 25 results - 30,676 through 30,700 (of 32,491 total)
Skip to toolbar