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
  #112  
Old 10-31-2004, 02:54 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ugh.. why can't I see them in the admincp/usergroup manager.

// set default yes permissions (bitfields)
$ug_bitfield = array(
'showgroup' => 1,
'canview' => 1,
'canviewmembers' => 1,
'canuseguestbook' => 1,
'canusewebpage' => 1,
'canviewothers' => 1,
'cagetattachment' => 1,
'cansearch' => 1,
'canmodifyprofile' => 1,
'canthreadrate' => 1,
'canpostattachment' => 1,
'canpostpoll' => 1,
'canvote' => 1,
'canwhosonline' => 1,
'allowhidden' => 1,
'showeditedby' => 1,
'canseeprofilepic' => 1,
'canusesignature' => 1,
'cannegativerep' => 1,
'canuserep' => 1
);

They are there.. but not.. UGHHH
Reply With Quote
  #113  
Old 10-31-2004, 02:57 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you only the the radiobuttons but not the text search the two phrases and add the text into the english box!

StarBuG
Reply With Quote
  #114  
Old 10-31-2004, 03:10 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StarBuG
if you only the the radiobuttons but not the text search the two phrases and add the text into the english box!

StarBuG
Done that. I've installed it on one site correctly but now on this other one it's giving me problems.

I don't even see the radio buttons.
Reply With Quote
  #115  
Old 10-31-2004, 04:42 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rex_b
Ugh.. why can't I see them in the admincp/usergroup manager.

// set default yes permissions (bitfields)
blah =)

They are there.. but not.. UGHHH
That array is only for when creating a new usergroup and you want default values added right away. So that's nothing to do with your problem.

The problem you're having is with the phrase language. Please try and run this SQL query: (it will change the value of your languageid to 1 instead of 0)

PHP Code:
UPDATE vb3phrase SET languageid '1' WHERE 
varname 
'setting_allowguestbook_desc' AND 
varname 'setting_allowguestbook_title' AND 
varname 'setting_allowwebpage_title' AND 
varname 'setting_allowwebpage_desc' AND 
varname 'settinggroup_guestbookwebpage' AND 
varname 'setting_webpagevbcode_desc' AND 
varname 'setting_guestbooksmilies_desc' AND 
varname 'setting_webpagevbcode_title' AND 
varname 'setting_webpagesmilies_title' AND 
varname 'setting_guestbooksmilies_title' AND 
varname 'setting_webpagesmilies_desc' AND 
varname 'setting_webpagehtml_title' AND 
varname 'setting_webpagehtml_desc' AND 
varname 'can_use_guestbook' AND 
varname 'can_use_webpage' AND 
varname 'setting_allowedhtmltags_title' AND 
varname 'setting_allowedhtmltags_desc' AND 
varname 'edit_webpage_content' AND 
varname 'edit_guestbook_settings'

Reply With Quote
  #116  
Old 10-31-2004, 04:49 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Swedie

Do u have any idea why the guestbook is not showing up when bottom is selected?

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

Quote:
Originally Posted by StarBuG
Hey Swedie

Do u have any idea why the guestbook is not showing up when bottom is selected?

StarBuG
ask me one more time, please do it!
Reply With Quote
  #118  
Old 10-31-2004, 05:10 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FIX FOR SHOWING GUESTBOOK

PASTE THIS:
Quote:
<if condition="$vboptions[allowguestbook] == '1'">
<if condition="$userinfo[permissions][canuseguestbook] == '1'">
<if condition="$webpage[gb_status] == 'on'">
<if condition="$webpage[gb_position] == 'bottom'">
$webpage[gb_html]
</if>
</if>
</if>
</if>
before:
<if condition="$show['signature']">

IN TEMPLATE: MEMBERINFO
Reply With Quote
  #119  
Old 10-31-2004, 05:15 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
That array is only for when creating a new usergroup and you want default values added right away. So that's nothing to do with your problem.

The problem you're having is with the phrase language. Please try and run this SQL query: (it will change the value of your languageid to 1 instead of 0)

PHP Code:
UPDATE vb3phrase SET languageid '1' WHERE 
varname 
'setting_allowguestbook_desc' AND 
varname 'setting_allowguestbook_title' AND 
varname 'setting_allowwebpage_title' AND 
varname 'setting_allowwebpage_desc' AND 
varname 'settinggroup_guestbookwebpage' AND 
varname 'setting_webpagevbcode_desc' AND 
varname 'setting_guestbooksmilies_desc' AND 
varname 'setting_webpagevbcode_title' AND 
varname 'setting_webpagesmilies_title' AND 
varname 'setting_guestbooksmilies_title' AND 
varname 'setting_webpagesmilies_desc' AND 
varname 'setting_webpagehtml_title' AND 
varname 'setting_webpagehtml_desc' AND 
varname 'can_use_guestbook' AND 
varname 'can_use_webpage' AND 
varname 'setting_allowedhtmltags_title' AND 
varname 'setting_allowedhtmltags_desc' AND 
varname 'edit_webpage_content' AND 
varname 'edit_guestbook_settings'


Hmm. I ran that and I still don't see the 2 options in admincp/usergroup manager
Reply With Quote
  #120  
Old 10-31-2004, 06:36 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the problem is in admin/usergroup.php

you where told to:

Add on row 174 BEFORE "print_table_break();":

but because of the multiple times this little bastard is in the file you propably put it in the wrong place (Like I did the first time!).

So find:

print_table_header($vbphrase['general_permissions']);

the "print_table_break();" after this is the right one

Greetings

StarBuG

ps: You should describe this better in your instructions Swedie. You sometimes tell people to find a text that occures multiple times in the file so people get easily confused
Reply With Quote
  #121  
Old 10-31-2004, 06:45 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep I figured that out like 2 min ago.. I had it after line 184..

NOW IT WORKS!!!!!
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 01:36 AM.


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.02990 seconds
  • Memory Usage 2,337KB
  • 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_php
  • (5)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