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-03-09 18:43:01

jupita
Member
Registered: 2011-03-05
Posts: 23

Can I disable the Home menu tab? How to Delete Video thumb?

Hi, I am trying to make "photos" to be the front item instead of "videos' (my website's main purpose at this time is to rate photos). I am not trying to remove video section altogether--but just to make it less prominent. I have removed "Videos' from the top menu. Now I am wondering if I can disable the "Home" menu too, so that "Photos" is the first item on the agenda. Or if it were possible to re-organize the Menu items to put "Photos" first.

Second question, I deleted videos which were at the front VIDEOS BEING WATCHED, but the thumb which I uploaded as the avater of the video has refused to go away. When I click on it, it brigs an error message.
How do I GET RID OF IT?

ERROR MESSAGE:
Query: SELECT COUNT(*) AS total_related FROM tv_video_tags AS t INNER JOIN tv_video_category AS c ON (c.video_id = t.video_id AND c.cat_id IN ()) WHERE t.name IN ('eco fashion') AND t.video_id != 3
Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) WHERE t.name IN ('eco fashion') AND t.v' at line 3
Error Number: 1064

Last edited by jupita (2011-03-09 18:43:46)

Offline

#2 2011-03-10 01:37:34

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

Re: Can I disable the Home menu tab? How to Delete Video thumb?

For the frontpage, you could copy (not all, but the ideas) from modules/photo/albums.php and it will display photos for you on the front page.

You deleted the video from the administration panel? And it still appears on the site? Or?


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

Offline

#3 2011-03-10 01:38:04

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

Re: Can I disable the Home menu tab? How to Delete Video thumb?

You can also remove the home button from the menu (from Admin -> Menu -> Main Menu -> Manage Links).


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

Offline

#4 2011-03-10 01:49:10

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Can I disable the Home menu tab? How to Delete Video thumb?

To  be honest: You bought the best Script around, BUT i think if your Website is about rating Photos, like hotornot: There are a lot of Scripts that will do that better. DO NOT get me wrong: ASP iS the best ADULT TUBE Script, but it can't be the best in ALL Disciplines smile Or ?


sgt-halfsize-banner.jpg

Offline

#5 2011-03-10 03:49:15

jupita
Member
Registered: 2011-03-05
Posts: 23

Re: Can I disable the Home menu tab? How to Delete Video thumb?

I have searched for a photo script since September. Yes, there isn't one I don't know about. But there was always something missing. Of course the only sure way to get all that one wants is to custom design, but we are on a tight budget. Eventually we settled on piwigo--which had unlimited categories etc. But contestants had to download some software on their hard drive before they could upload even a single photo. So one day I saw AVS script and thought to myself--if I remove all this porn on the demo, this can be a good photo rating script. That's how I ended up on ASP. We will need videos more next year. Everything is now moving to videos anyway Even porn used to be mostly photos. Even pageants will soon be all video.

Offline

#6 2011-03-10 04:09:58

jupita
Member
Registered: 2011-03-05
Posts: 23

Re: Can I disable the Home menu tab? How to Delete Video thumb?

"For the frontpage, you could copy (not all, but the ideas) from modules/photo/albums.php and it will display photos for you on the front page."

Please clarify: copy what exactly, and then paste it where?

"You deleted the video from the administration panel? And it still appears on the site? Or?"

As for the videos, I deleted them completely. But the thumbnail has refused to go away. Just click there and see http://www.missgreenplanet.tv/. When uploading a video, it asks one to uploaded a thumbnail (photo) to represent the video. Now the video is already deleted, but the photo representing it is still there and I don't where it is stored. If I click the thumbnail it brings an error message.

Offline

#7 2011-03-10 04:50:56

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Can I disable the Home menu tab? How to Delete Video thumb?

Hey Jupita,

I do not want to make you unsure.

Be SURE! that Adrian does the best you can get.


sgt-halfsize-banner.jpg

Offline

#8 2011-03-10 08:18:20

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

Re: Can I disable the Home menu tab? How to Delete Video thumb?

I will try to explain exactly how to make the changes, however without any PHP knowledge it will not be easy. I recommend you hire a programmer to do this for you (there are a lot of freelancing sites, and our script is very easy to edit/modify).

What exactly do you want to display on the frontpage?  If you want to display the albums, remove this file: modules/frontpage/frontpage.php and create a new file modules/frontpage/frontpage.php that will contain the following code:

<?php
defined('_VALID') or die('Restricted Access!');
class VModule_frontpage
{
    public function __construct()
    {
    }
    
    public function render()
    {
        VLanguage::load('frontend.frontpage');
            
        $errors     = array();
        $messages   = array();
        if (isset($_SESSION['error'])) {
            $errors[] = $_SESSION['error'];
            unset($_SESSION['error']);
        }
        
        if (isset($_SESSION['message'])) {
            $messages[] = $_SESSION['message'];
            unset($_SESSION['message']);
        }
    
        VComponent::load('albums', 'photo');
    }
}

This will display on the first page exactlt the same content that is displayed on http;//www.yourdomain.com/photo/

I will check the video delete error today (i have your FTP) and make sure it works correctly.


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

Offline

Board footer

Powered by FluxBB