Choose Layout

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

    #16
    my new script has user themes like http://goth.lavalair.net and http://arab.lavalair.net do you mean that?

    Comment


      #17
      http://funmobile.ws/script.zip look inthat script. if u dnt understand it then i cant help. i can explain it no better than what u see

      Comment


        #18
        yeah thats what i mean but in wml where user can change the logo like you have normal and afrikaans in cpanel i need the code

        and i dont have 2 databses to install it what is in that script themes?
        http://img235.imageshack.us/my.php?i...sc00464af9.jpg



        http://matthewdowd.bebo.com

        Comment


          #19
          its actually called nature themes on my site custom built themes for certian user groups for example the goth one is using the goth xhtml theme and when you login it will only show gothic related forums which on my site are the agonized boards to do this needs extensive recoding to the old lava script its possible tho and dont need multiple datbases for it just a sub domain

          you could just create a new site with a different theme and what not running on same database and just link them together in a drop down menu or something like that i do not have the code except for the one im running on my current script which im not giving out sorry

          Comment


            #20
            thats ok but do you know a code to change which index the user views with two different layouts i need to make a row in ibwf_users and the code to select what one but whats codes?
            http://img235.imageshack.us/my.php?i...sc00464af9.jpg



            http://matthewdowd.bebo.com

            Comment


              #21
              as i said just use the same script you are using except use a different dir like http://yoursite.com/theme1

              and just link them together at bottom of index.php for example using this

              Code:
              echo "<a href=\"http://yoursite.com/theme1/index.php&amp;sid=$sid\">theme name goes here</a>
              ";
               echo "<a href=\"http://yoursite.com/theme2/index.php&amp;sid=$sid\">theme name goes here</a>
              
              ";
              or something like that anyway thats the easiest way i can think of

              Comment


                #22
                wouldn&#39;t you have to log back in? or do you mean just a link to a different index layout
                http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                http://matthewdowd.bebo.com

                Comment


                  #23
                  you would have to login if you dont add the session id to the code but if you are using same database will just take you to a different layout without getting logged out

                  Comment


                    #24
                    i try what you said thanks
                    http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                    http://matthewdowd.bebo.com

                    Comment


                      #25
                      cheers but everytime i go back do the index it would be back to normal or do i upload the whole site into new dir
                      http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                      http://matthewdowd.bebo.com

                      Comment


                        #26
                        no idea the whole site i guess

                        Comment


                          #27
                          cheers i will thanks for your help
                          http://img235.imageshack.us/my.php?i...sc00464af9.jpg



                          http://matthewdowd.bebo.com

                          Comment


                            #28
                            u have to upload them to a difrent directory otherwise u will just save over ur old files but just copy ur config file and put it in the new directory then once u have finished with ur new themes create a new index page with a list of the seprate pages and send it so that when ppl come to your site they get sent to that page instead of login then they choose what theme they want there u just link and they login once simplest way i can think off [/b]

                            Comment


                              #29
                              or you could have a var where it declares the css of the users as u said in the ibwf_users table sumn like
                              Code:
                              $theme=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_users where id=&#39;username&#39;"));
                              then in in your html headers just do this
                              Code:
                              <link rel=\"stylesheet\" href=\"$theme[whatever column the theme field is]\">
                              then u could create a drop down menu where the user can choose what theme they want with a mysql query that updates the users theme instead of uploading a whole new script just for a style/theme...i hope you understand....

                              Comment

                              Working...
                              X