ebarcena
Forum Replies Created
-
Forum: Plugins
In reply to: [Register IPs] Is it posible to display IP's in the frontend of the site?Perfect. Now everything works like a charm. Thanks again.
Forum: Plugins
In reply to: [Register IPs] Is it posible to display IP's in the frontend of the site?Actually I have another question.. The IP displays perfectly now but how can I add a conditional to display the “Not Recorded” message?
Forum: Plugins
In reply to: [Register IPs] Is it posible to display IP's in the frontend of the site?Well don’t because you obviously know way more than I do. I’m just a html css guy that knows nothing about php and just borrows code snippets to make things work ??
Anyway, I tried get_the_author_meta(‘ID’); and it didn’t work. The good news is, I found that $curauth->ID; does the trick. Here is the code in case anyone else needs it:
<?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?> <?php $user_id = $curauth->ID; ?> <h3><?php _e('Signup IP Address', 'signup_ip'); ?></h3> <p style="text-indent:15px;"><?php $ip_address = get_user_meta($user_id, 'signup_ip', true); echo $ip_address; ?></p>
Thanks again Mika for all your help.
Forum: Plugins
In reply to: [Register IPs] Is it posible to display IP's in the frontend of the site?Thank Mika, but still no luck ??
Maybe it should use something like this since is on the author.php page?:
https://codex.www.ads-software.com/Function_Reference/get_the_author_meta
Forum: Plugins
In reply to: [Register IPs] Is it posible to display IP's in the frontend of the site?Hey Mika thanks for the code but it didn’t work for me. I tried both, the $_GET[‘user_id’] and get_current_user()
I created a test user and it did register an IP address. I can see it on the WP users admin page.
Any suggestions?
Forum: Fixing WordPress
In reply to: List of all authors with paginationThank you vtxyzzy. It worked perfectly.
Forum: Fixing WordPress
In reply to: List of all authors with paginationI need something very similar. I’m currently using this code to display the list with nothing but subscribers (and their emails) excluding the admin account:
<ul> <?php $args = array( 'who' => 'subscribers', 'orderby' => 'user_registered', 'order' => 'DEC', 'exclude' => '1' ); $wp_user_query = new WP_User_Query($args); if ( ! empty( $wp_user_query->results ) ) { foreach ( $wp_user_query->results as $user ) { echo '<li class="abc"><a href="' . get_author_posts_url( $user->ID ) . '">' . $user->display_name . '</a> - <a href="' . get_author_posts_url( $user->ID ) . '">' . $user->user_email . '</a></li>'; } } ?> </ul>
I would love to have pagination for this. Any help would be appreciated.
Thanks
Forum: Plugins
In reply to: [Simple Discography] Fatal Error: realease dateHey jakub975, I had the same 404 error and saving my permalink settings again for WordPress fixed the issue.
Just confirmed with the developer that their extension will not accomplish this. It will only assign a commission to whoever refers a costumer who purchased a an item, not the original member referrer.
Any other ideas? Thanks!
Forum: Plugins
In reply to: [Welcome Popup] Text editing is out of square with the plugin activeI’m experiencing the exact same problem.
Forum: Plugins
In reply to: [Flamingo] Can't find where to edit code to change Inbound Messages fields.What about the parameters for the first and last name. On the Flamingo “Edit Contact” screen the full name field populates correctly but the first and last name fields stay blank.
Thanks!
Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?Resolved.
Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?Yes! It’s working perfectly now. Thank you very much. As an independent band with pretty much no budget, you sir and your plugin have made it possible for us to have a dynamically bilingual website.
Thanks a lot.
I will mark as resolved and will rate right now!
Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?Hey Yannick thanks a lot.
It’s almost there. The switcher finally displays and it works correctly, but the problem now is that it also prints out the language’s home URL twice, before and after the language link.
Check it out:
https://www.dropbox.com/s/buik72h9lhdj3ea/Screenshot%202014-08-21%2018.21.12.png