Pixelated a phpBB Template by SkaidonDesigns
 
Kaktusan Corp. Support Area Forum Index
www.kaktusancorp.com
www.cheapestadultscripts.com
Play with the Best, be the Best!
Cheapest Web Software
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Blogs Organizer
Blogs Organizer
Links Organizer
Links Organizer
Blogs Automater
Blogs Automater
Rocket Pinger
Rocket Pinger

Haven't registered yet? Do it here now!
link formatting question

 
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Site Organizer
View previous topic :: View next topic  
Author Message
dood



Joined: 31 Jul 2006
Posts: 6

PostPosted: Tue Aug 08, 2006 7:17 pm    Post subject: link formatting question Reply with quote
I need to add a single link for each niche to a script so when a niche link is clicked it will send the surfer to a random gallery in that niche.

Like if you click on "amateurs" it will direct you to a random gallery from the amateurs niche. What link format do I need to use?

Should it be like,
%%galleries,text,1,amateurs%%
-or-
http://domain.com/so/soout.php?niche=amateurs&togallery=random

Sorry, I am helping a friend and don't have access to the SO admin so I'm not sure exactly how it works.
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Wed Aug 09, 2006 12:43 pm    Post subject: Reply with quote
hi there, well there isn't such an option yet in the script to do it directly.
Anyways as i have said SO is pretty flexible script and already with tons of features, and most times there is workaround for everything you need to do.

In your case i think the following would do the work:
%%rgalleries,1-1,Babe Gallery,babes%%

We use the "rgalleries" format, which pulls random gallery from the text galleries database and provides the ability to put your own description.
So use the token i stated above and just replace "Babe Gallery" with the name of your niche as it should be displayed on the site, and the "babes" to specify the niche from which the script should pull the gallery from.

Let me know..

Thanks!
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
dood



Joined: 31 Jul 2006
Posts: 6

PostPosted: Wed Aug 09, 2006 7:52 pm    Post subject: Reply with quote
I think the template is rejecting the javascript. I'm using a drop down to select niches and when clicked it replaces "+ cat +" and should direct you to a random gallery in that niche but maybe I did something wrong?

Like this...

Code:

  <select name="select"  id="opt" onChange="go();">
<?php 

$cats[] = "amateurs";
$cats[] = "Asian";
$cats[] = "Anal";
$cats[] = "Babes";


    echo '<option value="Select">Select</option>';
foreach($cats as $cat){
    echo '<option value="' . $cat . '">' . $cat . '</option>';
}   
 
?> 
  </select>


<script language="javascript">
function go()
{

   id = document.getElementById("opt");
   cat = id.value;
   if(cat=="Select")
   {
      return;
   }
   
   url = "%%rgalleries,1-1,Amateurs," + cat + "%%";
   
   window.open(url);
}
</script>
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Fri Aug 11, 2006 1:12 am    Post subject: Reply with quote
well, i don't some something wron in here, that SO should reject as you say. Whats exactly the error when you save this into your template?

Thanks!
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
dood



Joined: 31 Jul 2006
Posts: 6

PostPosted: Fri Aug 11, 2006 2:04 pm    Post subject: Reply with quote
I don't have access to the SO admin so I didn't get to see the errors, but we just wrote a script to connect to the db which adds links for all available niches and each click on each niche name produces a random gallery link for that niche. Works great.

You don't have to answer this part below, it just helps to think out loud sometimes. The answers are already there but I haven't looked for them yet.

Since I don't have access to the admin I'm not sure how to add the ucj link code to gallery links. Whether you add it on a template page directly or if it is defined within the SO script with a prefix and suffix.

Maybe like,
/cgi-bin/ucj/c.cgi?u=%%URL%%&p=80&l=gallery (in the template)
/cgi-bin/ucj/c.cgi?u= (prefix in the script settings)

Thanks for the help, SO is a really nice program.
Back to top
View user's profile Send private message

Author Message
kaktus
Owner


Joined: 22 May 2004
Posts: 1576
Location: CheapestAdultScripts.com

PostPosted: Fri Aug 11, 2006 7:26 pm    Post subject: Reply with quote
hi there, thats cool you managed it by yourself Smile
As i have been always saying, just be creative and you can do really lots of things with SO.

So are you having any problems, questions again?

Thanks!
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Kaktusan Corp. Support Area Forum Index -> Site Organizer All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group


 
phpBB Template designed by SkaidonDesigns