The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Sorry AndrewSimm, I never did get to this. Are you still looking for something like this?
|
#12
|
||||
|
||||
It would be fairly trivial to setup your own server like nginx with spdy to serve content instead of trying to go though a proxy.
|
#13
|
|||
|
|||
My understanding is that the OP wants to proxy other external content, so that it is all available via https. He said in a previous post that he doesn't want to save everything on his server. It seems to me that you'd at least need to rewrite the urls in IMG tags to make that work.
|
#14
|
||||
|
||||
Ideally, you'd still want that proxy caching as much as it could, so it cuts down on its bandwidth.
|
#15
|
|||
|
|||
Yeah, I'm far from an expert on that stuff, but I know there are caching proxy servers that exist, and it would probably be better to have a mod to rewrite the urls and point them to one of those than to hack together a proxy myself. But then, not everyone has the ability or desire to set that stuff up, and a script might be good enough for some sites (but it's certainly worth mentioning that using an existing server might be a better way to go - I'll wait to see what AndrewSimm has to say).
|
#16
|
|||
|
|||
caching would be a plus. I am not sure how external images in bb code are cached now. Here is what I have created so far
proxy.php PHP Code:
PHP Code:
--------------- Added [DATE]1418889666[/DATE] at [TIME]1418889666[/TIME] --------------- Here is an example https://www.canesinsight.com/proxy.p...om/UxY5hpY.png One thing I would like to fix is when someone goes back to edit the image in the img tags it shows the full link with the proxy.php. This could confuse some users so not sure how I can just have it use that in front of the image when the page is rendered but hidden when someone clicks to view the code to edit the img tag. |
#17
|
|||
|
|||
Oh, OK, so you mostly solved the problem yourself already?
|
#18
|
|||
|
|||
I have the proxy working so I guess so. I just have a few things to work out that I can't figure out.
|
#19
|
|||
|
|||
Quote:
ETA: Also, that's pretty clever that you got it basically working with only a few lines of code. I was thinking about how to do it and obviously I was making things too complicated. |
#20
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|