Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Lesane's Store and zajako's Hotel Integration (v1.1) Details »»
Lesane's Store and zajako's Hotel Integration (v1.1)
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-25-2002 Last Update: Never Installs: 57
Supported
 

Lesane's Store Hack /// INTEGRATION /// zajako's Hotel Hack

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
DISCLAIMER: I do not own the hotel hack, nor the store hack. I did not help make either hack, not am I good friends (or really know) either creator of either of these 2 hacks. None of the code here was hand written by me, I only arranged it in the correct way to get them to work together. I made this for me, myself, and I, and decided to release it to show how to get it to work. It is not 100% garunteed to work, it took me a while last night to get to work, but it probably will. You may post bugs in the thread, but some might be the hotel or the store hack, so I may point you to one of those threads. I actually didn't ask either creator if I could release this, but hopefully I won't be shot. I don't garuntee support on this addon, but I will try my best.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

-+-+-+-+-+-+-+-+-+-+
Now, onto the hack.
-+-+-+-+-+-+-+-+-+-+

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
To use this, you must have the following two hacks installed:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

zajako's Hotel Hack: https://vborg.vbsupport.ru/showthrea...threadid=39533
Lesane's Store Hack: https://vborg.vbsupport.ru/showthrea...threadid=36991

-+-+-+-+-+-+-+-+-+-+-+
INSTALL INSTRUCTIONS
-+-+-+-+-+-+-+-+-+-+-+

Open up the zip file and read 'install.txt'.


UPDATE 9/13/02
Because I am no longer the idiot I once was, security has been upped, a minor but very important change has been made to the part to be added to the store.php file and also a nice tip on how to make it so no one can use the hotel.php script to gain free rooms. IT is really just a matter of re-installing, if you want upgrading instructions, ask me.

UPDATE 10/22/02
Well, people actually care about this hack. Yaye!?!? Well, the problem with all that crap has been fixed...... I just figured that no one cared and, well, I didn't have much time.....

Enjoy! If there are any bugs, please let me know. If you install this hack, please click the Install buttom.


v1.0 Downloads: 91

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-08-2002, 08:07 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
Database error in vBulletin 2.2.6:

Invalid SQLINSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title,message,dateline,messageread,folderidVALUES 

(NULL,,,16,'Your room Key sent by sonic','Your room is ready.  It is room 1 and is named Test. Your key is za23470ja15ko904. To goto your room click 

[url=http://xx.xxx.xx.xx/gsu/room.php?action=enterroom&roomnumber=1&roomkey=za23470ja15ko904]here[/url]'
,1028840685,0,0)
mysql errorYou have an error in your SQL syntax near ',16,'Your room Key sent by sonic','Your room is ready.  It is room 1 and is name' at line 3

mysql error number: 1064

Date: Thursday 08th of August 2002 05:04:45 PM
Script:  [url]http://xx.xxx.xx.xx/gsu/gsu/store.php?action=dobuyroom[/url]
Referer: [url]http://xx.xxx.xx.xx/gsu/store.php?action=hotel[/url] 
what did i do wrong?
Reply With Quote
  #23  
Old 08-09-2002, 12:29 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm..... go to hotel.php?action=buyroom

do all the crap their, and tell me if you get an error.
Reply With Quote
  #24  
Old 08-09-2002, 08:37 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works but it doesn't take out ne money?
Reply With Quote
  #25  
Old 08-11-2002, 10:27 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like I said, go to the location above and try it out, tell me if there are any errors. If there are, ask about it in the hotel thread *points to first post*, if not I will TRY to make a fix for it.

Also, once the error hits, the querys stop, thus money is AFTER those ++++s, so of course it can't take out the money.
Reply With Quote
  #26  
Old 08-12-2002, 12:16 AM
proxyMX's Avatar
proxyMX proxyMX is offline
 
Join Date: Jun 2002
Location: Seven of Nine is hot! :do
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CRATER, BRING OUT YOUR STORES DAMNIT!
Reply With Quote
  #27  
Old 09-14-2002, 03:11 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATE 9/13/02
Because I am no longer the idiot I once was, security has been upped, a minor but very important change has been made to the part to be added to the store.php file and also a nice tip on how to make it so no one can use the hotel.php script to gain free rooms. IT is really just a matter of re-installing, if you want upgrading instructions, ask me.

Main post is updated, and well, new attachment.
Reply With Quote
  #28  
Old 09-16-2002, 02:10 AM
dynamite dynamite is offline
 
Join Date: Sep 2002
Location: Columbia, SC
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was installing the hack but I believe part of the storehotel.txt file has some junk in it... at the bottom it contains:

If ($other =="otheremailaddyperson")
{
$toaddress = $otheremail;
$subject = "Your room key ".$bbuserinfo[username];
$mailcontent = 'Your room is ready. It is room '.$roomnumber[roomnumber].' and is named '.$roomname.'. Your key is '.$key.'. To goto your room use this link http://www.vggmn.com/twz/forums2/roo...om&roomnumber='.$roomnumber[roomnumber].'&roomkey='.$key;
$additional_headers = "From: Hotel@vggmn.com\n"
."Reply-To: "."webmaster@vggmn.com";
@mail($toaddress, $subject, $mailcontent, $additional_headers);
}

evallaw rules, govern this Agreement, and you expressly agree that jurisdiction for any claim or dispute arising from the use of the Service or Software resides in the federal and state courts of the Commonwealth of Virginia.

Doc. #48668-2 2
("dooutput(\"".gettemplate('store_hotel_dobuyroom' )."\");");
}


Of course I don't know what needs to be fixed, so it is causing some problems:dead:

Otherwise this is really cool!!!
Reply With Quote
  #29  
Old 09-26-2002, 12:04 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I can say is.... what ther hell???

EDIT: I see now. Something with the eval was parsed into whatever that is....... I will look into it and try to fixc the error.....
Reply With Quote
  #30  
Old 10-01-2002, 03:31 AM
influence influence is offline
 
Join Date: Jan 2002
Location: inside a bullet
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting the same error. please try to fix it ASAP because when people click on store thats the first thing that shows.
Reply With Quote
  #31  
Old 10-01-2002, 03:34 AM
influence influence is offline
 
Join Date: Jan 2002
Location: inside a bullet
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error, unexpected T_STRING in /home/rapflava/public_html/forums/store.php on line 1070



Quote:
evallaw rules, govern this Agreement, and you expressly agree that jurisdiction for any claim or dispute arising from the use of the Service or Software resides in the federal and state courts of the Commonwealth of Virginia.

Doc. #48668-2 2
("dooutput(\"".gettemplate('store_hotel_dobuyroom' )."\");");
}
line starting with evallaw is line 1070
Reply With Quote
 


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 08:55 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.04467 seconds
  • Memory Usage 2,310KB
  • 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_php
  • (1)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
  • (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