jeffwithag
Forum Replies Created
-
I appreciate your help and time Jory, but I think I am going to revisit how I am handling subscriptions. This is problematic even without this particular issue since a user could potentially subscribe from the frontend while an admin is editing a post. At which time that subscription would be lost upon admin saving their changes. I think I’ll switch over to utilizing a pivot table so editing a post has no potential of overriding subscriptions.
Thanks again. Take care.
- This reply was modified 5 years, 2 months ago by jeffwithag.
- This reply was modified 5 years, 2 months ago by jeffwithag.
- This reply was modified 5 years, 2 months ago by jeffwithag.
As stated above, the subscribed users field on the post only showed 23 users, even though querying the db showed 29. It so happens it’s the last six alphabetically. If I try manually re-adding one of those users by typing them into the field, they autocomplete as I type them in and they show in the field when I select it. But then I hit save, the screen refreshes. Now they are not shown in the field. And if I query the db, we now have only a count of 24. (the 23 shown and the one I just manually added. the other 5 of the original 6 are removed since they were not in the field when I saved it.) I had to manually add all 6 at the same time by typing in each name in the field and selecting the user to add. Once all 6 were shown in the field, then save. Now we are back to 23 shown and 29 in the db. I can add other users and they will show fine in the field. But these last 6, will not reflect in the field. It’s a problem cause if not shown and that post is edited, then they get removed from subscribers. (Note: it isn’t role specific.)
- This reply was modified 5 years, 2 months ago by jeffwithag.
Quick question, maybe unrelated, but just curious. (Maybe I should post this under a different topic? To avoid complicating this current topic? Let me know and I’ll delete it from here.) So I have a post and I add a subscriber to the post. If I go check that user, I also see they now have that product as one of their subscriptions. I check the usermeta and postmeta, they have an entry for both. Everything is good.
Now, let’s say I want to remove that subscription. If I goto the post and remove it, the user no longer shows in post edit as a subscriber, nor does the product show in the user edit as a subscription. Everything appears good.
However, if I query the metadata, there is still an entry in the usermeta. Is that working as designed or should it also be deleted? I noticed it’s the same way in reverse too. If I deleted the subscription from the user instead, than there is still an entry in the postmeta.
It seems like this would leave a lot of orphaned data over time. Unless I’m missing something? I only inquire as I”m noticing a lot of this orphaned data and was wondering if it was somehow impacting the initial issue.
- This reply was modified 5 years, 2 months ago by jeffwithag.
I don’t believe it’s a max_input_vars restriction as I found a post with a smaller subscription size. It has 29 postmeta entries & 64 usermeta entries (see question below regarding possible explanation of this difference in quality). Yet only 23 users listed as subscribers in the post subscribers field. I would expect 29. The last 6 alphabetically are not showing in the field. (Note: In the prior example, with the 1300+ records, it was the last 8 alphabetically that wee not showing). It could very well be that the users were added alphabetically, so it may be less to do with alphabetical and last users subscribed.
- This reply was modified 5 years, 2 months ago by jeffwithag.
Thanks, I’ll look into it. Although, I believe I encountered a similar issue on same field on different post with only 20 or so subscribers. In that case though, it was a specific users who just would not show up in that field. That were in the db correctly, but would not display in that pod field. I will be revisiting that issue once I address this issue. Was hoping they were similar cause, but maybe not.
Forum: Themes and Templates
In reply to: NewsPress Theme TroubleI think I figure it out. The Name and slug has to be the same. (Not case sensitive though)
Forum: Themes and Templates
In reply to: NewsPress Theme TroubleSame issue for me. I checked both links above. Seems they’ve moved on to other themes. Mustn’t have resolved the issue. ??
Forum: Themes and Templates
In reply to: Changing Themes outside the DashboardNevermind, I did a little more searching here and found what I was looking for. HERE
Forum: Themes and Templates
In reply to: Changing Themes outside the DashboardSorry, my version I believe is 2.8.1, but I didn’t see an option there to select it.
Forum: Fixing WordPress
In reply to: Using shortcodes within a templateSorry, I didn’t update my status. I stopped looking for a solution as I found dvd profiler and phpmyprofiler and created an online dvd library which I linked from my wordpress. I need to purchase the registration code to upload more than 50 dvds. But I really like the look and feel of it so far.
Forum: Plugins
In reply to: Twitter Tools not updatingYep, unfortunately I’m one of those who it is not working for, not completely anyway. Post are not getting tweeted and Tweets are not getting put into digest.
I liked the post to tweet function, as I then had twitter notify facebook. For the time being I guess I’ll look into some direct relationship between wordpress post to facebook. But I’ll check back on Twitter Tools from time to time to see if it’s working again.
Forum: Fixing WordPress
In reply to: Using shortcodes within a templateSo now I tried the following:
<td><?php echo imdb_external_call($mymovie->name);?></td>
and got this:
Fatal error: Call to a member function imdbid() on a non-object in /home/gbuffett/public_html/wp-content/plugins/imdb-link-transformer/inc/imdb-movie.inc.php on line 52
I’ll keep toying with it. ??
Forum: Fixing WordPress
In reply to: Inline PHP and SQL QueriesSlight extension to this issue. I can do my queries via the template approach. Or I can utilize shortcodes via the page approach. But what if I want to utilize shortcodes with the data extracted via the query?
Query doesn’t work in page, shortcodes don’t work in template???
Forum: Fixing WordPress
In reply to: Using shortcodes within a template@ t31os_ : but that data is just a string, so without referencing the imdb shortcode, how would
do_shortcode( $mymovie->name );
know which shortcode functionality to perform on that text?
@ stevejohnson : I was afraid of that. I did try one function call, but I’m sure I didn’t have entire path and what not. So no short answer, if I want this to work via templates I’ll have to familiarize myself with all the imdb plugin files and determine what needs to be brought into the template itself?
Well thanks anyway guys. If I get it figured out, I’ll post it here.
Thanks,
GeoffForum: Fixing WordPress
In reply to: Using shortcodes within a template