Project

General

Profile

Actions

Bug #5866

closed

CareerPlan header issue, also, user issue

Added by Jennifer Furlong over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Themes
Target version:
Start date:
2016-08-03
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi Boone,

My students (unbeknownst to me) were playing around with the careerplan.commons.gc.cuny.edu site and screwed up the header. Can you put the attached header.php file back up on the site?

Also, we are having a strange user issue. I can not see the list of users from the site, nor can I add anyone as an admin. Stephen Klein and Luke Waltzer have looked at this too and the three of us can't figure out why this is.

Thank you in advance for your help.

Jenny


Files

header.php (3 KB) header.php Jennifer Furlong, 2016-08-03 05:09 PM
Actions #1

Updated by Boone Gorges over 8 years ago

  • Assignee set to Raymond Hoh

Ray, could I ask you to have a look at this? It'd be nice to help Jenny with this today, but I'm a bit swamped at the moment.

Actions #2

Updated by Raymond Hoh over 8 years ago

  • Status changed from New to Reporter Feedback
  • Assignee changed from Raymond Hoh to Jennifer Furlong

Hi Jenny,

I just did a comparison between the attached header.php file and the current gclibrary-basic-child theme's header.php and there doesn't appear to be any changes. Perhaps your students fixed the problem?

If the issue still persists, the problem appears to be a theme configuration issue.


I can not see the list of users from the site, nor can I add anyone as an admin.

In the admin dashboard, when I click on the Users link, I am able to both view the list of users and add a user as an admin. For testing, I added the teststudent user as an admin. Feel free to remove the user.

In both cases, have you purged your browser cache? Or tried using a different browser like Chrome or Firefox?

Actions #3

Updated by Jennifer Furlong over 8 years ago

Hi Raymond,

I believe the header code should be slightly different. My students actually deleted the header image from the media library (long story). Then, when they re-uploaded it, the image URL slightly changed:

from

"https://careerplan.commons.gc.cuny.edu/wp-content/blogs.dir/1372/files/2015/08/careerplanheader.jpg"

to

"https://careerplan.commons.gc.cuny.edu/wp-content/blogs.dir/1372/files/2016/07/careerplanheader.jpg"

Please let me know if this is not the case.

Re: my user issue. Browser cache purged. I've looked at it in both Chrome and Firefox. I still can't see my list of users or add admin rights to anyone.

Thank you.

Jenny

Actions #4

Updated by Raymond Hoh over 8 years ago

Hi Jennifer,

Regarding the header issue, this isn't a template issue; it's a configuration issue. We just need to upload an older copy of the header image.

However, the link you posted to the first header image doesn't appear to work. I'm guessing your students deleted it. If you have a backup copy of the header image stored somewhere, can you attach it to this ticket so we can re-upload it to the theme?

Update: Is the backup copy of the header image, this one?


Regarding the Users issue, I cannot duplicate this on IE, Firefox, or Chrome. I'm going to try logging in as a non-super-admin to see if I can duplicate your issue and will report back.

Actions #5

Updated by Raymond Hoh over 8 years ago

Okay, I've confirmed the Users issue. The problem is due to the User Role Editor plugin. I've disabled it.

Now, you should be able to view all the users (including administrators) on the site, as well as the ability to add new users as an administrator if desired.

Actions #6

Updated by Jennifer Furlong over 8 years ago

Hi Raymond,

Yes, my students deleted that first header image--we have only one header image. The second link is the one that works--it is uploaded in our media library. We just can't get it back to where it is supposed to be--right next to the GC logo.

https://careerplan.commons.gc.cuny.edu/wp-content/blogs.dir/1372/files/2016/07/careerplanheader.jpg

Thank you for solving the user issue. Luke thought it might be a plug-in problem, but since I could't make him an admin, he couldn't investigate.

Jenny

Actions #7

Updated by Jennifer Furlong over 8 years ago

Also, that is not the back up copy of the header. That is the one my students put up, but I would rather revert to our previous look.

Actions #8

Updated by Raymond Hoh over 8 years ago

  • Status changed from Reporter Feedback to Resolved
  • Assignee changed from Jennifer Furlong to Raymond Hoh
  • Target version set to Not tracked

Should be fixed now.

For future reference, this is how to change the header image:
1. On your home page, click on the "Customize" link from the admin bar.
2. This will open a sidebar on the left. From there, click on "Themify Options > Header".
3. Select the header image you would like to use and click on the blue "Save" button to apply the changes.

Actions #9

Updated by Jennifer Furlong over 8 years ago

Hi Raymond,

Thanks for this but one last thing.

When I look at the side in Chrome I still see a box where an image once was, just above/overlapping the header image that you restored. This is even after clearing cache and reloading. Any ideas?

Also, we tried to fix the header as you suggest and for whatever reason it did not work.

Thanks,

Jenny

Actions #10

Updated by Raymond Hoh over 8 years ago

  • Category name set to WordPress Themes
  • Target version changed from Not tracked to 1.9.23

Hi Jenny,

After taking a closer look at the theme on the careerplan website, I do see the hardcoded reference to the old logo in the header.php template file. This was causing the blank box in Chrome.

The hardcoded image is kind of an odd choice by the person who created the child theme, considering that the theme allows you to customize these features.

Regardless, I've made the change to the header.php template to use the new logo URL (commit 94d412e). This change will take place for the 1.9.23 release tomorrow. Once the change is live, I will remove the header addition I made from the Themify customization panel and your site should look like it was before your students removed the header image.

Actions #11

Updated by Jennifer Furlong over 8 years ago

Thanks, Raymond. I remember that we had code in their somewhere for the header, I think because the GC library does this the same way and we are its child. Thanks for fixing this. Very grateful!

Actions #12

Updated by Raymond Hoh over 8 years ago

Hi Jenny,

Just wanted to let you know that the theme header revisions are now up.

Actions

Also available in: Atom PDF