rubinsandwich
Forum Replies Created
-
Forum: Plugins
In reply to: [My Private Site] Too Many Redirects in SafariOK. That’s it. I’m not using any login theming or login customization plugins, but I was using this Sidebar Login Widget.
Once I deactivated it, all seems to be working as designed. I’ll have to find another version that is more compatible with your plugin.
If you want me to assist with any troubleshooting, let me know.
Forum: Plugins
In reply to: [My Private Site] Too Many Redirects in SafariThanks for the tip.
I reset all data on Safari and still have the same problem. I actually first noticed it using Safari on my iPhone, so it is happening on both desktop and iOS versions of Safari (which leads me to believe it is something beyond a cache issue).
If I access a private section directly, like: https://aepialum.org/jobs/
then it redirects properly.However, if I go to https://aepialum.org/
and click on “jobs” then I get the redirect error.Are you not seeing this same issue?
Again, this is only in Safari. Chrome definitely hangs for awhile and goes through a long series of redirects, but it eventually resolves the address.
Forum: Plugins
In reply to: [Simple User Listing] Display results in tableFor some cleaner code all around, here is what I have now to make a pretty table:
content-author.php
global $user; $user_info = get_userdata($user->ID); ?> <div class="table-row"> <div class="col-avatar"><?php echo get_avatar( $user->ID, 50 ); ?></div> <div class="col-name"><a href="<?php echo get_author_posts_url($user->ID); ?>"><?php echo get_user_meta( $user->ID, 'first_name', true ) . ' ' . get_user_meta( $user->ID, 'last_name', true ); ?></a></div> <div class="col-email"><a href="mailto:<?php echo get_usermeta($user->ID,'user_email',true); ?>"><?php echo get_usermeta($user->ID,'user_email',true)?></a></div> <div class="column"><?php $value = get_cimyFieldValue($user->ID, 'PHONE'); echo cimy_uef_sanitize_content($value); ?></div> </div>
Added to my functions.php file:
function kia_open_sul_table(){ echo '<div class="Table"> <div class="Heading"> <div class="col-avatar"></div> <div class="col-name">Name</div> <div class="col-email">Email</div> <div class="column">Phone</div> </div>'; } add_action( 'simple_user_listing_before_loop', 'kia_open_sul_table' ); function kia_close_sul_table(){ echo '</div>'; } add_action( 'simple_user_listing_after_loop', 'kia_close_sul_table' );
My CSS to support it:
.Table { display: table; } .Heading { display: table-row; font-weight: bold; text-align: center; } .table-row { display: table-row; } .column, .col-name, .col-email, .col-avatar { display: table-cell; border: solid; border-width: thin; vertical-align: middle; padding-left: 5px; padding-right: 5px; }
*Note, you don’t need to define the columns using different classes as I did, but I have specific requirements to display them differently (i.e. hide them on smaller displays, etc.)
Forum: Plugins
In reply to: [Simple User Listing] Display results in table@helgatheviking, you are awesome!
Note, your code has an error though, you define the kia_open_sul_table twice (which causes a fatal error on WP). It should read:
function kia_open_sul_table(){ echo"<table> <thead> <tr> <th></th> <th>Name</th> <th>Email</th> <th>Phone</th> </tr> </thead> <tbody class=alumni>"; } add_action( 'simple_user_listing_before_loop', 'kia_open_sul_table' ); function kia_close_sul_table(){ echo "</tbody></table>"; } add_action( 'simple_user_listing_after_loop', 'kia_close_sul_table' );
Forum: Plugins
In reply to: [Simple User Listing] Display results in tableAnd this is what I had to do to my simple-user-listing.php file:
// before the user listing loop do_action( 'simple_user_listing_before_loop', $query_id ); echo"<table> <thead> <tr> <th></th> <th>Name</th> <th>Email</th> <th>Phone</th> </tr> </thead> <tbody class=alumni>";
and
// after the user listing loop do_action( 'simple_user_listing_after_loop', $query_id ); echo "</tbody></table>"; sul_get_template_part( 'navigation', 'author' );
Forum: Plugins
In reply to: [Simple User Listing] Display results in tableHere’s what I use that works. However, there’s one big problem:
I have template overrides in my theme (like the FAQ directs), but I have to manually edit the plugin file everytime there is an update to the plugin (because it is overwritten). Is there a way to insert some basic html into the simple_user_listing_before_loop outside of the actual plugin file? Like could I use some php in the template override to populate the function?
My content-author.php
global $user; $user_info = get_userdata($user->ID); ?> <tr> <td><?php echo get_avatar( $user->ID, 50 ); ?></td> <td><a href="<?php echo get_author_posts_url($user->ID); ?>"><?php echo get_user_meta( $user->ID, 'first_name', true ) . ' ' . get_user_meta( $user->ID, 'last_name', true ); ?></a></td> <td><a href="mailto:<?php echo get_usermeta($user->ID,'user_email',true); ?>"><?php echo get_usermeta($user->ID,'user_email',true)?></a></td> <td><?php $value = get_cimyFieldValue($user->ID, 'PHONE'); echo cimy_uef_sanitize_content($value); ?></td> </tr>
I’m working on swapping the
<td>
for some css tables, but I’ll still have the same issue not being able to create a header row in the table.Forum: Plugins
In reply to: [My Private Site] Private site just loads blank pageGot it!
This helped: How do I solve the Headers already sent warning problem?
Thanks again for pointing me in the right direction.
Forum: Plugins
In reply to: [My Private Site] Private site just loads blank pageOK, I see now I’m getting the following error message on the blank page:
Warning: Cannot modify header information – headers already sent by (output started at /home/aepialum/public_html/index.php:1) in /home/aepialum/public_html/WP/wp-includes/pluggable.php on line 1173
Forum: Plugins
In reply to: [My Private Site] Private site just loads blank pageWow, thanks for the quick reply.
I’m not using any caching plugin. Debug mode is now turned on.
Here are my activated plugins:
All-in-One Event Calendar by Time.ly
bbPress
jonradio Private Site
Polls by OpinionStage
Recent Posts by Category Widget
WP Job ManagerBazingo! Works great now. Thanks for the help!
Version 0.4
I can start a new thread if it’s easier, but for some reason I cannot change the tweet link color. No matter what I put into the widget field for “Tweets Link Color:” once I hit save it reverts to #497da8
I can (and have) changed all of the color settings with no problem, but the link color just won’t switch to anything else.
I have tried uninstalling and reinstalling the plugin with no change.
Otherwise, I’m loving this plugin. By far the best Twitter widget out there.
Forum: Plugins
In reply to: [Admin Bar Disabler] [Plugin: Admin Bar Disabler] Plugin Broken?Scott, this is crazy fantastic support!
Thanks for attending to this so quickly and so thoroughly. You rock.
Forum: Plugins
In reply to: [Admin Bar Disabler] [Plugin: Admin Bar Disabler] Plugin Broken?OK, got the errors to go away by trying different entries into the capabilities input box. What specifically worked for me is putting “activate_plugins” in the whitelist box and “read” in the blacklist box. Save the settings and when it refreshes it should be OK. Once the errors are gone, I could delete the capabilities and everything works fine.
My guess is that there is a lack of (or incorrect) default value somewhere. The developer still might want to look into this bug though.
I’ve got the roles figured out too. The process is intuitive enough, but maybe it’s the UI that makes it confusing. Maybe just some text to the right of each section saying “Select all rolls you want to have access to the Admin bar (cntl-click for multiple) and then click save” and the equivalent for the blacklist section. Minor, I know, but for the average Joe, it should be obvious how to work this thing.
I’m not trying to be a nag or complainer, just offering tips to tweak and perfect your excellent plugin.
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1Nice! Looks like that just got posted yesterday. I’ll give it a shot.
The obvious advantage of a plugin (other than simplicity) is that it won’t get overwritten during theme updates.