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
  #902  
Old 08-02-2005, 10:24 AM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I install this hack and its finally working, My members are loving it.
Question is there a way to add to the forum home page "Recent guest book entries", by user names. It would be cool if you can control in the admin cp how many entries to show. ie 10, 20, 30. also is there a way to list the top viewed web pages. I was also thinking that after x amount of views a guestbook can be marked with "hot" or "cool" Guestbook when shown on the forum home page.
Reply With Quote
  #903  
Old 08-02-2005, 01:37 PM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way you can make it so it supports CSS style sheet as well?
Reply With Quote
  #904  
Old 08-02-2005, 03:55 PM
Swedie's Avatar
Swedie Swedie is offline
 
Join Date: Feb 2002
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madkidz
Is there any way you can make it so it supports CSS style sheet as well?
Sup everyone! Glad to see people are still downloading and enjoying my work.

I'm waiting for version 3.5 to be released.
Reply With Quote
  #905  
Old 08-03-2005, 02:25 PM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swedie
Sup everyone! Glad to see people are still downloading and enjoying my work.

I'm waiting for version 3.5 to be released.
So what will 3.5 have if you dont mind me asking and when is the release date.
Reply With Quote
  #906  
Old 08-03-2005, 06:40 PM
madkidz madkidz is offline
 
Join Date: Aug 2004
Location: EN-Y-CE Get it
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I correct the time. Its off by three hours.
Reply With Quote
  #907  
Old 08-06-2005, 03:22 AM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack, unfortunately I think my users ability to design any kind of web page is pretty low. I installed it anyway though. Gives the profile a fresh look to it if they even just want to put a bio in there or something.
Reply With Quote
  #908  
Old 08-06-2005, 01:39 PM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im running a 3.0.7 board, anyone who thinks they can get this running perfectly for me and wants to make some $$$$$ via paypal, contact me please!
Reply With Quote
  #909  
Old 08-08-2005, 11:24 PM
mindcry mindcry is offline
 
Join Date: Jun 2005
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok strange issue. I have everything installed and it appears to be working. but, in the admin cp under usergroups I cannot turn everything on. I can select them all then if I go back to the page again they are in some weird random order.
Reply With Quote
  #910  
Old 08-09-2005, 06:24 AM
lem's Avatar
lem lem is offline
 
Join Date: May 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hbalagh1
i am getting the following errors

when i try to edit my webpage content i get this
Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /profile.php on line 302

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /profile.php on line 309
when trying to set my guestbook settings i get this error on top

Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /profile.php on line 438

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /profile.php on line 444
would any of this have to do with the fact that i had to ad vb3_ to my sql before uploading the sql text....?? can't wait to get this going as i know it will be a great addition to my community that has been down all day as i rush to get all these mods done after converting from phpbb
I'm having the same problem, any ideas? Is there a fix for this? I'm using 3.0.7, with no other hacks at this time. Thanks,

Lem
Reply With Quote
  #911  
Old 08-09-2005, 08:12 PM
James Grant James Grant is offline
 
Join Date: Jul 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I've installed this and it works amazingly
Had a bit of a play around with it to try and tailor it to my website...

But i have a horrible feeling that when people start filling in the guestbook, what's to stop the owner of the guestbook changing / altering what their guest has said?? Can't they do this easily by just clicking the "edit" button, and changing what the person has said?!

How do i go about chaging it so that the edit button is only available to moderators / administrators??

I dont want the guestbook owner or the person who posted the message to be able to edit them at all.... but just delete it if they dont like it.


How can i go about doing this?


Hope you can help me out

James
Reply With Quote
  #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
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:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06183 seconds
  • Memory Usage 2,379KB
  • Queries Executed 30 (?)
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
  • (3)bbcode_code
  • (4)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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