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)

ZiRu$ 07-17-2002 04:45 AM

Damn this thread had potentional

But you gotta put the time into it....and fill our add-on requests

bandersen 07-22-2002 07:13 PM

Hi Zajako - do you have time to include the control panel part of this hack? We launch in Sept. and I think I must take it down if I can't somehow control things.....

Link14716 07-25-2002 04:59 AM

Quote:

Originally posted by bandersen
This looks interesting... it would be nice if it could work with Lesanes store hack :)
As it seems by popular demand (and for my own pleasure) (I have ALWAYS wanted to say that ;)), I have whipped the code together get this hotel hack to work with Lesane's Store Hack, where people have to spend money on a room rather than just getting it for free. Expect this to be released by today/tommorow (for whatever time zone your in). :)

DISCLAIMER: I own nothing.

EDIT: It's up: https://vborg.vbsupport.ru/showthrea...threadid=41525

Link14716 07-25-2002 03:25 PM

Quote:

Originally posted by traekwon
I'm getting an error with the room name on top of each room. Instead of the title, it just says "A".

What's wrong?

I also got that error in v1.6. To fix it, downgrade to v1.5.

momzone 07-26-2002 05:16 PM

Quote:

Originally posted by Link14716


I also got that error in v1.6. To fix it, downgrade to v1.5.

I could not find V1.5 so I did a workaround on V1.6 that corrects the "Room Name" problem.

Look in the room.php file near line 33 for this code.

PHP Code:

$roomnamestripslashes($roomname); 

and either comment it out or remove it and now the "Room Name shows up.

Link14716 07-26-2002 05:33 PM

Post with v1.5

But if that walkaround works (haven't tried it, sticking with 1.5 for now), then I'd stick with 1.6 and use that walkaround :)

hondastyle 07-27-2002 03:03 AM

Quote:

Originally posted by hypedave



how and where in the online.php did you change that, because I hace searched my online.php and the store hack is no where in there. also the install instructions do not refer to the online.php

thanks,


Go to your online.php file and find this line of code (around line 267):
Code:

$userinfo[where] = "<b>Unknown Location:</b>
<a href=\"$userinfo[location]\">$userinfo[location]</a>";

change it to:
Code:

$userinfo[where] = "<b>Unknown Location</b>";
Hope this helps.

proxyMX 07-28-2002 03:02 AM

The idea is amazing, And im already using it, however an upgraded design wouldnt hurt, but i dun wanna touch the code incase it bites, and this SERIOUSLY needs an admin cp on my server phpadmin takes ages tp aces

zajako 07-28-2002 01:49 PM

"Hi Zajako - do you have time to include the control panel part of this hack? We launch in Sept. and I think I must take it down if I can't somehow control things....."

I have lost my isp and it is hard to test coding.. I am online at my parents house so its a lil hard to do this.
Hopefully ill make the new version before sept. I hope to have a connection by that time...

proxyMX 07-28-2002 09:32 PM

I found out how to modify the design, using the templates doh! I Think all the CP needs is some easy integration with SQL queries, i think Firefly made a hack for this, perhaps you could build upon it and modify it for the hotel,


All times are GMT. The time now is 04:48 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.01181 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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