PDA

View Full Version : Advert thumbs


V_RocKs
09-01-2004, 03:46 AM
How do I make them work? I added some and in my admin panel when I view them I don't get a little box to check off to delete them. Well, on the first one I do. Not on the others. On the others I get a > symbol right after the pic which tells me that most likely some other data isn't being written to the screen for some reason.

Here is the source code of the page for that section:
<form action=admin.php?do=processAdvert method=post><table align=center><tr><td>http://www.rhinosthumbs.com/tthumbs/a1246f569071.jpg (thumbs.php?pct=5&link=adv&url=http://signups2.triplexcash.com/gal/102369/2/1089840413)
<input type=checkbox name=adv></td>
<td><a href="thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=bid%26r=jayjmcgh
<input type=checkbox name=rev%26g=001">http://www.rhinosthumbs.com/tthumbs/e0845f024584.jpg</a>></td>
<td><a href="thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=bid%26r=jayjmcgh
<input type=checkbox name=rev%26g=053">http://www.rhinosthumbs.com/tthumbs/57a81e99bb8f.jpg</a>></td>
<td><a href="thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=jor%26r=jayjmcgh
<input type=checkbox name=rev%26g=060">http://www.rhinosthumbs.com/tthumbs/d837fe4c8b9b.jpg</a>></td>
</tr><tr><td><a href="thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=jor%26r=jayjmcgh
<input type=checkbox name=rev%26g=048">http://www.rhinosthumbs.com/tthumbs/066493d76fc8.jpg</a>></td>
<td><a href="thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=ts%26r=jayjmcgh
<input type=checkbox name=rev%26g=048%26nc=1">http://www.rhinosthumbs.com/tthumbs/6d1e5f305fe0.jpg</a>></td>
</tr></table><center><input type=submit name=delete value=Delete></center></form>

Notice it is missing a


<input type=checkbox name=adv

Next... I looked at the db file for the advert thumbs...

http://www.rhinosthumbs.com/tthumbs/a1246f569071.jpg (thumbs.php?pct=5&link=adv&url=http://signups2.triplexcash.com/gal/102369/2/1089840413)|adv
http://www.rhinosthumbs.com/tthumbs/e0845f024584.jpg (thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=bid%26r=jayjmcgh|rev%26g=001)|adv1
http://www.rhinosthumbs.com/tthumbs/57a81e99bb8f.jpg (thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=bid%26r=jayjmcgh|rev%26g=053)|adv1
http://www.rhinosthumbs.com/tthumbs/d837fe4c8b9b.jpg (thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=jor%26r=jayjmcgh|rev%26g=060)|adv1
http://www.rhinosthumbs.com/tthumbs/066493d76fc8.jpg (thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=jor%26r=jayjmcgh|rev%26g=048)|adv1
http://www.rhinosthumbs.com/tthumbs/6d1e5f305fe0.jpg (thumbs.php?pct=5&link=adv1&url=http://www.lightspeedcash.com/fhg.php%3Fs=ts%26r=jayjmcgh|rev%26g=048%26nc=1)|ad v1

Notice the first one ends in adv and the others in adv1
Not sure if thats a problem.

But here is the test page:
http://www.rhinosthumbs.com/advert.html

Depending on the casting, it might have the first advert thumb in the first box. Otherwise it will put the first regular thumb in the advert box.

A code sample from the template:
<td width="28%" align="center" colspan=2 rowspan=2></td>
<td width="14%" align="center"></td>
<td width="14%" align="center"></td>

I have tried many different combinations of crap to hopefully cast a magic spell and make it work. Nothing worked... Alternate tries were:





And none of them worked either.

Dichotomy
09-01-2004, 03:48 AM
thats the correct tag for advert galleries. they go without numbering, so on your template place them like I posted.

V_RocKs
09-01-2004, 03:51 AM
<td width="28%" align="center" colspan=2 rowspan=2></td>
<td width="14%" align="center"></td>
<td width="14%" align="center"></td>

I did, I am... and it still isn't working... Can it be because I am using them on a second page (to test them)?

V_RocKs
09-01-2004, 03:52 AM
Quick, go there now.. the first one is showing... the others are not... WHY? Could it have something to do with the DB?
And why are the deletion boxes not there in the admin?

Dichotomy
09-01-2004, 04:32 AM
problem is in LS gallery:

<a href="thumbs.php?pct=5&link=adv2&url=http://www.lightspeedcash.com/fhg.php%3Fs=bid%26r=jayjmcgh|rev%26g=001">

that "jayjmcgh|rev" part - character | is in conflict.

anyway, I replaced them with _ in all those galleries. they dont work now on site, but you can remove them.

you should open that LS gallery url in browser - notice that it decodes to something different than listed. use that link on FHG/advert thumbs - edit adv_img.cfg and replace urls with decoded ones.

V_RocKs
09-01-2004, 07:44 PM
Thanks for the quick response!