11,557 Posted Topics
Ever since 2008, Google has been figuring out which content are forum discussions, and showing the number of posts, authors, and the last post timestamp as meta information within the SERPS description. They're pretty accurate when it comes to any vBulletin forum, and even StackOverflow (which is a unique Q&A … | |
Re: I can't duplicate your issue. I have no problem uploading files :( Please make sure that *all* browser plugins and ad blockers are disabled, because those are known to cause issues with our file uploader. | |
Up until now, the chat logs have taken into consideration the time zone you have set in your member profile, and they are GMT time for people who aren't logged in. However, they are now GMT time for everyone. This eliminates the confusion of a particular message towards the beginning/end … | |
Re: Not sure what "detailed" information you need? Like the DaniWeb chatroom at http://www.daniweb.com/chat ?? It's built with PHP, JQuery and MySQL. | |
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 … | |
Using a CSS background gradient and, in Chrome, it just shows up as solid black if the div is greater than 32,000 pixels. background-color: white; background-image: -webkit-linear-gradient(top, #EEE9F0 10%, white); background-image: -moz-linear-gradient(top, #EEE9F0 10%, white); background-image: -ms-linear-gradient(top, #EEE9F0 10%, white); background-image: -o-linear-gradient(top, #EEE9F0 10%, white); background-image: linear-gradient(to bottom, #EEE9F0, white); … | |
Re: I used to love going to the 3D IMAX movies at the Lowes theater in Manhattan back in the 90s. The movies (I assume due to production costs) were always about 40 minutes long, and were designed to demo the 3D (i.e. no matter what the plot was, they always … | |
Re: Fingerprint sensor is going to make it hard for people to spy on their significant others ;) Or for parents to see what their tweens/teens are up to. | |
As we all know, the latest version of Panda (hit in March 2013) was the last one to be pushed out manually. Google announced that from now on, Panda will be integrated into the main Google algorithm and will be a rolling update. As someone who was hit in November … | |
Re: Alexa is just a rough third-party estimate of how much traffic you get, based on a sample size of people who use the Alexa browser toolbar and other such methods. It's rather meaningless and inaccurate IMHO. | |
Re: Sure: PageRank is based on the quantity (how many) and quality (the pagerank of each of those pages) of other webpages that link to a particular page on the web. It is just one factor that goes into ranking webpages in Google. | |
Re: > due to something called "in" that appears in a blue retangle and the word "share" in white rectangle "Something called 'in'," LOL. That's the widget to share the article on LinkedIn, and I'm not sure why it is overlapping to the next line. Feeling a tad under the weather … | |
Re: > The jump to last post feature: last reply is on the top of the page, and then covered by the header. I think you know this, since you had a thread about this IIRC. Huh? Not sure what you mean? | |
Re: Labdabeta, What size is your screen resolution? The dropdown menus go away if your screen is too small to fit the top navigation bar all on line line. ![]() | |
Re: I just stumbled into this thread and, not being a python programmer, found it quite aumusing ... pickle, unpickle, *huh*? Can you cucumber.dump() too? | |
Re: Change `$this->$data['assets']` to `$this->data['assets']` | |
Re: The landing page is the first page that the visitor sees. The bounce rate is the percentage of people who leave the site after seeing the first page. Notice the correlation? :) | |
Re: I think it's legitimately the official Google India website. | |
Re: What do you mean by "internal links" vs "external links"? All links on your site and off your site should use the rewritten links. There should be no way for a website visitor to know what the *real* path to the file is, no hyperlinks anywhere pointing to it, etc. … | |
This seems kinda random but basically I have the following member function in my caching class: public function increment($key, $expires = 0) { // Requires OPT_BINARY_PROTOCOL return $this->cache->increment($key, 1, 0, $expires); } So then I want to do flood protection like this: $cache->increment('foo', 10) > 50 90% of the time … ![]() | |
Re: I went ahead and fixed your code. We don't use BBCode around here like most other forums do. Instead, we use the Markdown syntax. There's a link to documentation in the top right of every editor. Or it's here: http://www.daniweb.com/community/syntax Are you sure that you have MySQLi installed?? | |
Re: We use a third party library to do our code highlighting: http://google-code-prettify.googlecode.com/svn/trunk/README.html Can you include in this thread an example of what you mean? | |
Receiving this CodeIgniter message in my error log every so often (and by every so often I mean quite often): ERROR - 2013-07-21 07:26:40 --> Severity: Notice --> unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 124 of 187 bytes /home/daniweb/httpdocs/system/libraries/Session.php 724 Could a problem unserializing() be caused by a session cookie … | |
Re: The robot question? You mean human verification? That stops once you post two more times. | |
I'm getting complaints today that the site, API, and chat room are all acting really sluggish and a bit funky. However, I'm not able to reproduce *anything* out of the ordinary. Can I get specific confirmation, please? | |
Re: > So if I changed my mind and decided not to login with Google and click on Cancel button Not within my control to change. | |
My code looks like this: if (!empty($foo)) { $doc = new DOMDocument(); $doc->loadHTML($foo); $images = $doc->getElementsByTagName('img'); } And this is happening: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Document is empty in Entity, line: 2 | |
Re: There's been an issue recently with a lot of accidental double-posting but I can't seem to get to the bottom of it. | |
Re: Incredibly strange because I haven't been playing aroudn with anything!! | |
Re: Yeah, change that first line to just `<!DOCTYPE HTML>` | |
Re: I use the CodeIgniter framework and here is the code for the function that they use: function character_limiter($str, $n = 500, $end_char = '…') { if (strlen($str) < $n) { return $str; } $str = preg_replace("/\s+/", ' ', str_replace(array("\r\n", "\r", "\n"), ' ', $str)); if (strlen($str) <= $n) { return … | |
Re: I have never even heard of it. What does it do? | |
Re: > my view of Daniweb is widescreen enough without having the bar. I'm not sure what you mean? | |
Re: Hmm, really? Please post in the feedback forum so I can fix the bug. | |
Re: There's a 1MB max file size. How big of a picture are you trying to upload?! Compress the darn thing! | |
Re: Codeigniter is designed to be an MVC framework which means: model layer: read/writes to the database view layer: the website's front-end skin controller layer: retrieves data from the model layer and preps it for the view layer You shouldn't really be including other php files in your views. However, if … | |
Re: Assign a number to each question in the text file. Then, generate a random number and, for each number generated, pull the corresponding line of the text file. I'm not a C++ programmer, but some languages have libraries that let you pull *n* numbers at once. If C++ isn't one … |
The End.