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
  #302  
Old 11-26-2004, 07:42 AM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by idslamyou
Upgraded fine. I do have a couple of issues/requests.

Is there any way to specify the default values( i.e. bg color, font color, size, border color and size) when a user is creating there webpage. I looked in the webgbset.php but didn't see any references. (Image attached)

Is there a way to have the default look of their page with the guestbook on the bottom?

Is there a way for users to post html in the guestbook? I would love to see at least the img tag supported.

You can check out the page at http://www.idslamyou.com/forums/member.php?userid=1

I will definatly be paypalin' some money by this weekend. Thanks Swedie.
I need to be a member to view your page. But I know what you are talking about. Replace the code in member.php with this new code I have attached.

There will not be HTML in the guestbook. I see horrible things in my head that users could do. :ninja:

I will create new lines for default values upon creating new guestbooks. I will have an update for you later on today. I will also add so that you can decide from the admin page which to be the default position for the guestbook.

good suggestions that I will start working on right away. thanks
Reply With Quote
  #303  
Old 11-26-2004, 09:00 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
Run this SQL command to fix that problem:
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'wg_html', 'HTML', 1);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'wg_vbcode', 'vBcode', 1);
Thank you that's fixed the drop down menu. html still doesn't work on the webpage though, but I wasn't going to allow html anyway.

Is there a way to integrate the forum's editor (e.g. the WYSIWYG editor) with the edit webpage?
Reply With Quote
  #304  
Old 11-26-2004, 10:26 AM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
Thank you that's fixed the drop down menu. html still doesn't work on the webpage though, but I wasn't going to allow html anyway.

Is there a way to integrate the forum's editor (e.g. the WYSIWYG editor) with the edit webpage?
it's there... what version did you download?
Reply With Quote
  #305  
Old 11-26-2004, 10:40 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
it's there... what version did you download?
Version? I downloaded the zip last night a little over 12 hours ago, it says version 1.0.

I've attached a screenshot of the "editor" I've got with WYSIWYG editor enabled in the options.
Reply With Quote
  #306  
Old 11-26-2004, 11:32 AM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
Version? I downloaded the zip last night a little over 12 hours ago, it says version 1.0.

I've attached a screenshot of the "editor" I've got with WYSIWYG editor enabled in the options.
Click on the rather BIG "Switch to vBcode version"-button. Thank you. :ninja:
Reply With Quote
  #307  
Old 11-26-2004, 12:06 PM
tteal tteal is offline
 
Join Date: May 2004
Location: Pasadena, Maryland
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChuanSE
tteal, is ur usergroup allowed to view/have webpage/guestbook?
Yes that's correct. As I mentioned, I see the two links on USERCP that say:

- Webpage content
- Guestbook Settings

If I click on webpage content or guestbook settings both work just great, however, it's when you view a users' profile that is the problem and don't work although as mentioned as well, they are updating in the SQL database. Very strange indeed.

I've looked thruogh all of the templates a hundred times and still no luck.

Thanks for helping though folks I very much appreciated. Any more suggestions?

Cheers,
Tim
Reply With Quote
  #308  
Old 11-26-2004, 12:09 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
Click on the rather BIG "Switch to vBcode version"-button. Thank you. :ninja:
Thanks I sorted it. The BIG button wasn't working but I found the problem. The following was missing from the original upgrade.sql file that I used.
Code:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 40, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 50, 0, 1);
I've gone through all the queries one by one again, and it doesn't look like I've missed any others, but....... for people to view the guestbook and webpage, I have to give them permission to have a guestbook/webpage. i.e. the view guestbook/webpage settings don't appear to be working for me. What have I overlooked? :ermm:
Reply With Quote
  #309  
Old 11-26-2004, 12:31 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks great, i'm very interested in this hack, however i'd like to see the cleaned up templates by fleabag and also is there an option to turn off posting in your own guest book? another thing is is their a per-usergroup setting?
Reply With Quote
  #310  
Old 11-26-2004, 12:43 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
Thanks I sorted it. The BIG button wasn't working but I found the problem. The following was missing from the original upgrade.sql file that I used.
Code:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 40, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 50, 0, 1);
I've gone through all the queries one by one again, and it doesn't look like I've missed any others, but....... for people to view the guestbook and webpage, I have to give them permission to have a guestbook/webpage. i.e. the view guestbook/webpage settings don't appear to be working for me. What have I overlooked? :ermm:
good thing you figured that out. you must've come inbetween an update i did..
Reply With Quote
  #311  
Old 11-26-2004, 01:30 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
this looks great, i'm very interested in this hack, however i'd like to see the cleaned up templates by fleabag and also is there an option to turn off posting in your own guest book? another thing is is their a per-usergroup setting?
Download the ZIP and have a look at it yourself.

Check my first post for info about usergroup settings.
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 04:05 AM.


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.06245 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
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_code
  • (9)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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