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
  #32  
Old 10-28-2004, 03:51 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
@swedie
I'd suggest to use complete INSERTs to avoid problems with different column ordering.

Eg.

[sql]INSERT INTO foobar (foo, bar) VALUES ('foo', 'bar')[/sql]
Yeah, I'm gonna do that now. I didn't have in my calculations that the field order would be different on different computers. I've tried it on two different servers and it works on both. But yeah, just to be sure I'm gonna force to the correct fieldname. I'm on it...
Reply With Quote
  #33  
Old 10-28-2004, 03:57 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
Yeah, I'm gonna do that now. I didn't have in my calculations that the field order would be different on different computers. I've tried it on two different servers and it works on both. But yeah, just to be sure I'm gonna force to the correct fieldname. I'm on it...
Okay! I've updated again. The new .SQL file now included complete INSERTS and cannot fail. Sorry, I should've done this in the first place!

Thanks all for assisting and making it work (at all?).
Reply With Quote
  #34  
Old 10-28-2004, 05:41 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heya,

I'm having some trouble displaying/viewing the hack...it doesn't show up anywhere. I've changed the permissions, logged in and out and cleared my cache...

I think the problem is in the general permissions screen, since it isn't showing up correctly (see attachment)

I tried changing the general permissions in the init.php file since this looked wrong...I think...

PHP Code:
'caneditownusernotes'      => 131072,
'canuseguestbook'          => 262144,
'canusewebpage'            => 524288,
'canseehiddencustomfields' => 262144
to this
PHP Code:
'caneditownusernotes'      => 131072,
'canseehiddencustomfields' => 262144,
'canuseguestbook'          => 524288,
'canusewebpage'            => 1048576
could someone help me out??

greets Nordinho,
Reply With Quote
  #35  
Old 10-28-2004, 06:47 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks swedie
Reply With Quote
  #36  
Old 10-28-2004, 07:10 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nordinho
Heya,

I'm having some trouble displaying/viewing the hack...it doesn't show up anywhere. I've changed the permissions, logged in and out and cleared my cache...

I think the problem is in the general permissions screen, since it isn't showing up correctly (see attachment)

I tried changing the general permissions in the init.php file since this looked wrong...I think...

PHP Code:
'caneditownusernotes'      => 131072,
'canuseguestbook'          => 262144,
'canusewebpage'            => 524288,
'canseehiddencustomfields' => 262144
to this
PHP Code:
'caneditownusernotes'      => 131072,
'canseehiddencustomfields' => 262144,
'canuseguestbook'          => 524288,
'canusewebpage'            => 1048576
could someone help me out??

greets Nordinho,
I can see that what is missing is the text. Because you have the two fields. So what you need to do is make sure that you have added the phrases called:
can_use_guestbook, can_use_webpage
They should be under: Permissions
in the Phrase Manager.

Or run this SQL again.
INSERT INTO `phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '-1', 'can_use_guestbook', 'Can use Guestbook?', 3);
INSERT INTO `phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '-1', 'can_use_webpage', 'Can use Webpage?', 3);
Reply With Quote
  #37  
Old 10-28-2004, 07:23 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
I can see that what is missing is the text. Because you have the two fields. So what you need to do is make sure that you have added the phrases called:
can_use_guestbook, can_use_webpage
They should be under: Permissions
in the Phrase Manager.

Or run this SQL again.
INSERT INTO `phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '-1', 'can_use_guestbook', 'Can use Guestbook?', 3);
INSERT INTO `phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '-1', 'can_use_webpage', 'Can use Webpage?', 3);
thanks for the reply Swedie, but both the phrases allready do exist...any other idea's??

Or should I change this back??

Quote:
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'canuseguestbook' => 524288,
'canusewebpage' => 1048576,
Reply With Quote
  #38  
Old 10-28-2004, 07:27 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nordinho
thanks for the reply Swedie, but both the phrases allready do exist...any other idea's??

Or should I change this back??
Make your genericpermissions array look like this:

// 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,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canuseguestbook' => 262144,
'canusewebpage' => 524288,
'canseehiddencustomfields' => 1048576
);

Just like that!
Reply With Quote
  #39  
Old 10-28-2004, 07:30 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nordinho
thanks for the reply Swedie, but both the phrases allready do exist...any other idea's??

Or should I change this back??
I've just changed the default permissions in phpmyadmin back and forth, now the webpage is starting to show...still no guestbook or editing options...

I can see it's installed by going to http://www.nordinho.com/vbull/profil...do=editwebpage....
Reply With Quote
  #40  
Old 10-28-2004, 07:41 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having exactly the same problems as Nordinho. I don't know much about php but the genericpermissions array actually continues further down in my init.php file.

// 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,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canuseguestbook' => 262144,
'canusewebpage' => 524288,
'canseehiddencustomfields' => 1048576,

// Reputation

'canseeownrep' => 256,
'canuserep' => 524288,
'canhiderep' => 1048576,
'cannegativerep' => 2097152,
'canseeothersrep' => 4194304,
'canhaverepleft' => 8388608,
);

Can 2 field names (or whatever their called) have the same value?

Nordinho, my phrases were "missing" even though the phrases were there but when I provided a US translation they work now.
Reply With Quote
  #41  
Old 10-28-2004, 07:55 PM
Nordinho Nordinho is offline
 
Join Date: Aug 2004
Location: Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snow
I'm having exactly the same problems as Nordinho. I don't know much about php but the genericpermissions array actually continues further down in my init.php file.

// 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,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canuseguestbook' => 262144,
'canusewebpage' => 524288,
'canseehiddencustomfields' => 1048576,

// Reputation

'canseeownrep' => 256,
'canuserep' => 524288,
'canhiderep' => 1048576,
'cannegativerep' => 2097152,
'canseeothersrep' => 4194304,
'canhaverepleft' => 8388608,
);

Can 2 field names (or whatever their called) have the same value?

Nordinho, my phrases were "missing" even though the phrases were there but when I provided a US translation they work now.
Thanx Snow, the translation thingie worked...the phrases are showing up now...

I'm actually having the exact same permissions list as you got...indeed there are some double values...Swedie has the one below as well, which I don't got...Can the double values just be changed or are they specific??

'canseeraters' => 256,
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:21 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.04894 seconds
  • Memory Usage 2,339KB
  • 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
  • (4)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