I am new to php and needed some help or general guidance. I found a Myspace type script and have it on my webserver and it uses mysql for the database. It uses index.php and most of this site is done in php. My question is how can I edit the actual look of the page??? when I load the index.php in Dreamweaver all I can see is the coding..........is there an editor or process to do so..... the reason I want to do this is because I wanted to add and remove some of the graphics and text that is on the site.

I hope this is clear and makes sense.......... I just need some direction

Thanks

    If you downloaded this script from the internet there should be some sort of documentation with the script, either in the file that came with it or on the website you got it from.

    You should be able to just paste the PHP code into your page but without seeing the code I dont want to say that for sure.

    Maybe you could post the code here (or better yet a link to where you downloaded it from) and someone here will help you with it.

    🙂

      yea, do what dinger says about the link, so people can help you out

      as for the index.php editing, not all index.php has html in it, it can be a refrence where the template is actullay is, search through the code to find HTML that can lead to the design, or post the donwload link and we can better help you

        Thanks for the responses ........... its a script for phpFox

        http://rapidshare.de/files/16519338/phpFoX_1.03_with_CUSTOM_MOD.rar.html

        here is the sql code

        http://share.my-sn.com/download.php?file=cf3b025af084e652d7bb80ccfcf506a4

        you may or may not have to use the sql code.........i ran the install.php and had trouble with the original phpfox.sql in the sql folder...... so I had to copy the sql code from that link to over write the original file and it worked.

        I hope this helps

          I have also serached the code tried to follow it and see how it was structured, but I have yet to find where the page is designed. I mean as far as where the tables in the layout come from and the text that is on it............. I really just want to remove the "Powered by phpFox" at the very bottom of the page......... and maybe if its possible be able to add a few tables and/or move the current tables around how I want them........ same with some of the text that is on the site.

            Look for include("Somefile.php") in the script, most likely it will include headers and main content, anda footer at different parts of that script, look at the name of all the filename that are in the include()

              I found the 'inc' folder and traced some of the code and I also found some html that it uses. However, the index.html is a blank page and all the other html contains text that is on some of the pages..........Why is the index.html page blank.........i still cannot find the footer or any indication of "Powered by phpFox" at the bottom of the page........ could it be encrypted data??

                It is a security measure to keep people from just typeing a folder name into the address bar and seeing a listing of folders and or files, so a blank index.html is presented to them, used alot with forum software or CMS.

                The inc folder might not be the only place where the header.php or footer.php can be look again at the name of the files that are parts of the include statement which may also have include statements

                  ill download it and see if i can edit it, if im able to, ill inform you on how to do it

                    all i can see from tthe outside so far is the admin panel and how you can edit the CSS and logo, which can be a help if you want to change the colors of the layout

                      ok update 3:

                      inside the script look at:

                      inc/template/new/ folder and it has all the edit files! its pretty simple to edit if u kknow at least some PHP, like

                      main_top.php
                      main_botom.php

                      is the top and bottom layout of the script, and so on

                      hope it helps

                        I just found the top and bottom php and i think it is this part of the code

                        <?php echo "".$LANG[17].""; echo $VAR[31] ? ' | '. html_copyright_bottom() .' '. $VAR[1] .'' : ''; ?>

                        but i have tried to delete various parts of it and it just deletes the bottom portion completly......... i guess i can keep trying............. and also when it did delete it....it seems like it only deletes the bottom from the main page and the rest of the pages have the bottom with the "powered by phpFox"

                        its a start at least

                          savj14 wrote:

                          <?php echo "".$LANG[17].""; echo $VAR[31] ? ' | '. $VAR[1] .'' : ''; ?>

                          That might work?

                          Otherwise look for the function called html_copyright_bottom() and edit that.

                            I have tried to delete the copyright portion and that just deleted the entire bottom........... what do I need to edit do u think???.........delete a portion or just change it???

                            What does this portion of the code mean exactly:

                            <?php echo "".$LANG[17].""; echo $VAR[31] ? ' | '. $VAR[1] .'' : ''; ?>

                              I also found this code in a file called template.php

                              <? echo html_copyright_bottom(); ?> <? echo $PHPFOX_SOURCE_VERSION; ?>

                              And also this code in yet another php file

                              $say = html_copyright_bottom();

                                How about posting the function html_copyright_bottom()?

                                  a month later

                                  i can not figure out how to remove phpfox from all pages, can someone plz help? i will pay someone if that will help! just let me know asap.

                                  Thx alot.

                                    a year later

                                    Hi

                                    I need a copy of phpfox. It would be great if someone can pass a copy to me. Thanks

                                    savj14 wrote:

                                    Thanks for the responses ........... its a script for phpFox

                                    http://rapidshare.de/files/16519338/phpFoX_1.03_with_CUSTOM_MOD.rar.html

                                    here is the sql code

                                    http://share.my-sn.com/download.php?file=cf3b025af084e652d7bb80ccfcf506a4

                                    you may or may not have to use the sql code.........i ran the install.php and had trouble with the original phpfox.sql in the sql folder...... so I had to copy the sql code from that link to over write the original file and it worked.

                                    I hope this helps

                                      Write a Reply...