PDA

View Full Version : UCJ 4 Question


EricTheRed
01-28-2001, 11:30 AM
How/where do I define the actual names of multiple main pages? I found the button to define the number of main pages, but I don't know where to define the names of them http://bbs.adultwebmasterinfo.com/ubb/frown.gif

Eric

Crysty
01-28-2001, 03:04 PM
Step 1.Go to Setting and for Number of main pages put 2 or 3 or how many pages you want/

Step 2. Create main1.html, main2.html... and put them on your server.
Note : Don't put that line with ucjref.cgi in those pages !


Step 3. Create your index.shtml and put this code:

<html>
<SCRIPT language="JavaScript">
<!--
referrer = parent.document.referrer;
if (!referrer) { referrer = 'noref' }
if (!document.cookie) { document.cookie = referrer + '; path=/;'}
// -->
</SCRIPT>
<frameset rows="0,*" frameborder=no border=0 framespacing=0 LEFTMARGIN="0">
<frame src="blank.html">
<!--#exec cmd="/home/underporn/underporn.com/cgi-bin/ucj4/ucjrefm.cgi"-->
</frameset>
<noframes>
<body>
<a href="main1.html">Click to Enter</a>
</body>
</noframes>
</html>

I used my server path, replace it with yours.
Notice I wrote ucjrefm.cgi, it's not a typo !

When your page is loading, the line <!--#exec cmd="/home/underporn/underporn.com/cgi-bin/ucj4/ucjrefm.cgi"--> is replaced with something like
<frame src="mainX.html">, where X is determined by the script, so it can be main1.html, main2.html ...

The frame <blank.html> is used for compatibility, on my netscape if I put a frameset with a single frame, it's not working, so you also have to put an empty file on your server blank.html

EricTheRed
01-28-2001, 04:35 PM
Crysty

Thanks for the info http://bbs.adultwebmasterinfo.com/ubb/smile.gif

Eric