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
  #912  
Old 08-09-2005, 09:10 PM
James Grant James Grant is offline
 
Join Date: Jul 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's ok lol.... I found it myself.

If anyone else wants to know
(and by the way before you look at the code, PLEASE be aware that i can't code to save my life! so i've just looked at it hard and modified it a bit)

Proper developers will freak at this lol:

in members.php:

Change inbetween where it says "//Enable or Disable deletion-ability " and "//Subject" to this:

Code:
//Enable or Disable deletion-ability
                    if(GBUSERID == $bbuserinfo['userid'] or $permissions['adminpermissions'] or ($split['1'] == $bbuserinfo['userid'] && time() < ($split['0']+($vboptions['editthreadtitlelimit']*60)))) {
                        $html .= "
                        <script LANGUAGE=\"JavaScript\">
                        <!--
                        function confirmSubmit()
                        {
                        var agree=confirm(\"".$vbphrase['wg_areyousure']."\");
                        if (agree)
                            return true ;
                        else
                            return false ;
                        }
                        // -->
                        </script>

                        <table border=0 cellspacing=0 cellpadding=2>
                        <tr><td><table border=0 cellspacing=0 cellpadding=0>
                        <form action=\"member.php?u=".GBUSERID."\" method=\"post\">
                        <input type=\"hidden\" name=\"do\" value=\"remove_gbentry\">
                        <input type=\"hidden\" name=\"gbtime\" value=\"".$split['0']."\">
                        <input type=\"hidden\" name=\"gbuserid\" value=\"".$split['1']."\">
                        <tr><td><input onClick=\"return confirmSubmit()\" type=\"image\" src=\"images/buttons/gbremove.gif\" title=\"".$vbphrase['wg_remove']."\"></td></tr>
                        </form>
                        </table></td><td></td></tr>
                        </table>";
                    }
                    
                    if(GBUSERID == $bbuserinfo['b'] or $permissions['adminpermissions'] or ($split['1'] == $bbuserinfo['userid'] && time() < ($split['0']+($vboptions['editthreadtitlelimit']*60)))) {
                        $html .= "
                        <script LANGUAGE=\"JavaScript\">
                        <!--
                        function confirmSubmit()
                        {
                        var agree=confirm(\"".$vbphrase['wg_areyousure']."\");
                        if (agree)
                            return true ;
                        else
                            return false ;
                        }
                        // -->
                        </script>

                        <table border=0 cellspacing=0 cellpadding=2>
                        <tr><td><table border=0 cellspacing=0 cellpadding=0>

                        </table></td><td><table border=0 cellspacing=0 cellpadding=0>
                        <form action=\"member.php?u=".GBUSERID."\" method=\"post\">
                        <input type=\"hidden\" name=\"do\" value=\"edit_gbentry\">
                        <input type=\"hidden\" name=\"gbtime\" value=\"".$split['0']."\">
                        <input type=\"hidden\" name=\"gbuserid\" value=\"".$split['1']."\">
                        <tr><td><input type=\"image\" src=\"images/buttons/gbedit.gif\" title=\"".$vbphrase['wg_edit']."\"></td></tr>
                        </form>
                        </table></td></tr>
                        </table>";
                    }
                    



                    $html .= "</td><td width=100% class=\"smallfont\">";
                    //Subject

By the way i had to use a bit of code that proper coders will freak at lol...

I used GBUSERID == $bbuserinfo['b'] in the 2nd bit to make sure it was skipped (as in i know there isnt a variable called "b", so it will just skip it) to get it working...

If someone can improve on the code it would be cool. It seems to be working at the moment but the code is really dirty, so i spologise! again i cant code at all, and i dont know what half of the code means lol.... so please dont start shouting at me :squareeyed:


Just thought i'd post it to share with anyone else who's doing something like this


J
Reply With Quote
  #913  
Old 08-13-2005, 11:56 AM
imported_Dalvosaber imported_Dalvosaber is offline
 
Join Date: Jul 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i Have installed ervrything properly and i see the admin cp configs and the usergroups have been updated and i see the usercp stuff but when i put a page it doesnt work!
Reply With Quote
  #914  
Old 08-15-2005, 11:14 AM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's an update for you all.

In September I will dedicate more time to fix this script. The reason is that I will have own office here in the center of the town next to a college/universe with lots of companies around me that I can ask for help and what not. My own brother works just around the corner and he's a very good programmer. Meaning that if I run into a problem it won't take me days to figure out the problem anymore. And since I will be at the office throughout the day I will have more time to do what I should do... WORK! I've been working out of home for the last year and with summer season I haven't been very professional at all. Just been lazy and doing fun stuff as often as I can and no boring stuff at all. Which means this script has been put a side.

I will open my office on September 1st, but I have a race weekend sept 2n to sept 4th and home on the 5th with a day off. After that I am able to give this script lots more time.

I will do my best to create an installation script for it so there won't be any trouble with the database changes. The file edits will of course still be manually done by the user.

Any bugs that you have reported (not many, if any really) will be fixed.
Any suggestions will be taken into concideration and I will try to make them all an option so that it won't interfer with already implemented scripts and make them "messy" because some new features are default and could change a lot of visual stuff.

I'll try and afford version 3.5. If you wish to contribue for this you can do so to swedie (at ) wheeliepimp( dot)com. (i hate spam, hence the spellout of my email address).

Excuse my english, but I hope you understand what I'm trying to explain.

Oh and also, I will from after sept 5th be able to really do good "customer" support.
Reply With Quote
  #915  
Old 08-22-2005, 10:37 AM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Only proble Im having with it is when I enable html the smilies and bb code dont work and when I enable smilies the html script doesnt work. How can I fix it so that all of them can work together?
Reply With Quote
  #916  
Old 08-22-2005, 10:52 AM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madkidz
How do I correct the time. Its off by three hours.
Anyone.
Reply With Quote
  #917  
Old 08-29-2005, 01:44 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madkidz
Anyone.
It should go by the forum settings.
Reply With Quote
  #918  
Old 08-30-2005, 11:01 AM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wlill this work with 3.5? OR do I have to do some modification. If so what do I need to change to have it working?
Reply With Quote
  #919  
Old 08-30-2005, 09:01 PM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the hack I will try to add to later
Reply With Quote
  #920  
Old 09-03-2005, 09:08 AM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmmmmm will this work vb 3.0.8???
Reply With Quote
  #921  
Old 09-05-2005, 12:08 PM
cecdah cecdah is offline
 
Join Date: Nov 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Have installed and everything is now working fine, Thanks a lot!

But, I have a problem, The guestbook, does it not break into more pages when a user gets a certain amount of guestbookcomments? If it does not break, the profilepage will become enormous and very long.

cecilie
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 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.05537 seconds
  • Memory Usage 2,320KB
  • 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
  • (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