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.

#101 Re: Troubleshooting » Can't figure this thing out » 2014-07-31 23:02:31

You requested FTP and I sent you along with my upload guidelines e-mail few days back.

#102 Re: Feature Requests » View counter increases on page refresh » 2014-07-31 23:01:29

Oh I see and you do have a valid point with the IP limit by can it be something like this:

User A refreshes page 100 times in under 10 minutes; View counter goes up by 1.

Basically, setting some sort of time limit.  Or something like you need to stay on the page for like 30 seconds before a view is counted.

Sounds more like a feature request now big_smile

#104 Feature Requests » Bots Group » 2014-07-31 15:15:57

Jacob
Replies: 1

Since in the next major release, we can control the permissions of a group. I was wondering how about implementing something like the MyBB forums software. In the backend, you manually add search engine bots but adding their queries,strings, etc then you can assign them to a group. In the group, you can decide which places the bot can visit.

It was helpful in cases where the bots can go to some pages which were only allowed to be viewed by Registered members and not guests. Honestly, it helped me a lot in the past with SEO.

#105 Feature Requests » View counter increases on page refresh » 2014-07-31 15:04:11

Jacob
Replies: 4

I noticed that if you keep refreshing the video page, the video views counter will go up. So that means even if someone doesn't even watch the video, the view counter will go up.

#107 Re: Bug Reports » [FIXED IN 1.0.11] You are already logged in bug » 2014-07-25 14:18:54

symtab wrote:

I have just tested and i cannot reproduce this bug.

http://i59.tinypic.com/9jqbfc.png
http://i59.tinypic.com/zyjdc2.png

Change upload permission from "Registered" to "Moderator" then try accessing domain.com/upload

#108 Re: Bug Reports » [FIXED IN 1.0.11] You are already logged in bug » 2014-07-24 13:39:31

Has nothing to do with clearing cache. I confirmed this bug on Firefox and I have personally manually configured Firefox. Plus I even tried earlier clearing the cache, didn't help.

When you log out as Admin from the backend, you get logged out on the frontend too. But this bug I'm speaking of was tried on various ASP sites where I newly signed up and went straight to the upload page and got that message. After speaking to the webmasters, they said they only Premium or above are allowed to upload while my accounts status was registered.

#109 Re: Troubleshooting » Adding your own payment method? » 2014-07-19 13:40:31

I know CCBill accepts adult content but they don't accept my country.

To integrate Bitcoins, which files do I need to edit or any tips on where to begin from?

#110 Troubleshooting » Adding your own payment method? » 2014-07-18 13:57:54

Jacob
Replies: 11

I can't accepted to CCBill and PayPal doesn't allow Adult content so I was wondering how can I add Payoneer and Bitcoins to this system as a payment method?

#111 Re: Troubleshooting » Does deleting pornstar delete all data? » 2014-07-18 13:52:55

That's true but I just wanted to be on the safe side but removing all the unnecessary files.

#112 Re: Troubleshooting » How to add upload guidelines? » 2014-07-18 13:51:25

You're right! I sent you an e-mail from a different account, I apologize. I have sent you an e-mail from the e-mail I have on my account here.

#114 Re: Troubleshooting » Does deleting pornstar delete all data? » 2014-07-18 13:02:33

Thanks but I have already deleted about 500 pornstars which I once imported from a list, would the update get rid of the already deleted ones?

#115 Re: Troubleshooting » Does deleting pornstar delete all data? » 2014-07-17 17:47:04

symtab wrote:

Database and picture.

Sorry to bring this up again but I delete a pornstar about 48+ hours ago, their entry from the database is removed but their picture is still in /media/pornstars/

I even tried running the "Rebuild Pornstars" button.

#116 Re: Troubleshooting » Can't figure this thing out » 2014-07-17 14:43:36

Oh I see. Thanks for the tip and I have sent you the FTP log in earlier today.

#117 Troubleshooting » Can't figure this thing out » 2014-07-17 01:31:29

Jacob
Replies: 7

How do I make PayPal a payment method, not just a payment processor? Every time I try adding PayPal as a payment method, I get the following error:

Query: INSERT INTO payment_methods SET name = 'PayPal', description = 'Make payments through PayPal.', slug = 'pp', translation = 'paypal', gateway_id = 1, mobile = '0', orig_id = '', status = '1'
Error Message: Unknown column 'orig_id' in 'field list'
Error Number: 1054


Also, I see CCBill is already a payment method and a payment processor but when I append the slug such as CC and CCBill on my domain, they return a 404 error. Example: domain.com/cc and domain.com/ccbill. Basically, how do I make a member go to the subscription page to make a purchase?

#118 Re: Feature Requests » Video Flagged Notice » 2014-07-16 14:34:23

Thanks Thiva7 and Symtab for confirming

#119 Re: Bug Reports » [FIXED IN 1.0.11] You are already logged in bug » 2014-07-16 14:31:19

Sure.

Step 1
Go to ACP>Video Config>Upload

Change the upload permission from "All" or "Registered" to "Admin".

Step 2

Log in to the website from an account of which the group is Registered or anything below "Admin".

Step 3

Go to domain.com/upload or click on the upload option then you would notice that you are immediately directed to the index page with a new alert saying "You are already logged in"

#120 Re: Troubleshooting » How to add upload guidelines? » 2014-07-16 14:28:25

I believe so. I went to templates/default-pink/video_upload.tpl.php and at the very bottom, I saw the following code:

<div id="right" class="width-310">
			<div class="content-box">
				<div class="content-box-title"><?php echo __('upload-guidelines'); ?></div>
				<div class="content">
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>

What I'm doing to add some upload guidelines is the following:

<div id="right" class="width-310">
			<div class="content-box">
				<div class="content-box-title"><?php echo __('upload-guidelines'); ?></div>
				<div class="content">
<p>Rule #1</p>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>

#121 Re: Troubleshooting » Does deleting pornstar delete all data? » 2014-07-16 14:22:49

Oh, I wasn't aware of that feature. Thanks big_smile

#122 Troubleshooting » How to add upload guidelines? » 2014-07-16 02:15:05

Jacob
Replies: 9

Reference: http://forum.adultscriptpro.com/viewtopic.php?id=957

I went to video_upload.tpl.php and found that code at the very bottom of the page, I tried almost every solution I could think of but the text won't just get added.

#123 Bug Reports » [FIXED IN 1.0.11] You are already logged in bug » 2014-07-16 01:59:21

Jacob
Replies: 9

If you do not have the upload permissions then instead of providing an error, on the index page it says "You are already logged in".

Example: If only admins can upload videos and if a registered member goes on domain.com/upload then it will force them to the index/frontpage with a alert message in green saying "You are already logged in" instead of saying "You can not access this page" or "You do not have the permission(s) to access this page".

#124 Re: Troubleshooting » Multi-server question » 2014-07-16 01:03:27

Thanks for answering my questions Franz and Symtab. I'm very thankful.

#125 Troubleshooting » Tried customizing filter but broke the script » 2014-07-16 01:02:12

Jacob
Replies: 0

Hi,

I was wondering if someone can please fix this script up for me.

<?php defined('_VALID') or die('Restricted Access!'); ?>
	<div id="page">
		<div id="left" class="width-200">
			<div class="content-box">
				<div class="content-box-title"><?php echo __('top-10'); ?></div>
				<div class="content">
					<?php if ($this->popular): ?>
					<ul class="links">
					<?php foreach ($this->popular as $model):
						echo '<li><a href="',RELATIVE_URL,'/pornstar/',$model['slug'],'/" title="View ',e($model['name']),' bio!">',e($model['name']),'</a></li>';
					endforeach; ?>
					</ul>
					<?php else: ?>
					<div class="none"><?php echo __('no-popular'); ?></div>
					<?php endif; ?>
				</div>
			</div>
			<?php echo p('adv', 'pornstar-browse-left'); ?>
		</div>
		<div id="right" class="width-760">
			<div class="content-box">
				<div class="content">
					<div id="pornstar-nav">
						<ul>
							<li class="legend"><?php echo __('browse-title'); ?>:</li>
							<li><a href="<?php echo RELATIVE_URL; ?>/pornstar/"<?php if ($this->letter == 'all'): echo ' class="active"'; endif; ?> title="<?php echo __('all-help'),'">',__('all'); ?></a></li>
							<?php foreach ($this->letters as $letter): ?>
							<li><a href="<?php echo build_url('', 1, $letter); ?>"<?php if ($this->letter == $letter): echo ' class="active"'; endif; echo ' title="',__('letter-help', array($letter)),'">',strtoupper($letter); ?></a></li>
							<?php endforeach; ?>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div class="content-box">
				<div class="content-box-title-left"><?php echo strtoupper($this->title); ?></div>
                                
                                
                                <div id="menu-pornstar">
	<ul id="menuTop" class="level1">
		
            <li><span class="heading"><?php echo __('recent'); ?><!--<span class="arrowFilters"></span>--></span>
                    
			<ul class="dropdown d1">
				<li><a href="<?php echo build_url('recent', 1, $this->letter),'"'; if ($this->order == 'recent'): echo ' class="active"'; endif; echo '>',__('recent'); ?></a> </li><!-- &middot; -->
                                                   <li><a href="<?php echo build_url('popular', 1, $this->letter),'"'; if ($this->order == 'popular'): echo ' class="active"'; endif; echo '>',__('popular'); ?></a> </li>
						<li><a href="<?php echo build_url('favorites', 1, $this->letter),'"'; if ($this->order == 'favorites'): echo ' class="active"'; endif; echo '>',__('most-favorites'); ?></a> </li>
						<li><a href="<?php echo build_url('rated', 1, $this->letter),'"'; if ($this->order == 'rated'): echo ' class="active"'; endif; echo '>',__('top-rated'); ?></a> </li>
						<li><a href="<?php echo build_url('discussed', 1, $this->letter),'"'; if ($this->order == 'discussed'): echo ' class="active"'; endif; echo '>',__('most-discussed'); ?></a></li> 
						<li><a href="<?php echo build_url('name', 1, $this->letter),'"'; if ($this->order == 'name'): echo ' class="active"'; endif; echo '>',__('alphabetically'); ?></a></li>
			</ul>
		</li>
		
		
		
	</ul>
</div>
                                
				<a href="<?php echo RELATIVE_URL; ?>/pornstar/rss/<?php echo $this->order; ?>/" class="rss"><img src="<?php echo TPL_REL; ?>/images/feed.png" alt="RSS Feed" border="0" /></a>
				<div class="content clear">
                                    
                                    
                                    
					<div class="content-menu">
                                           
                                            
                                            
                                               <!-- <ul class="onclick-menu-content">
                                                    
                                                <li><a href="<?php echo build_url('recent', 1, $this->letter),'"'; if ($this->order == 'recent'): echo ' class="active"'; endif; echo '>',__('recent'); ?></a> </li> &middot; 
                                                   <li><a href="<?php echo build_url('popular', 1, $this->letter),'"'; if ($this->order == 'popular'): echo ' class="active"'; endif; echo '>',__('popular'); ?></a> </li>
						<li><a href="<?php echo build_url('favorites', 1, $this->letter),'"'; if ($this->order == 'favorites'): echo ' class="active"'; endif; echo '>',__('most-favorites'); ?></a> </li>
						<li><a href="<?php echo build_url('rated', 1, $this->letter),'"'; if ($this->order == 'rated'): echo ' class="active"'; endif; echo '>',__('top-rated'); ?></a> </li>
						<li><a href="<?php echo build_url('discussed', 1, $this->letter),'"'; if ($this->order == 'discussed'): echo ' class="active"'; endif; echo '>',__('most-discussed'); ?></a></li> 
						<li><a href="<?php echo build_url('name', 1, $this->letter),'"'; if ($this->order == 'name'): echo ' class="active"'; endif; echo '>',__('alphabetically'); ?></a></li>
                                                </ul> -->
                                            
					</div>
					<?php if ($this->models): ?>
					<div class="content-info">
						<?php echo __('showing'),' <span>',$this->pagination['start_item'],'</span> ',__('to'),' <span>',$this->pagination['end_item'],'</span> ',__('of'),' <span>',$this->pagination['total_items'],'</span> ',__('pstars'); ?>!
					</div>
					<?php foreach ($this->models as $model): ?>
					<div id="pornstar-<?php echo $model['model_id']; ?>" class="pornstar">
						<a href="<?php echo RELATIVE_URL; ?>/pornstar/<?php echo $model['slug']; ?>/" title="View <?php echo e($model['name']); ?> bio!"><?php echo e($model['name']); ?></a><br />
						<a href="<?php echo RELATIVE_URL; ?>/pornstar/<?php echo $model['slug']; ?>/"><img src="<?php echo MODEL_URL,'/',$model['model_id'],'.',$model['ext']; ?>" alt="<?php echo e($model['name']); ?>" /></a>
						<span class="left"><?php echo __('videos'); ?>:</span>
						<span class="right"><?php echo $model['total_videos']; ?></span>
						<span class="left clear"><?php echo __('watches'); ?>:</span>
						<span class="right"><?php echo $model['total_views']; ?></span>
						<div class="clear"></div>
					</div>
					<?php endforeach; ?>
					<div class="clear-left"></div>
					<?php echo p('adv', 'pornstar-browse-bottom'); ?>
					<div class="pagination"><ul><?php echo p('pagination', $this->pagination, build_url($this->order, true, $this->letter)); ?></ul></div>
					<?php else: ?>
					<div class="none"><?php echo __('no-pornstars'); ?></div>
					<?php endif; ?>
				</div>
			</div>
		</div>
		<div class="clear"></div>
	</div>
<style type="text/css">
    #menu-pornstar {
    position: relative;
    z-index: 500;
    width: 125px;
    float: right;
}
#menu-pornstar ul {
    
    list-style: none outside none;
    margin: 0;
    padding: 5px;
}
#menu-pornstar ul.level1 {
    height: 30px;
}
#menu-pornstar ul ul {
    left: -9999px;
    position: absolute;
    top: 31px;
    width: 122px;
}

#menu-pornstar ul li {
    
    float: left;
    margin-right: 5px;
    position: relative;
    padding: 0px;
}
#menu-pornstar ul li .heading {
    width: 100px;
    -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
font-weight: bold;
padding: 3px 1px 2px 5px !important;
    text-align: center;
}

#menu-pornstar ul li a, #menu-pornstar ul li .heading {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
/*    background: none repeat scroll 0 0 #373737;*/
    color: #CCC;
    display: block;
    float: left;
    cursor: pointer;  
    padding: 8px 10px 8px 5px;
    text-decoration: none;
     background: #373737;
}

#menu-pornstar ul ul li {
    margin: 0;
}
#menu-pornstar ul ul li a {
    width: 105px;
    background-color: #151515;
    color: #CCC;
}
#menu-pornstar ul ul li a.fly {
    padding-right: 10px;
}
#menu-pornstar ul li:hover > a {
    background-color: #373737;
    color: #FFF;
}
#menu-pornstar ul li .heading:focus {
    outline: 0 none;
}
#menu-pornstar ul li .heading:active + ul.dropdown {
    left: -5px;
}
#menu-pornstar ul li .heading:focus + ul.d1{
    left: -5px;
}
#menu-pornstar ul li ul.dropdown:hover {
    left: -5px;
}
#menu-pornstar ul li .heading:active + ul.flyout {
    left: 122px;
}

#menu-pornstar ul li ul.flyout:hover {
    left: 122px;
}
.arrowFilters {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ec53e3;
    content: "";
    font-size: 0;
    height: 0;
    margin-left: 10px;
    position: relative;
    top: -1px;
    width: 0;
}
.pagination {
    margin-top: 40px;
}
    </style>
    <script type="text/javascript">
        $('.heading').click(function(){
            if($('.d1').css('left') == '-9999px') {
                $('.d1').css('left','-5px');
            } else {
                $('.d1').css('left','-9999px');
            }
        });
     $(".heading").mouseup(function() {
        return false
    });
    $(document).mouseup(function(e) {
        if($(e.target).parent(".heading").length==0) {
             $('.d1').css('left','-9999px');
        }
    });
    </script>

That's what I currently have in pornstar_browse.tpl.php. Link to website:

fuckturbate.net/pornstar

Problem: If I select a filter option from the dropdown, it doesn't provide the new results.

Board footer

Powered by FluxBB