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
  #562  
Old 02-18-2005, 06:32 AM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shortbus1662
okay, I'm going to need a little help here....

the query worked fine when I ran it on the wrong database.

when I ran it on the right one, it said somethin phrase or something didn't exist. I "almost" copied it to post it here, but instead, I just clicked "go" to try and do it again.

Then, I got a different error that said guestbook something something already exists...

AM I SCREWED?

Please help!
I don't know about the first error, but it sounds like at least some of the queries were run succesfully as it's now erroring when you try to re-run the INSERT queries. Use the attached delete.txt (rename it to delete.sql before using phpmyadmin to run it) and this will remove all the phrases and settings that the install.sql inserted then you can try again from scratch.

Edit: Actually I've just had a thought, do you use a table prefix? Maybe the first error was table phrase didn't exist or something like that?
Reply With Quote
  #563  
Old 02-18-2005, 02:14 PM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, here is the error I got when I deleted:

SQL-query:

DELETE FROM `phrase` WHERE varname = 'setting_allowguestbook_desc'

MySQL said: Documentation
#1146 - Table 'ostatesp_forum.phrase' doesn't exist
-----------------------

so, what should I do now? Thanks for the help Snow.
Reply With Quote
  #564  
Old 02-18-2005, 02:25 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shortbus1662
yes, here is the error I got when I deleted:

SQL-query:

DELETE FROM `phrase` WHERE varname = 'setting_allowguestbook_desc'

MySQL said: Documentation
#1146 - Table 'ostatesp_forum.phrase' doesn't exist
-----------------------

so, what should I do now? Thanks for the help Snow.
I'm no expert when it comes to MySQL, but I don't think that full stop should be there :speechless: I thought it's supposed to be tableprefix_table e.g. if your prefix is vb then it would be vb_phrase Maybe someone more experienced with MySQL can shed some light on the matter.
Reply With Quote
  #565  
Old 02-18-2005, 03:09 PM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, that's the first sql query I've done in my life, so I have absolutely no idea . Thanks for the help. Hopefully someone else can pitch in and help.
Reply With Quote
  #566  
Old 02-18-2005, 04:09 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are probably using a table prefix. Edit the query sa follows:
[sql]DELETE FROM TABLE_PREFIXphrase WHERE varname = 'setting_allowguestbook_desc'[/sql]
replacing TABLE_PREFIX with your prefix.
Reply With Quote
  #567  
Old 02-18-2005, 06:47 PM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm lost.

I don't see table_prefix anywhere in there...

in the delete file SNOW posted I there is, "delete from 'phrase' where VARNAME = yadda yadda yadda.

Sorry I don't understand, I'm just learning.
Reply With Quote
  #568  
Old 02-18-2005, 06:49 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shortbus1662
I'm lost.

I don't see table_prefix anywhere in there...

in the delete file SNOW posted I there is, "delete from 'phrase' where VARNAME = yadda yadda yadda.

Sorry I don't understand, I'm just learning.
What is your table prefix?
Reply With Quote
  #569  
Old 02-18-2005, 10:01 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Think this could possibly be a bit of a bug that i've found, not sure if anyone else is suffering it or it could be confirmed that i've either gone mad or it is actually happening.

Basically:

Write a message in a guestbook and confirm it, then basically refresh and it is duplicated, if a user refreshes over and over, the message can be duplicated sever times in quick succession, which also sends a pm every time too.

I can delete guestbook messages no problem, but i;ve had to disable the guestbook featur for the moment, until I can either get a fix for this or until I am told I have gone mad.

Besides that, super hack.
Reply With Quote
  #570  
Old 02-19-2005, 04:55 PM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the prefix is ostatesp_forum
Reply With Quote
  #571  
Old 02-19-2005, 07:03 PM
Snow's Avatar
Snow Snow is offline
 
Join Date: Jul 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Detomah
Think this could possibly be a bit of a bug that i'vefound, not sure if anyone else is suffering it or it could be confirmedthat i've either gone mad or it is actually happening.

Basically:

Write a message in a guestbook and confirm it, then basically refreshand it is duplicated, if a user refreshes over and over, the messagecan be duplicated sever times in quick succession, which also sends apm every time too.

I can delete guestbook messages no problem, but i;ve had to disable theguestbook featur for the moment, until I can either get a fix for thisor until I am told I have gone mad.
You're lucky, you can deleteguestbook entries. I guess since the 'post guestbook entry' partis a form it would make sense that refreshing the page would repost theentry.... I suppose. The other day, some of my users told me theywere getting duplicate entries in the guestbooks and they swore theyweren't clicking the submit button twice (I assumed they were not alsorefreshing the page). I don't know, maybe this is a bug. :ermm:
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 03:03 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.05012 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
  • (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
  • (4)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