reraymond
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Members Membership Plugin] User Count Shortcode IssuesChad,
Per my prior reply, I applied your temporary fix, and that took care of the problem. Specifically, as recommended by you, I hard coded a modification to the wpmem_get_user_count_by_role function contained in the api-users.php file to read:
$users = count_users(); return ( 'all' == $role ) ? $users['total_users'] : $users['avail_roles'][ $role ];Unfortunately, the current WP-Members update (version 3.5.4.3) apparently does not include the modifications you had described in your 7/25/2025 email to me. Did that get overlooked? I’ve therefore re-applied the hard coding revision originally recommended in order to restore the desired functionality on my website. Can you please keep your proposed fix on your “to-do” list?
Thanks,
Dick
Forum: Plugins
In reply to: [WP-Members Membership Plugin] User Count Shortcode IssuesYep, that did it. As usual, thanks very much, Chad.
Dick
This is an update to my original post. As I really get into using this plugin, I continue to be IMPRESSED. I’ve used it to selectively download individual folders without having to do the full-blown Updraft Plus thing. Don’t get me wrong, Updraft Plus is very powerful and rock-solid for backups, but I use File Manager Advanced for other tasks, and it never fails. In fact, I use FMA for most of my file management needs, and then WinSCP for other SFTP tasks. I’ve been doing this for something north of 15 years, and FMA is one of the handiest plugins I’ve encountered. If you don’t have it, you should try it.
Forum: Plugins
In reply to: [Read More Without Refresh] Multiple Readmore Same PageGeorge, you are the man! When will it be available?
Forum: Plugins
In reply to: [Read More Without Refresh] Multiple Readmore Same PageAh, I get it. Unfortunately, George’s plugin doesn’t support that capability. It used to, but now does not.
There are a number of other plugins that do support that functionality, however. One I’ve used before is Read More & Accordian, but it has a lot of bells and whistles that I don’t really need or for that matter want. I’ve also used Expander Maker in the past. I liked it because it was very simple, but it doesn’t seem to be available now.
If George were to add, say the ability to automatically create a user-assignable class for the [read more] instance, then individualized button labels could be easily created just by applying simple CSS. It could work something like this: the user would enter, say [read more, 1] and then George’s code would use the “1” argument to create a class, say rmwr-1 for the current readmore instance, and any other readmore instances that were created using the “1” argument. Of course, that says a lot for just incorporating the desired label text as the argument, itself.
Forum: Plugins
In reply to: [Read More Without Refresh] Multiple Readmore Same PageJosh, I hope my following words do not insult you, but they may help you better visualize just what’s going on with George’s plugin.
Let’s call “longtext” a body of information that you want to define for readmore functionality. Immediately before longtext you must insert a [read more] tag. Then, immediately after longtext, you must insert a [/read] tag. When executed, the leading [read more] tag apparently seeks out the next following occurrence of the [/read] tag and then displays everything in between the tags as the desired longtext. Any such single implementation of the read more functionality can be visualized as a unique [read more]-[/read] instance. Because each instance is unique, you can have as many instances as you want on a page.
Note that the plugin’s apparent underlying logic results in the inability to NEST readmore instances. For that matter, I’m not sure why anyone would want to do that in the first place. Read more tags can NOT be nested.
I usually invoke HTML editing mode when inserting [read more] and [/read] tags because I find it easier to visualize just what will be displayed when the read more instance is initiated. Otherwise, you can just go ahead and enter the tags in visual editing mode.
On another note, the Read More button text is sensitive to what you place at the end of the label. For example, Read more >> will throw Read More Without Refresh into a tizzy. I use the following labels: Read more» and Read less« to insert >> and << at the end of those labels.
Good luck to you. I hope this helps.
Forum: Reviews
In reply to: [Read More Without Refresh] Simple, does the workI, too am a big fan of George’s great plugin, Read More Without Refresh, and have been for years.
Importantly, George’s plugin can be easily styled by writing some custom CSS. In case you’re not familiar with the Web Developer Tools that are included with many browsers (I use Mozilla Firefox) they are invaluable for identifying the selector(s) associated with any object displayed on the screen. In Firefox and Chrome the tools are directly accessible by keying in <F12>. Edge provides developer tools also, but they are only indirectly available by keying in <F12>.
Knowing the proper selector(s) to use, you can style George’s plugin to your heart’s content. Here’s an example of how I have styled the Read More Without Refresh plugin on my HOA’s website:
/*********************** BEGIN Read More Without Refresh */
.read-link {
border: 1px solid green !important;
border-radius: 12px;
padding-left: 10px !important;
padding-right: 10px !important;
font-size: 85%;
}.read-link:hover {
color: red !important;
}.read_div {
margin-top: 10px;
padding: 10px;
border: 1px solid #336633;
border-radius: 15px;
background-color: rgba(0,0,0,0.03);
}
/************************ END Read More Without Refresh */This styling spruces up the Read more button, places a border with rounded corners around the newly-displayed content and slightly shades the internal background to subtly set off the new content. I think it really helps the user understand just where they are on the page. Notice that the objects are classes, so the styling is good for all instances of the plugin.
Sorry, our HOA is a membership site, and all the examples are on private pages, so I can’t provide a link.
Forum: Plugins
In reply to: [WP Add Active Class To Menu Item] Doesn’t Seem to Work with TwentyTwenty-TwoSame here. Just tried on Twenty Twenty Two running WordPress 5.9. No love.
Forum: Plugins
In reply to: [Read More Without Refresh] Problem with RMWR 3.0George,
I’m not sure my issue is resolved, yet. I did upgrade to 3.1.
I, too am experiencing (I think) what ameliehub was describing. In my first post, I said only the short code was being displayed. Soon after my post, I discovered that when my 2.3 was updated to 3.0, it apparently did not remain activated, and I had not noticed that. Once I activated it, my “button” appeared, but none of the “read more/read less” text–the button was very short, most likely reflecting a null text value. Here’s what my shortcode looks like: [read more=”For the geekly-inclined: read more about the new site »” less=”« Close”]. The “button” appears to be properly exhibiting my custom styling, just no text. The “button” does, however work properly.
As I read ameliehub’s input, I went to the RMWR settings page and changed the Read more text and Read less text values. I changed them to “Read more…” and “Read less…) respectively, and saved the changes. Notably, that text does, in fact show up in the “button”. So, it appears that my custom labels (as reflected in my shortcode, above) are not being processed. It would seem that it’s all or nothing, using the RMWR settings page. Is the custom, localized label functionality no longer supported? If so, that’s unfortunate, because I like to tailor the “Read more/less” labeling to the context.
Dick Raymond
I, too experienced this issue. However, in order to make things work, I simply used the « (left double angle quotes) and » (right double angle quotes) special HTML characters instead of two < or two > characters. Just for “kicks” I backed up and tried the OP’s solution for editing the plugin’s index.php file, and that didn’t work for me. There seems to be some underlying special significance attached to the “less than” and “greater than” individual characters that messes things up.
Forum: Plugins
In reply to: [Read More Without Refresh] Version 2.0 is throwing an error messageI’m sorry to report that this did not seem to correct the problem in my case–same error code is being thrown. I updated the plugin, and checked out line 19 in the plugin’s index.php file, and your (modified) code was there. Again, if I deactivate the plugin, the error code disappears.
As I’ve researched this, I discovered that the generation and display of PHP debugging error messages is typically benign (informational, only), and does not affect the program operation, proper. Because I really like the plugin, I decided to disable the display of PHP error messages, by adding the following code to my wp-config.php file:
/*enable the debugging log, but DISABLE writing error codes to the HTML (do not display them)*/
define(‘WP_DEBUG_LOG’, true);
define( ‘WP_DEBUG_DISPLAY’, false );Now, I’m back to using the plugin and not dealing with having the error codes appear at the top of my screen. Bottom line: in my case, the plugin is still a bit “broken”, but it’s essentially a non-issue as long as I remember to place that little code snippet in the wp-config.php file.
Thanks again for a great plugin.
Richard Raymond
Forum: Plugins
In reply to: [File Away] Heading does not displayYep, that was it. Thanks again for the excellent support!
Dick
Forum: Plugins
In reply to: [File Away] Heading does not displayThanks, Thom. I had actually considered the potential of a styling conflict. I do have some supplemental styling where I hid some table columns, but since I’m working with a list, I didn’t think twice about it. Here’s my supplemental styling I have in a custom CSS file:
/*Begin File Away table Custom CSS*/
.ssfa-sorttype, .ssfa-minimalist-first-column, .ssfa-clearfix {
display: none;
}
/*END File Away table Custom CSS*/Does any of this appear to be the culprit?
Thanks,
DickForum: Plugins
In reply to: [File Away] File overwriting revisitedLet’s just say they’re not us!
Thanks for the shortcode parameter mods for not displaying the size and modify dates. As I’ve poked around more, I see where they came from. I look forward to exploring and learning more of the subtleties of FileAway!
Now, I thought you might be interested in how I’ve been able to “persuade” FileAway to provide the exact functionality I desired.
Here’s the shortcode I’m using:
[fileaway sub=”maintenance/minutes” directories=”true” size=”no” mod=”no” nolinks=”yes” only=”000″ showto=”administrator” drawerid=”1″]
[fileup base=”1″ sub=”maintenance/minutes” uploadlabel=”Upload file(s)” filetypes=”pdf” showto=”administrator” matchdrawer=”1″]
In my case, this displays the three subordinate subdirectories to my minutes (base+sub) path: board, general, and special. Recall that my desire was to be able to click on one of the directory choices and then NOT have to suffer through the process of displaying all the file information in that directory. I’ve accomplished that, and it looks and works great. What I did was create an empty text file and in the case of the ‘General’ directory, named and loaded the file ,GENERAL-MINUTES-FOLDER.000. Then, I told [fileaway] to display only files with the “000” extension. That way, when I click on “General”, the resulting file display shows only “GENERAL MINUTES DIRECTORY” (with prettify=”on”), and takes virtually no time to populate. This has the added benefit of reminding the user just what directory he is in.
So, I’m there!
Thanks,
RichardForum: Plugins
In reply to: [File Away] File overwriting revisitedThanks very much, Thom. I did as you suggested. This solution does, in fact work, but I’d like to share some observations:
1. I placed the [fileaway] shortcode beneath my [fileup] shortcode, because my focus is to upload files, and not display a file list.
2. The [fileaway] shortcode does, in fact present a list of the (base+sub) subdirectories, from which I can then select one of my three desired upload subdirectories
3. After selecting my desired subdirectory, the list then populates with all the file names in that directory, together with file modify dates and sizes–information that in my case I neither need nor desire to know.
4. I believe this extra information will probably prove to be a distraction for my users, who are not particularly ‘file or web-savvy’
5. Additionally, in my case the list is quite long, which takes time to populate–yet another distractionTo me this solution, while clearly workable, seems a bit convoluted, compared to the I/O suggestion of my prior post. So, I’ll stick with just using the bare [fileup] method, requiring first clicking the Destination Directory to display the (base+sub) path, and then clicking again to select my desired subdirectory.
Thanks again for such a great plugin. I’m definitely a fan.
Richard Raymond