unfinishedcode
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: wp cron, admin and updatesI guess, I could try running the function on the front end, while not logged in, to be certain. I’m testing for dependant functions, and including files when necessary anyways. Thanks for your insight dude.
Forum: Developing with WordPress
In reply to: WP Admin bar – Adding notification counter bubbleAwesome, thanks dude. Will do so in the future.
Forum: Developing with WordPress
In reply to: wp cron, admin and updatesYes. I am speaking of WP Cron, hence my title.
My problem with the native automatic update system, is you cannot schedule it. Furthermore, not all plugins can have auto update enabled, a good example of this is Wordfence. It has it’s own auto update system.
Thank you for answering one of my questions. The other? Does wp cron load/require admin files?
Forum: Developing with WordPress
In reply to: WP Admin bar – Adding notification counter bubbleI would count the number of users that registered than an hour ago. Then display it to the admin bar.
Count users –
<?php $arrUsers = get_users(); $strDate = date("Y-m-d H:i:s", strtotime('-1 hour')); $intNewUsers = 0; if(is_array($arrUsers)) { foreach ($arrUsers as $key => $value) { if($key == "user_registered" && $value > $strDate) { $intNewUsers++; } } } echo $intNewUsers." New Users Since ".$strDate; ?>
My code might not be accurate, but its a good start:)
Alter the admin bar – https://www.isitwp.com/add-links-to-wordpress-3-3-new-toolbar/- This reply was modified 4 years, 6 months ago by bcworkz. Reason: code fixed
Forum: Networking WordPress
In reply to: SSL and navigation in adminTake a look at this https://codex.www.ads-software.com/Changing_The_Site_URL
Forum: Fixing WordPress
In reply to: getting rid of extra spaces in widget areaI don’t see any extra spaces. I’m not sure that you mean by ‘I’d also like the paypal link to pop up in another tab’.
Forum: Fixing WordPress
In reply to: Dashboard missing after loginWithout providing a link to the troublesome site it’s very hard to properly diagnose the issue, you would only be getting guesses.
Even though your hosting plan is unlimited as far a space and bandwidth, there would be a limit on other resources like processing.
If everything was fine one day, then isn’t the next, I would look into a hack as the culprit.
Again, without a working link, it’s very hard to properly diagnose.
Forum: Alpha/Beta/RC
In reply to: Text widget accepts invalid media URLDid previous versions not let you post invalid media based on URL?
- This reply was modified 7 years, 4 months ago by unfinishedcode.
Forum: Fixing WordPress
In reply to: Wrong file path (css …)In the database the root is listed. Update the options table, specifically the siteurl and home fields. Alternatively, you can update the in wp-config.php by adding the following…
define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com');
More information is found here: https://codex.www.ads-software.com/Changing_The_Site_URL
Forum: Fixing WordPress
In reply to: Postback URLs in WordPressYou can look at the value of $_SERVER[‘HTTP_REFERER’], but you cannot count on the browser sending it, so your page should not depend on it being set.
Forum: Developing with WordPress
In reply to: wpdb get_var not workingDo you have error reporting turned on?
Forum: Everything else WordPress
In reply to: Is Web Designer a new WP role?Both of your sites are not the same. Install the theme or plugin that enables the web designer role, on the one without it. Adding a new role to WordPress is pretty simple, adding/modifying the capabilities is where it gets a little trickier.
Forum: Fixing WordPress
In reply to: Delete option gone from ThemesIf you can’t locate the delete button, you can delete the theme via FTP then just visit the themes page.
Forum: Fixing WordPress
In reply to: Badly set page headerbackground-repeat: no-repeat;
is missing from the CSSForum: Fixing WordPress
In reply to: Drop Files To Upload – infuriating!Usually there it is optional. There is the drop files OR select files. If you are using windows, you can just drag the file to the start bar, hover over the browser’s icon, and the browser will show up fullscreen. Hopefully this helps.
Alternatively you can use the browser uploader by navigating to https://yoursite.com/wp-admin/media-new.php
Obviously change yoursite.com;)