vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   help with this code please.. (https://vborg.vbsupport.ru/showthread.php?t=213399)

findmeareptile 05-11-2009 01:23 PM

help with this code please..
 
what am i putting wrong, all the other codes open up into there own, and are linked, but this 1st one i cant seem to fit in properly..

<td width="25%" bgcolor="#1b1b1b" align="center" valign="top"><a rel='nofollow' rel="nofollow" href='http://bestreptilesites.com/"><img src="http://bestreptilesites.com/button.php?u=findmeareptile" alt="Best Reptile Sites - Reptile & Amphibian Topsites" border="0" /></a>

many thanks..

--------------- Added [DATE]1242055432[/DATE] at [TIME]1242055432[/TIME] ---------------

im getting this when you click on the link: http://www.findmeareptile.co.uk/%3Ca%20href=

--------------- Added [DATE]1242058185[/DATE] at [TIME]1242058185[/TIME] ---------------

anyone?..

Lynne 05-11-2009 02:32 PM

1) You have two rel=nofollow in your <a> tag. Why? You should only have one.
2) You have the href begin with a single quote and end with a double quote. Pick one of the other.
3) Change & to &amp;

findmeareptile 05-11-2009 02:45 PM

if i remove one of the rel=nofollow i get double the images.

also i have done the " but still no diffrence..
now my code is this..

<td width="25%" bgcolor="#1b1b1b" align="center" valign="top"><a rel="nofollow" href="href="
href="http://bestreptilesites.com/"><img src="http://bestreptilesites.com/button.php?u=findmeareptile" alt="Best Reptile Sites - Reptile & Amphibian Topsites" border="0" /></a>

my whole code is this, its a box, with ranks in it, but the whole code looks like this:

<!--START Ad Banner CODE-->
<div align="center" style="margin: -0px 0px 10px 0px;">
<table width="70%" align="center" border="2" cellpadding="4" cellspacing="2" bgcolor="#1b1b1b">
<tr>

<!--Ad Banner 1-->

<td width="25%" bgcolor="#1b1b1b" align="center" valign="top"><a rel="nofollow" href="href="
href="http://bestreptilesites.com/"><img src="http://bestreptilesites.com/button.php?u=findmeareptile" alt="Best Reptile Sites - Reptile & Amphibian Topsites" border="0" /></a>

<a href="http://www.findmeareptile.co.uk/topsites/"><img src="http://www.findmeareptile.co.uk/topsites/button.php?u=findmeareptile" alt="Findmeareptile Topsites List" border="0" /></a>

<a href="http://butterfliessite.com/butterfly-topsites/"><img src="http://butterfliessite.com/butterfly-topsites/button.php?u=findmeareptile" alt="Insect Topsites" border="0" /></a>

<a href="http://www.herpcaretopsites.com/"><img src="http://www.herpcaretopsites.com/button.php?u=findmeareptile" alt="Herp Care Topsites" border="0" /></a>

<a href="http://www.faunatopsites.com/"><img src="http://www.faunatopsites.com/button.php?u=Findmeareptile" alt="Fauna Top Sites" border="0" /></a>

<a href="http://www.strictlyreptiles.com/"><img src="http://www.strictlyreptiles.com/button.php?u=findmeareptile" alt="Strictly Reptiles" border="0" /></a>

<a href="http://reptilenetwork.net/topsite/"><img src="http://reptilenetwork.net/topsite/button.php?u=findmeareptile" alt="Reptile Network Topites" border="0" /></a>
' target='_blank'><img src='<a href="http://bestreptilesites.com/"><img src="http://bestreptilesites.com/button.php?u=findmeareptile" alt="Best Reptile Sites - Reptile & Amphibian Topsites" border="0" /></a>

<a href="http://www.findmeareptile.co.uk/topsites/"><img src="http://www.findmeareptile.co.uk/topsites/button.php?u=findmeareptile" alt="Findmeareptile Topsites List" border="0" /></a>

<a href="http://butterfliessite.com/butterfly-topsites/"><img src="http://butterfliessite.com/butterfly-topsites/button.php?u=findmeareptile" alt="Insect Topsites" border="0" /></a>

<a href="http://www.herpcaretopsites.com/"><img src="http://www.herpcaretopsites.com/button.php?u=findmeareptile" alt="Herp Care Topsites" border="0" /></a>

<a href="http://www.faunatopsites.com/"><img src="http://www.faunatopsites.com/button.php?u=Findmeareptile" alt="Fauna Top Sites" border="0" /></a>

<a href="http://www.strictlyreptiles.com/"><img src="http://www.strictlyreptiles.com/button.php?u=findmeareptile" alt="Strictly Reptiles" border="0" /></a>

<a href="http://reptilenetwork.net/topsite/"><img src="http://reptilenetwork.net/topsite/button.php?u=findmeareptile" alt="Reptile Network Topites" border="0" /></a>
' border='0' alt='' style="border-color:#D1D1E1" /></a><br>
<font face="verdana, arial, helvetica, sans-serif" size="1"> <a rel="nofollow" href="<a href="http://bestreptilesites.com/"><img src="http://bestreptilesites.com/button.php?u=findmeareptile" alt="Best Reptile Sites - Reptile & Amphibian Topsites" border="0" /></a>

<a href="http://www.findmeareptile.co.uk/topsites/"><img src="http://www.findmeareptile.co.uk/topsites/button.php?u=findmeareptile" alt="Findmeareptile Topsites List" border="0" /></a>

<a href="http://butterfliessite.com/butterfly-topsites/"><img src="http://butterfliessite.com/butterfly-topsites/button.php?u=findmeareptile" alt="Insect Topsites" border="0" /></a>

<a href="http://www.herpcaretopsites.com/"><img src="http://www.herpcaretopsites.com/button.php?u=findmeareptile" alt="Herp Care Topsites" border="0" /></a>

<a href="http://www.faunatopsites.com/"><img src="http://www.faunatopsites.com/button.php?u=Findmeareptile" alt="Fauna Top Sites" border="0" /></a>

<a href="http://www.strictlyreptiles.com/"><img src="http://www.strictlyreptiles.com/button.php?u=findmeareptile" alt="Strictly Reptiles" border="0" /></a>

<a href="http://reptilenetwork.net/topsite/"><img src="http://reptilenetwork.net/topsite/button.php?u=findmeareptile" alt="Reptile Network Topites" border="0" /></a>

<CENTER><P><p><font size="3" face="comic sans MS, new york, times" color="white">
Reptile Top Sites.
</body>
</html></P></CENTER>
</tr>
</table>
</div>

TheLastSuperman 05-11-2009 03:17 PM

IF that is the ENTIRE code which template is it in? The reason I ask is you have the </body> & </html> tags present and I did not see them in the beginning... it seems your codes are not complete OR you removed some stuff that is needed for it ALL to do right, perhaps the reason Lynne's suggestions were :erm:'d on by you for making double images etc is due to the fact that she suggested what SHOULD normally work but w/ the code being sliced and diced (IF that is the case) then it will do weird things.

Double-Check and let us know what template your in and what this does exactly plus you know there are Award & Rank Mods that will do this for you pretty much right? Just use the search on top right and search for awards or ranks blah blah blah lol.

S-MAN

findmeareptile 05-11-2009 03:26 PM

im in "ad Location, under "edit template"

im using the same coding for my advertising blocks, and just removing the links, and replacing them with the rack codes, it works on all the other 8 i have, just this 1st one is not working...lol

Lynne 05-11-2009 04:16 PM

HTML Code:

<a rel="nofollow" href="href="
href="http://bestreptilesites.com/">

That is incorrect html. Please use an html validator and you will get help with this. Or even use the html tags here and you will see the errors.
HTML Code:

<a rel="nofollow" href="http://bestreptilesites.com/">
(And you still didn't change & to &amp; )


All times are GMT. The time now is 08:21 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.01561 seconds
  • Memory Usage 1,743KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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