992 Archived Topics

Remove Filter
Member Avatar for Dani

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 …

2
184
Member Avatar for Dani

# 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 …

2
1K
Member Avatar for Dani

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 …

Member Avatar for Dani
2
317
Member Avatar for Dani

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 …

Member Avatar for JorgeM
2
237
Member Avatar for Dani

[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 …

Member Avatar for MacroMonkey
2
1K
Member Avatar for Dani

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, …

Member Avatar for cguan_77
2
2K
Member Avatar for Dani

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.

Member Avatar for Symon Hara
2
250
Member Avatar for Dani

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.

Member Avatar for anuj_sharma
2
765
Member Avatar for Dani

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.

2
210
Member Avatar for Dani

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.

Member Avatar for Chainsaw
2
428
Member Avatar for Dani
Member Avatar for Dani

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 …

Member Avatar for graceweb
1
67
Member Avatar for Dani

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 …

Member Avatar for Dani
1
70
Member Avatar for Dani

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 …

Member Avatar for ThinkWriteGrow
1
206
Member Avatar for Dani

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 …

Member Avatar for Dani
1
116
Member Avatar for Dani

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 …

Member Avatar for Dani
1
100
Member Avatar for Dani

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. …

Member Avatar for Dani
1
410
Member Avatar for Dani

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 …

Member Avatar for Dani
1
161
Member Avatar for Dani

Inquiring minds want to know. What are you working with? I currently have an Apple M1 Max 14" 2021 model.

Member Avatar for Salem
1
305
Member Avatar for Dani

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.) …

1
89
Member Avatar for Dani

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 …

Member Avatar for Chris Hüneke
1
71
Member Avatar for Dani

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?

Member Avatar for Dani
1
136
Member Avatar for Dani

Anyone out there use Hootsuite or Buffer or one of the others? Are you an agency or just manage your own social?

1
51
Member Avatar for Dani

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?

Member Avatar for Dani
1
1K
Member Avatar for Dani

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 …

Member Avatar for Dani
1
957
Member Avatar for Dani

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. …

Member Avatar for Dani
1
241
Member Avatar for Dani

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 …

Member Avatar for rproffitt
1
70
Member Avatar for Dani

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 …

Member Avatar for Dani
1
77
Member Avatar for Dani

Has anyone ever come across any authoritative statement from Google on their official position of whether RSS feeds should be noindexed or not?

Member Avatar for Dani
1
187
Member Avatar for Dani

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 …

Member Avatar for Dani
1
126
Member Avatar for Dani

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' …

Member Avatar for Dani
1
68
Member Avatar for Dani

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 …

1
80
Member Avatar for Dani

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 …

Member Avatar for Dani
1
369
Member Avatar for Dani

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 …

1
145
Member Avatar for Dani

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?

Member Avatar for Dani
1
2K
Member Avatar for Dani

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 …

1
66
Member Avatar for Dani

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 …

Member Avatar for Dani
1
205
Member Avatar for Dani

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 …

Member Avatar for HelgaRaymond
1
637
Member Avatar for Dani

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!

Member Avatar for Dani
1
4K
Member Avatar for Dani

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 …

Member Avatar for Dani
1
4K
Member Avatar for Dani

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 …

Member Avatar for Dani
1
307
Member Avatar for Dani

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?

1
263
Member Avatar for Dani

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 …

1
205
Member Avatar for Dani

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?

Member Avatar for Vedika
1
331
Member Avatar for Dani

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 …

Member Avatar for daxclark52
1
236
Member Avatar for Dani

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?

Member Avatar for Reverend Jim
1
1K
Member Avatar for Dani

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 …

Member Avatar for subhodip
1
202
Member Avatar for Dani

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.

Member Avatar for bradvictor1
1
327
Member Avatar for Dani

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 …

Member Avatar for SubbuPD
1
341
Member Avatar for Dani
Member Avatar for Dani
1
280

The End.