Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter bonnerl17

    (@bonnerl17)

    Ok thanks. Now a couple question about the codex.

    First, when you a top level menu does it create a submenu with it, and if it doesn’t how do you send it too a submenu?
    Second question,
    “add_menu_page(__(‘Display Options’), __(‘User Info’), 10, ‘User-Info/User-Info-options.php’, ‘User_Info_display’);”
    Is that right?

    Forum: Plugins
    In reply to: comment_ID()
    Thread Starter bonnerl17

    (@bonnerl17)

    I’m needing the users ID.

    Anyway, you can use get_comment_ID() to get the comment ID back instead of echoing it.

    Thanks.

    Thread Starter bonnerl17

    (@bonnerl17)

    Ok thanks.

    Forum: Plugins
    In reply to: it’s redirecting… why?
    Thread Starter bonnerl17

    (@bonnerl17)

    Problem solved.

    Ok so I discovered my problem was were I had a line in the javascript to prevent it for cacheing the results of “sidebar_update.php” and the line was

    // url=url+”&sid=”+Math.random();

    I also fixed a the line that had the info to send to the sidebar_update page, so that it is now.

    var params=”pages_in=” + pages_in.value + “&auth=” + auth;

    Thanks for your help Otto42.

    Forum: Plugins
    In reply to: it’s redirecting… why?
    Thread Starter bonnerl17

    (@bonnerl17)

    Yep that would make sense. But using the complete url didn’t help. I don’t think it I should be lacking anything but at the moment I’m running this of my test server on my computer. So I don’t know if it’s possible that I’m lacking anything, but I do know I have “mod_rewrite” actively going.

    Note: I am using fancy permalinks…

    Forum: Plugins
    In reply to: it’s redirecting… why?
    Thread Starter bonnerl17

    (@bonnerl17)

    Mmm… I’m not entirely certain what the issue is, however you should not have this line in the PHP code:
    require(‘wp-config.php’);

    That will work for some limited cases, but saying which cases is a bit tricky. It will often cause errors. Changing it to this will always work:
    require(‘wp-blog-header.php’);

    Ok, thanks.

    Also, does hitting the sidebar_update.php directly from a browser return the correct results?

    Yes it works correctly when you access it directly.

    If it’s showing the whole blog at index.php (or redirecting) what’s the contents of the .htaccess file?

    Options All -Indexes

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    That’s what’s in both .htaccess. The reason I say both is because I’ve got my WP home page set to “www.example.com” and WP in “www.example.com/blog/”.

    Forum: Plugins
    In reply to: it’s redirecting… why?
    Thread Starter bonnerl17

    (@bonnerl17)

    Last intentional bump I’m doing, cause I hate bumping, but I have a problem and no answer.

    Is there anyone at least looking into this for me?

    Is the problem I’m having a bug, that I should report?

    Thanks for any input/help you might provide…

    Forum: Plugins
    In reply to: it’s redirecting… why?
    Thread Starter bonnerl17

    (@bonnerl17)

    Still having the same problem and seeing as to how my post has been moved back a page I’m bumping it. ??

    Here’s a recap of my issue: I’m using javascript to make the sections in my sidebar retractable. When the javascript sends info to “sidebar_update.php”.”Sidebar_update.php” then should be receiving some information from the javascript to confirm what it (the sidebar_update.php) should send back to the javascript to display. But the javascript 99% of the time displays the index.php as if it didn’t find “sidebar_update.php”.

    See above post for the contents of “sidebar_update.php” as well as the javascript.

    Does it work in safari?

    Thread Starter bonnerl17

    (@bonnerl17)

    Ok, thanks for your help that solved my problem. also as a way to help me become familiar with php i was going to come up with a way for users to select who can view their profiles. Thanks for the help.

    Thread Starter bonnerl17

    (@bonnerl17)

    Ok, what I’m working on at the moment is to create a page were subscribers can view other users info, and the file name is “userinfo.php” and I’m wanting to keep it in my theme folder which in this case is “wp-conent/themes/A-Mess/”. So now I’ve got a folder named userinfo.php in my theme folder and I’ve told it to get_header, then to get_sidebar, then the get_footer. and fomated it all to look like the rest of my blog. Now i put some text in what would normal be the post section in order to test the page. Now I go to that page through my browser and instead of showing that page it shows the index.php displaying the last ten posts. Is that enough detail?

    I’ve got the same question!!

    Thread Starter bonnerl17

    (@bonnerl17)

    I got it. I put made wordpress operate out of a subdirectory.

    Thread Starter bonnerl17

    (@bonnerl17)

    Ok let me explain what I’m wanting to do at this moment. I’m experimenting with an iframe, and in that iframe I want the w3’s things for telling people my page is valid. So I have the coding for that in there and the doc type, html tags…ect but when I put the iframe on my main page and link it to the page with the valid stuff.Now when I go to my home page or any other blog page (excluding the admin area) it shows my blog home page (the index.php) in that iframe.

    So what do I have to do for it to show my other coding?
    What do I have to do for it not to show

Viewing 15 replies - 1 through 15 (of 31 total)