Results 1 to 6 of 6

Thread: new page for adult new and populal , top , etc

  1. #1

    Default new page for adult new and populal , top , etc

    Hi,
    can you please tell me how to add a new pages with adult only content,
    for new.php , popular.php etc but only adult pics..
    thanks

  2. #2
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    It requires some code changes(edit some files). If you need it, please let me know.

  3. #3

    Smile

    Quote Originally Posted by yabsoft View Post
    It requires some code changes(edit some files). If you need it, please let me know.
    Hey, I would like to know how to do this also. If you can mail or PM me on how to make a new page for adult content only that would be great.

    And also is there a way to allow images uploaded into a users gallery to show up in random/popular/new images page? I dont know if its a bug or something but it seems that anytime we upload images into its own gallery it does not show up in the newimage/pop/random pages.

    thanks

  4. #4
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    Quote Originally Posted by cookies View Post
    Hey, I would like to know how to do this also. If you can mail or PM me on how to make a new page for adult content only that would be great.
    thanks
    The mods is as follows:
    1. Edit includes/function.php to find the following codes(2 occurrences!)
    PHP Code:
    if($user->setting[onlyfamilysafe])
        {
            
    $familysafe_cons='and i.safe=1';
        } 
    after the codes, add
    PHP Code:
    if($user->setting[onlyadultimage])
        {
            
    $familysafe_cons='and i.safe=0';
        } 
    2. Create a new image page for adult type. Similarly for other popular or top pages.
    a). You can simply make a copy new.php and rename to adult_new.php.
    b). Find the following line in adult_new.php, for example,
    PHP Code:
    $user->setting[nonprivate]=1
    after the line, add
    PHP Code:
    $user->setting[onlyadultimage]=
    That is done. Now you can link to adult_new.php to show latest uploaded adult images.

  5. #5
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    Quote Originally Posted by cookies View Post
    And also is there a way to allow images uploaded into a users gallery to show up in random/popular/new images page? I dont know if its a bug or something but it seems that anytime we upload images into its own gallery it does not show up in the newimage/pop/random pages.

    thanks
    There is a gallery_new.php, gallery_popular.php ... for gallery images. You can see these links on footer of index2.php.

  6. #6

    Default

    Thanks ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •