Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 05-13-2018, 01:03 PM   #1
jollyhumper
Ich werde in die Tannen gehen
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 910
Send a message via ICQ to jollyhumper
TGPx, again

Howdy

When TGPx makes the pages it pulls thumbs with

<img src="http://thumb"></a>

Problem is, i want it to pull https://

In 'general settings' I've set thumb-url to be https:// but TGPx ignores this when pulling and writing the page.

Anyone knows how to change this?

Jolly
jollyhumper is offline   Reply With Quote
Old 05-13-2018, 05:31 PM   #2
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,675
Send a message via ICQ to Toby
Been there... {heavy sigh}
Changing that setting only effects new galleries added after the change. It will not change galleries already in the database.
Toby is offline   Reply With Quote
Old 05-13-2018, 05:56 PM   #3
jollyhumper
Ich werde in die Tannen gehen
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 910
Send a message via ICQ to jollyhumper
Quote:
Originally Posted by Toby View Post
Been there... {heavy sigh}
Changing that setting only effects new galleries added after the change. It will not change galleries already in the database.
Fuck!

Thanks for answering

Jlly
jollyhumper is offline   Reply With Quote
Old 05-14-2018, 03:49 AM   #4
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 36,969
Send a message via ICQ to Greenguy
It'd be a huge pain, but can't you export everything, search & replace the thumb/preview URL, and re-import everything?
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is offline   Reply With Quote
Old 05-14-2018, 05:56 AM   #5
jollyhumper
Ich werde in die Tannen gehen
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 910
Send a message via ICQ to jollyhumper
Quote:
Originally Posted by Greenguy View Post
It'd be a huge pain, but can't you export everything, search & replace the thumb/preview URL, and re-import everything?
First of all, I don't have a clue on how to do that. Mysql stuff is what I know the least about.

But if I was able to export it, wouldn't it be possible to do a "search and replace"?

First do a https -> http and then http->https?
(First one obviously to avoid a search and replace ending in httpss)

Jolly
jollyhumper is offline   Reply With Quote
Old 05-14-2018, 06:41 AM   #6
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 36,969
Send a message via ICQ to Greenguy
Exporting & Importing is VERY easy. How many galleries do you have in there?

The Search & Replace thing - I just looked an in theory this should work:
1 - Back up the database
2 - Go to Search Galleries & on the top right click the Quick Tasks icon (looks like a wrench/tools)
3 - On the top Search and Replace, select Thumbnail URL. Then search for "http://" and replace it with "https://" (include the :// so that you don't change existing "https" to "httpss"
4 - to and do a Build

If it worked, then

If it didn't, Restore From Backup & go from there
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is offline   Reply With Quote
Old 05-14-2018, 07:07 AM   #7
jollyhumper
Ich werde in die Tannen gehen
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 910
Send a message via ICQ to jollyhumper
Quote:
Originally Posted by Greenguy View Post
Exporting & Importing is VERY easy. How many galleries do you have in there?

The Search & Replace thing - I just looked an in theory this should work:
1 - Back up the database
2 - Go to Search Galleries & on the top right click the Quick Tasks icon (looks like a wrench/tools)
3 - On the top Search and Replace, select Thumbnail URL. Then search for "http://" and replace it with "https://" (include the :// so that you don't change existing "https" to "httpss"
4 - to and do a Build

If it worked, then

If it didn't, Restore From Backup & go from there


I think it's close to 3000 now

Thanks, I'll give it a try

Jolly
jollyhumper is offline   Reply With Quote
Old 05-14-2018, 08:19 AM   #8
jollyhumper
Ich werde in die Tannen gehen
 
jollyhumper's Avatar
 
Join Date: Feb 2012
Location: Norway
Posts: 910
Send a message via ICQ to jollyhumper
May I swear on this board?

Holy fuck, it worked like a charm! Thanks Greenie.



I'm also a tiny bit embarrassed that I didn't know this function, I thought I knew TGPx by now.

again, thx.

Jlly
jollyhumper is offline   Reply With Quote
Old 05-15-2018, 04:51 AM   #9
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Orchard Park, NY (current home of the lackluster Bills)
Posts: 36,969
Send a message via ICQ to Greenguy
__________________
Submit To The Porn Luv Network! | My Host Has Mojo!
Greenguy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:01 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Greenguy Marketing Inc