vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   The Hotel Hack (https://vborg.vbsupport.ru/showthread.php?t=39533)

Sparkz 06-07-2002 09:00 AM

With all the issues this hack has, maybe it should be in the beta section?

zajako 06-07-2002 09:11 AM

well, all issuses except the one just pointed out are solved sparkz, and they were due to changes i had to make to make it so other boards can use it. So i don't think it should be a beta hack. also is anyone else getting the double window error??

IF you tell me the steps you did to get that error , i might be able to see if it is part of the coding that is doing that, or if it is something relateing to your sql, or server.

also here is an update that should cover the bad username error.

BigJohnson 06-07-2002 09:17 AM

What in this update actualy do i have to do. I dont want to install the whole hack again. Just say what needs to be done lol. Also this are the steps i did and got the error. I bought the room went to mey PM folder clicked here. Sats invalid then i add the room key at the top into the url and then it works. But then i get the double screen. Thats what i do. My server has everything update with mySQl and php and everything. I am running 2.2.5

Sparkz 06-07-2002 09:20 AM

Oh, and please update the file in your first post, instead of spreading multiple files through the thread. Most people look there for updates.

zajako 06-07-2002 09:25 AM

just upload the hotel.php file again

also if you get an error with the pm , then you skipped a part of the instal file where it says to edit room.php where you see http://www.yoursite.com/forums

that should be it, also that may be why your having these issues.

BigJohnson 06-07-2002 09:27 AM

OK i figured the prob out few. I guess i downloaded the wrong zip or something in this thread because it was extremely screwed up. Well now it works. All that i need to no now is what do i do to actually fix the Error message for the wrong name? Also this would be great if it could work with Lesanes store hack. But i think it would be best if more than 2 people can go into room. That would be pretty kool if more than one person can go into a room. Then that would be pretty kool. Now that i have thought of it. I don't think it would be kool with lesanes store hack. lol. I was just thinking and it doesnt seem like that kool of an idea to pay to talk if you can just Pm them. But i really think that it would be kool if you can send a PM to more than one person when buying a room so more than 2 people can be in a room. What do you think?

BigJohnson 06-07-2002 09:34 AM

Well i am still getting the mySQl error when you put in the wrong PM name of someone that does not exist. Everything now works. lol. I figured the Your_site.com one out by editing the files lol. I notticed when i hovered my mouse over the HERE url in my Private Message lol. This is what the SQL error looks like

Database error in vBulletin 2.2.5:

Invalid SQL: INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,messageread,folderid) VALUES (NULL,,,1,'Your room Key sent by, Nem','Your room is ready. It is room 7and is named Another. Your key is za20218ja4ko380. To goto your room click here',1023445810,0,0)
mysql error: You have an error in your SQL syntax near ',1,'Your room Key sent by, Nem','Your room is ready. It is room 7and is' at line 1

mysql error number: 1064

Date: Friday 07th of June 2002 06:30:10 AM
Script: /hotel.php?action=dobuyroom
Referer: /hotel.php?action=buyroom

ULTIMATESSJ 06-07-2002 11:36 AM

Quote:

Originally posted by neo
@ULTIMATESSJ: use this

PHP Code:

CREATE TABLE hotelposts 
roomactionid int(10NOT NULL auto_increment
roomnumber int(10NOT NULL
username varchar(50NOT NULL
userid int(10NOT NULL DEFAULT '0'
roomaction mediumtext
PRIMARY KEY (roomactionid
); 


thanx, i got the hack installed and it works, a few little problems though, when you are talking to someone, their username doesn't show up, but only their avatar, would it be possiblt to put their entire postbit in there, also is it possible for admins to remove rooms and delete posts inside

Chris M 06-07-2002 02:36 PM

Yeh...

That would be good...

Satan

bandersen 06-07-2002 07:03 PM

This looks interesting... it would be nice if it could work with Lesanes store hack :)


All times are GMT. The time now is 01:45 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.01221 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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