Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Bug fixed.

rproffitt commented: So it was a bug. Here I thought it was cosmetic. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think this has something to do with Dazah. I'll fix soon.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Oh, I thought I changed this already. Oops! Will do!

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Thanks!! I've just returned home.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

We discovered there has been a problem with cron jobs.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Fixed.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

By logging out, I'm signalling that I'm done with that page.

I can see how that would be true for pages only accessible when logged in. The site's current behavior is such that when you log out, you are immediately returned to whatever page you were on (so when on a forum thread, if you log out, you're returned to the forum thread). I can see why that behavior isn't intuitive for pages only accessible when logged in.

Shouldn't Area 51 and the Inbox page be the same?

The reason they aren't is because the Inbox requires specific Dazah functionality and Area 51 doesn't. But, yes, that distinction is really a behind-the-scenes thing. As far as an end user should be concerned, the behavior should be the same.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 informs you that it's needed to power DaniWeb's social features and asks if you want to continue.
You click Continue to log back in.
You end up logged in again.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think it only affected a small handful of mods though.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have 16 pages. 16 pages of active conversations. What criteria decide whether a conversation is active or not? How is this different to All my conversations?

Active conversations are those that are not archived. Archived conversations are all conversations you've ever engaged in.

Going to somebody's profile in order to send a msg is a bit drawn out too.

Yes, I will fix this and there will be a page to message someone just like there used to be.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just keep pressing the little X a bunch of times in a row until they are all cleared out. I'm not sure what went wrong, but apparently something went wrong in the migration script that was supposed to preserve mark as read status :(

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think we just have no traffic anymore.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 the subject, why do I have five pages in my active conversations and how can I mass-delete them?

It is not possible to completely delete ... only archive. However, the "Message Inbox" tab should be the only tab you need to concern yourself with for new incoming messages.

If I delete (archive) my inbox when I go to the Inbox it opens the all my conversations which is pages long.

What is wrong with this? If there are no new messages, it defaults to showing an archive of old messages, as opposed to giving you an error message saying nothing new exists. You can still choose to only concern yourself with the Message Inbox tab, so it's not like you need to start going through your archive. It's there just in case you need it, and will be searchable in the future.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Didn't change a single thing.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I guess my lack of prioritizing it is because it's literally the exact same search we've had for the past decade, so my feelings are "well, if it brings in money, and no one complained for 10 years, then ..."

However, now that I think about it, it's powered by Google. Google absolutely hates us now. Google sends us no traffic and is doing a piss poor job of indexing our content, at the moment. I guess this unfortunately has carried across to Google's site search feature.

OK ok, you're convincing me ;)

diafol commented: Heh heh, perhaps my PITA posts have borne fruit! +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Jim,

Do you get an error message? Do you get a DaniWeb error message? A Chrome error message? An ISP error message? Does the page time out? Do you get an SSL error? What, specifially, happens?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

API never had any functionality to specify a thread starter and a contributor? Either way ... I will work on adding some additional search functionality right after I finish something else I need to take care of for Dazah first. However, I probably won't be able to modify the existing site search because it's controlled by Google and makes a decent amount of $ that I can't do without right now.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 for it to know if the YouTube video is done being watched. YouTube API I guess??

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Ah, yeah, I need to get the DaniWeb API back up and working. Focusing so much on Dazah these days ... from everyone that I've spoken to, Google just doesn't like forums anymore, and nothing is going to change that.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It's just quiet in general, Davey :-P

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi there! Welcome to DaniWeb

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 into your forum system. It seems (and correct me if I'm wrong) that you're using phpBB.

I did a quick Googl esearch and it looks like phpBB has OAuth support built-in, but only for Bitly, Facebook, and Google. (auth_link feature). You will need to find a plugin that offers OAuth support for any third-party OAuth-capable API. Then, Dazah integration should be simple from there.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Try clearing your DaniWeb cookies. Does that fix the problem?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Haha has it b een that long since you logged in? :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

All pages or only certain pages?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hope you didn't spend hours tracking down a non-existent bug.

Nope, I realized right away what I suspected was going on.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you clicking the Join link or the Login link in the top navigation menu? The Join link should re-request. The login link shouldn't.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 8% of our overall traffic is on mobile.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It probably happens because you're submitting the headers as an indexed array

Well that's ridiculously counter-intuitive! Still didn't fix the problem though, I'm afraid.

Also, a lot of web sites use multiple servers behind a "load balancer", most of which such as F5 devices, are round-robin and it is entirely possible for one request to get passed to a server under low-load, but the next to a server that is grinding away on other jobs.

That's not the case here because, even though we are behind a firewall and load balancer, I am in control of both the server and the client.

BTW, what version of PHP are you using for this project? And did you install as a package, or build it from source?

This is the client:

https://github.com/Dani28/Dazah-Business-Networking

It's installed locally. Check it out!!!!! ;)

P.S. After you've checked it out, help me figure out what's wrong.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

This is what curl_getinfo() spit out for the above request:

array(26) {
  ["url"]=>
  string(33) "https://www.dazah.com/welcome/foo"
  ["content_type"]=>
  string(24) "text/html; charset=UTF-8"
  ["http_code"]=>
  int(200)
  ["header_size"]=>
  int(665)
  ["request_size"]=>
  int(63)
  ["filetime"]=>
  int(-1)
  ["ssl_verify_result"]=>
  int(0)
  ["redirect_count"]=>
  int(0)
  ["total_time"]=>
  float(0.498006)
  ["namelookup_time"]=>
  float(0.15438)
  ["connect_time"]=>
  float(0.198839)
  ["pretransfer_time"]=>
  float(0.406906)
  ["size_upload"]=>
  float(0)
  ["size_download"]=>
  float(1187)
  ["speed_download"]=>
  float(2383)
  ["speed_upload"]=>
  float(0)
  ["download_content_length"]=>
  float(-1)
  ["upload_content_length"]=>
  float(0)
  ["starttransfer_time"]=>
  float(0.493861)
  ["redirect_time"]=>
  float(0)
  ["certinfo"]=>
  array(0) {
  }
  ["primary_ip"]=>
  string(13) "169.55.25.107"
  ["primary_port"]=>
  int(443)
  ["local_ip"]=>
  string(12) "45.33.82.238"
  ["local_port"]=>
  int(41800)
  ["redirect_url"]=>
  string(0) ""
}

As you can see, 500 ms just to pull up a webpage that does nothing other than retrieve a dump of $_SERVER.

To put that into perspective, Chrome Developer Tools told me that retrieving this particular forum thread, which required 5 database queries in addition to all sorts of computation processing, was delivered in only 137 ms. (.15 ms to send the request, 133.69 ms waiting, and 2.84 ms downloading the HTML).

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

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 to https://www.dazah.com/api, and half the requests are always speedy, and the other half of the requests take a ridiculously long time. (Half take about 150 seconds per request and the other half take about 800 seconds per request, so every page takes at least 1.5-2 full seconds to load). If there is only a single request per page, it always take a really long time. The speed of the requests never has anything to do with the amount of computational resources required to serve the page. I'm convinced this is a networking issue. Even if all it's trying to do is fetch a page that spits out Hello World, it may take as much as 950 seconds.

Some requests are GET and some are POST. No difference in performance.

When the same API requests are made via my web browser, it's always speedy (about 250 ms per request). When they are made via the Postman Chrome extension, it's always speedy as well. I am in New York and the app.dazah.com server is in New Jersey. The API is hosted in Dallas, so it's not like my web browser is any closer to the API than the app is.

…
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hmm, looks like it might be. I was able to do a search for "excel" and only select code snippets from the dropdown, and it gave me a bunch of excel-related snippets. None were yours though.

However, the Programming dropdown seemed to break things. I'll look into this. Thanks!

https://www.daniweb.com/search/index/0/code?q=excel+site%3A%2A%2Fcode#gsc.tab=0&gsc.q=excel%20site%3A*%2Fcode&gsc.page=1

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Jim, that's on Dazah's login page, to log into your Dazah control panel. I am talking about the page you reach when you click Join / Login from the navigation menu on DaniWeb.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I believe there should be a sticky post/blog post accessible from the login page before someone has logged in.

There's a big red notice on the login page that says to click here to migrate your old DaniWeb credentials. Not good enough, eh? ;)

I'm surprised you haven't got a active blog given the kind of publicity you are aiming for?

Things are changing very, very incrementally, and the majority of it is meant to be completely transparent to the end user. You can always follow my twitter account though ;) And Area 51 is meant to serve as a blog of sorts for what's new around here.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I appreciate that but if that puts off posting it's not profitable for you too

The problem is that we've been on such a decline over the past couple of years that a change is required. I've been monitoring everything closely, and the number of successful new signups per day has not been affected as a result of requiring a match profile. It seems that there is a little bit of a hurdle right now for existing members who are confused as to why it's needed, and I think that will come to reveal itself in time as the new functionality rolls out. In the meantime, it's not proving to be a hurdle for new members.

Have you thought about a poll to see what users think about it?

If there's one single thing that I've learned after 15 years of running a community, it's that users don't know what they want until they're presented with it. I've learned to not go off of what people say, but almost always go off of their behavior. Often what people say and what they do are two very, very different things.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

All I want to do is to help people learn to program and learn something myself.

Then I suggest you check off the "goals" area of the form as mentoring others and receiving mentorship from others ;)

As mentioned, what you fill out will heavily impact DaniWeb's functionality in the future.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

All I want to do is to help people learn to program and learn something myself. It that doesn't fit your "vision" then write me off as a old-fashioned fogey.

I'm an old-fashioned fogey too then, because I still believe in the forum model. Unfortunately, Google does not, and advertisers do not, and it's just not a profitable business model moving forward.

if I log in onto a website and there is anything that prevents me from doing what I came in to do, that's tough, I'll leave the website.

In the not-so-distant future, there will be a strong incentive to filling it in correctly as your responses will heavily modify DaniWeb's behavior.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I currently have a binary string that has been encoded with base64_encode(). However, I need to represent this string only with 0-9a-zA-Z characters.

I am currently wrapping the string in bin2hex() to represent it with 0-9a-f. However, for transport reasons, I would like to compress the string by representing it in base 36 instead of base 16.

My attempts at wrapping the bin2hex'ed string with base_convert($string, 16, 36) appears to work, until I attempt to decode it with base_convert($string, 36, 16), and it just results in all 0s. Why is that?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yeah I think everything will slowly start making more sense as DaniWeb slowly morphs into my vision.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Dropdown on the iPhone.

There's nothing I can do about that. It's a generic form pick list. It's up to the web browser / OS to determine how to handle the UI/UX for it.

About the fill out the form on my desktop.

You only have to fill it out once for your member profile. It's attached to your Dazah profile, not DaniWeb profile. Complete access to modify your Dazah profile will be coming within the next day or so.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Welcome back.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I filled in the Headline and got stuck on the What Industry box. I just could not type a thing there.

It's just a standard form dropdown. On iPhones, dropdowns show up at the bottom of the screen. I guess you typically don't fill out forms from your phone? Instead you can fill out the form from your desktop. It only needs to be filled out once.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Very unfortunately, forums are really becoming quite old school, and traffic has been every declining. In an attempt to keep up with the times, I've been very slowly transitioning DaniWeb from being yet another generic computer forum into an interactive community of IT people and developers based on the concept of members being matched with each other and engaging in live chat.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
  1. Log out of DaniWeb
  2. Click the Join DaniWeb link
  3. If you are logged into Dazah, click the link below the "Continue" button that says Switch User; Otherwise, bypass this step
  4. Click the link in the red box that says "Need to import your legacy DaniWeb login credentials into Dazah?"
  5. Enter your old username/password.
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

When moderators delete posts, they are not actually removed from the database. In fact, moderators still have access to deleted content. This is important because, every so often, we will have a spammer come back and beg for forgiveness and to be unbanned, and we need to have a complete history of their posts to see whether or not their ban was justified.

Additionally, it's quite often the case that one moderator will delete someone's posts, and they continue posting. A different moderator needs to see the complete picture in order to figure out whether they deserve a slight slap on the wrist or a permaban.

Not having access to the complete picture would make it impossible for a team to effectively moderate.

When posts are deleted, the rep/votes associated with the deleted posts remain, as you suspected. The reason for this is because if a spammer received negative reputation and has a low quality score, and then they subsequently have ther posts deleted, it's important to show that they still deserve that low quality score. Otherwise, spammers would all have a perfect quality score if all trace of every bad post they ever made was always erased.