kosmicbird
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Views for Jetpack] Displaying # of post views?Well, it’s my fault for not actually reading the readme, haha!
Just so you know, on my site, users can make their own posts and it will show up in a page feed (similar to reddit style). I added the code to my child theme’s files to display the view count at the top of every post page after the post title/post meta. I am also using it on the page that displays every user’s post on a feed (it’s a category page). I would think that the majority of users who would want to display post views would opt to show it on all posts (just my opinion, not necessarily fact 🙂 That is certainly how I am using it, at least.
I do have some additional feedback for you, but I will start another thread for it as it’s related to a different issue.
- This reply was modified 9 years, 4 months ago by kosmicbird.
- This reply was modified 9 years, 4 months ago by kosmicbird.
- This reply was modified 9 years, 4 months ago by kosmicbird.
- This reply was modified 9 years, 4 months ago by kosmicbird.
Hey there. Yes, I use UM. I never did figure out how to fix it. I really wanted to use this plugin though, so I did a workaround. I just hid the comment author names with css. Definitely not an ideal solution but it works for what I am doing.
- This reply was modified 9 years, 4 months ago by kosmicbird.
Forum: Plugins
In reply to: [Post Views for Jetpack] Displaying # of post views?Thank you! Works like a charm now. Feeling a little dumb for not realizing I needed to add that to the file 🙂
How does the counter log views – is it done by IP address, username, or? Also is there a duration, and if so, what is the duration between the time it counts the same viewer as a “new” view?
- This reply was modified 9 years, 4 months ago by kosmicbird.
Ah, yes, I think the link above is for displaying popular posts while I am needing to just display the # of views on each post page. I will post this on the Post Views for Jetpack forum.
Temporarily working around issue #3 by setting the duplicate image (and subsequently all other user submitted images) to a tiny thumbnail so to the user it appears normal even though it’s a duplicate (it’s so small that they can infer it should be clicked on to expand) would prefer that the first user-submitted image does not duplicate next to the post’s thumbnail. For anyone in the future needing to do something like this, you can target the usp image with something like
.single .entry-content p img { width: 45px; height: auto; }Just mentioning that since it took me a bit of time to figure out I had to target p to modify the style.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
Well, after literally all day of trying to figure out this issue, I have discovered that the issue occurring is somehow related to adding/deleting user accounts. It seems like if I delete an account, the issue starts occurring. Then, if I create an account via WP dashboard (instead of UM registration) and then subsequently go to create another account – this time via UM – the issue stops. It is very strange and very bad. I had just launched my site the night before and this issue started occurring once I had over 100 user registrations. I probably missed over 50 registrations due to the issue as well as have had many complaints. It happens that during this time frame I also added SSL cert but now I do not think that this was related.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
Update: Issue actually not resolved. This only resolved the problem for a couple of hours and then it started happening again.
Awesome!! Thanks for fixing it and updating the thread here! I don’t get notifications and just saw this browsing through my topics. I want to update the plugin, but now I have another issue which is that I’ve done some mods to the core files so I am a little scared to update haha. You seem to have made a LOT of updates so it would take some time to append my mods with the new updates. Great work on the plugin, that is what I call dedication!
Issue resolved by uploading a backed up version of the plugin files. Plugin must have corrupted after adding SSL for some reason.
Deactivated all plugins except UM, still having the issue. Tried using a new test form, same issue. Only things that changed are that I deleted google analytics plugin, added SSL certification to my site, and gained SSH access. Registrations stopped working after 130th user.
- This reply was modified 9 years, 5 months ago by kosmicbird.
Forum: Fixing WordPress
In reply to: Resolving tracking concernsThanks for your reply. My question is how to figure out what trackers my site is using so that I can disable them.
- This reply was modified 9 years, 5 months ago by kosmicbird.
Problem solved – installed User Role Editor plugin to make adjustments to capabilities.
Forum: Fixing WordPress
In reply to: Customizer save & publish not working properly today?My last upgrade was a month ago, I did install 2 new plugins but save & publish has been working fine for a day or two after installing them. I am contacting my hosting company now to see if the issue is related to database space limitations.
Forum: Fixing WordPress
In reply to: Disabling profanity filter in wordpress commentsTrue, true. 🙂 I guess I am just a little rebellious 😉 The way I look at it, I’d rather just make a few changes in the core files when possible than to slow my site down with even more plugins (I’m already using about 20 of them!) Not really sure why modifying core files is an absolute no-no if it’s done carefully.
Yea, I think the first time I dealt with this I actually did find where the blacklisted words were coming from and did something to make it stop referring to that list, but this is the first solution I came across and for the sake of saving time I’m just going to roll with it haha.
For anyone looking at this in the future – I would not advise this method if you think you will ever want your site to filter blacklisted words to the trash or for moderation, because (aside from the fact that you shouldn’t modify core files…)it’s very easy to forget what changes were made!
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
Forum: Fixing WordPress
In reply to: Disabling profanity filter in wordpress commentsYes! Found it and fortunately only lost about an hour this time.
In wp-includes/comment.php there is this block of code:
if (wp_blacklist_check( $commentdata['comment_author'], $commentdata['comment_author_email'], $commentdata['comment_author_url'], $commentdata['comment_content'], $commentdata['comment_author_IP'], $commentdata['comment_agent'] ) ) { $approved = EMPTY_TRASH DAYS ? 'trash' : 'spam'; } }I had to remove
$commentdata['comment_content']and now it’s not filtering profanity comments into the trash anymore. However now it is routing to the moderation queue… so I still need to figure out how to make it auto approve.Thanks for the word of caution… in many cases it is best not to edit core files, but for max customization it’s unavoidable. Of course I use a child theme and also externally backup all my mods that aren’t protected by the child theme (now, since I learned my lesson after the recent WP update, which is also the reason why I had to go back and remodify this particular issue). I have also disabled automatic updates for WP and plugins now. But for the average user… those are definitely words to live by 🙂
*edit: I changed
$approved = EMPTY_TRASH DAYS ? 'trash' : 'spam';to$approved = EMPTY_TRASH DAYS ? 'approved' : 'approved';and now it’s not filtering at all. Problem solved!- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.
- This reply was modified 9 years, 5 months ago by kosmicbird.