|
| Posted by Andrea | April 30, 2008 - 07:45 am | |
MikeI just finished installing the enhanced EPHPG at GrassCam.com. I must say this is a very simple way to handle a low churn, simple table of data. I do have a question though, my pages have the comments listed as tr segments inside a outer table. By looking at this page's source code I see that the page menu will also be inside the comments before and after the entries. Since this will break my table layout, what would it take to seperate the menu into it's own sections? That way I can have the menu section, my table header, the comments section, and then another menu section. What would this take? A very very easy thing to do is to remove the upper menu block and only leave the lower one. However, it seems to me that in the current distribution of the WCS the upper menus are not even present, so you should not have this problem.
Concerning you last post that did mess the layout, you did insert a TR tag. These kind of issues can be easily solved by adding the tag to the forbidden words list in the configuration section. On this particular guestbook I prefer to only block a tag when it is really necessary. For instance i frame, script and other such tags are indeed blocked. However I like the idea of leaving some room for creativity for people who know how to use HTML. If I really have a problem I can edit or delete a post or entirely block a tag easily in the admin section.
Let me know if you have further questions or need assistance for your customization.
Best-Admin |
| Posted by Summer | April 29, 2008 - 11:16 pm | |
| want to see what this looks like |
| Posted by Mike | April 29, 2008 - 09:53 pm | |
Interesting. I see that my last post was laid out interstingly due to an inadvertent html segment. The yellow bits should be before the white bits, with a <tr&gr in between.
|
| Posted by Mike | April 30, 2008 - 07:37 am | |
I just finished installing the enhanced EPHPG at GrassCam.com. I must say this is a very simple way to handle a low churn, simple table of data. I do have a question though, my pages have the comments listed as tr segments inside a outer table. By looking at this page's source code I see that the page menu will also be inside the comments before and after the entries. Since this will break my table layout, what would it take to seperate the menu into it's own sections? That way I can have the menu section, my table header, the comments section, and then another menu section. What would this take?
Again thanks for writing a script that doesn't assume I don't want to just run it on it's own. |
| Posted by mary | April 29, 2008 - 05:53 am | Private |
Thanks Andrea for your quick answer. i use the dreamweaver ftp, am i going to have problem there with the permissions? |
| Posted by Cobus | April 28, 2008 - 02:57 pm | Private |
| Yes, PHP 5 is active on both of them. |
| Posted by Andrea | April 28, 2008 - 12:53 pm | |
| Cobus, are you sure php is active on the server that does not work? if so, which version of PHP does it run, is it the same as the server that works? |
| Posted by Cobus | April 28, 2008 - 12:25 pm | Private |
| Changing the permissions, is not the solution... |
| Posted by Andrea | April 28, 2008 - 12:17 pm | |
Mary, in most cases you will need to set the permissions. This is usually done easily through your ftp client.
Best-Admin |
| Posted by mary | April 28, 2008 - 12:13 pm | Private |
Will the script work as it is or i need to set permission anyway? Because, I dont get the permission bit on the instructions...
 |
| Posted by Andrea | April 28, 2008 - 10:20 am | |
Cobus, the permission requirements could be different on the two sites. For instance one might require folder permissions 777 and the other 755.
If the site that does not work uses 777 permission for the foders, try 755 instead.
Best-Admin |
| Posted by Andrea | April 28, 2008 - 10:18 am | |
Liz, you can do this by getting the WCS version of the script.
Best-Admin |
| Posted by liz | April 28, 2008 - 09:24 am | Private |
| Can i use this on different pages on the same website? Is going to be used on a blog and i want visitors to leave messages on different pages. |
| Posted by Cobus | April 28, 2008 - 09:09 am | cobus47@zeelandnet.nl |
| I don't get it: I use the guestbook on 2 different sites, with all the same settings en permissions. One of the two works fine, but the other don't let me save the configuration. I get: HTTP-fout 500 - Interne serverfout. Who can help me? |
| Posted by EVANGELICAL CHURCH OF THE LAMB MINISTRIES | April 26, 2008 - 07:10 pm | etd@evangelicalchurchofthelamb.org |
Please Let Us Know You Visited Today! God Bless You. |
| Posted by Mark | April 26, 2008 - 04:23 am | Private |
testing |
| Posted by Hedwig | April 25, 2008 - 03:57 pm | Private |
Thanks for your reply. I was able to get in after using the correct password. I probably will step up to the enhanced version as I would like to stay within the same site. Thanks again. |
| Posted by Andrea | April 25, 2008 - 01:42 pm | |
Hedwig, so what happens exactly when you try to access admin?
One thing you can try is to open the include/conf.php file with pspad (or another dedicated source code editor) and configure manually, however not being able to access admin is indeed a strong limitation.
Let me know what happens exactly when you try to access admin. Post a PM with the URL is you wish.
Best-Admin |
| Posted by Hedwig | April 25, 2008 - 08:14 am | hedwigvdb@travelers-farm.com |
I just installed the free PHP guestbook. When trying to access the admin, it does not accept my password - so the program does not let me in. Please advice. The only thing I would like to change is the redirection after posts are made. I want the user to stay on my site. Thanks |
| Posted by Andrea | April 24, 2008 - 03:32 pm | |
Hi Troy,
Your question was how do I upgrade to the enhanced version while preserving the current setup.
Here's what you can do:
- Before you do anything, it is a good idea to make a full backup of your guestbook folder, on your server or locally on your PC
- Save your current posts template (copy from configuration in admin) in a text file
- from the enhanced version zip, replace entirely the "include" folder and the php_guestbook.php file on your server. The best way to do this is to rename the current include folder to include_bck, rename the current php_guestbook.php file to php_guestbook_bck.php, upload the new include folder and the new php_guestbook.php file from the enhanced version zip. This way, if you screw up something you can always restore the old folders by renaming them back.
- grant include/conf.php 666 permission (as you did on the free version install)
- login to admin, go to configuration, re-set the main variables (admin password, guestbook name and URL, e-mail addresses, posts template) to the correct values. Save configuration
If everything is done correctly, you are now upgraded to the enhanced version while preserving your guestbook html page, previous posts and posts template from your previous free version.
Give it a go and let me know if you run into any problem.
Best-Admin |
|