Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1271
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

PHP Script

Started by curlin, January 14, 2010, 01:05:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

curlin

    I hope you don't mind the newbie question  :-[

    Reading on this forum about creating the guest book in a bottom block using a php script. I thought it would just involve adding some code in the block but when i unpacked the rar file, it contained several files. Could someone kindly explain how and where i install this php script?

    Using latest versions of smf and SP.

                                 Thank You Very Much
Hoss Talk At Thoroughbred Junkie

dtek

I am a noob too. :) Was it a mod you downloaded? If it was then you need to use the package installer. If it was just some php from some site then I have no idea.

AngelinaBelle

Are you talkning about the guestbook mentioned in http://simpleportal.net/index.php?topic=4098.msg25796#msg25796?

That is a standalone Guestbook, which doesn't use SMF. That zip file comes with a readme that tells you what to do to install the Guestbook. You'll need to put all those files in a directory (call it guestbook, maybe), follow the instructions in the readme.  If you look at the index.php that comes with it, it just runs the code in gbook.php. You might like to try it out standalone (from its index.php) before you try embedding it in a SimplePortal block.

What you want in the SimplePortal block is probably just the part the displays Guestbook entries.  So  you'll need to find that in gbook.php, take just that part of the code, and copy it into your SimplePortal block.

I think Nathaniel's suggestion of using a "Guest Board" as your guestbook, then displaying the recent posts from that board in a recent post block, titled "Guest Book" on your web page may be a simpler way of doing this. That guestbook has an admin panel, a banned IP list, a word censor list, etc.  All stuff you already have to administer in SMF. Why duplicate all of that? The less options and the less code you have to maintain, the better.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?