11,545 Posted Topics
Hi, Unfortunately all of the Dazah integration stuff with DaniWeb is taking *much* longer than anticipated. I'm still working to try to get it out for you guys, but it's just taking a really long time. That being said, now that the concept of a Dazah login has kind of … | |
Re: Without referer headers, we think you're a bot. Glad you were able to get it working on your own. For those web developers out there, do you agree that having valid referer headers is one part of testing for not status? | |
Re: OK, will check it out! | |
Re: You're not supposed to send the app secret when redirecting to the OAuth dialog page. Only when exchanging code for an access token. Can you please show us the requests you're making? Thanks! | |
Re: I won't pretend that I know what I'm talking about, but did you shut down the MySQL service first as in the instructions? | |
Re: There's a history of the edit that moderators can see. There's currently not a public flag saying the post was edited. We should have one, you think? I believe we used to. | |
Re: What does the HTML code look like in your document head where you link to jQuery? Are you using a jQuery CDN such as Google's hosted version of it? Perhaps the file you're using is corrupt? | |
Re: You say it isn't working, but is it writing any errors to the error log or output on the page? | |
Re: Is this the complete file? It doesn't look like you have a close curly brackets on the If statement that should be st the end of the file. Additionally, youbshpuld reallllly escape your strings before inserting them into the database so they won't be prone to SQL injection attacks. | |
Re: I would recommend using any of the many CSS frameworks out there such as twitter bootstrap. These types of functions are pretty much expected and built into just about all css frameworks nowadays. | |
Re: As diafol stated, a single equals sign is an assignment and a double equals is a comparison. You are resetting the value to zero inside the If statement and THEN checking to make sure it doesn't equal false. For example, your while statement has an assignment operator in which you … | |
Re: While I'm certainly not disagreeing about this particular instance, personally I don't think that it's always best practice to never duplicate data in a database. There are many instances in which it's beneficial to denormalize your data, being that CPU resources are much more expensive than hdd space. Sometimes it's … | |
![]() | Re: Unfortunately I don't know the answer to your question but I'd like to make two points. Firstly, I've gone ahead and tagged this thread with SVN. Secondly, why not switch to git? I finally took the plunge and I couldn't be happier. That being said, I use an IDE with … ![]() |
Re: Line 19 says `<?php include("/home/pi/html/password_protect.php"); ?>` but you aren't telling us what is in that file. If I understand you correctly, that file gets people to enter a username and password, and determines whether it's successful and whether they should be logged in or not? ![]() | |
Re: Ooooh, we used to do this, but then we switched from Apache to Nginx, and Nginx doesn't use .htaccess files. I *think* we did something along these lines: RewriteEngine on RewriteCond %{HTTP_HOST} ^daniweb.com [NC] RewriteRule ^(.*)$ https://www.daniweb.com/$1 [L,R=301] RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] I wish I could just … | |
![]() | Re: That information is being pulled from Dazah. Still working on making some improvements to Dazah, and the CV information will be improved upon within the next week or so. It's not a matter of just fixing up DaniWeb's use case of it, but a bit of an overhaul to how … |
Re: I use jQuery UI tooltip for the autocomplete for tagging and member usernames. | |
Re: For a long time, it's been a web design no-no to use black fonts on a white background. I don't know the specific reason, but it just looks "off" ... DaniWeb has been using grey fonts for well over a decade. I do agree, though, that the Google example linked … | |
Re: Can you please clarify what a cardiacdicom image is? Sorry. | |
Re: May I ask what software you are trying to install? Perhaps we would get further by checking out the github project, etc for ourselves. At the very least, perhaps we might be able to point you to a better written alternative. | |
Re: Where is the second part of the assignment? I'm not seeing the attachment. I'm having a hard time understanding your logic. On line 29 you say, keep running this loop until you reach the end of the file. And then I pull in 25 characters. And then what ...? | |
Re: I didn't read the link, but I definitely agree that using IDs severely limits reusability, and therefore unnecessarily bulks up the size of the CSS file. ![]() | |
Re: Something like this should do the trick ... div { text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; } | |
| |
Re: I met up with him in person here in Silicon Valley (where I currently reside part time) earlier this year. | |
Re: HI Connie. Welcome to DaniWeb! Firstly, one of the biggest differences between DaniWeb and SO is that we're an interactive community that *encourages* discussion. ;) That being said, there are a lot of OAuth libraries that exist already across a wide variety of languages. I don't use .NET, but I'm … | |
Re: I guess I'm just a bit confused. How did you code the rest of the ATM machine? Why having an issue with just this one part? | |
Re: Do you by any chance have lots of instances of DaniWeb open? Many browser tabs? Open on multiple computers? etc. | |
Re: DaniWeb and Dazah are both written with CodeIgniter. I'm pretty experienced with 2.x as well as 3.x. What's up? ![]() | |
Re: OK, I am able to reproduce it. I will investigate :) | |
Re: It depends who your visitors are. If your site, for example, targets housewives, what percentage of them are likely to have a website to link to? The best way to build a link strategy is by doing something extraordinary ... something that will get bloggers to write about you; that … | |
I'm trying to design a landing page for my API product, and it seriously is lacking any images. Where are the best places to get those Photoshop-ready backdrops that all of the paid themes seem to have? Deviant Art? Looking for ones that are optimized for this sorta thing, and … ![]() | |
Re: That's so strange. Did this just start? Or has it affected previous issues as well? | |
Re: It actully says "in case you need it"?? Sounds like a virus or something! | |
Re: Unfortunately your post has been lossed. Chalk it up to a weird network glitch and, in the future, whenever you take a long time to write a post, copy it to the clipboard before hitting submit just in case. We have made some JavaScript changes lately so maybe clearing your … | |
I'm trying to use the responsive size AdSense link units. Why is it that the font size is soooo tiny?! The font is so much larger on the vertical ad units. Is there any way to force a larger font with horizontal units? | |
Re: > Is this going to place a condition on the use (above and beyond DW's), so that an user cannot use it in their work unless it's for educational / personal use? JC is right in that I retain most of the same arguments as I wrote years ago in … | |
Is there a way (perhaps with JS or some other sorcery) to get a tracking pixel (a 1x1 clear image in which the HTTP request must be made from the client) to defeat ad blockers and load anyways? | |
Re: Well your first step is to actually format the HTML so it's readable <td colspan="9" rowspan="3" bgcolor="#999999"><strong>Front Desk</strong></td> <td bgcolor="#FFFFFF"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('exunsatisfied','','images/exunsatisfied2.png',1)"><img src="images/exunsatisfied.png" alt="" width="113" height="100" id="exunsatisfied"></a></td> <td bgcolor="#FFFFFF"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('unsatisfied','','images/unsatisfied2.png',1)"><img src="images/unsatisfied.png" alt="" width="113" height="100" id="unsatisfied"></a></td> <td bgcolor="#FFFFFF"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('neutral','','images/neutral2.png',1)"><img src="images/neutral.png" alt="" width="113" height="100" id="neutral"></a></td> <td bgcolor="#FFFFFF"><a … | |
Re: > the only messaging thingy I could find was the single line send message when I went to his profile. One line is certainly not suitable for composing even something as short as a tweet. I will change it to accomidate a full editor area. > While I am on … | |
Re: Yes ... I was finding that it was making the pages way too cluttered looking mainly because, in the case of most of the programming forums, the synopsys just was unreadable code. You can still see it by hovering over the article title. You think it's a bad move? | |
Re: Thanks for the tip. I didn't write the code prettifier, but I'll be on the lookout for a newer version. I think we're using the most popular one right now. | |
Re: We trim leading and trailing whitespace that is submitted by forms. Since it's not intuitive, I'll correct this behavior. | |
Re: Hmm ... this was definitely a bug that we had in the past, but I've fixed it. I'm not sure why your username change didn't go through. I'll check the error log and see if anything comes up. | |
Re: The link is broken so I'm not quite sure what you're referring to. Perhaps prefetching the CSS in the HTTP header might help? |
The End.