badkarma9000
Forum Replies Created
-
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.
Forum: Plugins
In reply to: [Plugin: FeedWordPress] 2.5 WordPress No Longer CompatibleAnyone 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.
Forum: Fixing WordPress
In reply to: Syndication Results in 2 PermalinksIf 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.
Forum: Fixing WordPress
In reply to: Backup Maximum SizeAwesome… Thanks.
You’re always a great help, Solo.
Forum: Fixing WordPress
In reply to: Backup Maximum SizeWhere can I find my php.ini? I was looking everywhere in the wordpress folders… Is it someplace else, like in the database or something?
Forum: Fixing WordPress
In reply to: Backup Maximum SizeAny ideas? I’m at a loss so far.
Forum: Plugins
In reply to: Update MySpace AutomaticallyAnyone?
Forum: Plugins
In reply to: Update MySpace AutomaticallyAlso, 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.
Forum: Plugins
In reply to: Update MySpace AutomaticallyNow 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?
Forum: Plugins
In reply to: Update MySpace AutomaticallyI 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?
Forum: Plugins
In reply to: myPress: WordPress -> Myspace crosspostingMan, 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.
Forum: Fixing WordPress
In reply to: E-Mail Notification of PasswordHeh, Handy don’t leave me!
Forum: Fixing WordPress
In reply to: E-Mail Notification of PasswordI 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.phpI’d like it to look like:
Username: Jefferson
Password: 2kss9aYou 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!
Forum: Fixing WordPress
In reply to: E-Mail Notification of PasswordAlso, the password stuff shouldn’t be on there, right?
Forum: Fixing WordPress
In reply to: E-Mail Notification of PasswordHandy-
Eep, I’m confused some more… Can you repost that code with the proper rn syntax?