992 Archived Topics
Remove Filter I just noticed tonight that the Login via Facebook feature hasn't been working for an embarassingly long time (aka multiple days). I checked it out, and apparently FB decided to change something on their end to break our OAuth integration. It was an easy fix, and it's working again. Sorry … | |
# The nature of this tutorial ... This tutorial is designed to walk you through DaniWeb's implicit (clientside) OAuth flow. This is not designed to be an introductory tutorial to OAuth, and we will expect that you are already familiar with the nature of OAuth and/or have read our tutorial … | |
This was posted in a behind-the-scenes forum yesterday, but here it is for everyone today: There have been a LOT of changes so far, and more to come. Most of what's happened so far has dealt with OAuth. A lot more security on the backend and more in line with … | |
When we switched over from vBulletin to our own unique platform back in March 2012, one of the things that changed was the way that post quality score was calculated. Most members noticed their quality score had suddenly changed by a few points. Since then, however, over the past year … | |
[i]I found this in a few different places around the 'net - hopefully it's helpful:[/i] [font=Arial][size=5][color=#0000ff]Create a Desktop Shortcut to Lock Your Computer[/color][/size][/font] [font=Arial][size=2]You secure your computer by locking it whenever you're away from your desk. If you?re on a domain, by pressing Ctrl+Alt+Del and then clicking Lock Computer, you … | |
Hi, Due to Hurricane Sandy, my office currently has electricity but no Internet access, with no ETA (it's been nearly a week, and they are saying it might be another week). I desperately need to move our SVN server, hosted in our office, to our off-site servers hosted in Texas, … | |
Acronis Backup & Recovery 10 simplifies and automates workstation and server backup and disaster recovery processes in Windows and Linux environments and across physical and virtual platforms. It also simplifies migration and deployments. It's the complete disaster recovery solution for minimizing downtime and increasing IT productivity. | |
Do you do freelance work as a web designer or web developer? If you do custom work for clients, you're welcome to advertise your service in our [URL="http://www.daniweb.com/techtalkforums/forum52.html"]Custom Services For Hire[/URL] forum within the Webmaster Marketplace. | |
An example of method overloading. The program calls a function to get the square root of a number. The appropriate function (integer or double version) is executed. | |
The attached program performs a QuickSort in C++ which sorts an array of structs based on their data members. Basically, it sorts an array of coordinates based on their distance from the origin. | |
Here's a quick bit of code to upload a file in PHP. | |
Perhaps I'm having a bit of a brain fog moment, but I can't wrap my mind around the difference between Added and New, Removed and Missing when comparing current vs prevous Screaming Frog crawls. Anyone use that software who can explain it to me better than ChatGPT was unsuccessfully able … | |
In my increasingly futile attempt to remain using the now-defunct CodeIgniter 3 framework, I came across something that I figure might be worth sharing in case anyone else is maintaining older PHP codebases and suddenly things start breaking after a PHP upgrade. With PHP 8.2, there’s a new warning that’s … | |
What are some best practices for optimizing memory management when working with large datasets? I am tagging this topic both with php (because that is my language of choice, and the one I work with big data with) as well as c++ (because I know DaniWeb has a large low … | |
Probably this is me just venting more than anything, but has anyone had success in getting in touch with someone from Cloudflare billing? Cloudflare recently charged us a boatload of money for Argo accelerated traffic that was the result of a DDoS attack. Cloudflare was able to detect on their … | |
As you may know, yuo can customize the error pages in Cloudflare, such as for a WAF block, etc. For some reason, since the switchover to the new error pages dashboard, the custom font I always use isn't working. I can see that it converted https://cdn.daniweb.com/font.woff into inline base64 for … | |
Just as the topic title suggests, any jQuery 4 beta users out there who could let me know what it's like? The wait for v4 gold release is killing me. Also, please don't make fun of me for being a jQuery user. DaniWeb has been built on jQuery for decades. … | |
Please help me come up with a compelling argument to convince my husband to spend an additional $200/month on AT&T Fiber Internet with 5Gbps download / 5 Gbps upload. We currently have Comcast Xfinity cable with 1.2Gbps download and something like 35 Mbps upload. Xfinity has a 2Gbps plan we … | |
Inquiring minds want to know. What are you working with? I currently have an Apple M1 Max 14" 2021 model. | |
The Markdown editor that we use here at DaniWeb is called [CodeMirror](https://codemirror.net/) and we've been using it for forever. The other day, I noticed some bugs in the editor toolbar that we use, which is based on the [CodeMirror API](https://codemirror.net/docs/ref/). (The one that allows the buttons for bold, italic, etc.) … | |
We use a lot of AJAX that loads JSON files that return an application/json mime type. In some instances, these JSON files are used to assemble elements on the page, so we don't want to hide them from Google because we want Google to see the page fully rendered. My … | |
I, very hackily, create an object of type stdClass as so: $arr = array( 'foo' => 'bar', 'baz' => 'bat' ); $obj = json_decode(json_encode($arr)); How can I now quickly add a third property to $obj without PHP getting angry? | |
Anyone out there use Hootsuite or Buffer or one of the others? Are you an agency or just manage your own social? | |
The new robots.txt tester that is now built into Google Search Console is finding errors with the last two rows of my robots.txt file: Sitemap: https://www.daniweb.com/latest-sitemap.xml Sitemap: https://www.daniweb.com/sitemap.xml The error is: *Invalid sitemap URL detected; syntax not understood* Any idea what could be wrong here? | |
For some context, I use Google Ad Manager for all display ads on my site. Within the *Privacy & Messaging* section of Ad Manager, I have GDPR messages enabled for my entire domain. The message is published and the reporting stats indicate a sizable usage. Additionally, various ad units have … | |
The Google Analytics javascript tag we use in our HTML <head> is: <script async src="https://www.googletagmanager.com/gtag/js?id=G-3BQYMGHE7E"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3BQYMGHE7E'); </script> Then, there are a handful of `gtag()` calls elsewhere on the page. I'm confused by how async works in this context. … | |
All this hoopla around ChatGPT and AI got me thinking about voice search. Has anyone created a version of Siri that actually *works*? (And, no, Google Assistant and Alexa don't really count. Google Assistant has never answered a single thing for me.) What about Cortana now that Microsoft owns a … | |
Google Analytics initially evolved from Google's purchase of Urchin Analytics, an Apache log analyzer. That's why legacy Google Analytics property IDs all begin with UA-. The familiar ?utm_ keywords that can be tacked onto URLs to track referrer statistics in Google Analytics are remnants of Urchin Tracking Modules. All these … | |
Has anyone ever come across any authoritative statement from Google on their official position of whether RSS feeds should be noindexed or not? | |
The Coverage section of Google Search Console shows 206K valid URLs, of which 174K are submitted and indexed, nearly all of which are Q&A pages. The remaining 32K are indexed, but not submitted in sitemap. However, the Core Web Vitals section only shows data on 28K URLs. In the Enhancements … | |
When I run `getStats()` on my PHP instance, it results in the following: array ( '10.143.27.235:11211' => array ( '����' => '', 'pid' => 3602, 'uptime' => 49804, 'time' => 1663088274, 'version' => '1.5.22', 'libevent' => '2.1.8-stable', 'pointer_size' => 64, 'rusage_user' => 30.254434, 'rusage_system' => 62.188442000000002, 'max_connections' => 4096, 'curr_connections' … | |
According to [this page](https://developers.google.com/search/docs/advanced/experience/signed-exchange), Google requires "as a rule of thumb" that the SXG expiration date is less than 1 day in the future if the content is JS, or otherwise 7 days in the future. My external Javascript files are immutable. Why should they have a 1 day cache … | |
For some reason, PHP class constants don't play nicely with inheritance. For example, suppose you have the following code: class Foo { const VAR = 'foo'; public function __construct() { echo self::VAR; } } class Bar extends Foo { const VAR = 'bar'; } // This will actually print out … | |
A PHP array is essentially a stack of elements that can be used to denote a list, represent a collection of variables, etc. You can easily use loops to iterate over each element of an array. As PHP is a loosely typed language, all of the elements of an array … | |
To AMP or not to AMP, that is the question. For those who have decided to implement AMP (Wordpress users, I'm looking at you!), have you noticed a difference since doing so? For those of you who have chosen not to, what are your reasons? | |
I am trying to get the hang of Google Analytics 4. One of the conversions that we track is sign ups. I'm seeing a lot of conversions attributed to the Organic Social group. However, a lot of these conversions are people who found the site some other way (e.g. organic … | |
Starting September 1st, about 25% of crawl requests started returning 304 Not Modified instead of 200 OK. Prior to that, there were just a small handful of such requests per day. I did not make any code changes that would introduce returning this header. Once I noticed, however, I tried … | |
I am trying to remove an entire folder of thin content from Google to help me recover from a Panda/EAT-related penalty. I want to keep the content on the site for the benefit of users, but not waste crawl budget or have Google think that we have so many pages … | |
I've tried absolutely everything!! How can I flush the output buffer in CodeIgniter from within either my controller or my view?? They use some weird double/fake output buffer or something. Grrr! | |
DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the member's post count ... ... update the tags table ... etc $this->db->trans_complete(); On occassion, the error log will show for … | |
AMP pages are clogging the Valid Pages coverage report, grouped as Indexed, Not Submitted In Sitemap. My AMP pages are linking to the AMP version of the URLs the desktop versions link to. Desktop links to desktop. AMP links to AMP. What this means is that sometimes the AMP version … | |
Is there any news yet as to what the December 2020 core update focused on? What types of sites were the biggest winners vs biggest losers? | |
The new Crawl Stats in Google Search Console shows a breakdown of how much googlebot recrawls existing content for refreshing its index, and how much is discovery of new content. Has anyone been working on increasing the rate of new content and seeing that correlate to a linear increase in … | |
This is a two part question. Firstly, what are some methods to build backlinks in late 2020 that are __not__ through guest blogging / blog outreach? Secondly, what are some methods to encourage users to share your content on social platforms? | |
Googlebot is crawling my AMP pages more than they are crawling my desktop pages. I have the appropriate canonical from AMP to desktop and amphtml from desktop to AMP. The desktop version also has a self-referencing canonical. Only canonical pages are in the sitemap. This is a concern because less … | |
Are you a student studying programming from home? Are you an employee who is working from home for the time being? Or are you a self-employed freelancer? Has your work shifted during this time? | |
There was a huge fluctuation in the SERPS yesterday that left a lot of people baffled by the unannounced algorithm ... until Google officially announced it was a bug that was rolled out. Unlike just about everyone who commented on WW, SEW, etc., I actually fared well from it, until … | |
Is it appropriate to noindex AMP pages whose desktop canonicals are noindexed? Currently, my valid but low-quality pages are noindexed. They point to an amphtml version, and that AMP page is noindexed as well. | |
As of this morning, the Speed Report (Experimental) in Google Search Console has been replaced by a more robust Core Web Vitals report. It still is broken up into a Mobile and Desktop version. However, instead of just monitoring FCP (First Contentful Paint) and FID (First Input Delay), it now … | |
Should I be noindexing or fully blocking search result pages from my robots.txt? |
The End.