News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Random Image Attachment Banner

Started by madman71, May 02, 2010, 03:14:21 AM

Previous topic - Next topic

madman71

Ok, there's a couple things we can do in which i think i can assist.
1. We can make the banner wider but it go beyond the width of the forum
2. we can cut down the number of image permitted to be displayed in the banner (down to 5 maybe)
3. Not a fix, but we can change what type (format) of images to be displayed in the banner (i.e. portrait or landscape)


When i used this mod, i removed all landscape images from it (just for aesthetics) and cut down the number of images displayed.  This was for me thought :)

one final, possible solution: I noticed that you are using SimplePortal 2.3.2.  I have have stopped using my own mod and i now use SP random attachment banner.  Basically, it does the same thing as mine does, but has way more functions.

I can probably help you which ever method you take.

Reefer

Where can I find the Simple Portal one? Lets give it a bash. If it doesn't work, I'm coming after you...Lol!

madman71

It's in the ADMIN section of SMF

Look under SP settings.

Look at the image here:

If you need assistance setting it up, i can help

Reefer

Kewl, thanks for your help... I'll give it a bash! ;D


Reefer

OK... tried it but it doesn't link to the original post, right?
I we were to use yours, and limit it to 5 image attachments... how could we go about doing this?

madman71

it does the same exact thing that mine does, but come to think of it, i think you have to tweak the code to have it link directly to the post.  By default, it does not link directly to the post, only to the image.

To make the images link to the post, follow this
http://simpleportal.net/index.php?topic=4118.0

look for Sinan's post.  very small piece of code to replace

Reefer

Thanks once again Laurel... you be a champ!


kikkuvikings

willl it automatically show the latest topics / or i have to add the topics manually (if it is manually done , how can i select that option on smf 2.0RC3)
Padanilam [nofollow]

madman71

It will only show recent attachments in a banner format.
Look into simplePortal if you really want to have control (i.e. latest topics)
http://www.simpleportal.net/

dkharp

Great Mod! Can you set it to wear it does not pull the view board permissions? That way guest can see the pics too?  Also how do you set it to wear it will only show on the board not all the other pages. Im using TP and it shows up the front page..

Powered by SMF 2.0 RC3/TinyPortal 1.0 beta 5.2

Thanks!

madman71

Quote from: dkharp on November 06, 2010, 10:09:21 PM
Great Mod! Can you set it to wear it does not pull the view board permissions? That way guest can see the pics too?  Also how do you set it to wear it will only show on the board not all the other pages. Im using TP and it shows up the front page..

Powered by SMF 2.0 RC3/TinyPortal 1.0 beta 5.2

Thanks!

Im not sure what you mean by "does not pull the view board permissions".
This banner will display images to EVERYONE.  Even guests.  Now, if guests do not have permission to view attachments, then the banner thumbs will not be displayed.  ***NOTE** Guest must have permission to view attachments in posts in order for them to see this banner.

Im not the mod creator, i just paid to have this coded up for me.  When i told the programmer what i wanted, I told him that i wanted it to be displayed on all pages. There is no option to place it where you want it.

If you truly want full control over a banner style like mine, uninstall it my mod, and install http://www.simpleportal.net/
I know you are using TP, but SP has banner just like mine with millions of functions to tweak.
Might want to look into that.

if you want to see the SP banner in action, you can view my site: www.morningpeaches.us (This is an adult board with adult images) This banner is not randomized, but it can be set to.

Ciler

I have it working with the SP Block Recent Image Attachement but the Images are still!

Does somebody knows the code in PortalBlocks.php to make the images scrolling (moving)?



impreza

Interesting mod, thanks for making
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

Biology Forums

Can someone make this work for 1.1.13 :( ?

Snowy

I love this, but the pictures are too big. I had to make it show only 3 pictures. I want them smaller, like 100 pixels. As it is now, 3 pictures goes the width of the forum. They asre just too big. How do I change the display size?

madman71

In your admin section, under ATTACHMENTS & AVATARS, what settings do you have for these:

Maximum width of thumbnails =
Maximum height of thumbnails  =

Snowy

I had them set at 250, but changed them to 100 and it didn't change the size of the pics.

madman71

well, im pretty certain it's a SMF setting and not a mod setting.  When i had it made, i had it made to display thumbnails from post attachments.

I highly recommend installing simple portal.  It has the a random image banner with much more functionality.


Advertisement: