SPONSOR_LOGO problems

Post Reply
Prefect
Posts: 11
Joined: Fri Feb 08, 2013 12:37 am

SPONSOR_LOGO problems

Post by Prefect »

hi there,
I'm trying to build a directory of my sponsors, and the <!--SPONSOR_LOGO--> variable is returning the same 000.jpg for all my sponsors. I have verified that the logo's were uploaded successfully for the sponsors and exist on the server.

template code:

Code: Select all

<!--INCLUDE_TEMPLATE_header-->

<div class="thumbs<?php if ($_GET['content_type'] == 'flash') {?> movies<?php } ?>"><div class="thumbs_wrap">
    <sponsors order=alphabet num=1-120>
    <a href="/sponsor/<!--SPONSOR_SLUG-->/" title="<!--SPONSOR_NAME-->"><img src="<!--SPONSOR_LOGO-->" alt="<!--SPONSOR_TITLE-->" /><em><!--SPONSOR_NAME--></em></a></li>
    </sponsors>
</div></div>

<!--INCLUDE_TEMPLATE_bottom-->
output - note that they all call 0/000.jpg:

Code: Select all

<div class="thumbs"><div class="thumbs_wrap">

    <a href="/sponsor/bbw-sandwich/" title="BBW Sandwich"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="BBW Sandwich" /><em>BBW Sandwich</em></a></li>

    <a href="/sponsor/busty-amateurs/" title="Busty Amateurs"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Hot Busty Amateurs getting naked on camera" /><em>Busty Amateurs</em></a></li>

    <a href="/sponsor/cosmid/" title="Cosmid"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Free Cosmid Porn Videos and Pictures" /><em>Cosmid</em></a></li>

    <a href="/sponsor/ddfbusty/" title="DDF Busty"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Free DDF Busty porn pics" /><em>DDF Busty</em></a></li>

    <a href="/sponsor/divine-breasts/" title="Divine Breasts"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Huge sexy natural tits" /><em>Divine Breasts</em></a></li>

    <a href="/sponsor/melons-tv/" title="Melons TV"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Melons TV" /><em>Melons TV</em></a></li>

    <a href="/sponsor/my-big-exgirlfriend/" title="My Big ExGirlfriend"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Free My Big ExGirlfriend porn pics" /><em>My Big ExGirlfriend</em></a></li>

    <a href="/sponsor/plumper-pass/" title="Plumper Pass"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Free Plumper Pass porn pics" /><em>Plumper Pass</em></a></li>

    <a href="/sponsor/sarah-randall/" title="Sarah Randall"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Busty Sarah Randall" /><em>Sarah Randall</em></a></li>

    <a href="/sponsor/scoreland/" title="Scoreland"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Big tits from Scoreland" /><em>Scoreland</em></a></li>

    <a href="/sponsor/xlgirls/" title="XL Girls"><img src="/scj/thumbs/sponsor_images/0/000.jpg" alt="Free XL Girls Porn Videos and Photos" /><em>XL Girls</em></a></li>

</div></div>
Prefect
Posts: 11
Joined: Fri Feb 08, 2013 12:37 am

Re: SPONSOR_LOGO problems

Post by Prefect »

I am on 49, btw.
Prefect
Posts: 11
Joined: Fri Feb 08, 2013 12:37 am

Re: SPONSOR_LOGO problems

Post by Prefect »

while we're on the topic, instead of using the SPONSOR_LOGO variable, is there a way that I could just use the thumb with the highest CTR from that sponsor for this directory?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: SPONSOR_LOGO problems

Post by admin »

Hi, i've forwarded this issue to tracker, i'll let you know asap

best thumb - using this kind of iteration - no
you'll have to add like

<thumb sponsor_id=1 num=1></thumb>
<thumb sponsor_id=2 num=1></thumb>

and so on
Don't forget to run script update
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: SPONSOR_LOGO problems

Post by admin »

Sorry for delay, fixed.
Don't forget to run script update
Prefect
Posts: 11
Joined: Fri Feb 08, 2013 12:37 am

Re: SPONSOR_LOGO problems

Post by Prefect »

great, how do i update my script to the latest version with the fix in it?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: SPONSOR_LOGO problems

Post by admin »

Don't forget to run script update
Prefect
Posts: 11
Joined: Fri Feb 08, 2013 12:37 am

Re: SPONSOR_LOGO problems

Post by Prefect »

ok, just so i'm clear.

i'm running Update 49, that is the most recent it looks like.

but you fixed the code in update 50? which is not available right now, right?

or do I jsut run the update again, even though I'm already on 49?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: SPONSOR_LOGO problems

Post by admin »

It is fixed in 49.
Don't forget to run script update
Post Reply