Forum Replies Created

Viewing 15 replies - 16 through 30 (of 271 total)
  • This may be a bit late but I am currently using the Post Levels Plugin (www.fortes.com/projects/wordpress/postlevels) and love it! It restricts posts to users based on their user level. That way you control who sees what on your blog!

    I’m not a developer or anything, but I have heard of instances where people load scripts into plugins for this purpose. However, I don’t know if that’s 100% true so I wouldn’t take it for gospel.

    There was a thread a while back regarding this same issue. I’ll look around and find the link for you.

    Thread Starter daisyhead

    (@daisyhead)

    LOL! You are too funny! I stumbled across it quite by accident but I’m glad I was able to help you (and hopefully others) out as well!

    I’d be curious to find out why adding an index file to the plugins directory would cause the link for the dashboard to change. I see you just renamed your index file from .php to .html and it worked. I’ll have to go do that too. For now, I’m just glad it’s fixed!

    Thread Starter daisyhead

    (@daisyhead)

    Well, I happened to figure this out with sheer dumb luck. I was upgrading my husband’s WP and he started having the same problem I was having with his dashboard disappearing.

    What happened was I had uploaded an index.php file into his wp-plugins folder to help make it more secure and for some reason that messes up the link within WP to the dashboard. It changed the link from wp-admin/index.php to wp-admin/index.php?page=index.php. Removing the index file from his wp-plugins folder fixed his problem and fixed mine was well.

    Well, I figured it out myself. In case anyone else is having any problems, here’s what I did:

    1. Used <?php echo $amm->imageLink(50);?>
    2. Went into amm_output.php and modified the image code to look like function imageLink($size='small'){
    $imagelink = '<a href="'. $this->URL() .'" title="'. __('Click to view item at Amazon') .'"><img align="left" hspace="3" class="blogimage" src="'. $this->autoImage($size) .'" alt="'. $this->currentItem['amm_title'] .'" /></a>';
    return $imagelink;
    }

    And my images are back to being links and formatted the way I wanted them to be. Whew!

    Okay, it appears I got the image size issue fixed by modifying my code to this:

    <?php for ($x = 0; $x < $amm->totalItems(); $x++ ) :?>
    <img class="blogimage" align="left" hspace="3" src="<?=$amm->autoImage('small');?>" />
    <?php echo $amm->title();?>
    by <?php echo $amm->autoAuthor();?>
    <?php echo $amm->userComments();?>
    Rating: <?php echo $amm->fancyRatings();?>

    However, I now have no link to the book on Amazon. Any ideas on how to get the image to link back to the product on Amazon?

    Hell, at this point if I could make the title of the book a link, I’d take that too! I have tried messing with the code based on other responses I have seen here in the thread, but no such luck. I keep getting syntax errors and I’m not sure what I’m doing wrong.

    Well, the plugin apparently still works and the only page that throws the above errors is my plugin manager page within WP so I guess for now I can live with it. I would still like to figure out what the conflict is between the AMM and Post Levels plugin is though.

    Now I am having a problem formatting. You can see the plugin in use in the sidebar under the “Currently” section of http://www.daisyhead.org. I’m trying to get the small image to show up with a link to the item on Amazon. Here’s the code I have:

    <?php for ($x = 0; $x < $amm->totalItems(); $x++ ) :?>
    <?php echo $amm->imageLink();?><img src="<?=$amm->autoImage('small');?>" />
    <?php echo $amm->title();?>
    <?php echo $amm->autoAuthorLabel();?>: <?php echo $amm->autoAuthor();?>
    Rating: <?php echo $amm->fancyRatings();?>

    My problem is that two images are showing up and it appears the second image is the one I want but there is no link around it and I’d like the text to wrap around it. Anyone have any idea what I’m doing wrong with the code?

    Thanks!

    Does anyone know how to solve this problem?

    And this is line 104 in my Post Levels plugin:

    header('Pragma: no-cache'); and line 105 is a blank line.

    Also, I went through every file in the AMM plugin and did not find any white spaces.

    I am having problems getting this plugin to work with my WP (2.0.5). After activating it, I get the following error messages:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxx_wordpress' at line 1]
    SHOW TABLES FROM xxxx_wordpress;
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/xxxx/public_html/wp-content/plugins/amm.php on line 41
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/wp-includes/wp-db.php:104) in /home/xxxx/public_html/wp-content/plugins/post-levels.php on line 103
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/wp-includes/wp-db.php:104) in /home/xxxx/public_html/wp-content/plugins/post-levels.php on line 104

    When I deactivate the Post Levels plugin (V1.0), the errors go away. Obviously there is some kind of conflict between my Post Levels plugin and the AMM plugin but I’m not savvy enough to know if there’s anything I can do to remedy this. I would REALLY love to use this plugin. Thanks!

    Thread Starter daisyhead

    (@daisyhead)

    Got it Moshu! Thanks!

    Thread Starter daisyhead

    (@daisyhead)

    So I can change the output by modifying the wp-includes/locale.php file?

    Thread Starter daisyhead

    (@daisyhead)

    No, I haven’t tried to deactivate them because I really like using them. The odd thing is that there are others out there having this same problem. I wonder why it’s not being looked at by any developers as a bug issue? Unless you are one Calcifer, then I apologize. πŸ˜‰

    No, but I use posts as stickies to keep them at the top of a page. If you check out my blog (www.daisyhead.org) now, the entry that is at the top, I would like to make a sticky so it will stay on top after I continue to post other entries. There are times when I use the Adhesive plugin a lot and other times when I don’t, but it is one plugin I really grew to depend on. That’s why it kind of sucks that it doesn’t work now that I’ve upgraded from 1.5.x even though I know I needed to upgrade for security reasons.

    Does Adhesive work with 2.0.6 though? Hm. This stinks because that was one plugin that I really used a lot. I’m surprised no one has given it a go to see if there is a way to make it compatible with 2.0.5. It seems like a lot of people use this plugin. I think I’ll look into Mushu’s suggestion and see if I can get that to work for now.

Viewing 15 replies - 16 through 30 (of 271 total)