Clickable image ~ Link Category

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
paulyii
Registered User
Posts: 164
Joined: Tue Jul 29, 2008 5:19 am
Contact:

Clickable image ~ Link Category

Post by paulyii » Sun Aug 11, 2019 7:47 am

I think here should be the right place to seek out help, can't get any solution at the Support /discussion forum.
By the way my Forum is using phpBB 3.2.7

Link-Page.jpg
As the above pic shows :
1. Can the images on the left be clickable ? that is on click, it opens on a new tab.
Only the text link is active, BUT it open _self , replacing my Forum page . That may leads to visitor leaving my FORUM.

2. To get rid of the name of forum ( Text Link? The BLUE wordings beside the images )
or position it under the image?

If i followed the below, then the image will be clickable.
But on click it opened to a forum post page.

If using prosilver, open: /styles/prosilver/template/forumlist_body.html

Find:
CODE: SELECT ALL

<span class="forum-image">
Replace with:
CODE: SELECT ALL

<span class="forum-image" onclick="location.href='{forumrow.U_VIEWFORUM}';" style="cursor: pointer;">


If the image is clickable, i want it to open up the external link, like what the text link is doing.
ForumLink.jpg
Thanks for any help rendered.
You guys are experts here, this problem for me will be a piece of cake for you.
😇



.

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 2311
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: Clickable image ~ Link Category

Post by kinerity » Sun Aug 11, 2019 10:02 pm

Duplicate of viewtopic.php?f=591&t=2519081

Unlocked at the request of OP and locked the other topic.
Kailey Truscott - Community Team

User avatar
paulyii
Registered User
Posts: 164
Joined: Tue Jul 29, 2008 5:19 am
Contact:

Re: Clickable image ~ Link Category

Post by paulyii » Tue Aug 13, 2019 5:58 am

Solved

Thanks everybody ...
Love you all ..

Post Reply

Return to “phpBB Custom Coding”