GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   need help with ssi (https://gfy.com/showthread.php?t=149876)

easyfun 07-04-2003 10:33 PM

need help with ssi
 
It's a simple enough code - But I can't get it right!
I need ssi for affiliate to be able to add their referral codes direct to links.

Webby 07-04-2003 10:35 PM

Quote:

ssi for affiliate to be able to add their referral codes direct to links.
Tell some more stuff and may be able to help...

easyfun 07-04-2003 10:42 PM

Hosted galleries -
At the moment, affilates have to use the ccbill redirect + the full path to the gallery.
This becomes a very long link which breaks down if someone wishes to use the galleries on some cju sites.

So I need to make the galleries with all links in place - and for the ssi to write in the partner's code -
This will allow for the partner to then simply link to the gallery

Webby 07-04-2003 10:53 PM

Quote:

So I need to make the galleries with all links in place - and for the ssi to write in the partner's code -
This will allow for the partner to then simply link to the gallery
OK.. got ya! Wondering how SSI can do this - gotta say I ain't got a clue!! Sounds like more than SSI alone can handle....

OK!... Who knows how to do this???

easyfun 07-04-2003 10:56 PM

Richard - (Richards Realm) Gave me this yesterday:

http://www.site.com/gallery.shtml?affiliateID=1234

And then have the SSI command on all you banners to insert the query string,
so links would be like this:

<a href="http://www.site.com/track.cgi?<!--#echo var=QUERY_STRING -->">

This ought to print out:

<a href="http://www.site.com/track.cgi?affiliateID=1234">

But it doesn't work - And Richard is now on holiday - So no help there!
I am sure I need links which contain %% for the affiliate number to drop in

Webby 07-04-2003 11:11 PM

php sounds easier.... what is the track.cgi doing?? Presumably tracking... is it doing something else?

easyfun 07-04-2003 11:12 PM

Thanks Uproared -

This looks the easiest way - I will shop around for someone to write the proceedures in php

easyfun 07-04-2003 11:22 PM

http://www.harlotgirl.com/TGP/stockings/042/

I a gallery - I know little about php - But I thought I would need a script that would need to work alongside - (Setting permissions etc)

Mr.Fiction 07-04-2003 11:24 PM

Here is how you can do it in SSI:

file.shtml?affiliate-code-here

Inside the document, use this:

url.com/< !--#echo var="QUERY_STRING" -- >

(remove the spaces at the start and end)

The SSI document will echo the variable where you tell it to.

You can do more complex variable stuff, just look on Google:

http://www.google.com/search?hl=en&l...q=ssi+echo+var

easyfun 07-05-2003 12:57 AM

I feel a right twat sometimes!

I use ssi for adding links etc - When I tried this a couple of days ago - Front Page gave an error ( showed "> ) in preview -

Richar and you (Mr. Fiction) both gave me the same as I was trying -

The the Mrs said - Probably FP doesn't understand it - Try it on a server - Did - And works perfectly!

Many thanks for all your help!:thumbsup


All times are GMT -7. The time now is 11:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123