Dec 06, 2019, 08:59 AM

News:

Backup those files BEFORE manually editing them


QUICK NEWS

{NEW} - A new tutorial for Github is ready for your veiwing in the articles section.

{OLD} -New boards have been introduced. Stop on in and check it out.

Video of the week


Internal Links

SMF Sites

Quick Info

Christian Photographers

Started by Oldiesmann, May 27, 2019, 07:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lurkalot

Jun 08, 2019, 02:43 AM #15 Last Edit: Jun 08, 2019, 02:48 AM by lurkalot
Quote from: Oldiesmann on Jun 08, 2019, 01:54 AMRecreated another page on the test site...

Original: https://www.christianphotographers.com/files/purpose.html
New: https://test.christianphotographers.com/index.php?page=purpose

Need to adjust it some since SMF's CSS is getting in the way of that h1, but that shouldn't be too hard to get around.

A good start there Oldiesmann. ;)  Any reason for using an article for the main home page content rather than a front page block? Scratch that, I see that wasn't the home page.  :-[

LandyVlad

Yep looking better and better @Oldiesmann
I reject your reality, and substitute my own.

Oldiesmann

Got a couple more articles done. Had to work around a few quirks with whatever tidies up the HTML code (not sure if it's the WYSIWYG editor or something else), but I managed to get them looking similar to the original. Also added a category for all the devotionals and will add sub-categories for those. Should make it easier for people to find them, though I'll probably still keep the existing index pages as well.

My current plan for moving things:
Set up the articles on the test site first and get everything the way I want it there (so I can just copy code between sites and such)
Get a plan together for redirecting (for anything going to /community, I can just use a .htaccess to strip out the "/community" part of the URL and redirect to what's left; redirecting from pages in the main site will be a bit harder, though I'm trying to follow similar naming structures, so /files/devotionals.html will redirect to /index.php?page=devotionals for instance)
Move the site to the main directory, fix paths, replace EhPortal with TP
Copy over the articles, categories, etc.

It will take some time but the end result will be better than what they currently have.
Cincy Space - now open! https://www.cincyspace.net

LandyVlad

You'd hope so ! Given the work involved.
I reject your reality, and substitute my own.

Oldiesmann

I'm now thinking it might just be easier to do all the work on the regular site first, then move it and make the articles visible after moving (since TP lets you control who can see each category and such). Might be easier than trying to copy 70-something articles.
Cincy Space - now open! https://www.cincyspace.net

Oldiesmann

Went ahead and moved the site to TP. I decided it'll be much easier to just recreate the articles and everything on the live site (since I can control who can see what) than to build it all out on the test site and copy things over manually. Still need to figure out the random image thing (should be able to fix the code myself - just need time to work through it). Going to work on redoing the articles later.
Cincy Space - now open! https://www.cincyspace.net

lurkalot

Quote from: Oldiesmann on Jun 12, 2019, 06:58 PMWent ahead and moved the site to TP. I decided it'll be much easier to just recreate the articles and everything on the live site (since I can control who can see what) than to build it all out on the test site and copy things over manually. Still need to figure out the random image thing (should be able to fix the code myself - just need time to work through it). Going to work on redoing the articles later.

The title bar issue you reported should now be fixed.  It will be included in the TP 1.6.4 along with some other fixes.  Meanwhile @rjen has attached a test install of 1.6.4 to your bug report topic, so you can get rid of the title bar.  ;)

Oldiesmann

I'll check that out when I get a chance.

On a related note, I decided to add a shoutbox to CP. I believe they had one years ago but I don't remember why we disabled it (I've been helping out with this site in one way or another for around 15 years so it's hard to remember all the changes that have taken place over the years :P).

I'll get started working on moving the pages over next week (gives me something to do at work when it's slow :P)
Cincy Space - now open! https://www.cincyspace.net

Oldiesmann

Made a lot of progress already. I've already moved the following pages to articles:
Main page (not an article but a frontpage block)
Purpose page
Main devotionals page
"Songs of Worship" index page
All 55 "Songs of Worship" devotional pages
A biography page for one of the devotional authors (site owner's first husband)

Still to do:
"Walking in the Old Paths" index page and devotional pages (15 pages)
Testimonials index page and individual testimonial pages (8 pages)
Get redirects set up and test them
Move the site and enable all the articles (I'll do that with a database query so I don't have to manually enable 80+ articles)
Cleanup work (delete the old site files once redirects have been confirmed working, etc.)

I'm aiming for late July or early August for finishing this, mainly because I'm going on vacation for a week in three weeks and don't want to have to deal with potential site issues while I'm out of town
Cincy Space - now open! https://www.cincyspace.net