Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Webpage & Guestbook Script Details »»
Webpage & Guestbook Script
Version: 1.04, by Swedie Swedie is offline
Developer Last Online: Apr 2018 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-26-2004 Last Update: 11-13-2005 Installs: 171
DB Changes Template Edits
Code Changes Additional Files  
No support by the author.

Webpage and Guestbook for vBulletin 3.0.x

This script installs a Webpage and a Guestbook on your users profile page.

Upcoming fixes:
* Adding leads to user's guestbooks via post icons.
* More? Send me suggestions by posting in this thread.

LATEST VERSION NEW FEATURES v1.0.4 - November 14th, 2005 (Re-released)
* Now comes with an easy to use installer that does all the database entries.
* Also includes an uninstaller (works even though you don't have version 1.0.4 installed)
* Includes upgrade from v1.03 to v1.04 (previous versions are left unsupported)
* Corrected some Javascript errors with the Editor.
* Optimized code (less rows)
* Smilie icon show when enabled in HTML mode
* Quick Edit works better and also updates Webpage name and Description.
- Added Cancel button
- Only show Quick Edit box when editing
* BUG for large Guestbooks fixed. (Altering of table)

NEW FEATURES v1.0.3
* Webpage editing is now improved and stable (had javascript error before)
(only need to update template modify_webpage and file profile.php with new code)

NEW FEATURES v1.0.2
* Admin edit ability
* Improved code
* Using more of CSS from vBulletin rather than through a control file
* FIXED: Removal / Editing of posts (includes a FIX file that you need to run ONCE)
* FIXED: Avatar now show when file based system is used.

(VERSION 1.02 .ZIP FILE HAS BEEN UPDATED! DOWNLOAD CURRENT FILE)

NEW FEATURES v1.0.1
* Added ability to edit or remove his/her guestbook entry within the default vB's timeout setting
* Lots more Usergroup settings (that actually work )
* Colors etc are changed from one configuration file (didn't add to vBulletin admin area because it was just too much for one settings page...)
* PM or Email Notification option, or none (Default option is set by Admin)
* HTML or vBcode when creating webpage content (not both)
* HTML is limited to Admin set HTML tags in the Administration area
* Language controlled through vB's Language system
* Option to display users Avatars (controllable FORCED sizing)
* Smilies option (On or Off)

Usergroup settings added
* Can have Webpage
* Can have Guestbook
* Can view Guestbook
* Can view Webpage
* Can post in Guestbook

------------------------------------------------------------------

THIS SCRIPT IS NOT FOR COMPLETE NEWBIES!
If you are not used to changing script code. Please let someone else do the job for you that know more 'scripting'.

This script requires modification to your database.

I take no responsibily as to what happens to your website after you install this script.

Good luck and I hope you enjoy my contribution!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #662  
Old 03-18-2005, 10:13 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
Okay I am done with the admin edit feature. It is very simple, but it does its job. Nothing more. It is raw format edit. So this means you do not have the vBcode functions. It is not ment for admins to construct webpages while editing pages anyways.

I've named the feature "Quick Edit" and it is accessable straigth from the member's webpage (clickable button below page).
I'm not seeing this button, on my own page I made, or anyone elses?

any ideas?

Chris.
Reply With Quote
  #663  
Old 03-19-2005, 05:04 AM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help...
I need to know how can I uninstall Table 'user_guestbook' already exists
Cause I need to remove and reinstall this hack.
Quote:
Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
canhaveguestbook = '1',
canhavewebpage = '1',
canviewguestbook = '1',
canviewwebpage = '1',
canpostguestbook = '1',
shoutmaxdaily = '0',
shouthierarchy = '1',
attachlimit = '0',
avatarmaxwidth = '120',
avatarmaxheight = '120',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '200',
pmsendmax = '0',
forumpermissions = '393215',
pmpermissions = '2',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '5504959',
genericoptions = '31',
journalpermissions = '2047',
awrequest = '1',
shoutboxpermissions = '1023'
WHERE usergroupid=6
mysql error: Unknown column 'canhaveguestbook' in 'field list'

mysql error number: 1054

Date: Friday 18th of March 2005 10:50:36 PM
Script: http://giftedsouls.com/gs/admincp/usergroup.php
Referer: http://giftedsouls.com/gs/admincp/us...&usergroupid=6
Username: Flow Fusion
Reply With Quote
  #664  
Old 03-19-2005, 11:57 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are planning to reinstall you have to drop both user_webpage and user_guestbook tables. If you have phpmyadmin just login to it select the table user_webpage and drop the table and then select user_guestbook and drop that also.
Before the installation process be sure to check your phrases. If you have all the phrases then remove all the INSERT INTO `phrase` from insert.sql before running it.
Reply With Quote
  #665  
Old 03-19-2005, 02:38 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lizard King
Before the installation process be sure to check your phrases. If you have all the phrases then remove all the INSERT INTO `phrase` from insert.sql before running it.
How do I do that?

Ok I dropped the tables now first off do I have to remove all of the phrases? And will the same error message occur cause I don't think the insert.iql file added the tables canviewwebpages and the canviewguestbook tables before.
Reply With Quote
  #666  
Old 03-19-2005, 03:06 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Flow Fusion
How do I do that?

Ok I dropped the tables now first off do I have to remove all of the phrases? And will the same error message occur cause I don't think the insert.iql file added the tables canviewwebpages and the canviewguestbook tables before.
If you didn't remove the phrases just run the attached install.sql
Reply With Quote
  #667  
Old 03-19-2005, 03:35 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Error

SQL-query+:+


CREATE TABLE `user_guestbook` (
`userid` varchar( 100 ) NOT NULL default '',
`name` varchar( 100 ) default '',
`lastentry` varchar( 20 ) default '',
`status` char( 3 ) NOT NULL default 'on',
`usesmilies` smallint( 6 ) NOT NULL default '2',
`position` varchar( 10 ) NOT NULL default 'right',
`notification` varchar( 10 ) NOT NULL default 'no',
`showavatar` smallint( 6 ) NOT NULL default '0',
`text` text,
PRIMARY KEY ( `userid` )
) TYPE = MYISAM


MySQL said:


Table 'user_guestbook' already exists

Back
I tried to find it but I saw too many matches.
Reply With Quote
  #668  
Old 03-19-2005, 07:40 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it out. It was I had to add

'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canhaveguestbook' => 262144,
'canhavewebpage' => 524288,
'canviewwebpage' => 1045876,
'canviewguestbook' => 2097152,
'canpostguestbook' => 4194304,
'canseehiddencustomfields' => 8388608,

And do the math accordingly. Clicks install and thanks!

Someone needs to mention this in the first post.
Reply With Quote
  #669  
Old 03-20-2005, 06:54 AM
Jag Jag is offline
 
Join Date: Aug 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You might want to make a mention that you have to edit the SQL file if you have a table prefix set.

Other than that, installed with no problems.

http://forums.4-jag.com/member.php?u=1

* Clicks Install
Reply With Quote
  #670  
Old 03-20-2005, 02:17 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still can't find the edit page button, but I do have another question/request.

Since most of our members most likely don't have a host for pictures for their pages. Is there anyway, that this hack could utilize the picture attachment feature of Vboard, to let them upload a photo to use on their page?

Thanks
Chris.
Reply With Quote
  #671  
Old 03-20-2005, 05:40 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cdoyle
I still can't find the edit page button, but I do have another question/request.

Since most of our members most likely don't have a host for pictures for their pages. Is there anyway, that this hack could utilize the picture attachment feature of Vboard, to let them upload a photo to use on their page?

Thanks
Chris.
I would like to see that feature as well...
Reply With Quote
  #672  
Old 03-20-2005, 06:22 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use any kind of attachment uploader for that. Also instead of this I would like to see the new release
Reply With Quote
  #673  
Old 03-21-2005, 09:01 PM
cdoyle cdoyle is offline
 
Join Date: Oct 2004
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not saying postpone this release, but in future releases this would be something nice to have. Instead of having to install another hack, it be nice to have it part of this one.
Reply With Quote
  #674  
Old 03-24-2005, 08:42 AM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To avoid uncached templates query's add this code in profile.php:

Find:

PHP Code:
 'removelist' => array(
'modifylist_removeuser',
), 
add below:

PHP Code:
 'editwebpage' => array(
'editor_smilie_standard',
'editor_smiliebox',
'editor_smiliebox_category',
'editor_smiliebox_row',
'modify_webpage',
),
'editguestbook' => array(
'modify_guestbook',
), 
It reduce 6 query's

Some new about the avatars bug? (when stored as files)
Regards.
Reply With Quote
  #675  
Old 03-25-2005, 01:23 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nordinho
I would like to see that feature as well...
InSTALL GEEKS attachment hack for photopost and you can do it no problem
not as smooth as a HTML editor but it will work.
try it.
(look at the hack before you make a comment)
Reply With Quote
  #676  
Old 03-25-2005, 04:33 PM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font size="4">feature Request</font>

i was thinking that a cool feature for the next version could be an option in the guestbook preferences saying

Only Buddies can post messages in guestbook ?

what do people think could be a cool privacy feature!!

cheers
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12000 seconds
  • Memory Usage 2,375KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete