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 Re: Troubleshooting » Logging out problem » 2013-01-05 15:53:53

symtab wrote:

Hmmm...so you first try to login with the incorrect details and then with the correct details and then it works? If you login directly with the correct details it doesnt work?

Once the issue has started, logging in correctly after being kicked out works sometimes, it seems random. If it does log you in, certain pages will then kick you back to the login screen.

I used the wrong details by accident, then logged in correctly and the issue is now no longer there, could be a coincidence but everything is working fine now.

Cheers, Grant

#2 Re: Troubleshooting » Logging out problem » 2013-01-05 15:42:56

OK, trying to login with incorrect details and then logging in correctly seems to haver fixed the issue!

#3 Re: Troubleshooting » Logging out problem » 2013-01-04 18:38:42

There's no pattern to it that I can see, a minute ago it let me delete 1 video, if I try again now it sends me back to the login page.

Could this be related to the timezone setting, setting cookies that are out of date? I'm having issues setting my timezone, every time I change it it resets itself back to the default America/New York?

#4 Re: Troubleshooting » Logging out problem » 2013-01-04 18:24:38

Whenever I try and do anything on this page:

/admin/index.php?q=video

delete video, edit video etc.

It sends me back to the admin login page here:

/admin/login.php

I've had this issue intermittantly since I started using the script, it seems to happen at random and on random pages and is usually fixed by clearing the browser cache or doing a CTRL+F5. But this time it just won't clear.

Thanks

#5 Re: Troubleshooting » Logging out problem » 2013-01-04 15:57:18

Is there any update on this, at the moment I can't use my video section as it keeps logging me out whenever I try and do something.

I've cleared browser cache / site cache, manually deleted cookies, restarted browser, tried multiple browsers, issue still exists.

Thanks.

#6 Troubleshooting » Mass XML cron » 2013-01-03 16:04:15

grantw
Replies: 2

Is it possible to set a cron job to parse all the feeds setup in the Mass XML import section?

Thanks.

#7 Re: Troubleshooting » graber? » 2012-12-07 12:29:47

Ah, I've not bought it, 'grab' is in the menu though - in the drop down video > add menu and on the tabs.

Thanks.

#8 Troubleshooting » graber? » 2012-12-07 01:17:08

grantw
Replies: 2

/admin/index.php?q=graber

Should this function be working, all I'm getting is a blank white page with no error message?

Thanks.

#9 Re: Bug Reports » [NOT A BUG] Mass csv import, Autodetect categories » 2012-12-06 19:42:38

symtab wrote:

You mean the category name? Its a good idea, if no auto term is added, match the category name.

Yep, I don't know why but I thought that was how it worked for some reason.

I added this bit of code into csv.php to make it match the category name as well as the auto-term so would just need something similar with a check to see if the auto-term is empty. Would be a nice feature as it's not obvious that the auto-term is a required field.

        $cats = array();
        foreach ($categories as $category) {
            $cat_id = (int) $category['cat_id'];
            $terms    = explode(',', $category['auto_term']);

            foreach ($terms as $term) {
                $term = trim($term);

                if (stripos($title, $term) !== FALSE) {
                    if (!in_array($cat_id, $cats)) {
                        $cats[] = $cat_id;
                    }
                }

                if (!empty($tags)) {
                    if (stripos($tags, $term) !== FALSE) {
                        if (!in_array($cat_id, $cats)) {
                            $cats[] = $cat_id;
                        }
                    }
                }
            }

            $cat = $category['name'];
            if (!empty($tags)) {
                if (stripos($tags, $cat) !== FALSE) {
                    if (!in_array($cat_id, $cats)) {
                        $cats[] = $cat_id;
                    }
                }
            }


        }

Cheers, Grant

#10 Re: Bug Reports » [NOT A BUG] Mass csv import, Autodetect categories » 2012-12-06 18:45:05

Yep, got it now thanks, I initially thought it would match up with the main categories if there was no auto-term entered then went off looking at the code rather than thinking about things!

Cheers.

#11 Re: Bug Reports » [NOT A BUG] Mass csv import, Autodetect categories » 2012-12-06 13:44:48

Actually, scratch that. I notice it's the same for all the importers/grabbers so I guess it's easier just to copy the category title into the auto-term box for each category smile

Grant

#12 Bug Reports » [NOT A BUG] Mass csv import, Autodetect categories » 2012-12-06 13:15:38

grantw
Replies: 6

Hi all, I'm new to this script and just about getting my head around it! I've been scratching my head trying to work out why my CSV imports are not being categorised and instead all are put into the last category available.

As far as I can tell, looking at the function in csv.php there appears to be code missing that handles the categories if autodetect is selected and the auto-term for the category is empty. I'm not sure if this is intentional but I don't really want to rely on the auto-term settings all the time.

The code here just checks the title/tags for a match with the auto-term values and there doesn't appear to be anything to check the tags against the main categories:

.....edited - forget that.

Cheers, Grant

Board footer

Powered by FluxBB