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)
-   -   Help finding a script (https://gfy.com/showthread.php?t=734425)

SNL 05-18-2007 02:26 PM

Help finding a script
 
I am looking for a tgp script that will keep the galleries in a frame. Instead of sending the surfer off to another site. I want the frame to show the same link.

Does anyone know of any script around that will do this?

thanks

Vendzilla 05-18-2007 03:22 PM

look at my site at http://n2sexxx.com , notice the mini gallery at the top when you go to a gallery

RevSand 05-18-2007 03:28 PM

Quote:

Originally Posted by Vendzilla (Post 12454622)
look at my site at http://n2sexxx.com , notice the mini gallery at the top when you go to a gallery

Thats pretty spiffy! That all custom or built within another script?

Vendzilla 05-18-2007 03:33 PM

Quote:

Originally Posted by RevSand (Post 12454651)
Thats pretty spiffy! That all custom or built within another script?

This is a prototype for comus, Our in-house designer Duncan will be offering these to everyone soon, it's all done in CSS and is more than a tgp, it's more of a porn directory now. I'm still populating it with more galleries, to make it work right, I figure I'll need at least 20k galleries in my database. One of my other mgp's has 18k galleries, so it will just take a little time..

SmokeyTheBear 05-18-2007 03:46 PM

like google images kinda ?

Vendzilla 05-18-2007 03:48 PM

Quote:

Originally Posted by SmokeyTheBear (Post 12454733)
like google images kinda ?

except all hosted galleries we make money off of!

SmokeyTheBear 05-18-2007 04:08 PM

ill show you a very simple way of doing it..

first save this as index.php and place in a folder

for exaples sake lets say this is "http://yoursite.com/smokey/index.php"

Code:

<?php
$x = $_GET['x'];
$x = str_replace("stband","&",$x);
$x = str_replace("stbque","?",$x);
$x = str_replace("stbequ","=",$x);

?>
<center>YOUR ADS<br><br>
<iframe src=<?php echo $x; ?> width=800 height=1000></iframe>

ok now heres how you call your links

first place this script anywhere on the main page of your tgp ( idit where it says yoursite.com to your site )

Code:


<script>
function stbgo(URL){


URL = URL.split("&").join("stband");
URL = URL.split("?").join("stbque");
URL = URL.split("=").join("stbequ");
make = "http://yoursite.com/smokey/?x=" + URL ;
window.open(make,"_blank");
}
</script>

then call your links like this

<a href='javascript:stbgo("http://gallys.nastydollars.com/es/5/?id=yourid")'>open gallery</a>

this will basically make a wrapper for every outgoing link

SmokeyTheBear 05-18-2007 04:12 PM

keep in mind using an iframe like i did in the example wouldnt be a very good idea, better to use a true frame like above, you should be able to figure it out from the example above how to change it.

Vendzilla 05-18-2007 04:35 PM

it's a little more involved than that, the mini tgp at the top are hooked up to galleries in my database, the whole thing is counted in my stats and generated dynamically. It took tony a while to make it so that this can be installed easily, but I'll forward that code to Tony, thanx

SmokeyTheBear 05-18-2007 07:53 PM

Quote:

Originally Posted by Vendzilla (Post 12454918)
it's a little more involved than that, the mini tgp at the top are hooked up to galleries in my database, the whole thing is counted in my stats and generated dynamically. It took tony a while to make it so that this can be installed easily, but I'll forward that code to Tony, thanx

i didnt mean to imply that my script did everything yours does , was just showing SNL how you can show your outgoing galleries inside a dynamic built frame so you dont have to build a new one for every fhg.
the method can be used with all trade scripts as well

SNL 05-18-2007 07:58 PM

Is there a way to add create a broken link notifier. If the gallery does not work then the surfer can send a notice to the admin?

wyldworx 05-18-2007 08:00 PM

Quote:

Originally Posted by Vendzilla (Post 12454622)
look at my site at http://n2sexxx.com , notice the mini gallery at the top when you go to a gallery

very nice work, nice design, great loading speed and keeps them coming back. Noice!!!!!:thumbsup

SmokeyTheBear 05-18-2007 11:10 PM

Quote:

Originally Posted by SNL (Post 12455425)
Is there a way to add create a broken link notifier. If the gallery does not work then the surfer can send a notice to the admin?

sure on the above page the frame is on try modify it like this

Code:

<?php
$x = $_GET['x'];
$y = $x;
$x = str_replace("stband","&",$x);
$x = str_replace("stbque","?",$x);
$x = str_replace("stbequ","=",$x);

?>
<center>YOUR ADS<br><br>
<a href=remove.php?x=<?php echo $y; ?>Report bad gallery</a>

<br>
<iframe src=<?php echo $x; ?> width=800 height=1000></iframe>

then make a file called remove.php put in same directory and put the following code inside

Code:


<?php
$x = $_GET['x'];
$yfil = "remove.txt";
$svid = file_get_contents($yfil);
$towrite = "$svid\n$x";
$fh2 = fopen($yfil, 'w+');
fwrite($fh2, $towrite);
fclose($fh2);
echo "Gallery removed , thanks for reporting it";
?>

then make a file called remove.txt and chmod it to be writeable

wyldworx 05-18-2007 11:15 PM

smokey cannot be beaten. You are fuckable in the mind, bvut i am not a homo. Have you thought of changing to the world of femme? Then you could be my script bitch any day!!! Luv ya work mate!

SmokeyTheBear 05-18-2007 11:17 PM

Quote:

Originally Posted by wyldworx (Post 12455866)
smokey cannot be beaten. You are fuckable in the mind, bvut i am not a homo. Have you thought of changing to the world of femme? Then you could be my script bitch any day!!! Luv ya work mate!

heh well its not like its very good code to be honest , just some basic stuff, i guess what sets me apart is most people who know couldnt give a shit to help those who dont .. :thumbsup

zeruel 05-18-2007 11:23 PM

do you think framsets are advisable?

SNL 05-19-2007 08:43 AM

Are there any hotscripts program that can do all this frameset stuff? Or an off the shelf scripts someplace?

Vendzilla 05-19-2007 08:53 AM

I believe there is a way to put in a link for for broken links within the template section, I'll have to look into that. But being all josted galleries on my tgp, I wouldn't need that, hopefully!!


All times are GMT -7. The time now is 03:52 PM.

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