fel64 (@fel64)

Forum Replies Created

Viewing 25 replies - 676 through 700 (of 1,001 total)
  • @fel64

    Member

    It’s not, no. I have no idea, sorry.

    @fel64

    Member

    Why don’t you open the file, go to line 193, and systematically take out one $ at a time until it works?

    @fel64

    Member

    Manually query the category database and output it? Not that it matters. :P

    @fel64

    Member

    I would’ve thought the duplicated code wouldn’t be more than some basic HTML; CSS can easily be linked to and you have a different API anyway. I can’t say I really know, I haven’t done it. Your function to create the links could easily check if it was called from bb or WP automatically and respond appropriately, but I understand needing the WP API.

    bbolman: https://trac.bbpress.org/timeline

    @fel64

    Member

    That’s a nice site, and I love the fact that you made a ‘fancy’ menu without using Flash. Also I really like the effect of that Start Selling badge :P. The colour for stickies in your forum is a bit dodgy though, it might look nicer if you used the sidebar orange for that (and for the green headers maybe). :)

    I don’t understand the necessity to use WP headers, though. Surely the amount of work needed to standardise the header is far less when you just copy the code? That’s got poor maintainability I admit, but there shouldn’t be anything you need to edit often in templates and if you really needed it you could write and use some wrapper functions that would determine which stuff to load.

    @fel64

    Member

    Actually, when I just try to add a new identity for testing, it seems to have automatically been set as a moderator.

    That’s a bit worrying! What happens if every user becomes a mod?

    Also remember WP is in version 2.1, while bb is still before official release at version 0.8. :)

    @fel64

    Member

    Trent, do you think you could point this topic out to one of those people with mighty WP/bb mojo? Just a gentle pointing out or something. Nothing pushy. :)

    In reply to: Hide a Topic?

    @fel64

    Member

    Better yet, post it publicly in case someone else wants it too.

    In reply to: What is a bozo?

    @fel64

    Member

    No documentation. “1” means true, “0” means false. Sounds like you need the fix.

    @fel64

    Member

    Vili said it was a WP plugin.

    @fel64

    Member

    No reason to delete the db! You can always use something like PHPmyAdmin to change entries. The relevant settings should be in wp_options.

    This was directly after you were in WP Admin > Options > General and changed only WordPress Address and Blog Address? You’d need to change back the options named “siteurl” and “home” respectively. Change them back to IP and see if the problem disappears.

    In reply to: Hide a Topic?

    @fel64

    Member

    The only other stuff is on this site: https://bbpress.org/documentation/

    Help out with the bbpulp site, though, if you can. :)

    In reply to: Hide a Topic?

    @fel64

    Member

    List of filters; there’s probably 5 – 10 there involving RSS. One of them will let you check if a topic is hidden and if so remove it. :)

    That would be a cool plugin. Add it when done.

    In reply to: Hide a Topic?

    @fel64

    Member

    No, but it won’t be hard to write your own. Add a link to each topic (visible only to mods) to /hide.php?id=%topic_id%. In hide.php, check if the user is actually a moderator, if so add an entry to bb_topicmeta indicating this topic is hidden. Then use the right filter to monitor the topics and remove them from the list if it’s marked as hidden and the user isn’t a moderator. Finding the right filter might be hardest; I suspect it’s forum_topics but don’t know. List of filters here.

    [edit] oh yes, also worth adding another element to the new topic creation form, asking if it should be hidden, so that the topic won’t be visible in between creation and being marked as hidden.

    @fel64

    Member

    It is probably possible; you would have to fopen the image in binary mode, read its width and if that’s too big delete/replace it I think. Quite complicated and very server-intensive.

    The superior solution, in my opinion, is to open your theme’s style.css, look for the #thread li entry and add to it:

    overflow: auto;

    That will then add scrollbars to each post if the width of an image exceeds its specified dimensions (for example, if you explicitly set the width of it (or one of its parent elements) (probably done in your theme already) but not the height, the image would stretch the post to the desired height but add scrollbars to the width).

    Alternatively you could add this to the end of your style.css file:

    #thread li img {
    max-width: 600px;
    }

    Or whatever width you want. This does not work so well; the image will load at full resolution, breaking the layout, and then be resized. It is also only supported by newer browsers; IE 6 will not recognise it.

    @fel64

    Member

    h2.postform is in /bb-templates/k2/style.css, line 194. It’s stretched like that because it by default takes up the whole width of the parent element, which is Secondary. It is more effective to set the width for Secondary than for the child elements, because the Secondary width will automatically control all the child elements too. :)

    Firebug is an invaluable HTML, CSS and JS debugger. :)

    @fel64

    Member

    1280 x 1024, an LCD too, which might make all the difference. You don’t get the natural gaussian blur of of CRTs; are you using a CRT? Could that be the difference?

    @fel64

    Member

    I see the corners, they just looked pixelated to me. I just prefer them smoothed out with anti-aliasing and I thought Gimp does that. :S

    Ahh, excellent. Another oversight :P

    @fel64

    Member

    Very much so :)

    Good that you’re back, then. The memberlist thing looks quite cool; feel like sharing it as a plugin? I really like the little menu you have there.

    Your forums look good, but I think it would help if you rounded those corners using Photoshop, Gimp (free) or Paint.net (also free), which should add anti-aliasing to them :P

    Also thanks for the IE min-height hack, that’ll be useful.

    @fel64

    Member

    It is possible but I don’t know of any plugins to do it. You can probably do it yourself fairly easily though :). You need to make a WordPress plugin that will call the data and display it. You can get the data by using something like

    global $wpdb;
    $latestusers = $wpdb->get_results("MySQL query");

    but the wordpress wpdb reference and plugin writing reference will be of more help.

    In reply to: Plugin: lotsolinks

    @fel64

    Member

    I don’t mean that in a bad way :P It’s just a new concept to me.

    Fair ’nuff.

    Yup. It’d be interesting to see how it turns out.

    The later at night, the more interesting the idea :P

    In reply to: Plugin: lotsolinks

    @fel64

    Member

    It’s an interesting concept. I can’t see it working personally or understand why you’d want it … but it could lead to some interesting behaviour :P It seems almost game-esque to me.

    I don’t understand why you didn’t use the bb_topics, bb_tagged and bb_tags tables in unison. Surely you could look up what topic had which tags that way? Or did I misunderstand something?

    Best of all still is bigbreastsforum.com :D :D

    @fel64

    Member

    Got a problem on my hands. I’m trying to simplify a lot of things by require’ing bb-load.php and then using the bb API. However bbdb loads with a fatal error if I do this when wordpress has fully loaded, but it works perfectly fine if I require bb-load when the plugin is run.

    What I mean is require( 'path/to/bb-load.php' ) works fine if placed anywhere inside the main code of the plugin. If I call it using the wp hook init it no longer works, nor does calling it by other hooks (that I’ve tried) or through function calls in templates and the like.

    I went through wp-settings.php and require’d bb-load systematically until I found that it only worked once wordpress had loaded general-template.php (line 153). It worked from any point onwards, including after do_action('init'); (which I don’t understand at all). Using the init hook in my plugin to require it does not work.

    I suspect this means that the init hook in wordpress maybe does something or other, then loads plugins, then does something else that stops bb being included, then runs any other funtions registered with the init hook – but my wp mojo is not impressive. I tested this with all other plugins deactivated.

    The output if bb-load is required too late in the code:

    Fatal error: Call to a member function get_row() on a non-object in D:xampphtdocsforumsbb-includesfunctions.php on line 1224

    That makes me think bbdb is not created, but I can’t see why it wouldn’t be.

    Can someone help me with this please? I’d much rather use the API than duplicate functions.

    @fel64

    Member

    The #1 thing to do is to backup regularly. You can’t be 100% sure that you’re safe – but if you have a backup it’s not a particularly big deal. :) If you use WordPress use the backup plugin for that and include the bb tables too.

    If someone else users your computer and you’re still logged in, then they have access to everything you have access to. You can’t do much damage through bbPress; deleting posts etc. isn’t permanent, for example. What you should be concerned about (if you reckon someone nasty is going to get to your computer at all) is your FTP, database and hosting admin access.

    In reply to: bbpress wysiwyg status

    @fel64

    Member

    You can hack your WYSIWYG plugin editor in fairly easy apparently but there’s no plugin released to do that to my knowledge. Quicktags does the job without all that annoying incredible slowness.

    Great emoticon plugin, unfortunately not available through the plugin browser.

Viewing 25 replies - 676 through 700 (of 1,001 total)