Cookie consent

AstroBin saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing AstroBin without changing the browser settings, you grant us permission to store that information on your device.

I agree

phpBB integration

rudibr
03 Jul, 2018 11:16
Hi,

I am the running the danish forum, astronet
astronet is based on phpBB.

Many of astronet’s users are using astrobin, and I would like to start using astrobin’s API, to display astronet users most recent astrobin images.

So before I start, I would like to hear if anyone here know of or have made a mod/extension to phpBB, that interfaces with astrobin’s REST API?
Edited 03 Jul, 2018 21:31
rudibr
12 Sep, 2018 14:39
!BUMP! Not anyone? Would anyone be interested in participating in making an open source project on GitHub?
rudibr
30 Oct, 2018 15:04
Just wanted to let you know, that I have made some php and sql coding myself.

On my forum's main page, https://www.astronet.dk/index.php, my forum users, that have entered their AstroBin id, will have their latest pictures shown.

Edit:
So far, only two users have added their AstroBin userid to their profile settings, it's quite new on the forum. I hope that more will join.
Edited 30 Oct, 2018 15:06
siovene
30 Oct, 2018 16:18
Hi Rudi, nice job!

Only a problem tho: hot-linking AstroBin images is not allowed by the terms of service. Could you please change the links so that they point to the AstroBin page instead of the bare image?

Thanks!
rudibr
30 Oct, 2018 16:36
Yes, off course. Sorry for that.

Im not sure, that I know what you mean?
Can you please show an example.
rudibr
31 Oct, 2018 05:18
After a good nights sleep, I think I know what you mean:

It’s ok that I display images, thumbnail, medium size or full size. But when making a clickable url, it should link to the astrobin page and not directly to the full image?

So in stead of this link:
https://cdn.astrobin.com/thumbs/N5tepIT3ssHX_16536x16536_wmhqkGbg.jpg

I should link to:
https://www.astrobin.com/373180/?nc=user

Did I get that right?
siovene
31 Oct, 2018 05:51
Yes that’s what I mean. Thanks in advance!
rudibr
31 Oct, 2018 06:18
Ok. I’ll fix it soon. Will let you know heee when done.
rudibr
31 Oct, 2018 10:26
Salvatore, I have updated astronet.dk now, please let me know if it violates any terms of service, and I will correct it ;-)
siovene
31 Oct, 2018 10:28
Hi Rudi,
I still see the same as before. If I go to https://www.astronet.dk/astrobin.php and click an image, I'm redirected to the image as served from the CDN, and not the AstroBin page with the technical details, comments, etc.
rudibr
31 Oct, 2018 10:45
Hi Salvatore,

Sorry, I missed that page  smile

I was fixing a similar issue on the front page it selv, astronet.dk. If you scroll down, there's also AstroBin images in the bottom of the middle coloumn  smile

Both should be updated now, thanks for the help .
siovene
31 Oct, 2018 11:44
Awesome, thanks for your cooperation!
 
Register or login to create to post a reply.