[3.2][3.3][RC] Right Random Image

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

[3.2][3.3][RC] Right Random Image

Post by HiFiKabin »

Extension Name: Right Random Image Image Image Image
Author: HiFiKabin

Extension Description: Adds images to the RHS of your forum header (LHS for RTL language packs) Each image is randomly loaded and can direct to its own URL. You can set the links to open in a the same or new tab.

Notes:
  • Random in this instance means a random selection at each page load. There is no reference to any previously loaded images so there will be times when the same image is loaded several times in succession.
  • The image must be a standard image extension eg .jpg .gif .png etc
  • If you host the images on your own server, create a directory in the [highlight=yellow]images[/highlight] folder in your forum root (where config.php is) called right_random_images in which to upload them. To ensure the image appears on all pages the URL for the image will then be http://myforum.com/images/right_random_images/image.gif
  • You can adjust the maximum size for images which shrink large images but not affect smaller ones
  • Compatible with my Google Search Extension
Language:
  • EN
  • Additional Language Pack: fr
Extension Version: 3.2.2-RC2

IMPORTANT NOTE: Versions 3.2.2 is written in a totally different way to the previous versions meaning you can have as many or as few images as you wish. If you are moving from 3.2.1 YOU MUST disable and delete the data from the existing extension before installing version 3.2.2 .

Supported Styles:
  • prosilver
Screenshots:
rri_acp.jpg
Live Demo: HERE

Installation:
  • Download the latest release and unzip it.
  • Upload the the folder hifikabin to root/ext/ and enable it in the ACP
Support:

The contact us link at the bottom of this Forum or This Topic
You do not have the required permissions to view the files attached to this post.
Last edited by HiFiKabin on Mon Apr 10, 2017 5:41 pm, edited 8 times in total.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [RC] Right Random Image

Post by david63 »

HiFiKabin wrote:create a directory in the forum root (where config.php is) called right_random_images
Not sure that is necessarily the best place to put the files due to people deleting files/folders when there is an update/upgrade. I would suggest that they go in the store folder - and a nice touch would be if you created that folder for them when you install the extension.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

david63 wrote:
HiFiKabin wrote:create a directory in the forum root (where config.php is) called right_random_images
Not sure that is necessarily the best place to put the files due to people deleting files/folders when there is an update/upgrade. I would suggest that they go in the store folder - and a nice touch would be if you created that folder for them when you install the extension.
Good point David. I'll have a play and see what I can do
scorpiors
Registered User
Posts: 140
Joined: Fri Sep 09, 2011 6:14 am

Re: [RC] Right Random Image

Post by scorpiors »

Live demo is not working.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

Oh bother (or some such)

I'll fix it now
Last edited by HiFiKabin on Mon Oct 05, 2015 3:02 pm, edited 1 time in total.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

Fixed!
Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: [RC] Right Random Image

Post by Tom49er »

Hi,
I install this extension, but it's not working. Can you tell me what I do wrong? Thank You
http://www.swapvn.com/
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

The image path is wrong.

http://www.swapvn/random_images/phuong.gif

should be

http://www.swapvn.com/random_images/phuong.gif
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: [RC] Right Random Image

Post by noth »


•If you host the images on your own server, create a directory in the store folder in your forum root (where config.php is) called right_random_images in which to upload them. The URL for the image will then be store/right_random_images/image.gif without the need for http:// etc in front
is this still the case? I am getting a cross where the image should be (failed img)
Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: [RC] Right Random Image

Post by Tom49er »

Hi,

It's still not working. Thanks
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

Tom49er wrote:Hi,

It's still not working. Thanks
The image is not where you think it is. There is nothing at:-

http://www.swapvn.com/random_images/phuong.gif

try

http://www.swapvn.com/right_random_images/phuong.gif
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

noth wrote:

•If you host the images on your own server, create a directory in the store folder in your forum root (where config.php is) called right_random_images in which to upload them. The URL for the image will then be store/right_random_images/image.gif without the need for http:// etc in front
is this still the case? I am getting a cross where the image should be (failed img)
Try putting the right_random_images folder in images

so the path would be

images/right_random_images/image.gif
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: [RC] Right Random Image

Post by noth »

this works

HOWEVER

if you use the shortened (without the need for http:// etc in front) e.g images/right_random_images/image1.gif this stops working as soon as you click onto any other ext e.g

app.php/video or app.php/quotes or app.php/directory

going to any other ext immediately gives you a failed image

apart from that IT WORKS!!! :D very nice

another thing is, it pushes the site logo and site title right to the top, would be nice to have that vertically centred but I am sure that will come in the next release :P NICE EXT anyway !!
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6826
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [RC] Right Random Image

Post by HiFiKabin »

OK, I didn't think about any conflict with other extensions.

Yes, Images wider than 200px cause the logo etc to go out of alignment. It is certainly something I will look at for future releases
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: [RC] Right Random Image

Post by noth »

I was talking about images of 200 width

the title and phpBB logo go straight to the top and if there was a vertical centre with the right random image would be slick, but OK as it is

with styles that inherit from prosilver e.g. aero, Allan Style subSilver you might think that the right random image would inherit through but sadly it does not, is there anything we can do to fix that? :P

very good ext, I found that the best images to use are 200 wide and around 100-200 high

Return to “Extensions in Development”