If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Carbonize
Forum Index » Profile for Carbonize » Messages posted by Carbonize
Author Message
I don't have AG installed so can yo upost link to yours so I can see.
At a guess open body.tpl and change all align="center" to align="left"
Richard Mitchell wrote:Also if this was a clean 2.08 install done by cPanel I don't understand why the DB would need to be immediately upgraded.


Me neither. If this was a brand new installation then everything should of been created. Guess cPanel need to sort out their installation script for AP.
You need to run the update file found in the misc folder. Just visit it in your web browser.
All I can suggest is trying Lazarus instead.
Try www.hotscripts.com
Just open it in notepad or use a program like PSPad
Maybe the charset at top of language file needs changing.
Have a look on www.hotscripts.com
No as that is not a feature of Advanced Guestbook. You would have to switch to using Lazarus which does offer this feature.
It would require some editing of the core files since the function that creates this time also creates the time in the entries.

Open lib/gb.class/php and find

$TPL['GB_TIME'] = $this->db->DateFormat(time());

Replace with

$TPL['GB_TIME'] = $this->db->DateFormat(time(), true);

Close and save

Open lib/vars.class.php and find

function DateFormat($timestamp) {

Replace with

function DateFormat($timestamp, $hideTime = false) {

Next find

return ($newdate=$newdate.$newtime);

Replace with

return ($newdate = ($hideTime) ? $newdate : $newdate.$newtime);

Save and close.

Not tested so no guarantees.
Off the top of my head open templates/body.php and delete

$TPL[GB_TIME]<br>
Either someone has accessed your guestbooks admin and edited the templates or accessed your site someother way. I'm guessing it's the templates they edited or possibly the language file.

1 - Download new copy of the guestbook
2 - Back up your existing guestbook files
3 - Extract the new files from the zip
4 - Delete the config.inc.php file from the NEW files as well as tmp and public folders
5 - Upload the new files to replace the old files on the server.

That should put you on the latest version and restore everything to how it was.
Advanced Guestbook does not offer this feature. I did add it to the offshoot of Advanced Guestbook I called Lazarus though.
This feature is built in to Lazarus and I did write a mod to do it with AG but can't find it now. Only thing I could find is http://proxy2.de/forum/viewtopic.php?p=9621&highlight=#9621
 
Forum Index » Profile for Carbonize » Messages posted by Carbonize
Go to:   
Based on the open source JForum