Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) Guestbook for YaBB 2.5 - V.0.2 (Read 19726 times)
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Guestbook for YaBB 2.5 - V.0.2
Mar 8th, 2011 at 6:43pm
Print Post  
YaBB Guestbook - Version 0.2


Description:

This Mod adds a nice guestbook on your Board.

Mod Author:

Thomas Müller (ThM)
Derek Barnstorm

Features:

  • Spell checking (*)
  • Validation code (CAPTCHA) (*)
  • Maximum allowed characters in messages  (*)
  • Badword Filter (*)
  • Thank you Site
  • Smilies (*)
  • Bulletin Board Code (*)
  • Page Counter
  • Delete one or multiple messages from your guestbook admin panel
  • Edit messages in your guestbook admin panel
  • Choose, if you want to get an email after a new guestbook entry. (*)
  • Choose, how many entries in the guestbook and the guestbook admin panel to be displayed.
  • Display how many entries are already there.
  • Show IP ( Only for Admins and Gmods)
  • Extended input fields with collapse/expand function like ICQ, AIM, YIM, SKYPE, MY SPACE and FACEBOOK
  • Choose if you want to display extended contact input fields in your guestbook (*) -NEW in V.0.2 -
  • Comment function for admins (New BB-Code) -NEW in V.0.2 -
  • Now, the textfield and their functions are the same like in yabb himself - Fixes also the strong layout problem to display in different browsers -NEW in V.0.2 -
  • The Name field is automatically filled out for registered members with their displayed username. -NEW in V.0.2 -


(*) = Selectable in your guestbook admin settings.

Live Demo: Guestbook

Screenshot - Admin Settings:



Screenshot - Admin Settings (Delete or edit entries) :




Screenshot - Guestbook:



Screenshot - Guestbook entry:



Screenshot - Guestbook edit entry:



Mod Package:

  • guestbook.mod
  • guestbook_german_du_patch.mod
  • guestbook_german_patch.mod


Installation:

1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

Before installing the mod, copy the ubbc.js and yabbc.js on your harddisk in the same folder as YaBB.pl

Notice:

Do you have version 0.1 and guestbook entries are already there, don't overwrite the guestbook.txt file!

  • ubbc.js
  • yabbc.js
  • cgi-bin/yabb2/AdminIndex.pl
  • cgi-bin/yabb2/Admin/ModList.pl
  • cgi-bin/yabb2/Admin/AdminSublist.pl
  • cgi-bin/yabb2/Languages/English/Admin.lng
  • cgi-bin/yabb2/Languages/English/Menu.lng
  • cgi-bin/yabb2/Languages/English/Email.lng
  • cgi-bin/yabb2/Sources/SubList.pl
  • cgi-bin/yabb2/Sources/Subs.pl
  • cgi-bin/yabb2/Sources/TabMenu.pl
  • cgi-bin/yabb2/Sources/AdvancedTabs.pl
  • cgi-bin/yabb2/Sources/YaBBC.pl
  • cgi-bin/yabb2/Variables/Menu0.def
  • cgi-bin/yabb2/Variables/Menu1.def
  • cgi-bin/yabb2/Variables/Menu2.def
  • cgi-bin/yabb2/Variables/Settings.pl


Transfer all changed files to your server.

Upload files from Zip Package:

  • cgi-bin/yabb2/Admin/GuestBookAdmin.pl (ASCII) - CHMOD 755
  • cgi-bin/yabb2/Sources/Guestbook.pl (ASCII) - CHMOD 755
  • cgi-bin/yabb2/Languages/Your_Language/Guestbook.lng (ASCII) - CHMOD 666
  • cgi-bin/yabb2/Variables/guestbook.txt (ASCII) - CHMOD 666
  • cgi-bin/yabb2/Variables/GB_Settings.txt (ASCII) - CHMOD 666
  • yabbfiles/Templates/Forum/default/all Files (BINARY)
  • yabbfiles/Templates/Forum/Buttons/Your_Language/all Files (BINARY)


Finaly add this css code to your /yabbfiles/forum/Templates/Forum/default.css:

Code
Select All
.commentfieldset {
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #304B58;
	border: 1px #34689A solid;
	width: 90%;
	padding: 4px;
}
.commentlegend {
	font-size: 12px;
	font-weight: bold;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #304B58;
	text-align: left;
} 



If you want the same layout in your admin site (guestbook entrys) add this css code to your /yabbfiles/forum/Templates/Admin/default.css:

Code
Select All
.commentfieldset {
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #304B58;
	border: 1px #34689A solid;
	width: 90%;
	padding: 4px;
}
.commentlegend {
	font-size: 12px;
	font-weight: bold;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #304B58;
	text-align: left;
}
.quote {
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #000000;
	background-color: #E8EBEF;
	border: 1px #34689A solid;
	width: 90%;
	padding: 4px;
}
.editbg {
	color: #000000;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	background-color: #FFFEDF;
	border: 1px #cc0000 solid;
	width: 90%;
	padding: 4px;
} 



Mod History:

  • First relaese (Version 0.1) for YaBB 2.5AE on 09 March 2011 (Downloads: 15)
  • Version 0.2 on 30 March 2011


Have fun  Smiley
« Last Edit: Mar 30th, 2011 at 2:34pm by ThM »  

Guestbook_0_2.zip ( 49 KB | Downloads )

Greeting ThM
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #1 - Mar 8th, 2011 at 10:58pm
Print Post  
This looks great, I cant wait to test it out!

I always have a problem getting the tabmenu and threadmenu links to work... I know it's a little off topic anyone have an idea why I have this issue?

  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #2 - Mar 8th, 2011 at 11:45pm
Print Post  
I realize it is unlikely, but any way to resurrect and save previous guest book entries for a board old enough to have Carsten's 1.x guestbook mod?

I can still provide an old guestbook file to see the content if it could help. (I had been hoping to see the guestbook feature come back for years!)
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #3 - Mar 9th, 2011 at 12:10am
Print Post  
Fps_Brian wrote on Mar 8th, 2011 at 10:58pm:
I always have a problem getting the tabmenu and threadmenu links to work... I know it's a little off topic anyone have an idea why I have this issue? 


Brian, don't know what you mean exactly. A general problem with the tabs or in connection with the guest book?

batchman wrote on Mar 8th, 2011 at 11:45pm:
I can still provide an old guestbook file to see the content if it could help.


I can try it and comparing the old txt file with the new txt file. Maybe there is a possibility (no guarantee). If you want log in to my board and attach the old guestbook data file to any of the threads.
  

Greeting ThM
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #4 - Mar 9th, 2011 at 12:31am
Print Post  
ThM wrote on Mar 9th, 2011 at 12:10am:
[quote author=20363524342F2728460 link=1299609822/1#1 date=1299625090]I always have a problem getting the tabmenu and threadmenu links to work... I know it's a little off topic anyone have an idea why I have this issue?  


Brian, don't know what you mean exactly. A general problem with the tabs or in connection with the guest book?

General problem I've had for a little while now...
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #5 - Mar 9th, 2011 at 10:26am
Print Post  
Here's my admin guestbook file, just to see what it's like.
  

admin_gst.txt ( 2 KB | Downloads )

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #6 - Mar 9th, 2011 at 10:59am
Print Post  
Is it completly ? 20 entries ?

But ok, there is Date, Name and message right? I will take a look ....

Edited:
And which time zone is valid for you? (GMT + / - hours)


Edited:
Ok Batchmann, this is what i can do for you: http://www.yabbwelt.de/cgi-bin/yabb25/YaBB.pl?action=guestbook
« Last Edit: Mar 9th, 2011 at 12:23pm by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #7 - Mar 9th, 2011 at 6:29pm
Print Post  
Batchman - I think you're thinking of something different. Wasn't Carsten's Mod a 'Profile Guestbook' for members to leave comments in other member's profiles? This Mod doesn't do that - it's more of a typical Guestbook...
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #8 - Mar 9th, 2011 at 7:37pm
Print Post  
Oh ... so it's a forum guestbook, rather than a member guestbook?

Sorry, guess I completely misunderstood, then! Sorry about that!

(I gotta remember, I'm not as young as I used to be ... I start doing all-nighters, and my brain starts to suffer for it!)
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #9 - Mar 22nd, 2011 at 3:37am
Print Post  
I tried for a few hours, I can't figure out why my bbc buttons aren't working? Anyone else ever run into a problem like this?

They work when you type them in, but not the onclick command ?
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #10 - Mar 22nd, 2011 at 5:47am
Print Post  
Hi.

Don't know, maybe if you use yabb 2.3.1. But comming shortly the guestbook version 0.2 with some changes. I think you can tried this before we take a look why the bb-code is doesn't working bei onclick.

Don't worry, we will fix that.  Wink

(Btw. Also the smilies don't work)
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #11 - Mar 22nd, 2011 at 5:44pm
Print Post  
It's because you've removed the quick search box from the top of your forum. I actually have no idea at the minute why ubbc.js would even be apart of that, but this should fix it for you anyway.

In Sources/GuestBook.pl find:

Code
Select All
sub SignGuestBook { 


And add after:

Code
Select All
    $yyinlinestyle .= qq~<script language="JavaScript1.2" src="$yyhtml_root/ubbc.js" type="text/javascript"></script>~; 

  
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #12 - Mar 22nd, 2011 at 6:00pm
Print Post  
That worked! Amazing, thanks!
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #13 - Mar 22nd, 2011 at 6:14pm
Print Post  
No worries. It needs adding to the Guestbook by default really because it's only been working because of the search box...
  
Back to top
 
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Guestbook for YaBB 2.5AE - V.0.1
Reply #14 - Mar 23rd, 2011 at 4:34pm
Print Post  
Had to use the
sub SignGuestBook {
as well.

Works great! Another great addition  Smiley
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint