Lucky-1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to add another role to member on automatic registrationIve tried
$auto_eot_time = '+1 month'; $s2m = 's2Member Level 1'; // update_user_option( $user_id, 'wp_capabilities', 'a:1:{s:15:"s2member_level1";s:1:"1";}', true ); // update_user_option( $user_id, 'wp_s2member_auto_eot_time', '+1 month', true ); // update_user_meta( $user_id, 'wp_capabilities', $s2m ); // update_user_meta( $user_id, 'wp_s2member_auto_eot_time', $auto_eot_time ); update_user_option ($user_id, "s2member_auto_eot_time", $auto_eot_time);
but nothing works
Forum: Fixing WordPress
In reply to: How to add another role to member on automatic registrationand another fields
Forum: Plugins
In reply to: Member access control, any plugin?please
Forum: Plugins
In reply to: Member access control, any plugin?or maybe how to do it manually
Forum: Plugins
In reply to: Member access control, any plugin?don’t worked for me…
i manually add the users in my blog
i need a plugin that add a field in “add new user” that block user access after XX days..Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] How to limit the number of thumbs in index?please help
Forum: Fixing WordPress
In reply to: How do i move or change a posts category?2.8 don’t have the option to move all the post in a category when deleting it
how to do it?Forum: Fixing WordPress
In reply to: If the_date = today displays ‘Today’ else the_dateNice, thank you
If I use the_date then will show just 1 time Today, and 1 time Yesterday?
I messed to say I want that atribute of the date, just to show one time the date valueForum: Fixing WordPress
In reply to: Set Launch Page for WordPress blogForum: Fixing WordPress
In reply to: query_posts – How to exclude a posti read that but i really understand how to do it
'post__not_in' => array(6,2,8) - exclusion, lets you specify the post IDs NOT to retrieve
Forum: Fixing WordPress
In reply to: How to get cat ID in query_posts in single.phpgetting just the first category will work
Forum: Fixing WordPress
In reply to: How to get cat ID in query_posts in single.phpdont have anything simple like and that works?
Forum: Fixing WordPress
In reply to: How to get cat ID in query_posts in single.phpim using this
<?php query_posts('showposts=8&cat='.get_query_var('cat')); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="postt"> <a target="_blank" href="/link/out.php?link=gal&s=80&url=<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'mandigo'), the_title('', '', false)); ?>"> <?php global $more; $more = FALSE; ?> <?php the_content(''); ?> <?php $more = TRUE; ?><b><?php the_title(); ?></b></a></div> <?php endwhile; endif; ?>
but it dont get the category id correctly in single post page :/
Forum: Fixing WordPress
In reply to: How to get cat ID in query_posts in single.phpI want to list some posts outside the loop in single post page, i’m using query_posts to that, and i want the posts to be the same category, in archives pages the code i’ve used works, but for single posts pages it doesnt work..
maybe thecat='.get_query_var('cat')
is wrongForum: Fixing WordPress
In reply to: THIS KIND OF WP BUG IS PISSING ME OFFit is in root directory… it was working fine