DigiOz Guestbook Version 1.7 Beta 2 Released!
18 years 11 months ago #5
by Pete
DigiOz Webmaster
www.digioz.com
DigiOz Guestbook Version 1.7 Beta 2 Released! was created by Pete
Special Thanks to Mike and Robbert for beta testing / debugging it. If anyone wants to join our team and help us beta test the code, you are welcome to do so. Download it here:
www.digioz.com/guestbook/guestbo ... _beta2.zip
www.digioz.com/guestbook/guestbo ... _beta2.zip
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
- Anonymous
- Visitor
18 years 11 months ago #10
by Anonymous
Replied by Anonymous on topic DigiOz Guestbook Version 1.7 Beta 2 Released!
in the header.inc is at the (after the search form) end the beginning of the table missing, isn't it :
regards
Ivko
Code:
<table align="center">
<tr>
<td>
regards
Ivko
Please Log in or Create an account to join the conversation.
18 years 11 months ago #11
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic DigiOz Guestbook Version 1.7 Beta 2 Released!
Very good catch Ivko! Sometimes its the simple things that are not caught.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
- Anonymous
- Visitor
18 years 11 months ago #13
by Anonymous
Replied by Anonymous on topic DigiOz Guestbook Version 1.7 Beta 2 Released!
Hello,
is there any chance to convert the entries from 1.6 to 1.7? The way to store the entries seems to be complete different. Now it looks like a kind aof database.
I like the Version 1.7, I'm just adapting it to my layout:
www.black-dragon-nomad.de/guestbook/
best regards
Ivko
is there any chance to convert the entries from 1.6 to 1.7? The way to store the entries seems to be complete different. Now it looks like a kind aof database.
I like the Version 1.7, I'm just adapting it to my layout:
www.black-dragon-nomad.de/guestbook/
best regards
Ivko
Please Log in or Create an account to join the conversation.
18 years 11 months ago #14
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic DigiOz Guestbook Version 1.7 Beta 2 Released!
Hello Ivko,
You are once again correct! DigiOz Guestbook version 1.7 stores the guestbook entries as Serialized Objects in the text file, while previous versions of the code used to store it in string format with embeded HTML.
We are currently working on a script to convert from version 1.6 to 1.7. Will post it here on the forum when it is completed.
You are once again correct! DigiOz Guestbook version 1.7 stores the guestbook entries as Serialized Objects in the text file, while previous versions of the code used to store it in string format with embeded HTML.
We are currently working on a script to convert from version 1.6 to 1.7. Will post it here on the forum when it is completed.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
- Anonymous
- Visitor
18 years 11 months ago #17
by Anonymous
Replied by Anonymous on topic DigiOz Guestbook Version 1.7 Beta 2 Released!
Hello a proposal, i have had tested the possibility to convert links starting with www or http autmtically into <a href=""> tags. It seems to work. I made following extensions:
config.php
add.php
functions.php
Best regards
ivko
config.php
Code:
// Variable for automatically coverting links (http://... and www) into href-TAGS----
$convert_Links = 1; // Set "1" for converting links (http://, www) int a href TAG, "0" for let them as plain Text
add.php
Code:
// Coverting links into a href-tag -----------------------------------------
if ($convert_Links == 1)
{
$yourmessage = makeHref($yourmessage);
}
functions.php
Code:
function makeHref($str)
{
// case insensitive regexp.
// -- protocol tag or www
$str2 = preg_replace("!(((http(s?)://)|(www\.))".
// -- rest of the host, topdomain is 2-4 letters
"([-a-z0-9.]{2,}\.[a-z]{2,4}".
// -- port (optional)
"(:[0-9]+)?)".
// -- path (optional)
"((/([^\s]*[^\s.,\"'])?)?)".
// -- parameters (optional, but obligated to begin with a question mark)
"((\?([^\s]*[^\s.,\"'])?)?))!i",
// replace it with <a tag
"<a href=\"http\\4://\\5\\6\\8\\9\" target=\"_blank\">\\1",
$str);
return $str2;
}
Best regards
ivko
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds