vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Download button link (https://vborg.vbsupport.ru/showthread.php?t=138449)

iHostile 03-18-2007 01:11 PM

Quote:

Originally Posted by anywares (Post 1206357)
no need.

HTML Code:

<a href="
is the begining of the <a> tag ;]

and
HTML Code:

</a>
is the end if the <a> tag ;]


But im gettin an image plus the code.... "" target="_new">"

:confused:

anywares 03-18-2007 01:15 PM

hmmm gimee a link/screenshot to the problem

iHostile 03-18-2007 01:20 PM

<a href="http://img120.imageshack.us/img120/7029/hmmwm7.jpg" target="_blank">http://img120.imageshack.us/img120/7029/hmmwm7.jpg</a>

anywares 03-18-2007 01:31 PM

I think you might have skipped/missed something in the codes

be shore to get the FULL code so that it looks like this:
HTML Code:

<a href="{param}" target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>

iHostile 03-18-2007 01:36 PM

Nope, still does the same with that code :S lol

anywares 03-18-2007 01:53 PM

Ive pm'ed you iHostile

Mr_Devlin 04-26-2007 05:40 PM

What to do if you use different styles on your forum and want to use different (your own) button-layouts matching your styles with this modification?
Here's the solution:
1. upload your buttons to the style related editor-folders.

2. create a new, additional css-definition for each style like this:
Code:

.bbpw{
    display:block;
    float: right;
    background:url(editor_directory_path/yourbutton.gif);
    width:150px; height:29px;
}

3. In the bbcode replacement:

HTML Code:

<table width="400" border="0" cellspacing="0" cellpadding="0">
  <tr>
        <td class="bbpw" align="left" width="150" border="0">
        </td>
                <td align="right" width="250" border="0">
                </td>
  </tr>
  <tr>
                <td align="left" colspan="2" style="background-color: #C0FFC0; border: 2px solid Red; padding: 1px; clear:left"><FONT COLOR="#FF0000"><normalfont>{param}</normalfont></FONT>
                </td>
  </tr>
</table>

You may edit the width, name of class etc to fit your needs...

Screenshot:
http://www.chaospasses.com/images/Bild1.gif


Quote:

But im gettin an image plus the code.... "" target="_new">"
You need to set the param-code WITHOUT the quotation marks like this:

HTML Code:

<a href={param} target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>

JadedSouls 07-21-2007 05:37 PM

Great stuff! Made my own button tho and one for the editor toolbar..

Thanks :)

puertoblack2003 09-01-2007 02:15 AM

this is a neat hack how to i add the legend with the picture and in the middle add the url to show download???

tobaro 09-11-2007 05:23 AM

idea: if this would change ANY links posted to be replaced with a image called 'link' (whatever image you may use), I would like it even more? possible to do that?


All times are GMT. The time now is 01:59 PM.

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.01244 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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