PHP code updating in file mgr, but not on interface

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
Hi,

I'm brand new to PHP. I wanted to add PHP to my site. I installed it through my host (ipowerweb) and then I selected a theme that I wanted to edit and customize.

I started very simply by trying to change the bg color of the theme. I first changed the color code locally and uploaded over the old .php, and did not see a change in color on the user or admin interface.

I then tried changing the code in the file mgr on the .php page, and saved the changes, however, it STILL did not show up on either interface.

When I contacted the host tech support, they said they do not support programming questions and the information they did give me was useless.

I need to know how to customize the theme in my PHP so that I can get it to look the way I want it to. I'm not even concerned about content right now, I just want to get the theme customized.

Please help!!!!!!!!!!!!!!!

Thank you all,

Lady Orelinde :help:
 
PHP is a programming language. It sounds like you are using a program that is written in PHP. Usually you can get support for those programs direct from the developers of that application. Without knowing what application you are using we really can't help you.

You can usually use google to find their support page or let us know the name of the application and we can point you in the right direction.
 
How do I find out who the developers are? Or what application it is so that I can get the help I need?

Lady O

So sorry for the basic information, but like I said, I'm totally new to this.

:shock:
 
In most cases there is information in every script about who developed it... However if you tell us a name of the program or where did you get it from: we MIGHT be able to help :)

The thing is that post of the good apps are using templates so that you will have to change them to customize the look and feel..
 
I don't know why my last post did not come through, but here is the copyright information and all I can find out about this particular theme.

This is copied and pasted from the theme itself :

"All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me.
You can syndicate our news using the file backend.php or ultramode.txt
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.477 Seconds"


My server is completely useless with giving me help with this, they keep directing me to either the PHPBB, which isn't what I need help with, just the PHPNuke, or they're sending me to help links for my web developer.... I don't know how many times I've explained my problem to them, but they keep avoiding the issue.

Help! *if you can...thanks

Lady Orelinde
 
Link: http://phpnuke.org/

Here that is... i can tell you for sure... you CANT change it in the PHP file... they have teplates... go to themes on your webserver...find the theme you need to change, and change it :)
 
http://phpnuke.org/modules.php?name=PHP-Nuke_HOWTO&page=customization.html

Here is a link that will help you with cutomizing the theme...
 
Before doing something complex, I'd also suggest trying Ctrl-F5 - internet cache is a bugger!

Andrew
 
I must sound like a dummy, but what does Ctrl F5 do?

8-O

Lady O
 
Well, I knew that, now I sound like a complete dummy..... I thought maybe there was some mystickal magickal programming secret about hitting Ctrl first.....lol.

Forgive me!!!!!

That link you gave me has so much information, thank you, I hope to find my answers in there, but being a newbie to PHP, this is quite difficult....but I'll do it.... I'm not going to school for nothing! They should give us a PHP class, you'd think they would, but nope.

Ok, I'll keep looking for more help here if anyone can post more, and if not, I'll come back when I'm stuck!

Thank you all again :)

Lady Orelinde
 
Its no problem in being a newbie...some people ask much stranger questions... I dont think that php will be in shool... even thou in my colledge we have PHP cources...but im not going to take them... for gods sake...they learn how to use basic functions!

My only PHP class would be PHP certification next year...I hope..lol

Anyways.. This is not about PHP...teplase are pure HTML and CSS... so you will need to know only that :)
Plus some designing skills might help if you are planning on changing pictures... when you are done, im sure everyone would LOVE to see what a good job you have done, so dont be shy and post a link here :-D

And one more tihng... I think you missunderstood what PHP really is... PHP is a programming language tht allows you to create dynamic content and classes, functions to be used on pages... how ever EVERYTHING that has to do with what you see in your browser is HTML... so it goes like that:

Server excecutes a php script that connects to the database, calculates stuff and so on... that script is processed by PHP preprocessor... then the output HTML file is generated.. and then it is sent to your browser... so this means that ALL the design is just a HTML :)

Most good programmers make templates so a designer could do his job WITHOUT changing a PHP code..

And what goes to a magical programmers button: there is one :)
CTRL + S
If you didnt know: it saves the document... i think this is the button combination that is used most :) Because how many times did you hear: GOD DAMN IT, MY PC CRASHED!!!

Imagine whan will happend if you were working on a script for 10 hours and the last save was 3 hours ago?!
 
See, I know HTML and I know CSS, I am a graphic design major, have been doing it for over 4yrs on my own.. I don't claim to know everything, cause I don't but I know I'm doing really well, considering I'm self taught nd I only hand code...I can't stand FrontPage.

This is why I can't believe it is so difficult to change the HTML in the theme.php, something so simple as a bg color change, and it wouldn't update. I went to that link you sent me to and it asked me to add this whole new part to the script and then change all occurrences of the previous code to the new one, which I did, but still am getting no result. I can't believe this is proving to be so difficult for me! LOL

I'm at work now anyway, have school tonight, but will be futzing with this all night when I get back.

I am DETERMINED to set this darn thing up!!!! Knowing HTML and CSS, I wouldn't think I'd be having the problems I'm having now, but, lo and behold, here I am.

Thank you for your assistance and believe me, I'll be coming here for more! :)

:-o

Lady Orelinde
 
Well...that was prommising! :)
Damn... i should put amotion detector on this forum... So everyone will have time to evacuate...just kidding..

Anyways.. i think you are supposed to change everything but theme.php... in fact no PHP file should be changed...
 
Ok, then here's my problem.....

the theme.php is the only file that contains the editable html that I was looking for!!!

When I went into the index.html file, it was blank!!!!

See, I thought I was supposed to change the color codes I found in the .php!

In the theme I'm ATTEMPTING (lol) to customize, there is only a .css, .html and .php....what else is there for me to edit? And if not the .php....then what? the blank .html????


AHHHHHH I'm so frustrated!

:shock:

Lady O
 
okej..sorry.. they have changed the way everything is done in those latest versions... you only need to change the first lines:

$bgcolor1 = "#ffffff";
$bgcolor2 = "#9cbee6";
$bgcolor3 = "#d3e2ea";
$bgcolor4 = "#0E3259";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

and the css file if needed.. however the theme.php contains functions for talbes and stuff like that.. while css wil contain all other styles:
FONT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
TD {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
P {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
DIV {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
INPUT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
TEXTAREA {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
FORM {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
A:link {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:active {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:visited {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:hover {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.title {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.content {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica}
.storytitle {BACKGROUND: none; COLOR: #363636; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.storycat {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.boxtitle {BACKGROUND: none; COLOR: #363636; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.boxcontent {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Helvetica}
.option {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.tiny {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.footmsg {BACKGROUND: none; COLOR: #CCCCCC; FONT-SIZE: 8px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.footmsg_l {BACKGROUND: none; COLOR: #CCCCCC; FONT-SIZE: 8px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.box {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px; border: 1px solid #000000; background-color: #FFFFFF}

so you might want to add some lines here for the body tag or any other tag you want to change
 
See, this is my problem, that is exactly where I went, the bg color for the page happened to be bg#3, so I changed it from whatever it was, #efefef to #80000 (let's just say).

Now, first I did this locally through my editor, then I uploaded (which by the way was a pain cause my root folder is not showing in my ftp, the files are hidden on the server, so I can't even ftp to the right folder, I have to upload through the vdeck.

When that didn't work, I went and edited it straight through the vdeck. Still didn't work.

The changes I made (actually, the ONE change I made...a SIMPLE bg color) took effect in the .php, however, it DID NOT change on the interface when I checked both the user and the admin interfaces.

This is what tech support is not able to tell me why!!!! And for whatever reason, they're not understanding my explanations. I don't know how much more clear I could have been about the subject. LOL

But, do any of you understand what I'm saying or am I really not explaining it properly, cause then I'll have to try and explain it differently.

I'm sorry to be such a pest! :)

Thank you!

Lady Orelinde

I may not get to post back until this evening, have classes tonight. Thank you soooooooo much for being so patient with me :) I can't wait to get home tonight and see what other help I've gotten. :) :)
 
Well... one thing you have to be sure about: i DO understand what you mean.. make sure that you are editing the correct theme... PLUS... try changing the theme and then switching back... who knows... maybe there is a glitch somewhere...

I will take a look at the theme.php and tell you more... however try lloking at the whole theme script... did you notice ANY changes at all? try changing something else too :)

Change EVERYTHING for gods sake... hehe... make sure that works... then we can be sure that its working... once again...make sure you have the correct theme.. there are different themes..
 
Ok, quick before I leave work....lol.

The theme I selected through my admin was "Kaput"
The theme I went into through my vdeck was definitely "Kaput"
When I d/l it locally to my hard drive and went to edit, it was definitely "Kaput"

I changed and changed and changed. I even went so far as to repeatedly delete the PHPNuke and reinstall it a few times.

Still, nothing. :(

Maybe my server just really sucks. I'm stuck with them though aren't I? Till my time runs out? SIGH

Lady Orelinde
 
okej... if you dare you can give me a login and a password or something... with a host so i can look and modify it for you... if you want it like that: please PM me with the login details...

this will be faster i think... plus i will put comments about stuff that i change..
 
Back
Top