gallery cats

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    gallery cats

    hi i dont suppose that anybody could point me in the right direction on to how i could make it so that there could be more gallery categories cause i can only have 8 ive been trying to figure it out for age i thought it would be in the functions.inc but it aint there so any suggestions would be great im on wapdesire v2 btw thank you

    #2
    Originally posted by cheeky-girl View Post
    hi i dont suppose that anybody could point me in the right direction on to how i could make it so that there could be more gallery categories cause i can only have 8 ive been trying to figure it out for age i thought it would be in the functions.inc but it aint there so any suggestions would be great im on wapdesire v2 btw thank you
    hi there you can have upto 10 gallery cats if you look in your database at gallery cats part and make sure you have 1,2,3,4,5,6,7,8,9,10 if not and it goes 2,6,8,3,5,4,10,9,7,11 just change 11 to a 1 or empty the gallery cat's and re do them on your site

    Comment


      #3
      if u want ill code this for old ver...


      ....................................
      http://photomag.lk/
      ....................................

      Comment


        #4
        cant remember without looking at the db but there is an error in one of the fields i think it maybe called catid the length is set to (1) so it only allows 1-9 then starts to mess up change the lenght to (5) for exampe and you can have upto 99999 categories, hope that makes sense

        Comment


          #5
          well thats me gallery files

          --
          -- Table structure for table `gallery_files`
          --

          CREATE TABLE `gallery_files` (
          `id` int(10) NOT NULL auto_increment,
          `uid` int(10) NOT NULL default '0',
          `filename` varchar(50) NOT NULL default '',
          `path` varchar(255) NOT NULL default '0',
          `category` char(1) NOT NULL default '0',
          `hits` int(10) NOT NULL default '0',
          `date` int(100) NOT NULL default '0',
          PRIMARY KEY (`id`)
          ) ENGINE=MyISAM AUTO_INCREMENT=329 DEFAULT CHARSET=latin1 AUTO_INCREMENT=329 ;

          and gallery cats

          -- Table structure for table `gallery_categories`
          --

          CREATE TABLE `gallery_categories` (
          `id` int(10) NOT NULL auto_increment,
          `name` varchar(50) NOT NULL default '',
          `active` char(1) NOT NULL default '0',
          PRIMARY KEY (`id`)
          ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;

          which bit u on about shaun im blonde remember lololol x

          Comment


            #6
            Originally posted by cheeky-girl View Post
            well thats me gallery files

            --
            -- Table structure for table `gallery_files`
            --

            CREATE TABLE `gallery_files` (
            `id` int(10) NOT NULL auto_increment,
            `uid` int(10) NOT NULL default '0',
            `filename` varchar(50) NOT NULL default '',
            `path` varchar(255) NOT NULL default '0',
            `category` char(1) NOT NULL default '0',
            `hits` int(10) NOT NULL default '0',
            `date` int(100) NOT NULL default '0',
            PRIMARY KEY (`id`)
            ) ENGINE=MyISAM AUTO_INCREMENT=329 DEFAULT CHARSET=latin1 AUTO_INCREMENT=329 ;

            and gallery cats

            -- Table structure for table `gallery_categories`
            --

            CREATE TABLE `gallery_categories` (
            `id` int(10) NOT NULL auto_increment,
            `name` varchar(50) NOT NULL default '',
            `active` char(1) NOT NULL default '0',
            PRIMARY KEY (`id`)
            ) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;

            which bit u on about shaun im blonde remember lololol x


            `category` char(1) NOT NULL default '0',

            sholud be

            `category` char(5) NOT NULL default '0',

            Comment

            Working...
            X