TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,856
  • Total Topics: 21,292
  • Online today: 713
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 378
  • Total: 378

[Article]Guestbook

Started by brianjw, February 19, 2007, 03:38:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brianjw

A really cool snippet I would say... I use IT :D
====
First you have to download the guestbook software...
(attached to bottom)
1. Unzip the zip file and upload to a folder called "gb" in your forum root :D
2. Type in the url /gb/install.php in the address bar
====
INSTRUCTIONS
Backup any files i tell you to edit before trying this.

Open the index.php

Search For

'sticky' => array('LockTopic.php', 'Sticky'),

Add after

'guestbook' => array('guestbook.php', 'guestbook'),


Open up the Modifications.english.php file in your languages directory.

Add this after another text string on the page.


$txt['guestbook'] = 'Guestbook';

Upload the guestbook.php and guestbook.template.php from the attached below. You will have to only modify the guestbook.template.php which is this line of code:
echo '<iframe width="100%" height="550" src="http://brianjwilson.com/gb/index.php"></iframe>';
Change that to the place where the guestbook is located :D

guestbook.php Goes in the sources directory , guestbook.template.php goes in the default themes directory.

Remember to upload those files again over the old files, and put them where they belong.

DEMO
http://www.brianjwilson.com/index.php?action=guestbook
Username: test
Password: test
(DO NOT ABUSE THE TEST ACCOUNT)

Brianjw
(ENJOY :))

G6Cad

How come the url redirects to path to peace ?
When i click the link i get the url to path to peace from a lot of things on your site, hotlinking like crazy do you

brianjw

#2
Quote from: G6â„¢ on February 19, 2007, 03:52:52 PM
How come the url redirects to path to peace ?
When i click the link i get the url to path to peace from a lot of things on your site, hotlinking like crazy do you
Thats weird. It doesn't happen to me :o
What are a few places that you get redirected to p2p?

Brianjw


=EDIT========================================
If this continues.
You may not see a demo of the guestbook integrated but you can see it in action here: http://www.brianjwilson.com/gb/index.php

G6Cad

When i click on the link and look in the info bar at the bottom of FireFox, i get the url to path to peace like 30 times before the full page on your site is loaded, thats why i asked how many hotlinks you have to path to peace to your site
Just hope Aku have free BW on his server

brianjw

Quote from: G6Ã,â,,¢ on February 19, 2007, 03:58:10 PM
When i click on the link and look in the info bar at the bottom of FireFox, i get the url to path to peace like 30 times before the full page on your site is loaded, thats why i asked how many hotlinks you have to path to peace to your site
Just hope Aku have free BW on his server
I have a few links to p2p on my site because i want to show my appreciation and add a little link for what he does :D

Also for the guestbook.... you can get more skins and download other languages etc at the below link
http://www.brianjwilson.com/index.php?action=guestbook

alan s

I've just registered there now so i can take a look , Nothing redirects me to path to peace though either? Btw Brian your site layouts a bit messed up from my point of view?

http://img87.imageshack.us/img87/1300/bjwzu3.gif

brianjw

Quote from: Alan S on February 19, 2007, 04:05:12 PM
I've just registered there now so i can take a look , Nothing redirects me to path to peace though either? Btw Brian your site layouts a bit messed up from my point of view?

http://img87.imageshack.us/img87/1300/bjwzu3.gif
I've seen both logged out and in views and i don't get what you are getting in that screenshot. What browser are you using?
It looks fine with IE7 and if you still get the problem, do you know how to fix the problem :o

alan s

Hmm im using FF 2.0.1 , Its only when im logged out it goes like that , Do you have any hidden code in the template like stat counters or any "invisible" blocks?

brianjw

no. i have deactivated blocks and there are some that cant be seen by guests :)

brianjw

Guestbook has some cool skins :D

This website is proudly hosted on Crocweb Cloud Website Hosting.