Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,401 through 27,425 (of 32,458 total)
  • Author
    Search Results
  • #65634
    refueled
    Member

    Hey Null,

    Thanks for your reply.

    Just curious, what’s wrong with it being left aligned? At this point I probably wont change that because it’s based on one of my original CSS templates.

    Thanks for the color suggestion. I will make those adjustments.

    More reviews are welcome. :)

    #3577
    risoknop
    Member

    Hello, I have installed bbPress at one of my websites (in a subdirectory called “forums” – i.e. bbPress is installed at mydomain.com/forums/).

    I’m trying to set up Lighttpd URL rewrite rules now in order to achieve SEO friendly permalinks.

    I have tried to google a little bit but the only thing I have found is this:

    "^/forum/([^/]+)/page/([0-9]+)/?$" => "/forum.php?id=$1&page=$2",
    "^/forum/([^/]+)/?$" => "/forum.php?id=$1",
    "^/topic/([^/]+)/page/([0-9]+)/?$" => "/topic.php?id=$1&page=$2",
    "^/topic/([^/]+)/?$" => "/topic.php?id=$1",
    "^/tags/([^/]+)/page/([0-9]+)/?$" => "/tags.php?tag=$1&page=$2",
    "^/tags/([^/]+)/?$" => "/tags.php?tag=$1",
    "^/tags/?$" => "/tags.php",
    "^/profile/([^/]+)/page/([0-9]+)/?$" => "/profile.php?id=$1&page=$2",
    "^/profile/([^/]+)/([^/]+)/?$" => "/profile.php?id=$1&tab=$2",
    "^/profile/([^/]+)/([^/]+)/page/([0-9]+)/?$" => "/profile.php?id=$1&tab=$2&page=$3",
    "^/profile/([^/]+)/([^/]+)/favorites/?$" => "/profile.php?id=$1&tab=favorites",
    "^/profile/([^/]+)/?$" => "/profile.php?id=$1",
    "^/view/([^/]+)/page/([0-9]+)/?$" => "/view.php?view=$1&page=$2",
    "^/view/([^/]+)/?$" => "/view.php?view=$1",
    "^/rss/?$" => "/rss.php",
    "^/rss/forum/([^/]+)/?$" => "/rss.php?forum=$1",
    "^/rss/topic/([^/]+)/?$" => "/rss.php?topic=$1",
    "^/rss/tags/([^/]+)/?$" => "/rss.php?tag=$1",
    "^/rss/profile/([^/]+)/?$" => "/rss.php?profile=$1"

    Could anybody tell me how to edit it taking into consideration the subfolder where the bbPress is installed?

    My current Lighttpd rewrite rules in config file are bellow:

    url.rewrite-once = (
    "^/(wp-.+).*/?" => "$0",
    "^/images/.*/?" => "$0",
    "^/forums/.*/?" => "$0",
    "^/temp/.*/?" => "$0",
    "^/(sitemap.xml)" => "$0",
    "^/(xmlrpc.php)" => "$0",
    "^/keyword/([A-Za-z_0-9-]+)/?$" => "/index.php?keyword=$1",
    "^/.*?(?.*)?$" => "/index.php$1"
    )

    #65633
    Null
    Member

    Well I would center the whole forum instead (its now on the left part of the screen) and I would darken up some things (like the zebra stiping and mouse over). Also I would make all hyperlinks that dark green like you have for the forum title (upper left: your ministry.org).

    Also remember that not all screens are the same. Some people have it too bright, others too dark, so don’t use too light colors :)

    Just my 2 cents, looks great

    #65618
    bobbyh
    Member

    Yeah, that should work. If you have trouble with this, post a link and I’ll tell you what CSS you need. :-)

    #65625

    In reply to: hiding the long URL

    John Conners
    Participant

    You use standard HTML markup so to create the following link:

    Here’s a link

    you’d enter the following:

    <a href="http://www.example.com/">Here's a link</a>

    #3572

    I’m using Transition Towns bbPress forum and I cannot see a page of instructions anywhere – either there or here – about using code for those who are a little unfamiliar perhaps? I don’t understand your “allowed markup” below, if this is it. I want to put hyperlinks in but hide the URL, and the phpBB system [url=http://website_URL]website[/url] evidently doesn’t work here.

    dragosbogdan
    Member

    I’ve been trying to follow this thread that has a patch to display the temporary password for users who have just registered with my forums:

    Users dont receive password after registration

    the code in my file is different then what pravin said to change in bb-includes/registration-functions.php. i just can’t figure out what needs to be changed.

    is this technique outdated? I’m running bbpress 0.9.0.2. i would really like to do this as my mail server from my crappy host gets blacklisted often and registration emails get caught in spam filters.

    i also know i should add some stuff to my SPF records, but 1) i’m not really sure how to do that (that’s a different thread though) and 2) i’d like to display the passwords at registration anyway.

    please help!

    #65616
    bobbyh
    Member

    wilcosky, I don’t know a plugin that does this, but if you’re worried about a string like aaaaabbbbbbbbb “breaking your theme”, you can just apply a CSS overflow to the post class. This theme actually does so with this code: .post {overflow:hidden;}

    #3570
    moomag
    Member

    Well finally I have got BBPress and WP talking to one another (hurrah!) but I would like to know if it is possible to open BBPress inside a WP Page so my current WP site wraps around the forum?

    Is this possible and if so could some kind soul please tell me how to do it ;)

    Thank you!

    #65605
    jldean
    Member

    If you need to pre-moderate new topics/posts, there’s a great plugin for that here

    If the subject matter is political/contentious, this can be a useful tool :)

    #65613

    In reply to: How to get poster name

    jldean
    Member

    Ah yes – I had a bit of a fiddle and found bb_get_user

    $uid = $bb_post->poster_id;

    $bb_user = bb_get_user( $uid );

    $uname = $bb_user->user_nicename;

    This does the job fine :) Thanks

    #65567
    Null
    Member

    I say wait till _ck_ releases his plugin. It’s more extended.

    Let’s all spam _ck_ so he will release the thing already :P:P:P:P

    (yeah also waiting for the release :))

    #65612

    In reply to: How to get poster name

    Null
    Member

    Try: get_topic_author() or something. There was a wiki where you could find the correct “tag” @ bbpulp.org but that one seems to be down at the moment…

    #3567
    jldean
    Member

    Hi

    I’m just trying to fix a plugin (Moderation Hold) so that it updates the ‘Last Poster’ field correctly when a post is approved.

    It currently uses this to set the poster id and name:

    $uid = $bb_post->poster_id;

    $uname = $bb_post->poster_name;

    But the user name doesn’t get returned. Is there a correct function for this?

    Thanks!

    #65591

    In reply to: color attribute

    chrishajer
    Participant

    I think you might have better luck at the TinyMCE forum. It’s not a bbPress problem, (unless it’s a filter stripping out the tags) but something TinyMCE is doing with your span tags.

    http://tinymce.moxiecode.com/punbb/

    I suspect though that it’s got to do with the rules for span elements. The XHTML ruleset allows style but I’m not sure why it strips out the color. Or, are you filtering this through something in bbPress that would strip that out? (in WordPress, I think kses handles that.) Can you post spans with a color style as administrator? How about the ‘admin can post anything’ plugin?

    https://bbpress.org/plugins/topic/admin-can-post-anything/

    If the admin can post the <span style="color: #ff0000;">, WYSIWYG or not, then it’s likely a filter in bbPress that is stripping that code out.

    #65599

    In reply to: www.thepoolparties.com

    bobbyh
    Member

    Nice work, Familia. :-)

    Obviously, it’s appropriate for you to post about your bbPress site in the Pimp My Press forum…

    #3559
    rickboyce
    Member

    I’ve written a WYSIWYG plugin for my BBPress install. It replaces the standard textarea with the TinyMCE WYSIWYG editor based on an option in the user profile.

    I’ve incorporated code from Michael D Adams’ ‘Allow Images’ plugin and extended it a little to include paragraph <p> tags and <span> tags.

    Everything is working fine, except for one issue that is driving me mad.

    When a span with color set in it’s style attribute set, the color: gets stripped out. For example <span style=”color: #ff0000;”> becomes <span style=””>.

    I can’t figure this out for the life of me! Other CSS attributes are fine, for example text-align:, background-color:, text-decoration: all work fine.

    I’ve tried the following two bits of code with no success:

    1. $tags = array(‘style’ => array());

    2. $tags = array(‘style’ => array(‘color’ => array()));

    Does anyone know if there is a way I can modify this behavior?

    This is my first attempt at a plugin, so apologies if I’m missing something obvious here!

    Thanks,

    Rick

    #65570

    In reply to: Database error

    vassago
    Member

    Yeah I thought of that, haven’t tried to unload all of the plugins yet, there needs to be a disable all like wp ;). I’ll try and post my results. Thanks for the help.

    #3560
    #3558
    Abdullah Arık
    Participant

    Is it possible to Delete a Post by It’s Owner?

    I added this to member capabilities, but it shows me it’s a bad idea :D ;

    ‘delete_posts => true,//+’

    How can I do?

    #3557
    vassago
    Member

    When trying to post I get this message:

    bbPress database error: [Unknown column ‘post_title’ in ‘field list’]

    UPDATE bb_posts SET post_title=’Testy mctest test’ WHERE post_id=’11

    I am using the wordpress database (different prefix for bb stuff) but there doesn’t seem to be a post_title column, here’s the output from mysql:

    mysql> describe bb_posts;

    +


    +


    +


    +


    +


    +


    +

    | Field | Type | Null | Key | Default | Extra |

    +


    +


    +


    +


    +


    +


    +

    | post_id | bigint(20) | NO | PRI | NULL | auto_increment |

    | forum_id | int(10) | NO | | 1 | |

    | topic_id | bigint(20) | NO | MUL | 1 | |

    | poster_id | int(10) | NO | MUL | 0 | |

    | post_text | text | NO | MUL | | |

    | post_time | datetime | NO | MUL | 0000-00-00 00:00:00 | |

    | poster_ip | varchar(15) | NO | | | |

    | post_status | tinyint(1) | NO | | 0 | |

    | post_position | bigint(20) | NO | | 0 | |

    +


    +


    +


    +


    +


    +


    +

    9 rows in set (0.00 sec)

    I have looked around, but can’t seem to find anything about it on here. The forum/topic actually shows up when I go back to the page, but this is rather inconvenient. Thanks to anyone willing to help out with this.

    WP version = 2.51

    MySQL version = Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution

    bbPress version = latest (just got it 3 or 4 days ago) so 0.9.0.2

    Thanks,

    -Scott.

    #65547

    Jes’ bumpin’.

    Thanks!

    -Sherry

    #65559

    In reply to: Check out our new skin

    Null
    Member

    I like it, it’s something different then the normal reskinning jobs :)

    And screw IE6, it’s absolete anyway :P

    Will this theme be realeased for download anytime soon?

    #3554

    Topic: Check out our new skin

    in forum Themes
    esck
    Participant

    Hello my friend just finished our bbpress theme at iPhoneFan.com

    Please check it out as we are very proud of it :)

    http://iphonefan.com/foro/

    Unfortunately, it doesn’t work quite well on IE6 :(

    #3552
    wiseacre
    Member

    At first – I know the excellent _ck_ ‘s bbpress showcase. Good work, man! :)

    But should have bbpress.org/themes just like bbpress.org/plugins . After 1.0 RC may be.

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