Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,626 through 28,650 (of 32,481 total)
  • Author
    Search Results
  • #61783

    In reply to: Forum WIthin WordPress

    chrishajer
    Participant

    I think you might be better off with a WordPress plugin then, if you really want them always in WordPress.

    https://codex.wordpress.org/Plugins/Forums

    Trent Adams
    Member

    The regular uses still have the option to post in the hidden forum and get the error or on all forums? Not quite sure the exact problem. Could you explain a little more for us people that need to be explained things like we are 5 years old? :) For example, what plugin are you using. What exactly do you see versus the regular users, etc.

    Trent

    #61778
    Trent Adams
    Member

    Good deal ;)

    Trent

    #61774
    Trent Adams
    Member

    From the FAQ:

    Create a file called .htaccess in bbPress’ root directory. Put only the following line in that new file.
    Options +MultiViews

    Just upload a file like htaccess.txt with the line mentioned above and then use the FTP program to name it to .htaccess versus htaccess.txt (notice the dot before name).

    WordPress is just thinking right now that you have a URL that doesn’t have an assigned page or post to it and it is getting screwed up! Try that one out!

    Trent

    #61765
    Null
    Member

    I was thinking of a check in the header, since this is always loaded. If maintenance is true -> load maintenance page, else load forum. Very simple to do (if there is an hook in the header.php) . I’ll try to cook something up :)

    _Null

    #53059
    Null
    Member

    Think those 2 plugins use the same “values” in the forms. …. no, value is the wrong word, they use the same names in the code (ok sounds vague I know :)) or the forms have the same name.

    You could check this in the code and if this is the case rename the doubles in 1 form…

    _Null

    #53058
    citizenkeith
    Participant

    I installed the Restrict Registration for bbPress plugin. Every time I make a change to restrictions in the admin panel, all my Private Forums are reset to “Open to All.”

    Plugin: Restrict registration for bbPress

    Not sure where the problem lies (I assume with the restriction plugin), but thought I’d post it here just in case. :)

    #61757
    eeeblog
    Member

    Hi !!

    You were right again! :-)

    I have the line

    $bb->mod_rewrite = ‘false’;

    I forgot to delete the ‘

    Now everything works PERFECT!!!

    Thank you so much!!

    Best regards fromo Spain!

    Andres

    #61763
    Null
    Member

    Thanks, gonna take a look at it. Perhaps it’s easy to convert :)

    #58221

    In reply to: bbSync

    fel64
    Member

    Nope. Whenever I figure it out.

    Feel free to be pushy. I’m still doing it for myself. :P

    At the same time, I do run my own site on bbsync so I am inclined to get it fixed as soon as I can.

    #61585

    In reply to: How Do I Do This?

    chgogrrl99
    Member

    Yes, remember I was going to try to have a list of the cities so people could just click on say “Miami” and then be taken directly to the “Miami” part of the page? Well, livibetter’s code created a list of all the cities and took them directly to the sub-forum for each city. If I create a link on the main WP Page for the Chicago board using an address like http://theangrywaiter.com/forum/forum.php?id=2

    it also takes them directly to the sub-forum. I didn’t really like that, so I figure I’ll just offer one link from the main WP site to the forums and let the visitor scroll past the other cities until they find their’s.

    It might actually be better because then they can see the other cities and more easily go and read posts in those cities as well as in their own city.

    Oh, and if they go to a sub-forum they can enter a post outside of the child forums. I tried to comment that comment form out, but it took them out of all the forums as well. So, now I think it was all a waist of time, but at least I learned something.

    #61584

    In reply to: How Do I Do This?

    chrishajer
    Participant

    table ids, yes, the code from livibetter would need a tiny modification to create unique ids for each table. :)

    And for the anchoring, do you mean something like a list up top on the page, then each of those link further down the page to a named anchor? Like this?

    http://www.vestacompanies.com/properties/

    (click a for sale or for rent category and it just scrolls down the page a little bit to the proper table)

    #61754
    chrishajer
    Participant

    In your config.php, make sure your “mod_rewrite” line says false:

    $bb->mod_rewrite = false;

    Permalinks are not supported on your host, at least not right now. Change that line to false (maybe you have slugs or true there now?) and it should work fine.

    If things work like that, you can figure out the proper mod_rewrite rules for your .htaccess file.

    BTW – those are not real folders, they’re just URLs created by bbPress that look like folders. They won’t be in the filesystem.

    #61697
    Null
    Member

    I need something like this too. Trying to make a plugin that does this by hiding that forum from members but only when they want to create a new topic in that forum. This way they can reply, but not create a topic (cause they can’t select it when creating a topic cause it is invisible for them).

    Still working on a few issues, but theoraticly it should work :)

    #61583

    In reply to: How Do I Do This?

    chgogrrl99
    Member

    I changed the title to alt=

    As far as the table ids…are you talking about the code I got from Livibetter?

    And about anchoring each forum?

    After all that work (by you guys, not so much me) I took that out and decided to just let people scroll down the page. I just think the page looks better and I kind of like that they can see all the other cities.

    I know, I’m a pain in the ass.

    So, on the front-page.php and the forum.php I see nothing like that anymore, but if I right-click page source when at the actual forums page I see what you mean.

    Edit: I see what you mean too when I run it through a valadator

    #61582

    In reply to: How Do I Do This?

    chrishajer
    Participant

    Only 47 posts? Piece of cake.

    I did notice, in Firefox 2.0.0.10 the logo is not entirely clickable. Certain parts of it are, if you hit it just right, but not the whole thing. Odd. In IE7, it’s all clickable.

    Oh, and I probably told you this incorrectly as well (although not intentionally.) The <a href should have a <strong>title attribute, not an alt attribute. The <img should have an alt. So

    <a href="http://www.theangrywaiter.com/" title="go home"> and

    <img src="http://www.theangrywaiter.com/forum/bb-templates/awbbtheme/images/awforumlogo3.jpg" alt="the angry waiter logo" />

    Sorry about that.

    And, to keep your page valid XHTML, you’re going to have to give each forumlist a different ID by appending the name or number of the forum to it. So it would be

    <table id="forumlist-chicago">

    and <table id="forumlist-atlanta">

    or <table id="forumlist-4">

    and<table id="forumlist-11">

    #61752
    chrishajer
    Participant

    Sounds to me like you edited a file (maybe db-mysqli.php) and have a blank line or a space after the closing ?> in the file. PHP doesn’t like that, so it throws that Warning: Cannot modify header information - headers already sent by error. Check any file you modified (db-mysqli.php?) for a blank line or space after the closing ?>

    #61579

    In reply to: How Do I Do This?

    chrishajer
    Participant

    This needs to be removed. It’s right after the header div in header.php

    <img id="headerlogo"

    That is doing you no good. Actually, my message was a combination of a couple messages. Initially I was going to say give the image an id so you could position it, then I said to just style it with #header img – in any case, you need to remove the above since it’s not valid and is causing weird things.

    And you must be working on it since there is no border.

    #58219

    In reply to: bbSync

    vafaaaan
    Member

    it was a test plugin .. i tried to understand the db relationships, and i did .. now i know now how to update a post tag .. so there is nothing usable? :) ok

    #61575

    In reply to: How Do I Do This?

    chrishajer
    Participant

    In header.php, in the header div (where the login_form() is) put this:

    <img id=”headerlogo” src=”http://www.theangrywaiter.com/wordpress/wp-content/uploads/awbanner.jpg&#8221; alt=”The Angry Waiter” />

    Right now though, the image is taller than the header div (the header is 106px, the image is 131px, I think.)

    So, to make it all work, you’ll need to make the header div taller, or the image less tall. Then you’ll need to apply some styling to the image you just placed in the header. Something like this:

    #header img {
    whatever: here;
    }

    That just gets the image into the header. Then you need to wrap an <a href="http://www.theangrywaiter.com/" alt="go home"></a> around that image tag you just added, to link the image to the destination.

    #61725
    vafaaaan
    Member

    Applause :)

    #61724
    livibetter
    Member

    v0.0.0.2

    Fix: #7 – Empty input to foreach.

    Add: #8 – Auto-delete unactivated users.

    Add: (hourly, daily or not) Mail reports, which includes what ID and user_login have been deleted.

    Auto-deletion is executed every 60mins.

    #61573

    In reply to: How Do I Do This?

    chrishajer
    Participant

    Integration doesn’t matter at all if you’re just linking one to the other, they’re just simple html links. You can link anything to anywhere, no integration required.

    Not sure what you mean about “on top of” – the new logo is a background image over to the bottom/right of the header div. The problem with making it a background image, rather than just an image in your code, is that to make it clickable back to the main site, you’d have to make the whole header a link back to the main site. If you look at the source for the page, you’ll see there is no img tag for awforumlogo2.jpg that you can wrap in an <a href=" tag to link back to the main site. I don’t think you want that image as a background image for the header if you’re going to make a link out of it.

    I would remove the background image from your style.css and put the img tag in header.php somewhere in the <div id="header"> section (around line 34 in a stock installation).

    Once you have an image in header.php, you can work on positioning it where you want it and linking it to what you want as well. Then you can figure out where you want your forum title as well.

    #61044

    In reply to: GlamRock.com

    chrishajer
    Participant

    I kinda like it. The colors aren’t my bag, but neither is glam rock :)

    I would add some padding to the bottom, to get the black on the blog or the white in the forum to extent below the bottom of the content a little bit, to “frame” it.

    I think the padding would be added to the #main div on the forum. In the blog, I’m not sure since it’s a table layout.

    Otherwise looks like a nice forum, lots of activity. Nice job.

    #61723
    Trent Adams
    Member

    Wicked stuff on your google code page! Bookmarked! Many great plugins for bbPress and WP!

    Trent

Viewing 25 results - 28,626 through 28,650 (of 32,481 total)
Skip to toolbar