Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guestbook
#1
Hi all!
The guest book was necessary for a site. Such plugin on a forum I have not found. Has downloaded the script here: http://www.hnscripts.com
I could not insert it in theme and has found other way. All files of the script I inserted into a root of a site (file index.php has renamed in guestbook.php), and has connected it from a file theme <? php include (GSROOTPATH. "guestbook.php");? >. This page: http://www.sv-deva.ru/responses
Probably it is not absolutely correct. It would be desirable to know opinion of the developers.
Reply
#2
привет, объясни-ка мне по-русски, как ты там вставил этот скрипт?
Reply
#3
Олег, привет.
Вообщем вставить сам скрипт в файл шаблона мне не удалось (нужно переписать в скрипте все пути), поэтому я закинул все файлы скрипта в корень сайта, предварительно переименовав индексный файл (index.php на guestbook.php) и подключил его из файла шаблона прописав в блоке post: <?php include(GSROOTPATH ."guestbook.php"); ?>.
Редактировать стили нужно в файлах gb_view.php и gb_adminview.php
Reply
#4
I also made
Reply
#5
Nice ..

Could u share it here on GetSimple forum???

//maxpop

Oleg06 Wrote:I also made
http://neowebtime.ru/0/guesti
Reply
#6
http://www.hnscripts.com
Reply
#7
Oleg, hi.
To return from Admin panel on page, I in a file gb_adminview.php have corrected Line 69: echo(" | <a class='gb' href=\"responses\"><b>$la24</b></a>... , where \"responses\" = name of your page.

For me does not work Ban IP. You tested it?
Reply
#8
Алекс, спасибо за подсказку, сделал, попробовал забанить, один IP адрес...не твой случайно?

Alex, thanks for the hint, did, tried to ban one IP address ... not your accident?
Reply
#9
No, I did not write.
Reply
#10
I managed to ban myself only when I recorded the IP in the file ip.txt
Reply
#11
Quote: <?php include(GSROOTPATH ."guestbook.php"); ?>
not work.
Reply




Users browsing this thread: 1 Guest(s)