Форумы / Cotonti / Support / Help with my links page

12>>>

DemptD
#1 18.05.2009 23:29
If click the name i go to the site but if i click the image i go to the page on my site, but the links are the same. Why does it do that?

Test here:

http://www.demptd.com/list.php?c=links
Kingsley
#2 18.05.2009 23:43
what plugin is that?
Dave
#3 18.05.2009 23:45
could u post code? would be much easyer :)
Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
DemptD
#4 18.05.2009 23:49
The code:

<!-- BEGIN: MAIN -->
<table class="cells">

<!-- BEGIN: LIST_ROWCAT -->

<tr>
<td colspan="5" style="background:transparent;" class="{LIST_ROWCAT_ODDEVEN}">
<strong><a href="{LIST_ROWCAT_URL}">{LIST_ROWCAT_TITLE} ...</a></strong><br />
<span class="desc">{LIST_ROWCAT_DESC}</span>
</td>
</tr>

<!-- END: LIST_ROWCAT -->

<tr>
<td class="coltop" colspan="2"><b>Links</b></td>
</tr>

<!-- BEGIN: LIST_ROW -->

<tr>
<td class="{LIST_ROW_ODDEVEN}" width="88"><a href="{LIST_ROW_JUMP}"><img src="{LIST_ROW_EXTRA3}" alt="{LIST_ROW_TITLE}" width="88" height="31" /></a></td>
<td class="{LIST_ROW_ODDEVEN}" style="vertical-align:middle;">
<strong><a href="{LIST_ROW_JUMP}">{LIST_ROW_TITLE}</a></strong><br />
<span class="desc">{LIST_ROW_DESC} ({LIST_ROW_FILECOUNT} {PHP.skinlang.list.hits})</span>
{LIST_ROW_ADMIN}
</td>

</tr>



<!-- END: LIST_ROW -->

</table>
<br>
<table class="cells">
<tr>
<td class="coltop" colspan="2"><b>Link me</b></td>
</tr>

<tr>
<td class="{LIST_ROW_ODDEVEN}" width="88"><a href="index.php"><img src="http://www.demptd.com/datas/users/demptd_88x31_1.gif" width="88" height="31" /></a></td>
<td class="{LIST_ROW_ODDEVEN}" style="vertical-align:middle;">
<strong><a href="index.php">Link me (88x31)</a></strong><br />
<span class="desc">Want to affiliate? Click <a herf="plug.php?e=contactus">here</a></span>
</td>
</tr>

<tr>
<td class="{LIST_ROW_ODDEVEN}" width="88"><a href="index.php"><img src="http://www.demptd.com/datas/users/demptd_88x11_1.gif" width="88" height="11" /></a></td>
<td class="{LIST_ROW_ODDEVEN}" style="vertical-align:middle;">
<strong><a href="index.php">Link me (88x11)</a></strong><br />
<span class="desc">Want to affiliate? Click <a herf="plug.php?e=contactus">here</a></span>
</td>
</tr>

</table>
<!-- END: MAIN -->

Its something i found on neocrome made by tefra, not a plugin just tpl and tags.
list.links.tpl and some more, ill see if i find it :)

Edit: http://neocrome.net/forums.php?m=posts&p=104484#104484
Kingsley
#5 19.05.2009 00:05
why don't u use the little plugin Kilandor made? Works perfectly undder cotonti. and saves you the time spent on coding..

nevermind.. Kilandors plugin does need an update..
Отредактировано: Kingsley (19.05.2009 00:11, 16 лет назад)
Dave
#6 19.05.2009 00:22
i'd just remove "href" from img :p, i doubt if thats cuz u didnt </img>

Kingsley: link ?

EDIT: this is mine list.links.tpl:

Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
DemptD
#7 19.05.2009 00:27
# Kingsley : why don't u use the little plugin Kilandor made? Works perfectly undder cotonti. and saves you the time spent on coding..

nevermind.. Kilandors plugin does need an update..

Didnt code anything, just copy and paste...
Kingsley
#8 19.05.2009 00:35
@ Dave

http://www.ffximc.com/uploads/plugins/ldulinks.rar

this is the link, but when adding a link, it comes with this error:

Fatal error: Call to undefined function sed_bbcode_urls() in /home/ecutionerz/domains/x-ecutionerz.com/public_html/site/plugins/ldulinks/ldulinks.page.links.php on line 56

it also need textboxer2 from seditio, but because I already needed that for XsCCS. I didn't need to upload that.
Dave
#9 19.05.2009 00:51
im not useing that pluging and it works: http://ev.toster.net/list.php?c=links

the code is in my prev post.
Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
Kilandor
#10 19.05.2009 09:09
Eh, you can do everything that plugin does, without it. I made that back when I was a noob :) Everythign it does can be done with TPL :)
pieter
#11 20.05.2009 21:42
The important thing in the link is the
&a=dl

In example above: <a href="page.php?id={LIST_ROW_ID}&a=dl" target="_blank">
... can we help you ...
DemptD
#12 20.05.2009 22:03
Now i have it like this:

<tr>
<td width="88"><img src="{LIST_ROW_EXTRA3}" alt="{LIST_ROW_TITLE}" width="88" height="31" /></td>
<td style="vertical-align:middle;">
<strong><a href="page.php?id={LIST_ROW_ID}&a=dl" target="blank">{LIST_ROW_TITLE}</a></strong><br />
<span class="desc">{LIST_ROW_DESC} ({LIST_ROW_FILECOUNT} {PHP.skinlang.list.hits})</span>
{LIST_ROW_ADMIN}
</td>
</tr>

And it still opens the page...

http://www.demptd.com/list.php?c=links
pieter
#13 20.05.2009 22:12
Stange I have the same problem.

Try this.
First time it opens the page. Second time it opens the link. Third time the page, 4th time the link, ....
... can we help you ...
DemptD
#14 20.05.2009 22:16
# pieter : Stange I have the same problem.

Try this.
First time it opens the page. Second time it opens the link. Third time the page, 4th time the link, ....

Hmm, yes it does that to me also. Thats really weird
Lombi
#15 20.05.2009 22:18
If I'm not mistaken that's due to the referrer protection being up.

You could do it even simpler though. Put the page's URL into one of the extrafields, then just link to that field and you're bypassing the whole page mumbojumbo.

Or you could use plugins for this purpose like xiode's xsaffiliate or the topsite system.
<a href="http://www.domenlo.com">Surreal Art</a>

12>>>