vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Webpage & Guestbook Script (https://vborg.vbsupport.ru/showthread.php?t=71065)

Wordplay 11-03-2004 05:17 PM

first off, yeah the hack works perfectly fine if you install it correctly. i don't get how so many of y'all messed this up. i had a completely easy install, and everything worked form the start.

onlything that didn't work was deleting guestbook entries. but we got a fix for that now. thanks!

hey this is a completely out of the blue question. is it possible to count add every guestbook entry made to a user's post count. or what would be even better. i've got this shoutbox installed. it would be even better to add the count to that, but i guess you wouldn't want to go through all the trouble of making that possible since not everybody has the shoutbox installed.

oldfan 11-03-2004 09:19 PM

I've got the templates install and have set the permissions like the install says.
Everytime I got in admins permissions the webpage/guestbook are on "No", I then set it to "yes" and hit update.
The samething happens everything

look what I mean

http://bbs.metallifukinca.com/index.php?

test/test

Lionel 11-03-2004 09:33 PM

you probably have other hacks installed that are using the same bitfields number. Go back to init.php and verify that. If so, double the homepage bitfields values so they could be unique.

oldfan 11-03-2004 10:32 PM

Quote:

Originally Posted by Lionel
you probably have other hacks installed that are using the same bitfields number. Go back to init.php and verify that. If so, double the homepage bitfields values so they could be unique.

thanks just tried that, I'm still getting the blank page :(

Lionel 11-03-2004 10:34 PM

But does it hold the permissions at least? Try to update them directly in mysql

oldfan 11-04-2004 12:03 AM

Quote:

Originally Posted by Lionel
But does it hold the permissions at least? Try to update them directly in mysql

huh, what?
this is the tables is installed



Quote:

# This creates all the database related
# tables and fields required for the
# webpage & guestbook script
#

CREATE TABLE `user_guestbook` (
`userid` varchar(100) NOT NULL default '',
`name` varchar(100) default '',
`lastentry` varchar(20) default '',
`status` char(3) NOT NULL default 'on',
`usesmilies` smallint(6) NOT NULL default '2',
`position` varchar(10) NOT NULL default 'right',
`text` text,
PRIMARY KEY (`userid`)
) TYPE=MyISAM;

CREATE TABLE `user_webpage` (
`userid` int(11) NOT NULL default '0',
`name` varchar(100) default '',
`description` varchar(255) default '',
`text` text,
`lastupdate` varchar(20) default '',
`bordersize` smallint(6) default '5',
`bordercolor` varchar(10) default '#ECECEC',
`bgcolor` varchar(10) default '#FFFFFF',
`font` varchar(100) default 'Arial, Helvetica',
`fontcolor` varchar(10) default '#000000',
`fontsize` char(3) default '2',
`usehtml` smallint(6) NOT NULL default '1',
`usesmilies` smallint(6) NOT NULL default '1',
`usevbcode` smallint(6) NOT NULL default '1',
`hits` int(11) NOT NULL default '5',
PRIMARY KEY (`userid`)
) TYPE=MyISAM;

ALTER TABLE vB3usergroup ADD canuseguestbook SMALLINT NOT NULL;
ALTER TABLE vB3usergroup ADD canusewebpage SMALLINT NOT NULL;

UPDATE vB3usergroup SET canuseguestbook = '1';
UPDATE vB3usergroup SET canusewebpage = '1';

INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_allowguestbook_desc', 'Allow guestbook in your users guestbooks?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_allowguestbook_title', 'Enable Guestbook?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_allowwebpage_title', 'Enable Webpage?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_allowwebpage_desc', 'Allow users to create their own webpage using HTML (on their profile page)', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'settinggroup_guestbookwebpage', 'Guestbook / Webpage Preferences', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_webpagevbcode_desc', 'Allow vBcode on webpage?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_guestbooksmilies_desc', 'Allow smilies in guestbook?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_webpagevbcode_title', 'Webpage vBcode?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_webpagesmilies_title', 'Webpage Smilies?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_guestbooksmilies_title', 'Guestbook Smilies?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_webpagesmilies_desc', 'Allow Smilies on webpage?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_webpagehtml_title', 'Webpage HTML?', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_webpagehtml_desc', 'Allow HTML on webpage? Be aware that this CAN cause security issues and "hacking" attempts.', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'can_use_guestbook', 'Can use Guestbook?', 3);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'can_use_webpage', 'Can use Webpage?', 3);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_allowedhtmltags_title', 'Webpage HTML tags allowed', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'setting_allowedhtmltags_desc', 'Which HTML tags do you want to allow? (Leave empty to allow all)', 5000);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'edit_webpage_content', 'Webpage Content', 1);
INSERT INTO `vB3phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'edit_guestbook_settings', 'Guestbook Settings', 1);

INSERT INTO `vB3settinggroup` (grouptitle, displayorder, volatile) VALUES ('guestbookwebpage', 199, 1);

INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('allowguestbook', '1', 'yesno', 10, 'guestbookwebpage', '1', 0, 1);
INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('allowwebpage', '1', 'yesno', 20, 'guestbookwebpage', '1', 0, 1);
INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('guestbooksmilies', '1', 'yesno', 30, 'guestbookwebpage', '1', 0, 1);
INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('webpagevbcode', '0', 'yesno', 40, 'guestbookwebpage', '1', 0, 1);
INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('webpagesmilies', '0', 'yesno', 50, 'guestbookwebpage', '1', 0, 1);
INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('webpagehtml', '1', 'yesno', 60, 'guestbookwebpage', '1', 0, 1);
INSERT INTO `vB3setting` (varname, value, optioncode, displayorder, grouptitle, defaultvalue, advanced, volatile) VALUES ('allowedhtmltags', '<a><br><b><h1><h2><h3><h4><i><img><li><ol><p><str ong><table><tr><td><th><u><ul><font><b><div>', 'textarea', 70, 'guestbookwebpage', '<a><br><b><h1><h2><h3><h4><i><img><li><ol><p><str ong><table><tr><td><th><u><ul><font><b><div>', 0, 1);

Lionel 11-04-2004 12:06 AM

By looking at that db, I guess you'll have to read the posts. Your problem was addressed

oldfan 11-04-2004 02:32 AM

Quote:

Originally Posted by Lionel
By looking at that db, I guess you'll have to read the posts. Your problem was addressed


Really? I most have missed it :(
Could you point out the page please/thank you ?

Swedie 11-04-2004 09:04 AM

Quote:

Originally Posted by oldfan
Really? I most have missed it :(
Could you point out the page please/thank you ?

oldfan, you're using rex_b's SQL file. Where did you get that from? Download the latest .ZIP file and use the correct insert.SQL file. That will do the job.

Delete user_guestbook and user_webpage before you run the the SQL file though.

Mickie D 11-04-2004 09:33 AM

you dont think this maybe dangerous to give members html access ?

Code:


<a href="./../../../../../password/passwords.txt">click me</a>

just a thought ?

but then again i cant understand sweedish screenshots :( so i dunno what they all do ?


All times are GMT. The time now is 11:03 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.01734 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete