vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - SXLM - ibPro Arcade - Anywhere Image Link (https://vborg.vbsupport.ru/showthread.php?t=242652)

syrus.xl 05-15-2010 10:00 PM

SXLM - ibPro Arcade - Anywhere Image Link
 
1 Attachment(s)
about:
This modification simply adds an image link to your arcade, which is fixed to the
bottom of your browser. Allowing you to have less clutter in your navbar.

DEMO: http://www.digitalport.co.uk

Brought to you by Digital Port UK
www.digitalport.co.uk

Please click Install if you use this mod! Thanks..

What's in the Download?

In the package you will find the content to upload, documentation and the PSD file
used to create the image.

Installation:

Time to install: 1-2 minutes

Upload the contents of the UPLOAD folder to your forum root.

1 Template edit:

Go to your AdminCP
Styles & Templates -> Style Manager -> Edit Templates (of your default style)
Edit footer template

Add this code at the bottom of this template.
Code:

<div style="position: fixed; bottom: 0px; left: 0px; width: 150px; height: 150px;">
  <img src="{vb:stylevar imgdir_misc}/arcade_link.png" width="150" height="150" border="0" usemap="#arcadelink" alt="Click for Access" />
      <map name="arcadelink">
      <area shape="poly" coords="0,0,0,150,150,150" href="{vb:raw vboptions.homeurl}/arcade.php" target="_self" />
    </map>
</div>

Click 'Save' and you're done!

Align Image Right
If you want to align the image on the right then use the following code, and not the above.
Right-Aligned Image (requires a new PNG image) code:
Code:

<div style="position: fixed; bottom: 0px; right: 0px; width: 150px; height: 150px;">
  <img src="{vb:stylevar imgdir_misc}/arcade_link.png" width="150" height="150" border="0" usemap="#arcadelink" alt="Arcade" />
      <map name="arcadelink">
      <area shape="poly" coords="150,0,150,150,0,150,150,0" href="{vb:raw vboptions.homeurl}/arcade.php" target="_self" />
    </map>
</div>

Coding:
We grant you permission to re-use the code from this modification for creation
of other modifications. It is very simple code, and does not take much to change
it to suit different size images, obviously changing the mapping to suit.

You can view other examples of this code used on our website, for right alignment
of bottom images. Feel free to use this code in other products.

sKippah 05-16-2010 07:09 PM

Nice one. Tagged

RedDevil 05-16-2010 08:48 PM

very nice

ellinofatsa 05-16-2010 10:42 PM

thanks

nikosb 05-17-2010 05:08 PM

very nice...thanks

Ocean-Wonders 05-17-2010 05:27 PM

Looks brilliant, tagged. Will install later :)

syrus.xl 05-18-2010 09:06 AM

You're welcome! It's only a very simple mod, and the coding could be easily changed for something else.

I thought of this because our navbar was becoming too full, and we have a lot of visitors from gaming websites (long story) - so this just makes it easier for them to find our arcade.

:)

goxy63 05-18-2010 06:50 PM

Nominated, rated, installed
Simple but just Great

Thank you

syrus.xl 05-18-2010 09:39 PM

If anyone wants the coding for a right-aligned version, just ask - it only requires a few minor code changes.

'keeping things simple' is better than having loads of code where errors can occur' ;)

ShawneyJ 05-18-2010 10:21 PM

tagged, this is amazing thanks. i guess we could use for v3arcade to?


All times are GMT. The time now is 08:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01084 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete