How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask TheDoctor Your Own Question

TheDoctor
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1400
Experience:  M.S. in Internet Information Systems
Type Your Homework Question Here...
TheDoctor is online now
A new question is answered every 9 seconds

**For TheDoctor** New additions and improvements. The info

Resolved Question:

**For TheDoctor** New additions and improvements. The info you can find at http://caxlo.com/bosnia2.pdf . And one other thing is please make it so only 1 user can register per email. Right now users with same email can sign up. 

Submitted: 1 year ago.
Category: Homework
Expert:  TheDoctor replied 1 year ago.

Hello again! Thank you for requesting me.

Currently, if you sign up for an account in the system and do not follow the verification link in the email, you cannot log in. It comes back with a message that says "Incorrect Login" because there is no active account with that login.

I just tested it now. I sign up for a new user. The email pops up but I do not click the link in the email. I attempt to log in. It will not let me. It says "Incorrect Login"

Then I click on the link in the email. The page says "Account Verified". I once again attempt to log in and it works this time.

What about it is "not working"? It appears to be working perfectly to me. Did you change anything?

Customer: replied 1 year ago.

When I register new account i can just go back and login in with the info i just sign up without going to my email to verify. And multiuser with same email can sign up.

Expert:  TheDoctor replied 1 year ago.
Hello again,

Please send me your database as it is right now. Export it with phpMyAdmin or MySQL Workbench and send it to me.

It sounds like an issue with being able to sign up with the same email address again, not an issue with the verification. The verification is working. I just tested it three times. However, if you sign up with an account that has the same email account as a previously verified account, then you will be able to log in, not because the verification is working, but because you are actually signing in as the previous user, not the new one.

So I will fix that issue.
Expert:  TheDoctor replied 1 year ago.

I think your database is just slightly different than mine. That is why I am asking to see your database export. That could be causing accounts to be verified without going through the email. You don't have to send the data. Just export the database structure.

Customer: replied 1 year ago.

http://www.caxlo.com/sqlbosnia.sql

Expert:  TheDoctor replied 1 year ago.
Hello again,

Thank you. I see the issue. I will send you the necessary ALTER statement along with the rest of these changes.

Thank you
Customer: replied 1 year ago.

And could you do the other additional things as mentioned on the above pdf file for me?

Expert:  TheDoctor replied 1 year ago.
Yes, that's what I meant by "the rest of the changes". The groups, the post submission, and the verification and duplicate emails.

I will contact you once it is all done.
Expert:  TheDoctor replied 1 year ago.
Hello again!

You can download the updated project here:

http://wikisend.com/download/907522/changesDone.zip

1.) You will find a file called alterVerify.sql. The first alter in that file will fix the verify issue. It is important that you run all of the alters.

2.) The site will no longer allow you to sign up with an email address that has already been used.

3.) Refreshing pages will no longer cause previous posts to repost

4.) When signing up, users will select two groups "State And City". You can, of course, change those labels.

When you select a "State", the city menu is populated. Currently, there is only 1 association because I am not familiar with Bosnian Geography.

If you look at the database, you will see that the groups table now has a field called state. The state field holds the group_id of the state to which the field belongs. So, for instance, if you look at the record for Zvornik, it's state field hold 28. 28 is the group_id for Sarajevo. That means that Zvornik belongs to Sarajevo.

So, you will want to go through the database and enter the associations. The way the program works, if a state fields is NULL, then it is a "State". If the state field is not null, then it is obviously a "City" that belongs to the indicated state.

Currently, you can see this working with Sarajevo and Zvornik. Choose Sarajevo in the registration and Zvornik appears in the second drop-down menu. Once you have updated those associations in the database, the functionality will work for all states/cities.

Keep in mind that users who you registered prior to this change do not have two groups. So their feed page will have a button that just says "Feed". Users can no longer sign up with just a single feed. So that is not actually a bug. If you want, you can update the database to set the existing users to have a second group. For instance:

UPDATE friends SET group_id2 = 41;

That should set all existing users to Zvornik so that you do not run into the problem with users who have only one group while testing.

After registering with the new two-group system and verifying the account, you will see that there are now three buttons on the feed page: one for each of the groups, and one for the friend feed. The functionality is rather self-explanatory.

Let me know if you have any questions. I'm here to help.

Please remember to rate my answer. Thank you so much!
Customer: replied 1 year ago.

When i write a comment into friends page and click post it redirect me automaticly to my profile page? It should stay on friends page when writing on friends page.

Expert:  TheDoctor replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1400
Experience: M.S. in Internet Information Systems
TheDoctor and 6 other Homework Specialists are ready to help you
Customer: replied 1 year ago.

Hehe if I dont get a A+ then there is something wrong with my Professor, But thank you very much for everything, I really appreciate it

Expert:  TheDoctor replied 1 year ago.
You are very welcome!
Customer: replied 1 year ago.

Im so sorry but one other issue I found since replacing ffeed.php. I cant write comment into my own profile page it shows this error


 


Error message: Notice: Undefined index: uid in /Users/cis420/Sites/changesDone/ffeed.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /Users/cis420/Sites/changesDone/ffeed.php:44) in /Users/cis420/Sites/changesDone/ffeed.php on line 44

Expert:  TheDoctor replied 1 year ago.
Hello again,

This one was actually caused by the last fix. This file should fix it:

Customer: replied 1 year ago.

I still get the same error message after replacing the new ffeed.php, but if i press the back button the comment shows up.

Expert:  TheDoctor replied 1 year ago.
After replacing the file, you need to log out. Then log back in and on the main feed page, you need to press CTRL-F5. The link to your friend page has changed. So you cannot just refresh your friend page and try again. You have to log log out, log back in, clear your press CTRL-F5, then click on "Friend Feed" and then try again.
Customer: replied 1 year ago.

I replaced the whole folder with the new ffeed.php and refreshed the page logged out and back in and still the same. I even tried with new browser i never used before still the same

Expert:  TheDoctor replied 1 year ago.
I apologize. I gave you the wrong file.

As I said, the link to the friend feed page has changed. So it doesn't make sense for me to be givening you the friend feed page. Here is the correct file:


That goes in your include folder.

Once again, make sure that you log out and log back in. After clicking on the "Friend Feed" button, you should notice that there is a "uid" on the URL. That is the change and will fix the problem.
Customer: replied 1 year ago.

Thanks, it work now, This should do it I won't bother you anymore


 


 


have a good one

Expert:  TheDoctor replied 1 year ago.
Feel free to "bother" me as much as you want. You also have a good one.
Customer: replied 1 year ago.

How much would it be just to add in the setting page so the user has the option to edit the graduation date.

Expert:  TheDoctor replied 1 year ago.
Hello again,

You probably want them to be able to enter both graduation date and major.

Simply open a new question, starting it with **For TheDoctor**.

When entering the question, select the lowest value options.

Thank you

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience