Help with some HTML coding

miki86

New Member
Hello all,
I've been using a lot of my own codes, but there is a problem, not exactly a problem, but with your help i can speed up this editing a little.
I'm using my own codes for banners and ads, this one for example:

PHP:
<!-- Banner -->
<br />
<table width="444" border="1" align="center">
  <tr>
    <td class="thead"><div align="center"><strong>..:: Links ::..</strong></div></td>
  </tr>
  <tr>
    <td class="alt1" height="75"><div align="center"><a href="http://www.xxxxxxxx.org" target="_blank"><img src="./images/ads_banners/banner1.gif" alt="www.xxxxxxxx.org" /></a></div></td>
  </tr>
</table>
<!-- Banner -->

I need to edit this code for each and every style i have, and finaly my question, can i do it once and than put something like $banner on each style instead of editing them one by one ?
Are those phrases? Can i do it using a phrase?

Thanks in advance.
 
this is like a banner rotator? right? yup you can make it, theres a mod called banner rotator ( lol) it will make the variable for you, if you want to make it yourself try the make your own vbulletin powered pages that will help you both are posted in vbteam so is just a matter of searching
 
Thanks, but first, this is not banner rotator and the second, i allready know about that mod and i don't need it and as the thread title says help with HTML not MOD Req.

I just want to learn if it can be done faster, because i never tried to play with phrases and as i see, it can.
$vbphrase[banner]
and then only change phrase 1x instead of 4 times ;)

Just a little time and i'll start writing MOD's lol.
 
xD mmm actually o_ô i was thinking about that and yup is possible : D some phrases have html in them so give it a try and tell us how did it go cya!
 
YEP! It's working like a dream:

mtxcus.jpg


n3p7jm.jpg
 
Back
Top