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
  #692  
Old 04-03-2005, 06:00 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Flow Fusion
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'canhaveguestbook' => 524288,
'canhavewebpage' => 1048576,
'canviewwebpage' => 2097152,
'canviewguestbook' => 4194304,
'canpostguestbook' => 8388608

You need to multiply by the number 2 I did it for you. Copy and paste I hope this helps.
I applied the numbers you provided but I get this error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in MISP\lpsforum\includes\init.php on line 815
Parsing functions.php Time before: 1112554915.89 Time after: 1112554915.94 Time taken: 0.054046869278

How do I fix this?

Also here is the blond moment of the day ( I am blonde so I can say that LOL)

How does one create a webpage or guestbook? I've looked the CP but no options there..... I went to this php "webgbset.php" but it's blank.
Reply With Quote
  #693  
Old 04-03-2005, 06:21 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question... I just found this mod Webpage & Guestbook Standalone Hack
Author: Creed (Daniel Caldwell) in this topic...... Which is the best to go with for my Community Website?
Reply With Quote
  #694  
Old 04-03-2005, 07:20 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does it say on line 815? And how the heck do I know which is best lol. I like both.
Reply With Quote
  #695  
Old 04-04-2005, 10:44 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YLP1
I applied the numbers you provided but I get this error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in MISP\lpsforum\includes\init.php on line 815
Parsing functions.php Time before: 1112554915.89 Time after: 1112554915.94 Time taken: 0.054046869278

How do I fix this?
looks like you had the right numbers the first time round. Flow Fusion must have missed the reputation bit at the end, that's a continuation of the previous and you need to continue from the last highest value. Tip: to keep things tidy, try to keep things in order, from smallest number to largest number, that way you will know whether you have duplicate values and if you need to add more for future hacks you'll know which number to start from. If you're using 3.0.6 or above and you've not added any values for other hacks in this section you should end up with something like this:
Code:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
	'canviewmembers'           => 1,
	'canmodifyprofile'         => 2,
	'caninvisible'             => 4,
	'canviewothersusernotes'   => 8,
	'canmanageownusernotes'    => 16,
	'canseehidden'             => 32,
	'canbeusernoted'           => 64,
	'canprofilepic'            => 128,
	'canseeraters'             => 256, // Permission removed in 3.0.2 ## Maintain backwards compatibility with 3.0.0 and 3.0.1
	'canuseavatar'             => 512,
	'canusesignature'          => 1024,
	'canusecustomtitle'        => 2048,
	'canseeprofilepic'         => 4096,
	'canviewownusernotes'	   => 8192,
	'canmanageothersusernotes' => 16384,
	'canpostownusernotes'      => 32768,
	'canpostothersusernotes'   => 65536,
	'caneditownusernotes'      => 131072,
	'canseehiddencustomfields' => 262144,

	// Reputation

	'canseeownrep'             => 256,
	'canuserep'                => 524288,
	'canhiderep'               => 1048576,
	'cannegativerep'           => 2097152,
	'canseeothersrep'          => 4194304,
	'canhaverepleft'           => 8388608,
	
	// guestbook and webpage
	
	'canhaveguestbook'         => 16777216,
        'canhavewebpage'           => 33554432,
        'canviewwebpage'           => 67108864,
        'canviewguestbook'         => 134217728,
        'canpostguestbook'         => 268435456,
);
As Flow Fusion mentioned, the next value in the series is double that of the previous value.... hence why it's best to keep things in order.

Quote:
Also here is the blond moment of the day ( I am blonde so I can say that LOL)

How does one create a webpage or guestbook? I've looked the CP but no options there..... I went to this php "webgbset.php" but it's blank.
You should get the hack completely installed first.
Reply With Quote
  #696  
Old 04-04-2005, 10:47 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YLP1
I have a question... I just found this mod Webpage & Guestbook Standalone Hack
Author: Creed (Daniel Caldwell) in this topic...... Which is the best to go with for my Community Website?
I believe Creeds hack requires this hack to be installed and his hack is an add-on to this one.
Reply With Quote
  #697  
Old 04-04-2005, 05:25 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much....the edits you gave me for the init.php worked...

So....I finished up the last two steps:

Quote:
Now to get this script to work!

!!IMPORTANT PART!! #1
GO INTO YOUR ADMINISTRATION AREA AND INTO LANGUAGE & PHRASES.
Search for: can_have_guestbook, open it. AND JUST SAVE IT! ...
now the phrase system has reloaded and everything (texts) SHOULD show correctly!

!!IMPORTANT PART!! #2
Go into vBulletin Options > Guestbook / Webpage Preferences. Click "Update". THIS IS REQUIRED FOR THIS SCRIPT TO WORK!
Go to your Usergroup Manager and apply new General Permissions settings for all the usergroup you have! THIS IS REQUIRED FOR THIS SCRIPT TO WORK!

If it still doesn't work. PLEASE report this in this thread:
https://vborg.vbsupport.ru/showthread.php?t=71065

Guide / Help

You will find settings under:
- vBulletin Options -
Guestbook / Webpage Preferences

- Usergroup -
Usergroup Manager
...edit Usergroup.
...under General Permissions
But when I go to http://yourlincolnpark.com/lpsforum/webgbset.php

The page is blank.

I went over all the edits again, checked that the insert.sql info was done and it all looked correct based on the instructions yet I can't get the webgset.php to work nor can I find where to access this mod.

Any help is greatly appreciated.
Robin
Reply With Quote
  #698  
Old 04-04-2005, 05:59 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YLP1
Thanks so much....the edits you gave me for the init.php worked...

So....I finished up the last two steps:



But when I go to http://yourlincolnpark.com/lpsforum/webgbset.php

The page is blank.

I went over all the edits again, checked that the insert.sql info was done and it all looked correct based on the instructions yet I can't get the webgset.php to work nor can I find where to access this mod.

Any help is greatly appreciated.
Robin
webgbset is the "style sheet" for this hack, you will get a blank page if you view it in a browser. You need to open the file with something like wordpad or a html editor like dreamweaver. You'll see the list of settings such as background for the guestbook etc. and you can change these colours/settings to match your forum design. Hopefully in the next version, Swedie will have updated the styles issue so that this hack inherits the style from the forum, but in the meantime, webpgset is how you'll customise the style of this hack.
Reply With Quote
  #699  
Old 04-04-2005, 06:11 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
webgbset is the "style sheet" for this hack, you will get a blank page if you view it in a browser. You need to open the file with something like wordpad or a html editor like dreamweaver. You'll see the list of settings such as background for the guestbook etc. and you can change these colours/settings to match your forum design. Hopefully in the next version, Swedie will have updated the styles issue so that this hack inherits the style from the forum, but in the meantime, webpgset is how you'll customise the style of this hack.

Where would a user go to add a webpage and guestbook? I don't find any links in the CP, etc.
Reply With Quote
  #700  
Old 04-04-2005, 06:19 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YLP1
Where would a user go to add a webpage and guestbook? I don't find any links in the CP, etc.
The webpage and guestbook should appear in a member's profile page when they turn them on. Make sure you've allowed the usergroups you want to use this hack to actually use it by editing the permissions in the usergroup section of your adminCP, then head over to the userCP in the forum and you'll see the item in the left hand side menu of your userCP.
Reply With Quote
  #701  
Old 04-04-2005, 07:14 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Snow...ok.... so far I can see Webpage Content and Guestbook settings in the CP. When I click on Webpage content it shows a form (which is huge); and allows me to put data in the fields but when I click update nothing happens.

Also, there is a error on this page (in status area of browser)
Line:35
Char:1
Error: Object Expected
Code: 0
url: http://www.yourlincolnpark.com/lpsfo...do=editwebpage

I went back through all the edits and tempaltes, etc. and confirmed all is correct and I went through the usergroup permissions, phrases, etc.

I screwed up somewhere but I can't figure out where. What do you think?
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 01:44 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.05116 seconds
  • Memory Usage 2,328KB
  • 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
  • (1)bbcode_code
  • (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