Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,151 through 30,175 (of 32,431 total)
  • Author
    Search Results
  • #57602
    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.

    #56965
    Vili
    Participant

    daddy, you will need to use the “Vili’s avatar thingy” code that I posted above, and then just use the same function as with WordPress:

    <?php if(function_exists('cmd_show_avatar')){ cmd_show_avatar(); } ?>

    #57579

    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. :)

    #57577

    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.

    #57576

    In reply to: Hide a Topic?

    dyaddydad
    Member

    If anyone is interested, I just hacked together a plugin to so this.

    It was crazy as it look aproximately two seconds to do it, using the code base of the Forum Restriction plugin and about one line of change. Allow me to get a backend worked out and if someone likes I’ll post it up.

    Does anyone know how one would go about filtering the RSS feed out as well to prevent users from seeing this?

    #57574

    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.

    #57534

    In reply to: Plugin: lotsolinks

    citizenkeith
    Participant

    This would be really interesting if you were able to link those keywords (not tags! :D ) back to a specific page on the user’s website… not just the front page or whatever page they put in there. That way it would link to something relevant about the keyword.

    How about making the link be to a Google search of that website for that particular keyword? For example, if I defined “ludwig” as one of my keywords, the plugin would link to a Google search of my website, citizenkeith.com:

    http://www.google.com/search?q=site%3Acitizenkeith.com+ludwig

    Make sense? I think this would be much more useful and interesting for the users.

    #57584
    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.

    #57418
    Vili
    Participant

    I would personally just copy the bbPress CSS over to the WordPress one, so as to keep it all in one place. If you want to integrate the two, why then have more than one CSS file? :)

    #57545

    In reply to: single forum

    chrishajer
    Participant

    Search engines have no problems with 301 redirects.

    http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm

    You could save this as your index.php and not have any trouble:

    <?php
    header("Status: 301 Moved Permanently", false, 301);
    header("Location: http://www.yourdomain.com/forum.php");
    exit();
    ?>

    What are the reasons you don’t like redirects?

    #57571
    ardentfrost
    Member

    Naw, I got rid of all my CRTs. I think I do see it, I just don’t notice it. Understand, I’m not artistic at all. All I did to make the rounded corners was take a round paint brush and put a dot on a blank thing, then split it into 1/4ths to make each corner I would need.

    I can probably blur them up, I’ll just have to play with it :)

    #57398
    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. :)

    #57068

    In reply to: Plugin: bbPortal 1.2

    Null
    Member

    Yeah, if you have WP installed go use it. If you don’t have it and want something izi, use this :D

    #57569
    ardentfrost
    Member

    yeah, I made the rounded corners kinda hard… what resolution do you run at? You’re probably just notice it more than I do… I should go back and fade them out a bit. That might look nice :)

    #57568
    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

    #57567
    ardentfrost
    Member

    I did round the corners. Do you not see them? Err, which corners are you talking about? I rounded all containers using gimp.

    Memberlist is one of my plugins. It actually has the most updates :) https://bbpress.org/plugins/topic/17?replies=4

    #57566
    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.

    #1847
    ardentfrost
    Member

    Hey guys, remember me? :)

    I got slammed last semester with classes, working full time, changing jobs, being newly married (and all the stuff that comes with that… if you’re married, I’m sure you know what I mean)… so I completely had to lay off playing with bbpress (hence, none of my plugins have been updated in a few months).

    Well, once the semester was over and things settled down for a week, I decided to revamp my site. My site is a home for 6 blogs, forums, mail, etc… and it is all tied together via the front page. Once I got that looking good, I moved to the forums which I just made live today (which means I’m sure I’ll find more stuff that needs to be adjusted over the next week).

    I revamped the whole nav system for the forums. It’s all done through a simple and small menu at the top. Of course, if you login you can see more icons. If you have an unread PM you are notified by the normal icon blinking.

    This summer looks to be continually busy, especially at work, but I still hope to update some of my plugins soon. Sorry to those of you who have made requests that have gone unanswered.

    The link: http://www.rayd.org/forums/

    #57515
    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.

    #57533

    In reply to: Plugin: lotsolinks

    fredvee
    Member

    Yes I understand now, and your observation makes very much sense. I’m just not much into the structure of bbpress. That’s why I wanted feedback :)

    It would change the plugin, but triggering this substitution by the tags of a topic instead of the website’s content translates into: “make good topics not exclusively about your website AND choose good tags for what you’re posting and you’ll get links back”. Will work into that direction =)

    #57532

    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

    #57531

    In reply to: Plugin: lotsolinks

    fredvee
    Member

    Well yes, it’s not exactly “serious” or “poetic”…

    I don’t understand what you mean by using those tables. Watch out, calling them tags might have been misleading from me. Maybe keywords was better, cause they are supposed to be related to the content of the user’s website.

    It’s all about traffic. What the topic poster might get is one more link back to his site. The price to pay is to post topics on your board… Now I see that this might lead to topics just about his website content…

    I dunno, maybe it was too late at night for me that night :P It was the intellitxt concept that inspired me.

    #57530

    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

    #55076
    lipo
    Member

    Same Problems here, any news on this? :(

    #57234
    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.

Viewing 25 results - 30,151 through 30,175 (of 32,431 total)
Skip to toolbar