Your Portal Version: 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.hb-eu.com
Description and Message
Hiya,
I would like Images instead of (or above) the text links back to the original posts from the portal.
How would I go about adding this picture:
For the Warhammer Online forum, and another for the StarCraft II one?
Any ideas? Maybe its possible to use the forum image?
Images instead of text links
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Re: Images instead of text links
Anyone please?
Re: Images instead of text links
I would also like to know how to add images to the actual "Links" block instead of text.
Re: Images instead of text links
Anyone know if this is possible, please?
Re: Images instead of text links
Anyone able to help with this please?
-
- Active Member
- Posts: 26
- Joined: 20. November 2009 15:44
- phpBB.de User: gamingboard
- phpBB.com User: gamingboard
- Location: Free and Hanseatic City of Hamburg, Germany
- Contact:
Re: Images instead of text links
Here is a idea:
Use at your own risk. It worked on my test forum
Open: portal/block/announcements.php
Find:
Add-before:
Open:
/styles/your_style(prosilver)/template/portal/block/announcements.html
Find:
Replace with:
To add another image using the following code:
Find:
Add-After:
Note:Replace 99 with the forum number where you want to have a picture (viewforum?f=99)
Use at your own risk. It worked on my test forum
Open: portal/block/announcements.php
Find:
Code: Select all
'FORUM_NAME' => ($forum_id) ? $fetch_news[$i]['forum_name'] :
Code: Select all
'FORUM_ID' => $forum_id,
Open:
/styles/your_style(prosilver)/template/portal/block/announcements.html
Find:
Code: Select all
<!-- IF announcements_row.FORUM_NAME -->{L_FORUM}: <strong><a href="{announcements_row.U_VIEWFORUM}">{announcements_row.FORUM_NAME}</a></strong><!-- ELSE -->{L_GLOBAL_ANNOUNCEMENT}<!-- ENDIF -->
Code: Select all
<!-- IF announcements_row.FORUM_ID == 99 --><a href="{announcements_row.U_VIEWFORUM}"><img src="your Warhammer Online forum img" title="{announcements_row.FORUM_NAME}" alt="{announcements_row.FORUM_NAME}"/></a><!-- ELSEIF announcements_row.FORUM_NAME -->{L_FORUM}: <strong><a href="{announcements_row.U_VIEWFORUM}">{announcements_row.FORUM_NAME}</a></strong><!-- ELSE -->{L_GLOBAL_ANNOUNCEMENT}<!-- ENDIF -->
Find:
Code: Select all
<!-- IF announcements_row.FORUM_ID == 99 --><a href="{announcements_row.U_VIEWFORUM}"><img src="your Warhammer Online forum img" title="{announcements_row.FORUM_NAME}" alt="{announcements_row.FORUM_NAME}"/></a>
Note:Replace 99 with the forum number where you want to have a picture (viewforum?f=99)
Code: Select all
<!-- ELSEIF announcements_row.FORUM_ID == 99 --><a href="{announcements_row.U_VIEWFORUM}"><img src="your other img" title="{announcements_row.FORUM_NAME}" alt="{announcements_row.FORUM_NAME}"/></a>
Re: Images instead of text links
Thanks a lot mate, ill test it out asap.