Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,651 through 30,675 (of 32,503 total)
  • Author
    Search Results
  • #49617

    In reply to: Emoticons For bbPress?

    citizenkeith
    Participant

    but I presume it still requires some knowledge. :P

    :D That’s why I posted here!

    #49616

    In reply to: Emoticons For bbPress?

    fel64
    Member

    Unfortunately you’ll need someone with some Javascript mojo to do that. It’s been done often enough before, but I presume it still requires some knowledge. :P

    #56249
    fel64
    Member

    Thanks for coming back and telling me :D

    #55577

    In reply to: User ID = 999999999?

    cweb
    Member

    Ok this worked for me, here’s how I actually reset the auto_increment counter.

    NOTE: If you’ve already integrated WP and bbpress and/or if you’ve already had a bunch of new users register, this wont be so easy for you. If however, you’ve performed a fresh installation and conversion then this will be simple.

    1. make sure one of my existing users in the normal ID range is a Key_Master (this is very important). For me, I made one of my users with ID =5 the Key Master.

    2. login with the new Key Master, and delete all the users who are registered with a number => 999999999. For me this wasn’t a problem because “admin” was the only user, I haven’t had any new user registrations. If you do have new users in the 1000000000 range you’ll need to reset their ID’s (I’m not a MySQL guy so I dunno how)

    3. Once all users in the ugly high number range are deleted, you can run the command to reset the counter on your *_users table, for me it was:

    ALTER TABLE bb_users AUTO_INCREMENT = 400

    I just added a few new users and they indeed started at ID 400.

    BTW, here’s the code in the phpbbtobbpress.php converter that sets this very high ID:

    //Let's clean up the trash.
    //Your admin user will be given the biggest possible ID (I tried the biggest BIGINT but it didn't work inside bbPress)
    //If you have more than 999999999 users on your forum, you may have problems... ;-)
    @mysql_query ("UPDATE " . $bbpress_tables['users'] . " SET ID=999999999 WHERE ID=1");
    @mysql_query ("UPDATE " . $bbpress_tables['usermeta'] . " SET user_id=999999999 WHERE user_id=1");
    @mysql_query("TRUNCATE TABLE " . $bbpress_tables['forums']);

    #49615

    In reply to: Emoticons For bbPress?

    citizenkeith
    Participant

    I’d love to have the emoticons available from a pop-up menu, that way you only load them when needed.

    Camino hates all the emoticons on my screen at once. :D

    #56248
    Vili
    Participant

    Brilliant! I didn’t know that global variables like this exist in PHP (I’m a hobbyist). Thanks a bunch!

    Btw, I had to change the declaration from

    global $forumpage = true;

    to

    global $forumpage;

    $forumpage = true;

    It gave me an error otherwise.

    #56193
    fel64
    Member

    The nice thing is you don’t actually need any of that. People can still read your posts if you don’t.

    But I know what you mean; a truly polished interface would be intuitively sensible. I’m not sure what you’re thinking of when you say a plugin to improve it beyond the Quicktags plugin? Obviously minor improvements are always possible, but can you think of a change to make it much easier?

    That’s not rhetorical :P

    #56247
    fel64
    Member

    I have no idea how the bb environment can be detected, but I think I know why your $forumpage hack didn’t work; the WP headers are in different files and such.

    When setting $forumpage, try something like this:

    global $forumpage = true;

    When checking if $forumpage is true, do it something like this:

    global $forumpage;
    if( $forumpage = true )
    {
    ...
    }

    If you tell PHP that you want the global variable $forumpage it should work.

    Not too confident about this, but that should tell PHP to make them global (ie. available everywhere). Otherwise you’ll probably be calling different variables called $forumpage.

    #56229
    fel64
    Member

    Hey Henry, unfortunately it isn’t working for me. Going to your forum and clicking on the Chinese tab gets me an error page in FF but not in IE7:

    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to accept cookies.

    No idea why!

    #56192
    wittmania
    Member

    He does make a good point, though. Most people can’t/won’t figure out how to use html code in their posts. Heck, for many people who use my forum, the bbcode in phpbb was too difficult for them to figure out. It’s not that the people installing/administering BBP can’t figure out what they are doing (although his post does make me a little nervous about his ability to maintain a board), it’s the general public using the board that are likely to have trouble.

    The quicktags are nice, but you still have to know a little about opening/closing tags (and what they all mean) in order to use them appropriately. This is one area that I think many plugins will address as BBP becomes more popular and stable.

    #56168

    In reply to: Quote Plugin Weirdness

    fel64
    Member

    Bah, this is bb (and WP) trying to be clever. It’s annoying; they both mess with your code too much. >_< Although at least WP can handle nested blockquotes.

    #56138

    In reply to: Some links do not work

    fel64
    Member

    I’m surprised you have the page parameter at the end of URLs linking to topics, I never had that.

    #56191
    fel64
    Member

    I’d have to read the forums, once again, to figure out what you mean.

    Or you could just ask us here. :) A large part of these forums is just for help making it work. You’d be happier with bbPress in the long run.

    The markup thing for example is quite simple; I struggled with it initially but a random guess worked out, and the quicktags certainly help. Any text between two backticks (on a European/English keyboard, the button just above tab) will be rendered as code. The ‘markup’ thing refers to HTML, so to make that work you do this:

    <em> makes your text italic </em>

    <br />
    like so will create a single new line.

    <ul> or <ol> will create a ‘list’ structure. Simply put <li> and </li> around each seperate list element. End the list by putting </ul> or </ol>.

    To create links, you do this: <a href="www.example.com/linklocation">link text</a>.

    #1644
    crosinski
    Member

    I admire the idea of bbpress … I really do. After several hours of work, I’ve finally got a forum up and running on my site. There is so much more work to be done to make it usable for my visitors, though, that I just don’t think I can do it. Every installation has been a struggle for me. I don’t know php. The config file took me an entire day to get right. Each and every plugin I installed required further tinkering.

    Here’s a small example that represents my large frustration:

    Allowed markup: a blockquote br code em strong ul ol li.

    Put code in between backticks.

    That’s not enough information for me. I can’t make that work. I’d have to read the forums, once again, to figure out what you mean. And I’m just too exhausted to do that, so I’m going to install another forum for now.

    I’ll keep checking back to see the improvements that you make and, when you get everything worked out and as easy to use as WordPress, I’ll try again.

    But, for now, installing bbpress requires too large a learning curve for me.

    Good luck and carry on,

    C.R. the Exhausted

    #56166

    In reply to: Quote Plugin Weirdness

    Null
    Member

    That is the problem with this plugin, it uses blockquotes. I suggest the plugin builder uses <quote></quote> for this (some users want to use the quoteblocks and also want to quote stuff.

    But yourproblem (Keith) is that bbpress can’t handel nested blockquotes (I think)

    #1643

    Topic: Numbered Posts

    in forum Themes
    citizenkeith
    Participant

    I’d like to have the post number shown for each post. I’m hoping that bbPress already has this functionality, and I would need to do is insert some code into my template. Or do I need a plugin?

    #1642
    citizenkeith
    Participant

    I’m running bbPress 0.8.1 with the Fix bbPress Plugin. I installed Michael Nolan’s Quote plugin, version 0.2.

    It works fine if you quote simple post. But when you quote a post that already has a quote in it, things get weird. This is what my edit box looks like when I do that:

    <blockquote></blockquote>
    <blockquote>
    This is text that was quoted in the post that I am quoting.

    </blockquote>
    This is the text that I am quoting directly.

    It looks as though the plugin doesn’t like nested blockquotes.

    My forum is here:

    http://www.citizenkeith.com/forums/

    #56134

    In reply to: Some links do not work

    fel64
    Member

    Okay, so turn off pretty links and take that out from your .htaccess file so we can find out if that’s the problem. :)

    #56158
    fel64
    Member

    Yo.

    Open your folder containing all your bbPress stuff, including the config.php file. Make a new folder and call it my-templates, if it doesn’t exist yet! Open my-templates and make another new folder, and call it anything you like. This folder will house your forum’s theme.

    Now go back to the main bb folder, and open bb-templates > kakumei. Copy the style.css file into the folder you created a minute ago.

    Open style.css, and look for this (it’s right at the top):

    body {
    margin-bottom: 50px;
    background: #fff;
    font: 62.5% 'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial;
    }

    Those are the fonts that will be used, in order from left to right (if someone doesn’t have, for example, Trebuchet MS they’ll then try to use Lucida Grande). The font they use here is Georgia.

    Change that part to:

    body {
    margin-bottom: 50px;
    background: #fff;
    font: 62.5% Georgia, 'Times New Roman', Times, serif;
    }

    Save it and put the my-templates folder and everything in it on your server in the main bb folder.

    Now, open your forums, go to the admin panel, go to Presentation, and click on your theme’s name. Your forum should look the same as before, but with the new font. :)

    #56161
    boomanfloral
    Member

    Thanks! I did it!! :) So happy.

    Is there a place where I can donate $?

    #56160
    Trent Adams
    Member

    It is done through CSS and blockquote. We don’t have it in the stylesheet here in these forums, but can be done easily. The image for the quote is here. Just download a copy of it to put in on your server. The CSS for that particular one would then be:

    .post blockquote {background: url('/path-to-your-image/quote.gif') no-repeat;margin-left: 175px;padding:5px;border:1px solid #a3a3a3;}

    Trent

    #55876

    In reply to: links to forums broken

    bedbugger
    Participant

    HI Trent,

    Thanks for the replies. I tried the default theme and replacing forum.php. They did not work. THEN I found that there was a “forum” folder inside the forum directory, containing a “bb-admin” file. I have no idea where it came from (maybe I was sloppy with Transmit?) but it looks like a serious case of user error.

    Anyway, up and running once again :-)

    Thanks!

    #1641
    boomanfloral
    Member

    I’d like to find the plugin that allows to make the nice box and quotation marks that you can see here http://thehathorlegacy.info/forum/topic/109

    Maybe BetaCandy can help :) ?

    Thanks!

    #56156
    Griffology
    Member

    The theme appears to be a custom one done to match the rest of their website. ;)

    #1640
    boomanfloral
    Member

    Hi!

    I want to change the font in my forum. I like the one you are using here, my forum shows a different font and smaller. I like this size and type. How can I do it?

    Thank you for all your help! :)

Viewing 25 results - 30,651 through 30,675 (of 32,503 total)
Skip to toolbar