Make Forum Image Clickable

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
conan_troutman
Registered User
Posts: 222
Joined: Mon Jul 19, 2010 11:06 am

Re: Make Forum Image Clickable

Post by conan_troutman »

thanks for that...

I will look at it more closely ... been looking into clickable rows... which sounds a good option but the highllight on hover is causing me issues... some work some dont...

but thank you for the reply

yf_pro
Registered User
Posts: 73
Joined: Sat Feb 16, 2013 4:59 am

Re: Make Forum Image Clickable

Post by yf_pro »

well, can you make these forum images clickable but link to different external sites?

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: Make Forum Image Clickable

Post by MrC »

yf_pro wrote:well, can you make these forum images clickable but link to different external sites?
Change <a href="{forumrow.U_VIEWFORUM}">
into
<a href="www.internet-site.com">

arioch1st
Registered User
Posts: 63
Joined: Thu Jan 24, 2013 11:39 am
Contact:

Re: Make Forum Image Clickable

Post by arioch1st »

Hi,
This is just what I have been looking for, many thanks for creating this topic.

I have added this code to my Subsilver2 forum (www.astro4beginners.co.uk)

Code: Select all

<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;" onclick="location.href='{forumrow.U_VIEWFORUM}';">
and I was wondering how do I make it so when the cursor is placed over the image the cursor
changes to show the image is linked, goes into hover mode, as at this time there is no indication of a link?

Many thanks
Owner of Astronomy for Beginners (A4B) Forum
http://www.astro4beginners.co.uk

User avatar
pit-PL
Registered User
Posts: 3090
Joined: Sat Nov 21, 2009 12:24 pm

Re: Make Forum Image Clickable

Post by pit-PL »

After <div style=" add cursor: pointer;

arioch1st
Registered User
Posts: 63
Joined: Thu Jan 24, 2013 11:39 am
Contact:

Re: Make Forum Image Clickable

Post by arioch1st »

Thanks pit-Pl

I have tried your suggestion but it has dropped the text to below the images, how do I do it so the text remains in its original state?
Owner of Astronomy for Beginners (A4B) Forum
http://www.astro4beginners.co.uk

User avatar
pit-PL
Registered User
Posts: 3090
Joined: Sat Nov 21, 2009 12:24 pm

Re: Make Forum Image Clickable

Post by pit-PL »

Change this <div style=cursor:pointer;"
to <div style="cursor:pointer;

arioch1st
Registered User
Posts: 63
Joined: Thu Jan 24, 2013 11:39 am
Contact:

Re: Make Forum Image Clickable

Post by arioch1st »

Many thanks,
all sorted now :)
Owner of Astronomy for Beginners (A4B) Forum
http://www.astro4beginners.co.uk

Locked

Return to “[3.0.x] Styles Support & Discussion”