Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

Wordpress Editing

Hi Experts,

I have a friend who has a Wordpress blog page setup for her charity, and has asked me to do some editing on the site as she has not been able to contact the original designer/maintainer for several months.

Now, I should point out that I have a little programming experience from university, but nothing in PHP and/or Wordpress - to be honest I had never heard of Wordpress before she asked me to look!  My experience is mainly in Java and Perl.. but very limited as was a long time ago!!

All that she has given me is a frontpage login to Wordpress that would allow me (if I wanted to) add and edit the blog.. and an FTP login for ALL of the files related to the site, including PHP and JS files.  I do not have administrator privileges to the frontend change the theme or anything like that, so I'm not sure exactly how far I would be able to take this anyway!

She has asked if I could put the sponsors logos on the sponsors section of the blog - which from what I can work out is just a #-section of the site - the sponsor part on the sidebar point to a section in the blog, that when you click it, it takes you to that section.  I want to know where I find the PHP file to edit this and insert the logo into this section.

Also, she has asked me to allow them to archive the blog by date - this one I don't even know where to start!!!

Any help please?  Would be greatly appreciated.

Also, my initial response when she explained that the original designer and bloke who is meant to be maintaining it has been uncontactable, was to completely redesign the site with Joomla! (which I am learning for part of my job).. unfortunately this isn't currently an option because it would mean setting up another domain name (as we don't have access to the current domain, or cPanel).. and as it is for charity, I don't want them to have to change/lose all of their advertising efforts simply because the domain has changed from theircharityattempt.com to theircharityattempt.org or whatever :(

Thank you
beefstu123
0
beefstu123
Asked:
beefstu123
  • 12
  • 10
1 Solution
 
Jason C. LevineNo oneCommented:
So what exactly is your question?
0
 
beefstu123Author Commented:
How do I do it.. how do I find the PHP files I need to edit to get the sponsor logos where they need to be, and is it possible to archive the blog by date?
0
 
Jason C. LevineNo oneCommented:
Wordpress stores its content in the database, so if all you have to do is add logos to a certain page, you login to the backend and locate the specific page and edit it. Once you are in edit mode, you can upload and insert logos using the add media button in the visual editor.

For the archive, Wordpress automatically creates archives by month and year of Posts (not Pages) so all you need to do access them or embed them into your menu or widget area.

I strongly suggest you take a few hours and read through the Codex, especially the Getting Started section.

http://codex.wordpress.org/
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
beefstu123Author Commented:
Yes, I understand all of that, but I don't have backend access.. only FTP access to the individual PHP files and such..

The old maintainer of the site isnt able to be contacted which is a massive pain!!
0
 
Jason C. LevineNo oneCommented:
This is a problem then.  There isn't a single file that you can edit like a standard web site that will make the change you describe.  

Do you have any access to the database at all?  If not, do you at least know the admin username?
0
 
beefstu123Author Commented:
I know :(

no and maybe.. I MIGHT have the username - but only from a blog entry he created when he first created the site - as I mentioned, I have full access to the files via FTP, and limited access to the frontend editing of the blog.. which basically allows me to create a blog entry and the like..
0
 
Jason C. LevineNo oneCommented:
All you need is the admin username and FTP access to hijack WordPress :)

Try this:

http://codex.wordpress.org/Resetting_Your_Password#Through_FTP
0
 
Jason C. LevineNo oneCommented:
If the above doesn't work, a few more scripts to try :

http://kuttler.eu/code/wordpress-password-reset/

http://www.jojojoson.com/forgot-wordpress-administrator-e-mail-and-username.html/

Have not tested either of the above, use at your own risk.
0
 
beefstu123Author Commented:
AWESOME!!!

I will give this a go (with the permission of the owner of the site).. and let you know how I get along :)
0
 
beefstu123Author Commented:
Just another quick question before I do any of this.. would his admin username be the same name that would have edited the blog in the very first days that it was setup??
0
 
Jason C. LevineNo oneCommented:
Maybe. You can set how you display to the world on a user by user basis but if you see a single-word, all-lowercase author name on a post, you may have it.

Wordpress defaults to "admin" but most smart users don't use the default.

What you can do (maybe) is go to site.com/wp-admin and click the Recover Password link there.  You can then feed the resulting form your username guesses.  If you guess right, you will get a success message and can then use one of the methods above to reset the password.
0
 
Jason C. LevineNo oneCommented:
There's another way to do this via the database but it requires a bit more work, some guessing and a lot of luck.  We'll hold that one back and see if this works.
0
 
beefstu123Author Commented:
so, if I got a "check your e-mail for the confirmation link" then I have the username correct??
0
 
beefstu123Author Commented:
I'm guessing yes, because I just tried a random name - that wouldn't be in the system and it said "Error: invalid username or e-mail"

Just waiting for the final approval from the site owner before I change the password.  It sucks how much stuffing around had to happen to gain access to something that is actually hers in the first place!!
0
 
Jason C. LevineNo oneCommented:
Yep.  Now try http://codex.wordpress.org/Resetting_Your_Password#Through_FTP and hope the user is ID #1.  

Again, clever people change the user ID of the first admin from 1 to something random precisely to render this method useless :)
0
 
Jason C. LevineNo oneCommented:
It sucks how much stuffing around had to happen to gain access to something that is actually hers in the first place!!

Yes, but this is as much her fault as the other guy.  She should be learning a lesson to always, always demand full administrative-level access to anything she has created on her behalf.  Never trust the developer will be responsive and own your own IP.
0
 
beefstu123Author Commented:
Yes, but this is as much her fault as the other guy.  She should be learning a lesson to always, always demand full administrative-level access to anything she has created on her behalf.

Oh she will learn!! haha this guy is a friend of a friend of hers so I will be sure to rub it in every time I speak to her :)

Fingers crossed the user ID is 1
0
 
beefstu123Author Commented:
Alright, that was weird.. I put the line of code in, and attempted to login with his username and the new password, and it simply went back to the login screen - no error saying wrong password or anything.. have I done something wrong?
0
 
beefstu123Author Commented:
BINGO - took the line back out and successfully logged into the full administrator control panel!!

THANK YOU SOOOOO MUCH!!
0
 
Jason C. LevineNo oneCommented:
Great.  Don't forget to close the question.
0
 
beefstu123Author Commented:
Thank you again for an excellent and speedy response :)
0
 
RedLondonCommented:
I know the question is closed, but it sounds like you (or at least the charity) has another storm brewing

If they're paying the guy who did a disappearing act for the domain name and hosting, there's only a finite time before it expires.

www.charity.com/cpanel with the FTP details will get you logged into cPanel but that's not going to do you any good once the hosting account expires.  Take a backup while you can, via cPanel - files and databases will go into a tar.gz which you can download and keep.

The time to start working out who is actually asking for money to keep it going and renewed is now, rather than the day it stops working.  Another cpanel webhost will be able to restore your account using that backup file, but you'd still need to change the DNS on the (renewed) domain name.  Good luck.
0
 
beefstu123Author Commented:
Thanks RedLondon - I did actually realise this and had a look at the expiry date of the domain and hosting and it actually falls AFTER the charity event..  

I will, however, take a full backup of the site because if he decides to get nasty about someone (me) taking over and doing his job, he could just cancel the hosting plan and leave them without anything!!  So, thank you again for your suggestion :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 12
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now