Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #422  
Old 12-13-2004, 08:32 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyone out there that could make a mod or show me how to refuse some types of HTML? ie z-index. using that you could cover the whole vbulletin screen.

and I would love to force the webpage to be a certain size. I did a page and it was huge. You know there is going to be that idiot member.

Let me know if it is possable! Thanks.
Reply With Quote
  #423  
Old 12-13-2004, 11:04 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
Is there anyone out there that could make a mod or show me how to refuse some types of HTML? ie z-index. using that you could cover the whole vbulletin screen.
In the options (adminCP) for the webpage, there's a box where you may list the html tags that are allowed (anything else shouldn't work although I haven't tested this). However, allowing html is risky so you could try adding some more custom BBcode for your members to use instead.

Quote:
and I would love to force the webpage to be a certain size. I did a page and it was huge. You know there is going to be that idiot member.

Let me know if it is possable! Thanks.
In the file webgbset.php, the following two lines control the sizes of the guestbook and webpage
Code:
$wghtml['webpagewidth'] = '60%'; //Default 60%
$wghtml['gbwidth'] = '30%'; //Default 40%
I assume it should work if you wanted to use fixed values e.g. 500px instead of percentages. I don't think users can override these values.
Reply With Quote
  #424  
Old 12-13-2004, 04:52 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
That would be a very handy feature. In the meantime I've had to make do with a modified version of what frage posted...... I added the profile field as frage states then replaced
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
with
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] <if condition="$post[field6] = Yes"><a href="member.php?$session[sessionurl]userid=$post[userid]"><img src="$stylevar[imgdir_misc]/guestbook_yes.gif" border="none" alt="Guestbook" /></a> </if></div>
This should show a small guestbook_yes.gif next the ICQ/msn icons.
Awesome idea. But for some reason, everyone has "Guestbook" next to their name in their postbit, even though "undisclosed" is set up as default in that user profile. What did I do wrong? I have the appropriate field listed, and have created a user profile to go along with this.

Thanks!
rich
x.russbo.com/vb/index.php
Reply With Quote
  #425  
Old 12-13-2004, 05:16 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by docvader
Awesome idea. But for some reason, everyone has "Guestbook" next to their name in their postbit, even though "undisclosed" is set up as default in that user profile. What did I do wrong? I have the appropriate field listed, and have created a user profile to go along with this.

Thanks!
rich
x.russbo.com/vb/index.php
You did nothing wrong, I missed a = It should be
PHP Code:
<div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon] <if condition="$post[field6] == Yes"><a href="member.php?$session[sessionurl]userid=$post[userid]"><img src="$stylevar[imgdir_misc]/guestbook_yes.gif" border="none" alt="Guestbook" /></a> </if></div
Sorry
Reply With Quote
  #426  
Old 12-13-2004, 05:46 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
In the file webgbset.php, the following two lines control the sizes of the guestbook and webpage
Code:
$wghtml['webpagewidth'] = '60%'; //Default 60%
$wghtml['gbwidth'] = '30%'; //Default 40%
I assume it should work if you wanted to use fixed values e.g. 500px instead of percentages. I don't think users can override these values.
Hummm good looking out. This seems to be width though. I am more into the hight. Let me look and see if that is there as well.

Oh BTW I put any code I wanted. bypassed what was "allowed"
Reply With Quote
  #427  
Old 12-13-2004, 10:11 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
okay i messed up, i couldn't upgrade the query. and couldn't just insert the new one. so i figured i'd just delete the old sql structure and then replace it. which i did. bad idea, just lost all my guestbook entries and webpages. now, i inserted the new one, but got an error about setting_allowguestbook_desc duplicate. now, the guestbooks and webpages do work. but they don't show any 'phrases', meaning if people go in to edit the guestbook they just see radio buttons. how can i fix this?
Quote:
want to inhance my guestbook script:
-is there anyway to change the actual font face and size for all guestbooks?
-how would i set using avatars in the guestbook defaultly to yes?
help!
Reply With Quote
  #428  
Old 12-14-2004, 08:41 AM
kikosho kikosho is offline
 
Join Date: Mar 2002
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry if I missed it --- but can someone tell me how to include somewhere in the postbit that a user actually has an active "webpage" so users will know which ones to check out if they wish?

Anyone that knows how or can repost the code (if they found a solution), I'd really appreciate it!
Reply With Quote
  #429  
Old 12-14-2004, 09:30 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Swedie mate,

I still can't find out why a member that cannot have gb or wp has a width problem in my style on his memberpage ( http://community.ddance.fm/member.php?u=38 )

allthough fixed width with gb/wp ( http://community.ddance.fm/member.php?u=1 )

Seems even that it is ok with only a gb... ( http://community.ddance.fm/member.php?u=5 )
Code:
//This file includes settings for Webpage and Guestbook script
$wghtml['webgbtotalwidth'] = '735';
$wghtml['webpagewidth'] = '65%'; //Default 60%
$wghtml['gbwidth'] = '35%'; //Default 40%
$wghtml['gbpagelimit'] = '10';
$wghtml['gbpagestoshow'] = '10';
:/
Reply With Quote
  #430  
Old 12-14-2004, 03:22 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kikosho
Sorry if I missed it --- but can someone tell me how to include somewhere in the postbit that a user actually has an active "webpage" so users will know which ones to check out if they wish?

Anyone that knows how or can repost the code (if they found a solution), I'd really appreciate it!
Look at Snow's response a few posts up. Works great!
rich
Reply With Quote
  #431  
Old 12-14-2004, 03:48 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is the first zip updated to work find on first install on 3.0.3? I'd love to try this out
Reply With Quote
Reply

Thread Tools

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:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05945 seconds
  • Memory Usage 2,326KB
  • 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
  • (5)bbcode_code
  • (1)bbcode_php
  • (8)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