Log in

View Full Version : Forum Display Enhancements - Images as quick links to forums


Spangle
05-13-2013, 10:00 PM
I wanted to put show some images to act as quick links to forums, to save users scrolling down, I also wanted to show American guests in a friendly way that we are a soccer forum, we Brits hate that word and use football, which can cause confusion.

There is a MOD that does something similar, but it was far too complicated for such a simple exercise.
What I did was create a one row table to display the images, within the Navbar template.

You can see the result here : http//www.talkoftheterrace.net

Here is how to do it :

ACP>Style Manager>Your Style>Edit Template>Navbar & Breadcrumbs>Navbar

Find :
{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>

Add below :
<table>

<tr>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?104-English-Premier-League"?><img src="images/navicons/epl.png"> </a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?105-Scottish-Football"><img src="images/navicons/spfl.png"> </a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?106-Npower-Championship"><img src="images/navicons/npwr.png"> </a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?107-Npower-Leagues-1-amp-2"><img src="images/navicons/npwr.png"> </a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?109-Champions-League"><img src="images/navicons/ecl.png"> </a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?110-Europa-League"><img src="images/navicons/uropa.png"></a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?108-Cup-Competitions"><img src="images/navicons/cups.png"></a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?111-European-Club-Football"><img src="images/navicons/uefa.png"></a></p></td>
<td align="center"><p><a href="http://www.talkoftheterrace.net/forumdisplay.php?112-Internationals"><img src="images/navicons/fifa.png"></a></p></td>
</tr>
</table>

All you need do is replace those parts in red with the links to your forums, and your images.
My images are 48 x 48 px, I still think they look a little big, resize yours to whatever you want.

Hope this works for you

ProFifaLeagues
05-14-2013, 06:07 PM
Looking superb that mate Will install Shortly on our Forums!!! Many thanks Sir

Spangle
05-14-2013, 06:19 PM
Looking superb that mate Will install Shortly on our Forums!!! Many thanks Sir

Glad you like it :up:

ProFifaLeagues
05-15-2013, 04:33 AM
Glad you like it :up:

I have a Custom Theme installed and Within the Navbar the Code I need to Find and Add the new below is not in My template.Is there anywhere else I can add this in my Navbar Template?

Spangle
05-15-2013, 07:42 AM
I have a Custom Theme installed and Within the Navbar the Code I need to Find and Add the new below is not in My template.Is there anywhere else I can add this in my Navbar Template?

I've had a look at your front page, and I see the problem !!
Try placing it below this :

<div id="breadcrumb" class="breadcrumb">

Save and refresh

ProFifaLeagues
05-15-2013, 02:16 PM
I've had a look at your front page, and I see the problem !!
Try placing it below this :

<div id="breadcrumb" class="breadcrumb">Save and refresh

Thanks Sir will try that this evening once home!!

ProFifaLeagues
05-15-2013, 09:45 PM
I've had a look at your front page, and I see the problem !!
Try placing it below this :

<div id="breadcrumb" class="breadcrumb">Save and refresh



Works Superb Sir thank you

marccap
05-16-2013, 01:35 PM
Looks good - tagged for later