vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   BB Code Enhancements - Dynamic Part Graphics (https://vborg.vbsupport.ru/showthread.php?t=206957)

1Unreal 02-28-2009 10:00 PM

Dynamic Part Graphics
 

Dynamic is probably the wrong word, but it appears that way. :erm:

Download the attached image and upload it to your server. Then replace background-image: url('IMAGE LOCATION'); in the CSS with the location of your image :)

Demo - Non - vB: The lines under the numbers wont show up when in vBulletin

Example
HTML Code:

[part=1]http://www.example.com[/part]
Replacement
HTML Code:

<a href="{param}" target="_blank">
<ul class="partimage">
<li class="partimageli">{option}</li>
</ul>
</a>

Add this to the Main CSS
:erm:
HTML Code:

.partimage {
    background-image: url('IMAGE LOCATION');
    width: 150px;
    text-decoration: none;
    background-repeat: no-repeat;
    padding-top: 11px;
    padding-left: 5px;
    margin: 0px;
}
.partimageli {
    height: 50px;
    width: 150px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}


kawe 03-01-2009 01:25 AM

Thanks :D :D
maybe u can create more button

Allan 03-01-2009 05:49 AM

One demo ?

itsheinz 03-01-2009 07:00 AM

What is the purpose anyway ^^

1Unreal 03-01-2009 07:27 AM

Quote:

Originally Posted by Allan (Post 1757390)
One demo ?

Does it need a demo? All it does is displays an image as a link. But with a number on it to show a part.

Quote:

Originally Posted by itsheinz (Post 1757411)
What is the purpose anyway ^^

I use it for linking videos. Because alot of videos cant be hosted as a whole they need to be in parts. So this is a nice way of linking them.

AzaDiyaR 03-01-2009 11:20 AM

thank you very much... its working perfectly ;)

this is DEMO : http://www.azadiwelat.org/showthread...23065&langid=1

User Name : Demo
Password : demo

1Unreal 03-02-2009 04:36 AM

Aza, that demo doesn't work. I added a working one in the thread. Its non-vBulletin unfortunatly so if someone can offer something better I would be very greatful.

AzaDiyaR 03-04-2009 09:04 AM

you must loggin first

User Name : Demo
Password : demo

after you can see.. this working ;)


All times are GMT. The time now is 09:11 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.01023 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete