Author |
Message |
|
I'm rather new at PHP and having been trying to modify this line to work with four options.
if ($this->db->VARS["allow_age"]==1) {
$AGE= ($this->age==20) ? " <img src=\"img/20.gif\" width=\"12\" height=\"12\">" : " <img src=\"img/30.gif\" width=\"12\" height=\"12\">";
}
I want this to display a different image if the variable is 40 and 50. I have tried everything I can think of. Any help.
I need to change it in a second form too for the same thing.
if ($this->db->VARS["allow_age"]==1) {
$GENDER = ($row['age']==20) ? " <img src=\"img/20.gif\" width=\"12\" height=\"12\">" : " <img src=\"img/30.gif\" width=\"12\" height=\"12\">";
}
I woulld love some help/
|
 |
|
Never mind, I guess there was a bug or something. I upgraded to the latest version of SmartFTP and was able to CHMOD folders.
|
 |
|
Um, I knew how to CHMOD files, which is all the tutorial talked about. So I ask again, how do you CHMOD a folder?
|
 |
|
every thing is fine with the guestbook there is only one thing that comes when the user submit a comment on any particular guestbook message.
Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/data/guestbook/lang/english.php:101) in /usr/local/www/data/guestbook/lib/comment.class.php on line 175
and comment is successfully added to the guestbook page, very bad to see an error.
|
 |
|
How do you chmod folders? I have tried (in SmartFTP) but the option is never avalible.
|
 |
|
I have found a partial solution to the problem I posted. I was looking at the code to see how an admin account was detected. Haven't worked that one out, but I have found a work around ... manually enter the following URL when logged in as an admin:
http://www.yoursite.com/index.php?module=guestbook&agbook=admin
and you end up withthe admin options being displayed & working.
Malcolm
|
 |
|
hello,
for the past couple of days, Daily Counter 1.1 has not been refreshing over a 24 hour period (unless lots of people actually do visit my site daily). I was wondering if anyone had a fix for this.
great site! I would love to see more scripts!!!
-tom
|
 |
|
can you give me a little more direction on where to find it.... please please
|
 |
|
I've installed Advanced Guest Book 2.3.1 into PHPwebsite 0.9.3-1. It works fine from the users point of view, but there is no admin option - even when logged in as administrator.
Has anybody else observed this, and better still solved the problem?
Regards
Malcolm
|
 |
|
Don't use the guestbook templates. They will not parse anything.
You will have to run your html and your site layout templates from within the script its self.
This is how it works for my index.php file. You will have to do this to the comment.php and the addentry.php page. You will not be able to run the admin.php this way, and will have to use the templates for the admin.
You can view the guestbook HERE
|
 |
|
how do i install this poll I don't even know where to start.
i'm using dreamweaver
|
 |
|
Do you speek Dutch?
Ik spreek bijna geen Engels, wel betije Nederlands
Ik heb uw uitleg van instalatie van AGB gezin, maar voor een Chineze beginer met CPanel, dat is nog steeds niet duidelijk.
Na instalieren, krijg ik naam Test en password 123, die moet ik "snel mogelijk" veranderen. Maar hoe? Dat lukt total niet!
Kunt U mij asb helpen?
|
 |
|
I can't found any stap by step instruction for my CPanel
|
 |
|
How can I change my user name (test) and password(123) in My Advanced Guessbook?
|
 |
|
Hallo
Ich habe ein Problem mit dem Advanced Guestbook 2.2. Ich moechte dort eine ziemlich lange Nachricht schreiben, habe bei den Optionen die max. Laenge der Nachricht angepasst (auf 9999 z.B.), es geht aber immer noch nicht... es kommt immer die Meldung das die Nachricht entweder zu kurz oder zu lange ist... Bitte um Hilfe...
|
 |
|