11,530 Posted Topics

Member Avatar for radkowboy

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?

Member Avatar for diafol
0
521
Member Avatar for Aeonix

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 …

Member Avatar for Dani
0
497
Member Avatar for diafol

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 …

Member Avatar for Dani
0
262
Member Avatar for Aeonix
Member Avatar for Dani
0
328
Member Avatar for Reverend Jim

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 …

Member Avatar for AssertNull
0
403
Member Avatar for lokesh_6
Member Avatar for Gribouillis
0
317
Member Avatar for janicemurby

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.

Member Avatar for Dani
0
232
Member Avatar for Cherise

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

Member Avatar for Dani
0
1K
Member Avatar for Aeonix

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.

Member Avatar for diafol
0
307
Member Avatar for Aeonix

Something like this should do the trick ... div { text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; }

Member Avatar for Dani
0
292
Member Avatar for nancy_9
Member Avatar for Aeonix

I met up with him in person here in Silicon Valley (where I currently reside part time) earlier this year.

Member Avatar for Reverend Jim
0
527
Member Avatar for Connie_3

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 …

Member Avatar for Connie_3
2
310
Member Avatar for ELife
Member Avatar for Fola_1

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?

Member Avatar for JamesCherrill
0
213
Member Avatar for tinstaafl

Do you by any chance have lots of instances of DaniWeb open? Many browser tabs? Open on multiple computers? etc.

Member Avatar for Dani
1
546
Member Avatar for davy_yg

DaniWeb and Dazah are both written with CodeIgniter. I'm pretty experienced with 2.x as well as 3.x. What's up?

Member Avatar for diafol
0
181
Member Avatar for cereal
Member Avatar for FarrisFahad

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 …

Member Avatar for AssertNull
0
320
Member Avatar for Dani

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 …

Member Avatar for diafol
1
496
Member Avatar for Reverend Jim
Member Avatar for tinstaafl

That's so strange. Did this just start? Or has it affected previous issues as well?

Member Avatar for tinstaafl
0
828
Member Avatar for Sushil_4

It actully says "in case you need it"?? Sounds like a virus or something!

Member Avatar for rproffitt
0
332
Member Avatar for Jim_14
Member Avatar for AssertNull

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 …

Member Avatar for Reverend Jim
0
378
Member Avatar for Dani

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?

Member Avatar for canadafred
0
181
Member Avatar for JamesCherrill

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

Member Avatar for JamesCherrill
0
309
Member Avatar for Dani

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?

Member Avatar for AssertNull
0
187
Member Avatar for rayearth_1

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 …

Member Avatar for gentlemedia
0
358
Member Avatar for Reverend Jim

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

Member Avatar for Dani
0
385
Member Avatar for tinstaafl

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?

Member Avatar for tinstaafl
0
362
Member Avatar for tinstaafl

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.

Member Avatar for Dani
1
324
Member Avatar for AssertNull

We trim leading and trailing whitespace that is submitted by forms. Since it's not intuitive, I'll correct this behavior.

Member Avatar for AssertNull
0
455
Member Avatar for INSPIREDNZ

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.

Member Avatar for Dani
0
425
Member Avatar for Saro_1

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?

Member Avatar for Saro_1
0
484
Member Avatar for rproffitt
Member Avatar for Dani

I'm going to API World + Data Week in California ... Leaving tomorrow morning and I'll be returning on the 19th. Catch everyone soon! :)

Member Avatar for Dani
2
167
Member Avatar for tinstaafl

Just returned home from my trip to California and re-added it to the Finder menu.

Member Avatar for tinstaafl
0
399
Member Avatar for AssertNull

What you're describing is the intended behavior. You are accessing the message inbox. You click log out. It logs you out, and then redirects you back to the page you were just on (in this case, the message inbox). The message inbox is a member-only feature controlled by Dazah. Dazah …

Member Avatar for Dani
0
619
Member Avatar for Traevel
Member Avatar for Reverend Jim
2
444
Member Avatar for Dani

I'm really sorry everyone ... Due to an SSL issue, no one was able to log into DaniWeb over the past day. I wasn't aware of the issue as I was already logged in. Soooo sorry!!

Member Avatar for rproffitt
0
476
Member Avatar for Himanshu Chawla

You can use jQuery to attact an event handler to a specific event, which says the code to implement when the video is watched. You can use .click() to trigger the progress bar to move when something is clicked on (https://api.jquery.com/click/) but unfortunately I have no clue if it's possible …

Member Avatar for diafol
0
349
Member Avatar for diehsi
Member Avatar for Edison_2
Member Avatar for Securex
Member Avatar for _1_6

The Dazah web app Github project is an entirely standalone "tinder for business" -like app (similar to http://app.dazah.com). That isn't what you want based on the description that you gave here. You're wanting to replace your forum's login system with Dazah. For that, you need nothing more than OAuth integration …

Member Avatar for _1_6
0
494
Member Avatar for Reverend Jim

Jim, that's not the desired behavior at all. Perhaps a cookie issue? Are you able to reproduce it? AssertNull, what page on Dazah are you getting diverted to?!

Member Avatar for Reverend Jim
0
492
Member Avatar for pritaeas

Sorry, I couldn't find a place for the thumbs up / thumbs down to fit on mobile. I guess I can put them below the post. Hmm ... Either way, It's going to be a bit of a low priority because I'm so focused on Dazah these days. Besides, only …

Member Avatar for diafol
2
644
Member Avatar for Dani

Hi everyone, I really hope that you can help me diagnose an issue with my new API. I'm having the following issue: I'm not happy with the performance of the app client at http://app.dazah.com that connects to it ... It uses cURL to issue about 3-4 API requests per page …

Member Avatar for rproffitt
0
2K
Member Avatar for rproffitt

There already are multiple posts about login issues. Once I have everything working, I'm going to send a mass email explaining the situation.

Member Avatar for Reverend Jim
0
382

The End.