[BETA] Display attached images as a gallery in board/portal

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

[BETA] Display attached images as a gallery in board/portal

Post by Bright Inspiration » Fri Jun 06, 2008 9:57 am

Hello,

I've been looking for a mod that can drag images from forum attachments to my portal/index page but I couldn't find any. So, I spent some times to do it my self and thinking to share it with others.

I am not the guru in this tech and I am learning. So please be easy on me.

Mod description:
  • Get attachment images then display them as a gallery anywhere in your board. (such as: portal, index, viewforum, viewtopic pages).

    - Just like a gallery but its functions are different compare to other available galleries. Currently, the functions it has are:
    • Display title topics when pointing the mouse over.
    • Click on an image will take you to the topic it belongs to.

      Updated:
    • Display number of images as you wish for each different pages
    • Display images as random ordered or latest/time ordered
    • Exclude any forum that you don't want to get images from.
    • Other minor changes such as no more hard code when changing attachment folder.
    • Other functions can be requested.
  • Display associated attached images in the News block of the portal

    - Good news for people using board3portal/phpbb3 portal. You can display the image in the News block now ;). For others, you may need to alter it a bit to display in your portal.

    - Currently, I set so that only jpg, jpeg, gif, png, bmp images can be displayed, this can be changed.
  • Create a forum link menu on your portal. When click, it will display a brief news from that forum only in the news block (with attachment images of course).
  • I also did some changes for my board as well, so if anyone like what I did, just feel free to ask.
  • Works with KTVM portal. (Tested by user).
Future work:
  • Totally manage gallery through ACP (Where you want to display it, how many images, pick random or latest, from which forum, etc).
  • Display attached images when user select [view all] option in portal.
  • As request...

Demo: http://www.brightinspiration.com

Instructions: Available here.

Cheers,
Last edited by Bright Inspiration on Sun Jun 15, 2008 7:45 am, edited 9 times in total.

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha] Display attached images to anywhere in your board

Post by Bright Inspiration » Sun Jun 08, 2008 6:46 am

Alright, just thinking to come back to write instruction for this mod, but it looks like no one interested. So I am not bother to write it then.

Cheers,

Ps: Feel free to ask if you like my little mod.

ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [Alpha] Display attached images to anywhere in your board

Post by ibelphegor » Sun Jun 08, 2008 9:26 am

Hi Bright Inspiration,
I'm very interested in this mod, so please if you can write instruction.

Best regards,
uzi

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha] Display attached images to anywhere in your board

Post by Bright Inspiration » Tue Jun 10, 2008 9:47 am

ibelphegor wrote:Hi Bright Inspiration,
I'm very interested in this mod, so please if you can write instruction.

Best regards,
uzi
Mode instruction is available now.

Cheers.

ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [Alpha] Display attached images to anywhere in your board

Post by ibelphegor » Tue Jun 10, 2008 10:43 am

Thanks, but you forget to add "random_images.html" in folder.

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha] Display attached images to anywhere in your board

Post by Bright Inspiration » Tue Jun 10, 2008 10:52 am

ibelphegor wrote:Thanks, but you forget to add "random_images.html" in folder.
It is there on the top. Let me know how you go with it. You may need to modify it to suit your setting.

ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [Alpha] Display attached images to anywhere in your board

Post by ibelphegor » Tue Jun 10, 2008 11:32 am

The only file in the zip is "functions_random_images.php",
you forget to add "random_images.html".

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha] Display attached images to anywhere in your board

Post by Bright Inspiration » Tue Jun 10, 2008 11:49 am

ibelphegor wrote:The only file in the zip is "functions_random_images.php",
you forget to add "random_images.html".
Sorry, it's been added now.

ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [Alpha] Display attached images to anywhere in your board

Post by ibelphegor » Tue Jun 10, 2008 12:03 pm

Thanks!

User avatar
LiquidSpark
Registered User
Posts: 146
Joined: Thu Mar 29, 2007 6:54 pm

Your site

Post by LiquidSpark » Tue Jun 10, 2008 5:36 pm

Bright Inspiration, your site is awesome! This mod is amazing too - please post it on the board3 portal page in reference of this topic.

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha] Display attached images to anywhere in your board

Post by Bright Inspiration » Wed Jun 11, 2008 6:31 am

LiquidSpark wrote:Bright Inspiration, your site is awesome!
Thank you! good to know you like it.
LiquidSpark wrote:- please post it on the board3 portal page in reference of this topic.
It is posted.

Cheers,

ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [Alpha] Display attached images anywhere in your board

Post by ibelphegor » Wed Jun 11, 2008 8:40 pm

I have 2 problem with this mod.
1) In LocalHost it's work OK bu in my live server it's not show images.
2) It's show image from privet forum and when you click on image you
see the info "you don't have permission etc'.."

Any idea?

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha] Display attached images anywhere in your board

Post by Bright Inspiration » Thu Jun 12, 2008 5:25 am

Please check back my site for this.

User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [Alpha]Display attached images as gallery anywhere in board

Post by Bright Inspiration » Fri Jun 13, 2008 12:55 pm

I've updated this mod so that now you can:
  • Display different number of images for each different pages
  • Display images as random ordered or latest/time ordered
  • Exclude any forum that you don't want to get images from.
  • And other minor changes such as no more hard code when changing attachment folder.
  • Other functions can be requested.
Looking for your feedback.
Cheers.

LikeBlue
Registered User
Posts: 3
Joined: Thu Jun 12, 2008 9:04 pm

Re: [Alpha]Display attached images as gallery anywhere in board

Post by LikeBlue » Fri Jun 13, 2008 4:10 pm

This was exactly what I was wanting! Thank you so much for taking the time to create this and offer it to everyone. *hugs* :mrgreen:

Locked

Return to “[3.0.x] MODs in Development”