Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
vintage erotica forum vintage erotica forum vintage erotica forum
vintage erotica forum

Go Back   Vintage Erotica Forums > Information & Help Forum > Help Section

Follow Vintage Erotica Forum on Twitter
Best Porn Sites Meet Our Girls Register FAQ Members List Calendar Mark Forums Read

Notices
Help Section If you have technical problems or questions then post or look for answers here.


Reply
 
Thread Tools Display Modes
Old 09-16-2017, 08:14 AM   #91
ohmss1956
Vintage Member
 
ohmss1956's Avatar
 
Join Date: Oct 2008
Location: Piz Gloria
Posts: 294
Thanks: 22,334
Thanked 13,407 Times in 289 Posts
ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+
Default Imgbox

Hello all,
for the benefit of a relative luddite like myself could someone please explain to me, in the MOST laymanesque of terms, how to change the IHG codes for Imagebox?
I've been following this thread and just can't make heads or tails out of it.
Help would be greatly appreciated.

Cheers!
ohmss1956 is offline   Reply With Quote
The Following 3 Users Say Thank You to ohmss1956 For This Useful Post:
Old 09-16-2017, 08:46 AM   #92
ohmss1956
Vintage Member
 
ohmss1956's Avatar
 
Join Date: Oct 2008
Location: Piz Gloria
Posts: 294
Thanks: 22,334
Thanked 13,407 Times in 289 Posts
ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+
Default Imgbox

This is as far as I get before my brain starts doing carwheels.

ohmss1956 is offline   Reply With Quote
The Following 2 Users Say Thank You to ohmss1956 For This Useful Post:
Old 09-16-2017, 11:25 AM   #93
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: Dildo Baggins' backyard
Posts: 13,623
Thanks: 151,216
Thanked 154,684 Times in 13,444 Posts
effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+
Default

Quote:
Originally Posted by ohmss1956 View Post
This is as far as I get before my brain starts doing carwheels.

OK, I'll try to explain. There are three main points about that Host File Editor window shown in your image.

1) Top left, there's a label "Host Label" & beside it a box with the value:

imgbox

In this case, leave that as is.

2) Below it, there's a label "URL Pattern" & beside it a box with the value:

http:\/\/imgbox\.com\/\w+

In this case, leave that as is.

3) There's a label "Search Pattern" and below that a large box with the value:

"REPLACE: '(http:\/\/)(imgbox\.com\/\w+)', '$1i.$2'"

In this case, that's the one you'll want to change. You'll want to change it to what I posted previously here, i.e. all the stuff in the blue box. I'll put that same blue box here, for clarity/simplicity:
Code:
function(pageData, pageUrl) {
	var iUrl = pageData.match(/src=('|")(https?:\/\/)(i|images)(\.imgbox\.com\/.+?)\1 title=('|")(.+?)\5/);
	return iUrl ? {imgUrl:  iUrl[2] + iUrl[3] + iUrl[4], fileName: iUrl[6], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
So: highlight/select everything in that box, & copy to your clipboard.
Switch to IHG. Highlight everything in the "Search Pattern" box inside your IHG Host File Editor window, i.e. where it currently says:
"REPLACE: '(http:\/\/)(imgbox\.com\/\w+)', '$1i.$2'"

Paste what you've copied from my box, i.e. completely replacing what was there. Check that it looks the same as what's in my box. Then press the "Save changes" button at the bottom of your Host File Editor window.

Then test it with a vef post with imgbox links.
effCup is offline   Reply With Quote
The Following 5 Users Say Thank You to effCup For This Useful Post:
Old 09-17-2017, 12:27 AM   #94
ohmss1956
Vintage Member
 
ohmss1956's Avatar
 
Join Date: Oct 2008
Location: Piz Gloria
Posts: 294
Thanks: 22,334
Thanked 13,407 Times in 289 Posts
ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+ohmss1956 50000+
Default Imgbox

Thx for your quick reply!

Tried everything above and now IHG won't function at all for Imgbox.
Before it just showed a 'loading' status but now won't come up with anything.

Other hosts work no problem.

Using Pale Moon btw.

Am I doing something wrong?

This is what I have now..


Last edited by ohmss1956; 09-17-2017 at 12:30 AM.. Reason: addition
ohmss1956 is offline   Reply With Quote
The Following 2 Users Say Thank You to ohmss1956 For This Useful Post:
Old 09-17-2017, 02:27 AM   #95
gnewellperv
Member
 
Join Date: Mar 2009
Posts: 30
Thanks: 174
Thanked 134 Times in 26 Posts
gnewellperv 500+gnewellperv 500+gnewellperv 500+gnewellperv 500+gnewellperv 500+gnewellperv 500+
Default

Quote:
Originally Posted by ohmss1956 View Post
Thx for your quick reply!

Tried everything above and now IHG won't function at all for Imgbox.
Before it just showed a 'loading' status but now won't come up with anything.

Other hosts work no problem.

Using Pale Moon btw.

Am I doing something wrong?

This is what I have now..

It looks like you are missing the curly bracket at the end. Copy the below and replace what you have with this and then save. That should be fine. Copy the text between the lines, starting with the word function and include the } below "ABORT"} I've highlighted the start and finish in red.

--------------------------------------------------------------------------

function(pageData, pageUrl) {
var iUrl = pageData.match(/src=('|")(https?:\/\/)(i|images)(\.imgbox\.com\/.+?)\1 title=('|")(.+?)\5/);
return iUrl ? {imgUrl: iUrl[2] + iUrl[3] + iUrl[4], fileName: iUrl[6], status: "OK"} : {imgUrl: null, status: "ABORT"}
}


--------------------------------------------------------------------------
gnewellperv is offline   Reply With Quote
The Following 3 Users Say Thank You to gnewellperv For This Useful Post:
Old 09-17-2017, 03:30 AM   #96
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: Dildo Baggins' backyard
Posts: 13,623
Thanks: 151,216
Thanked 154,684 Times in 13,444 Posts
effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+effCup 750000+
Default

Yes, gnewellperv has correctly spotted that you're missing the last curly bracket.

A point to remember about programming languages: brackets/braces/parens. are always in pairs.
effCup is offline   Reply With Quote
The Following 2 Users Say Thank You to effCup For This Useful Post:
Reply

Thread Tools
Display Modes

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. The time now is 06:56 AM.






vBulletin Optimisation provided by vB Optimise v2.6.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.