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

Will look into the browser issues momentarily.

In the meantime, Rev, as you browse the site, the little number in parentheses next to Chat in the bottom toolbar tells you how many new messages are in your shoutbox. Additionally, when someone posts a message in there, it shows a very subtle message that says "New Chat Message".

Reverend Jim commented: Awesome +0
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'll make it a top priority to improve mobile usability next week.

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

Well it's good that it's not taking you to Third.php, because at least the title and body of the post are being posted by the form. Try enclosing $_POST['text'] with mysql_real_escape_string() the same way you are doing with the post title.

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

I don't have any experience with TinyMCE, but I looked into it when choosing an editor to go with for DaniWeb. Can you post your code and I'll take a look at it?

So you're saying everything works fine if you replace TinyMCE with a standard textbox, but not with TinyMCE??

What do you mean that the form returns false. How can an HTML form return false? What exactly is failing? Is the form being submitted but just the record isn't being entered into MySQL??

The way that these Javascript-based WYSIWYG editors work is the area you're typing in isn't really the textbox that's being submitted as part of the form. Upon hitting the submit button, Javascript magic takes over and puts everything in the WYSIWYG editor into the actual textbox to be submitted. At least that's been my experience with the ones I've worked with.

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

If you care to hear one more comment, the Related Articles section takes up almost a third the width of my screen. This means that more code lines get wrapped. Would it be possible to add a gadget (like on Google Maps) that would collapse the Related Articles pael?

There currently are no plans for this because, well, this is where our advertising is :) And I think a 300x250 width sidebar is very reasonable. I did try playing around with moving the user information above the post instead of to the left with the specific purpose of optimizing the actual post message real estate. However, after doing it, it ended up actually causing less efficient use of white space and requiring more scrolling than when the user information was on the left. Therefore, I decided to keep the user information above the post just for the first post in the thread. Usually it's the OP that has the biggest code snippet, etc. when asking for help, and therefore I wanted to give it the most amount of real estate.

By any chance is there a way to switch versions of the site? I don't if it is me but i think some people may look the old layout better. I am personally gonna stick with the new one. :)

No, this is our future, although there will be many, many changes along the way! Absolutely nothing is ever set in stone.

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

When the browser is in maximized mode all of these issues are gone, however I always have my browser snapped to one side of the screen.

This is what happens when you design on dual 30" monitors.

When it is like this I lose access to "Last Updated by" and the dropdown menus, and other nice stylistic things.

Don't you think it's nice that it doesn't make things too squishy but instead removes the less important elements as you make your screen narrower?

DaniWeb was designed for a full screen resolution of at least 1024x768, which I think is very reasonable for desktops and laptops in 2013. It looks perfectly nice on my iPhone and iPad Mini but I don't have any access to any other mobile devices.

I'll be going on vacation for a long weekend, but I'll be back Monday in order to start working on spiffying things up and working towards a less cluttered interface.

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

Whoever came with the lame (sorry) idea to begine with, should probably stay away from decision making second time around. It was horrible idea.

Unfortunately that was my idea, and it really did ad to the ad performance big time, which is great. But I'm semi-regretting the decision but now we have all of our advertisers wanting it and it's the first time in a looong time we've been sold out for this long, so ... eh ... I increased the delay and we'll see how it goes. It's all about finding a happy compromise I think.

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

I used to be a fan of this site, when I first joined. But, switched to Stackoverflow and never looked back.

Aww, sorry to hear that. You should check out this thread: http://www.daniweb.com/internet-marketing/search-engine-optimization/news/459242/stackoverflow-stole-all-our-search-traffic

One, of the most SUPER annoying this in this site, is the ads. I am not saying remove the adds, but whenever I move my mouse, and hover of one of the ads, the screen becomes dark to highlight the ads, which... when it happends over, and over again, is quite annoying and borderline depressing.

A change was made recently so that you have to hover your mouse over the ads for a time period before this happens, so if you just move your mouse around normally you should be unaffected. Regardless, you can always go into your member profile and disable advertising completely.

Aside from those, with little more time/effort daniweb will flip the cards again.

Care to give any pointers/suggestions about what you like so much more about SO? :) Constructive criticism much welcomed.

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

Thanks!

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

What's to stop someone looking at a particular forum, seeing who is the most active / experienced and then them annoying them via PM's in a hope their question would get a reply sooner.

Because you need to have at least a couple posts under your belt and be a member for a length of time before you can send private messages or chat in the chatroom, so the presumption is that those features are limited to real community members interacting with other real community members, and not one-post wonders.

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

OK I'll fix that. Sorry, I thought it looked neater not having the bullet icons in some other places and I made a sitewide change. Just a quick CSS fix.

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

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.

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

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?

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

Sorry, missed pritaeas's post :(

So should I just remove all syntax highlighting from asm??

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

I'm open to doing that, but my first choice would be for someone way smarter than I to create an Assembly definition for Prettify.

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

could we have a means of syntax-highlighting code that is tailored to the forum that it's posted on

This currently exists and is in place.

optionally an author-specified languag

There are no current plans for this, sorry. We tried playing around with it last year but found the Markdown syntax support to be buggy at best.

I've noticed very marginal highlighting over on the Assembly forum which makes code harder to rea

We currently use Prettify to handle our syntax highlighting. Unfortunately, Assembly is not one of its supported languages.

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

OK fixed. Sorry about that ... I changed something the other day that I had no idea was going to affect the API!

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

Oh, I know why! OK, on it! ...

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

It seems to be having an issue unserializing the favorites and the social media member fields.

Although I'm not quite sure exactly why, I think it has something to do with this:

http://www.daniweb.com/web-development/php/threads/459459/codeigniter-session-class-unserialize-failure

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

So, if I understand you correctly:

  • You are in Community Center Chat
  • You click the X in the Community Center Chat room
  • You are redirected to Active Rooms
  • The Community Center Chat tab still exists
  • You refresh the page and the Community Center Chat tab is still there

Is this correct?

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

It's a race condition that I decided was an acceptable loss in the interest of caching. You really have left the room: refresh the page and you'll see.

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

Thanks for bringing this to my attention. I was able to reproduce this in Firefox on Windows 8 and I believe I've fixed the CSS bug.

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

Oh, that's incredibly strange. You're supposed to have a black X next to the room name. What OS / browser combo?

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

The code parameter is based off of your client_id AND redirect_uri so be sure the same redirect_uri is used to fetch the code as is being passed into the subsequent request to fetch the access token.

It looks here as if you're fetching the code parameter from a browser request and then passing in http://dwapi.pritaeas.net/ as the redirect_uri to generate the access_token. Be sure you're passing that same redirect_uri into the browser request used to generate the code.

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

This code is untested as I'm just typing it off the cuff, but try something more along these lines:

<?php

    class database {

        ... blah blah blah

        public function fetch($query = '')
        {
            ... blah blah blah ...
        }

    }

    class user {

        private $person;

        public function get($property) {

            return $this->person[$property];

        }

        // Constructor function that gets called when creating an object
        public function __construct($authuser = 0)
        {
            global $database;

            $this->person = $database->fetch("SELECT * FROM `users` WHERE `authuser` = $authuser");
        }

    }

    $database = new database;

    $person = new user(12345);

    // If I wanted the current users first name, fn is the column name in users table
    echo $person->get('first_name'); 

    // If I wanted the current users last name
    echo $person->get('last_name'); 

    // If I wanted the current users email address
    echo $person->get('email'); 

?>
Dani 4,645 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you sure that you aren't accidentally hitting some type of hotkey that is swapping between qwerty and dvorak layouts?

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

The robot question? You mean human verification? That stops once you post two more times.

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

Known bug having to do with the static header on short pages.

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

You would want to use the Watched Articles feature. You will receive an email notification of every article that you're currently watching.

There's also a link at the top to visit your watched articles where you can manage which articles you're currently watching. Optionally, you can click the Watch this Article button at the bottom of any particular thread. There's also an option in your member profile to automatically watch articles that you post in.

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

I'll be the one to give you the answer that you want to hear :)

There are email services out there (some free, some very low cost) that will handle sending the email for you, and all you need to do is copy/paste one of their HTML-based forms onto your website.

Here's an example of one that's been around since the 90s

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

I guess it all depends on if the OP has a complex hover over data.

Yup, you will want to factor in both the ratio of how many hovers the average user would perform per page compared to how many there are on the pages, as well as how expensive each one is. If it's really expensive to calculate the data, then you only want to do it if the user requests it. I'd prefer them to wait the extra half a second when explicitely requesting something than an extra three seconds waiting for the page to be generated for things that may or may not be requested to be calculated.

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

I'm a fan of AJAX requests on hover. Take, for example, a complex web-based banking application that has a very complicated form. They want to do help tooltips when different fields are rolled over to tell you what to fill into each textfield, and have the tooltips customized based on the data you'll filled in elsewhere on the page. That's an example of when it isn't possible to keep all necessary information hidden yet available from page generation.

Even if the tooltips are not customized post-pageload, suppose there are 100+ tooltips and statistical studies have shown that the average user only hovers over 2 of them on any given pageload. That's a lot of extra unnecessary information being sent to the browser for no reason.

Of course, whenever doing AJAX hovers, you'll always want to cache the information via javascript so it only need be fetched once.

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

Sure, although I cannot guarantee a response related to a technical question via PM. I prefer to keep those on the forums.

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

If you did want to, however, you could use the jQuery library and use a bit of javascript to issue an AJAX request on hover. Check out this and this

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

I would call up your ISP and say that you're having issues with the current IP address you've been assigned, and is there any way to force a new IP assignment?

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

tinstaafl is pointing out that we both use the Prettifier open source javascript library to syntax highlight our posts.

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

Oh, who are you kidding, just come on over to the good ole' US of A and go to Stanford, MIT, Carnegie Mellon, ...

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

but for future, can't daniweb keep a pointer to lost accounts so that we can get them in any case ?

If you no longer wish to use your account anymore, you can simply log out, unsubscribe from receiving any emails from DaniWeb, and no longer visit the site. Then your account will be classified as nonactive.

Account deletion is for those people who really have a moral issue with having an account for life in our system, and want to permanently erase absolutely all traces of their account. If it were easy to recover deleted accounts, then they would be no different from what we were doing for the past 10 years that some people had major issues with.

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

For most of the past ten years, we had a policy of not deleting member accounts (because to comply with federal regulations, we are required to keep a history of everyone we email in our database to prove opt-in status).

We received many complaints from people saying that they thought it was a privacy threat that they should have the ability to wipe their account clean if they so choose to, and that they didn't want remnants of a long forgotten account permanently on the web. They felt like it was a privacy violation that once an account is created, the account exists for life and there is no way to make it permanently go away.

Therefore, we created the feature about a year ago for members who absolutely, positively no longer want any trace of their account to ever appear or be found anywhere again, and consider it an ethical issue that they are permanently tied to DaniWeb for life.

Therefore, while we still keep the pertinent details required to comply with federal regulations buried deep within our database, member profiles no longer exist, it's no longer possible to pull up a list of information about a particular member, even for moderators, etc. This way, we can make that promise to our community that for those of you who absolutely want your account gone forever, while some of it is still locked away in our database, we guarantee that no trace of it will be found on the web, …

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

We really simply are unable to recover lost accounts from the database, sorry.

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

Is line 41 a typo?

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

Sorry :(

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

I'm not even sure if I can.

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

What was the username of your deleted account?

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

At this time you can't.

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

Because you can post in the Microsoft Windows forum and then just tag your thread with ms-office.

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

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?

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

The code you are showing looks fine. Where's the part in the Wordpress template that lets you set the <title>?

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

We haven't allowed rep in the Community Center for a very long time, as AD pointed out. While some people don't get too caught up on rep points, other people choose to take them more seriously, and I think it wouldn't be fair to those long time members to suddenly see their reputation counters seemingly arbitrary sliced. At this point, the "damage" has been done, and I feel it's best to leave well enough alone.

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

Press Ctrl+0 and see if it fixes the problem.