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
  #812  
Old 05-03-2005, 11:33 AM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
Amy, I have my init file exactly layed out the way the instructions for this hack described. Everything went great, except none of my user permissions stick in regards to this hack. Everything works, including creating the webpage. I really need this set so that admins and a new usergroup are allowed to make webpages and use the guestbook feature. I would like for everyone to have the ability to see them, but I would only like for the admin/added group to create.

Would someone more adepth with the init file be interested in seeing where the problem lies?
Reply With Quote
  #813  
Old 05-03-2005, 12:18 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iguanairs
Hello,
Amy, I have my init file exactly layed out the way the instructions for this hack described. Everything went great, except none of my user permissions stick in regards to this hack. Everything works, including creating the webpage. I really need this set so that admins and a new usergroup are allowed to make webpages and use the guestbook feature. I would like for everyone to have the ability to see them, but I would only like for the admin/added group to create.

Would someone more adepth with the init file be interested in seeing where the problem lies?
yes take a look in your usergroups. You may have overlooked it since this is a quite large hack.

Take a look you should see Webpage and Guestbook new entries.... adjust to how you feel fit.
Reply With Quote
  #814  
Old 05-03-2005, 02:44 PM
FightRice.com FightRice.com is offline
 
Join Date: Mar 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IS this what you are looking for
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,
	'canhaveguestbook'         => 16777216,
    'canhavewebpage'           => 33554432,
    'canviewwebpage'           => 67108864,
    'canviewguestbook'         => 134217728, 
    'canpostguestbook'         => 268435456,
Reply With Quote
  #815  
Old 05-03-2005, 04:11 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
Thanks for posting that. That is EXACTLY how mine appears.lol Everything is working on my site, except the usergroup permissions. I see them listed, I have made changes, and I have updated those usergroups. The problem is, my settings are not staying. Once I tell it to save them, they revert back to how they were.

This is crazy. lol What could be causing them to not be saved? They are in the usergroup manager, and I have done everything as outlined. Everything appears to work fine, but I can't change the user permissions and have them stay!

*****UPDATE*****

If anyone else runs into this problem, and you have cpanel, use the "repair" feature beside the database that houses your forums. I ran both the "repair" feature as well as the maintenance via the forums ACP, and that corrected the settings not staying. They now appear to be working. Thanks everyone.

//Rich Clicked install.
Reply With Quote
  #816  
Old 05-09-2005, 01:41 PM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works perfectly Now if I can find some memberinfo templates.
Reply With Quote
  #817  
Old 05-10-2005, 05:32 PM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is incredible, I even intend to make this myself.

Thanks !
Reply With Quote
  #818  
Old 05-11-2005, 04:06 AM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem. Everything seems to be working just fine except Guest can't view guest book.

I looked at everything from the init.php file and the usergroup permission.

At first nothing showed up for guest but I saw that I messed up 1 of the numbers when I typed it in and nothing came up for Guest. Now that I fixed the init.php file the webpage shows up but not the guestbook.
Reply With Quote
  #819  
Old 05-12-2005, 02:56 PM
smacklan's Avatar
smacklan smacklan is offline
 
Join Date: Mar 2005
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I click on Web Page Content in the UserCP i get the following error:

PHP Code:
Warningmysql_num_rows(): supplied argument is not a valid MySQL result resource in /profile.php on line 320

Warning
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /profile.php on line 327 
Any suggestions?
Reply With Quote
  #820  
Old 05-12-2005, 03:37 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rampag33
I'm having a problem. Everything seems to be working just fine except Guest can't view guest book.

I looked at everything from the init.php file and the usergroup permission.

At first nothing showed up for guest but I saw that I messed up 1 of the numbers when I typed it in and nothing came up for Guest. Now that I fixed the init.php file the webpage shows up but not the guestbook.
did you check guest usergroup settings ?
Reply With Quote
  #821  
Old 05-13-2005, 02:29 AM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I made the uergroup settings too. I guess that's why its not working for prior v303. Damn didn't want to upgrade the forums yet but I guess no way to get this to work without it. But strange how this is the only thing not working since the rest of the website shows with no problem.
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 12:42 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.07044 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_php
  • (2)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