Forum Replies Created

Viewing 15 replies - 121 through 135 (of 138 total)
  • Thread Starter Mew

    (@gokumew2)

    Hi. Um, I only see “Anyone posts a comment” and “A comment is held for moderation” under “E-mail me whenever.”

    Thread Starter Mew

    (@gokumew2)

    So it can’t be done, huh? Poo. =(
    I was hoping there’d be something that just checks if a WP cookie for my domain is present or not, and if it isn’t then it gives a message to login. I guess I’ll have to think of something else.

    Thanks for your help everyone.

    Thread Starter Mew

    (@gokumew2)

    Hrmm…. I tried Kafkaesqui’s suggestion and it didn’t work. Even when I’m logged in, the content doesn’t show. I guess I should mention I need a code that will work on a DIFFERENT domain.

    I tried using…

    <?php
    include('[ABSOLUTE URL]/wp-blog-header.php');

    global $user_identity;
    if(!$user_identity)
    die('Sorry, you must be <a href="[ABSOLUTE URL]/wp-login.php">logged in</a> to view this page.');
    ?>

    If anyone knows how to do this, I’d REALLY appreciate it. Thanks.

    Forum: Plugins
    In reply to: Simple forum?
    Thread Starter Mew

    (@gokumew2)

    Hey. Check out the xdforum help forum at https://www.xdweb.net/wordpress/?a=xdforum

    I posted under “Mew” there and you can see the replies I received. Very helpful. ^^ I hope things work out for you too!

    Thread Starter Mew

    (@gokumew2)

    Thanks!

    Forum: Plugins
    In reply to: Simple forum?
    Thread Starter Mew

    (@gokumew2)

    Hrm… I tried fooling around with it a bit. I deactivated the plugin and edited xdforum.php. I removed the areas near the bottom where they add a filter or something like that. Reuploaded the file and activated the plugin. No problem with the page links afterwards but I get some other error that says it’s from WP’s functions.php file. *sigh*

    I think it’s because the links that the forum inserts in the menu has some child links. I’ve found out that child links are displayed improperly in the Green Marinee template, which is why everything needs to be set to no parent. Is there a way I can have ONLY the forum link displayed and nothing under that? I assume it shows where you are in the forum or something in the sidebar, and this is what’s causing the problem.

    EDIT: Okay, problem solved. I found out that if I set “Create Page Links” to No in the settings, it doesn’t insert the page links. ^^;

    Still have a prob with the form showing up at the bottom on the Post New Thread page though.

    Forum: Plugins
    In reply to: Simple forum?
    Thread Starter Mew

    (@gokumew2)

    ACK! I just noticed that the page links don’t show up on any of the pages, not just the forum.

    Anyway, I tried adding in an extra </div> on the xdforumtemplate.php and the footer is back in its place. Kinda weird since I remember trying this ealier. ^^;

    Now is the problem with my page links. It’s not showing up on anything. The W3C page says at the bottom that it doesn’t see anything for the page links. Just <ul> and </ul>. =(

    And on the Post New Thread page, the forum shows up all the way at the bottom. I’m also wondering why on the specific forum page, the text at the top is rather bunched together.

    Ideas would be appreciated. Thanks!

    PS Just wanna clear up that it’s “aural” and not “oral,” haha. The site’s for voice actors, hence the title. =P

    EDIT: Okay, about the page links in the sidebar, it has got something to do with xdcforum inserting itself into it. I noticed that if I took out the arguments in <?php wp_list_pages(); ?> it shows up, but there’s a stray bullet which messes things up.

    Forum: Plugins
    In reply to: Simple forum?
    Thread Starter Mew

    (@gokumew2)

    Eh heh, was a little reluctant about that. Don’t let the title scare you, it’s nothing bad.

    https://as.crosswithyou.net/?a=xdforum

    I don’t know what I did but the sidebar doesn’t seem to be pushed down anymore, but the page links that are supposed to be under “Navigation” still don’t show up.

    In my sidebar, the code to call for the links is:

    <div id="pages">
    <h3><?php _e('Navigation'); ?></h3>
    <ul>
    <?php wp_list_pages('exclude=7,8&sort_column=menu_order&title_li='); ?> </ul>
    </div>

    PS I don’t know but after a while, the page seems to shorten to under where the footer is being incorrectly displayed. In the “Post New Topic” page, the place where you type the post is too wide. I went into the functions.php of the plugin and changed the texarea cols to be smaller but that doesn’t seem to change it?

    Forum: Plugins
    In reply to: Simple forum?
    Thread Starter Mew

    (@gokumew2)

    I’m trying out xdforum since it looks easier to integrate. I’ve installed it but it doesn’t seem to really get along with my template. I’m using the Green Marinee template. The footer is being displayed right below the forum instead of at the very bottom of the page, and my page links are not showing up in the sidebar. It looks like the forum is being inserted above the sidebar.

    Any ideas?

    Thread Starter Mew

    (@gokumew2)

    I see. All my posts/pages are in only one category as far as I know though… Ah well, I don’t suppose it matters too much.

    Thanks for your help everyone!

    Thread Starter Mew

    (@gokumew2)

    Hmm… Would this work? I found this code in the template for comments.php and changed it a bit.

    <?php // Do not delete these lines
    if (!empty($post->post_password)) { // if there's a password
    if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
    ?>

    <p><?php _e("You must login to view this page."); ?></p>

    <?php
    return;
    }
    }
    ?>

    So, would this code work in requiring a user to be logged in in order to view the certain page (not created using WP)? And is everything written correctly? I’m not very PHP savvy so I’m not sure what everything, such as <? php return; } } ?> does.

    Any help would be appreciated! Thanks.

    Thread Starter Mew

    (@gokumew2)

    Sorry, one more thing. What is “rel_id” in the wp_post2cat table of the database? Should this match the post_id? I have 7 posts/pages yet in the wp_post2cat table, I see 8 items. Am I missing something?

    Thanks.

    Thread Starter Mew

    (@gokumew2)

    Thanks! I will try this out.

    Thread Starter Mew

    (@gokumew2)

    Sounds great but besides copying code and writing includes, my PHP knowledge is not very high. ^^; I know I’ve got to make it check for a user session or something but I don’t know how to do that.

    Is there anyone who could tell me the code for this? Thank you!

    PS I’m thinking of using paFileDB for the download script.

    Thread Starter Mew

    (@gokumew2)

    D’oh!

Viewing 15 replies - 121 through 135 (of 138 total)