Defualt style set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clearchanel
    Senior Member
    • May 2001
    • 265
    • 3.8.x

    Defualt style set

    I accidently removed my default style set. Is there any way to recover from this?
  • clearchanel
    Senior Member
    • May 2001
    • 265
    • 3.8.x

    #2
    Maybe I didn't accidently delete it. Here is the error message I'm getting"

    Database error in vBulletin Control Panel: Invalid SQL: INSERT INTO templateset (templatesetid,title) VALUES (3,'')
    mysql error: Duplicate entry '3' for key 1
    mysql error number: 1062
    Date: Saturday 06th of October 2001 11:15:39 AM
    Script: /forums/admin/style.php

    Comment

    • chrispadfield
      Senior Member
      • Aug 2000
      • 5366

      #3
      what are you trying to do when you get that error?
      Christopher Padfield
      Web Based Helpdesk
      DeskPRO v3.0.3 Released - Download Demo Now!

      Comment

      • clearchanel
        Senior Member
        • May 2001
        • 265
        • 3.8.x

        #4
        I was creating new style files. I need a new style for each of my seperate forums to use different page count programs. I can still access the forums, but my defualt styles are gone. I had them set as the same as the ubb 6.xx styles I used.

        Comment

        • chrispadfield
          Senior Member
          • Aug 2000
          • 5366

          #5
          it seems weird. it is trying to create a templatset that already exists. Can you email me access to control panel and phpmyadmin?
          Christopher Padfield
          Web Based Helpdesk
          DeskPRO v3.0.3 Released - Download Demo Now!

          Comment

          • chrispadfield
            Senior Member
            • Aug 2000
            • 5366

            #6
            ok, i had a look here and i was able to create:

            - a new style (using new template set and ones you already have)
            - new template sets
            - new replacement sets.

            without any problem.

            I agree something looks weird, from mysql your details are for style set:

            Code:
             37   1   1   Default   1  Edit Delete 
             2   2   1   Standard (UBB6.x)   1  Edit Delete 
             3   3   1   My UBB (UBB6.x)   0  Edit Delete 
             5   3   1   My UBB   0  Edit Delete 
             36   28   3   Breeding   1  Edit Delete 
             29   1   25   Test   1
            the first one seems strange as number 37 but I am not 100% sure what it should be (my styles are hacked quite a lot).

            I will install a blank copy on my computer soon and have a look what the standard installations should be unless somenoe beats me to it, but despite that I am not sure what the problem is, i had no problems making new styles/template sets.
            Christopher Padfield
            Web Based Helpdesk
            DeskPRO v3.0.3 Released - Download Demo Now!

            Comment

            • clearchanel
              Senior Member
              • May 2001
              • 265
              • 3.8.x

              #7
              37 was my attempt to recreat the defualt style set. I imported ubb. If you look at my forums, they show the default VBulletin page. It's not so bad...except...I can not change it to show my logo, I am stuck with the VBulletin logo.... I can not change the colors, I can't change anything... is there a way to recreate the default style as number 1? I didn't think it was possible to delete the default style.

              Comment

              • clearchanel
                Senior Member
                • May 2001
                • 265
                • 3.8.x

                #8
                Using phpmyadmin I edited the styles to change the default code from 37 to 1 and all seems to be working now.

                Thanks

                Comment

                • chrispadfield
                  Senior Member
                  • Aug 2000
                  • 5366

                  #9
                  that was what i was about to suggest

                  glad i could help in some way
                  Christopher Padfield
                  Web Based Helpdesk
                  DeskPRO v3.0.3 Released - Download Demo Now!

                  Comment

                  • clearchanel
                    Senior Member
                    • May 2001
                    • 265
                    • 3.8.x

                    #10
                    And if it were not for you pointing that out, I would have never figured out to even think of changing it.

                    No offense there VBulletin, when you have a site doing over 300,000+ page views a month, you kinda want it to resemble your own effort

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...