Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-08-13 03:46:41

ebizzz
Banned
Registered: 2011-05-14
Posts: 25

Newest/Random Pornstar on index ?

Hi,
just playing around with ASP and though it would be nice to have the Random Pornstar on the index page.

Anyone have the code for it ?

Thanks.

Offline

#2 2011-08-13 07:17:24

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Newest/Random Pornstar on index ?

Its easy to add, i have it one on my sites, but i didnt think its required in the default script. Basically it would go something like this:

$db->query("SELECT m.model_id, m.name, m.slug, m.ext
FROM #___model AS m
ORDER BY m.total_views DESC
LIMIT 4");
$pornstars = $db->fetch_rows();
$tpl->pornstars = $pornstars;

And in the template, just check how its done in pornstars.tpl.php and you add the same
on the frontpage.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-08-15 21:10:37

ebizzz
Banned
Registered: 2011-05-14
Posts: 25

Re: Newest/Random Pornstar on index ?

symtab wrote:

Its easy to add, i have it one on my sites, but i didnt think its required in the default script. Basically it would go something like this:

$db->query("SELECT m.model_id, m.name, m.slug, m.ext
FROM #___model AS m
ORDER BY m.total_views DESC
LIMIT 4");
$pornstars = $db->fetch_rows();
$tpl->pornstars = $pornstars;

And in the template, just check how its done in pornstars.tpl.php and you add the same
on the frontpage.


Thanks i'll look into it when i have some free time smile

Offline

#4 2013-10-17 12:31:52

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: Newest/Random Pornstar on index ?

is it possible that i can put it also into the default_pink

Offline

#5 2013-10-17 18:15:59

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: Newest/Random Pornstar on index ?

hi i'm trying to put it into my frontpage but what is the html.

i think this isn't good to insert it into my frontpage.tpl

$db->query("SELECT m.model_id, m.name, m.slug, m.ext
FROM #___model AS m
ORDER BY m.total_views DESC
LIMIT 4");
$pornstars = $db->fetch_rows();
$tpl->pornstars = $pornstars;

Offline

#6 2013-10-18 06:03:05

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Newest/Random Pornstar on index ?

You probably need custom css, because the styles for the pornstars are in a separate css file.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2013-10-18 23:32:17

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: Newest/Random Pornstar on index ?

yes, how can i change it, i don;t know what i need to pick from the scripts.

Offline

#8 2014-09-13 00:42:12

donronca
Member
From: The Netherlands
Registered: 2012-12-27
Posts: 317
Website

Re: Newest/Random Pornstar on index ?

I still can't get this right.

i want that everytime the page getting refreshed there will be left on the frontpage be a pornstar.

do any one have please some How To?

greets

Offline

Board footer

Powered by FluxBB