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

Reply
 
Thread Tools
The Hotel Hack Details »»
The Hotel Hack
Version: 1.00, by zajako zajako is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-05-2002 Last Update: Never Installs: 93
 
No support by the author.

This hack creates a private board where people can reg rooms and use there keys to meet people there. Once in the board they can do whatever they like privately. THe only people who can get in is the people with the key. The key is a password that allow you to veiw the private board. ALso these boards are not included in the search database.


version 1.6
https://vborg.vbsupport.ru/attachmen...&postid=266472

Show Your Support

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

Comments
  #52  
Old 06-08-2002, 08:04 PM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello - I have installed (2.2.5) and it works fine.

Some input: I made the changes so that username is to show above the avatar. Last posters name show all over the place tho, and only afer posting (not when entering via the link). Is there a fix?

I hope you can also include the following in your update:
PM when someone reply to a message in the room.
Edit posts
Smilies
Resend the key/new key for those that forget.....
Expand number of characters (I just got a SQL error page when my text got too long)

Thank you for a useful hack.

ps. the download in the first thread can't be the latest as I had to use the one in post#32 to make it work.
Reply With Quote
  #53  
Old 06-09-2002, 10:41 AM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, i update the one in the first thread, however, you may be right.

for the username above avatars
replace the room.php with the file attached.

I have not tested this file, so i wanted to warn you of that, but it should work and be safe.
Reply With Quote
  #54  
Old 06-09-2002, 11:02 AM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, I updated the room.php.... name above avatar works when I enter via the link (correct name on coorect line), but when I post.... it only show the first letter of the correct username.
Like for my name bandersen I get a b.
Reply With Quote
  #55  
Old 06-09-2002, 03:34 PM
AntiOnline's Avatar
AntiOnline AntiOnline is offline
 
Join Date: Dec 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Greetings:

I have the same problem with the usernames.
Reply With Quote
  #56  
Old 06-09-2002, 03:37 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

arg, ill look into getting that to work...

If one of you too aim me at zajako2, i will be able to help you go through and get it fixed, cause i currently do not have the username stuff on my boaards, cause i did not want it... So aim me and we can get if ifixed and ill upload the changes for the fix
Reply With Quote
  #57  
Old 06-09-2002, 10:52 PM
grog6's Avatar
grog6 grog6 is offline
 
Join Date: Apr 2002
Location: France
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To refresh pages, just add in the template hotel_room under

PHP Code:
<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Reponsez</b></normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your answer:</b></normalfont
this

PHP Code:
<center><br><a href="roomupdate.php?action=postreply&roomnumber=$roomnumber&username=$bbuserinfo[username]&userid=$bbuserinfo[userid]&roomkey=$roomkey"><img src="refresh.gif" border=0 alt="Refresh"></a></center
and upload this gif to your root directory
Reply With Quote
  #58  
Old 06-10-2002, 05:47 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have found a fix for the usernames with help from banderson, however, the error with using ' is present on his board as well, im looking into that error...
Reply With Quote
  #59  
Old 06-10-2002, 06:10 PM
grog6's Avatar
grog6 grog6 is offline
 
Join Date: Apr 2002
Location: France
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the ' error, i've the solution zajako, i try to correct it on your files and email them to you
Reply With Quote
  #60  
Old 06-10-2002, 07:01 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, we got the hack fixed, ' works as well as usernames, all other errors, previously should be fixed as well.
Also i have moved it to using post bit templates now, so that you can custimise stuf flike usernames and bold stuf as you want.

to update from the previous

upload the new room.php over the old one
upload the new roomupdate.php over the old one
make the hotel_postbit template (found in the teplate folder)
make the hotel_postbit2 template (also found in the template folder)

and it should be updated

This update is hotel hack v 1.5
Ill attach it here as well as the first post, because i have been told that the first post did not work.
Reply With Quote
  #61  
Old 06-10-2002, 07:02 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, grog i got it, i forgot to do addslashes
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 10:25 PM.


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.05846 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_php
  • (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_postinfo_query
  • fetch_postinfo
  • 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