Page 1 of 1

SPONSOR_LOGO problems

Posted: Thu Mar 21, 2013 9:35 pm
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>

Re: SPONSOR_LOGO problems

Posted: Thu Mar 21, 2013 9:35 pm
by Prefect
I am on 49, btw.

Re: SPONSOR_LOGO problems

Posted: Thu Mar 21, 2013 9:39 pm
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?

Re: SPONSOR_LOGO problems

Posted: Fri Mar 22, 2013 1:09 pm
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

Re: SPONSOR_LOGO problems

Posted: Fri Apr 05, 2013 7:40 pm
by admin
Sorry for delay, fixed.

Re: SPONSOR_LOGO problems

Posted: Fri Apr 05, 2013 9:03 pm
by Prefect
great, how do i update my script to the latest version with the fix in it?

Re: SPONSOR_LOGO problems

Posted: Fri Apr 05, 2013 9:25 pm
by admin

Re: SPONSOR_LOGO problems

Posted: Fri Apr 05, 2013 11:29 pm
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?

Re: SPONSOR_LOGO problems

Posted: Sat Apr 06, 2013 4:13 am
by admin
It is fixed in 49.