Forum Replies Created

Viewing 15 replies - 1 through 15 (of 63 total)
  • Forum: Plugins
    In reply to: User Page
    Thread Starter badkarma9000

    (@badkarma9000)

    I could also accomplish this an opposite way by changing where it directs a user who logs in. In other words if the pre-loop code or the loop code don’t have any way to say “You’re currently logged in as you so I’m gonna show you your posts and nobody elses” then another solution would be to change the re-direct after a user logs in.

    For example:

    Fred logs in, and instead of it taking him to the dashboard, it’s coded to send him to his author page. I saw a cool site that said how to do this, but not automatically:

    https://www.kpdesign.net/wordpress/allowing-limiting-user-access-in-wordpress/

    But it’s through manually adding lines of code. IE:

    <strong><?php echo $user_identity ?></strong></li>
    
    <?php get_currentuserinfo(); if ('2' == $user_ID) { ?>
    <li><a href="<?php bloginfo('url') ?>/clients/client1/" rel="nofollow" title="<?php _e('Your account summary'); ?>"><?php _e('Account summary'); ?></a></li>
    <?php } ?>
    
    <?php get_currentuserinfo(); if ('3' == $user_ID) { ?>
    <li><a href="<?php bloginfo('url') ?>/clients/client2/" rel="nofollow" title="<?php _e('Your account summary'); ?>"><?php _e('Account summary'); ?></a></li>
    <?php } ?>
    
    <?php get_currentuserinfo(); if ('4' == $user_ID) { ?>
    <li><a href="<?php bloginfo('url') ?>/clients/client3/" rel="nofollow" title="<?php _e('Your account summary'); ?>"><?php _e('Account summary'); ?></a></li>
    <?php } ?>

    Thus I’d have to add a new block of code to the links everytime a new author is added. We will be adding authors all the time, so it’d be best if that was dynamic and could just

    <?php get_currentuserinfo(); if

    followed up by some “go to THAT AUTHORS page”. I just don’t know if that’s possible.

    Anyone know how to make it so that the posts link to the new version created from the syndication– instead of just linking back to the original?

    In other words, I want people to see the blogs on the new site, as opposed to always going back to the original sites to comment.

    Thread Starter badkarma9000

    (@badkarma9000)

    If anyone wants to look into this, the very latest blog post is a good example (“Almost Home”).

    Also, FYI, I’d post the code for the archive page also, expect it just uses a get_archive piece of code in the area in question, and I don’t know how to follow that train further to see what kind of link it is calling up… I think that would probably help me out though, if I could figure out what process the archive page is using to go to a post page… Then maybe I could replicate it on the homepage side. Any ideas? I’m stumped.

    Thread Starter badkarma9000

    (@badkarma9000)

    Awesome… Thanks.

    You’re always a great help, Solo.

    Thread Starter badkarma9000

    (@badkarma9000)

    Where can I find my php.ini? I was looking everywhere in the wordpress folders… Is it someplace else, like in the database or something?

    Thread Starter badkarma9000

    (@badkarma9000)

    Any ideas? I’m at a loss so far.

    Thread Starter badkarma9000

    (@badkarma9000)

    Anyone?

    Thread Starter badkarma9000

    (@badkarma9000)

    Also, I just read somewhere that Myspace’s RSS feed is somewhat not pretty. Like it has excerpts built in, etc…

    So, I think A) I would need some sort of plugin that allows me to remote post to WordPress via an RSS feed from someplace else (which I know exist, however…)

    B) I would need to find a plugin that really handles well formatting those incoming RSS feeds to fit naturally in with a Kubrick style looking format in WP v2.

    I feel like if I can crack this code, I’ll make the whole WP/Myspace thing somewhat infinitely solved.

    Thread Starter badkarma9000

    (@badkarma9000)

    Now here’s a possible workaround.

    Myspace does have an RSS output from THEIR site. So people can listen to whatever I post from Myspace via RSS. Is there some plugin that will take an RSS feed, and then format it and plop it automatically onto a WordPress blog?

    Doing so would solve the problem, albeit backwardly. Anyone know?

    Thread Starter badkarma9000

    (@badkarma9000)

    I think they might have.

    There was a plugin for a while called Mypress which seemed to do this, but then it stopped working for some reason.

    Since then the plugin has been called “XrisXros”, but now it seems to not be supported at all. I gave it a shot, but it just crashed things due to either code, or Myspace changes in the last 6 months.

    Any ideas anyone? Has anyone else gotten this sort of thing to work?

    Man, there definitely is a need for this plugin. I’m trying to do the same thing now…

    When I tried to use it, it didn’t work for me either.

    Thread Starter badkarma9000

    (@badkarma9000)

    Heh, Handy don’t leave me!

    Thread Starter badkarma9000

    (@badkarma9000)

    I mean the password stuff is on another line… should I have it on this one too?

    In total, the e-mail message block of code looks kind of like:

    $message .= sprintf(__(‘Username: %s’), $username) . “\r\n”;

    $message .= sprintf(__(‘Password: %s’), $password) . “\r\n”;

    $message .= sprintf(__(‘Website:’), . “a bunch of stuff i don’t recognize\r\n”;

    The end result e-mail looks like:

    Username: Jefferson
    Password: 2kss9a
    https://www.mywholewebsite.com/nastyurl/stuffidontwantthemtosee/wp-login.php

    I’d like it to look like:

    Username: Jefferson
    Password: 2kss9a

    You can login at: “www.mywebsite.com”

    So I just need to change that last line of code out of those 3, but I’m wondering what I need to change it to, exactly.

    Any help is great, Han!

    Thread Starter badkarma9000

    (@badkarma9000)

    Also, the password stuff shouldn’t be on there, right?

    Thread Starter badkarma9000

    (@badkarma9000)

    Handy-

    Eep, I’m confused some more… Can you repost that code with the proper rn syntax?

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