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$ 06-07-2002 03:30 AM

awesome idea......Where do you get the money to buy a room?

Lesanes Store Hack?

Neo 06-07-2002 05:28 AM

@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
); 


AntiOnline 06-07-2002 05:33 AM

How about adding a user's name above their avatar?

Chris M 06-07-2002 07:09 AM

I like this hack...

Very creative...:)

*Installs*

Satan

zajako 06-07-2002 08:20 AM

ehh, anotehr update, I fixed some email issues and the pm issues, so now it gives a link or at least a correct link that contains there key so they can junmp to thier room quickkly

The hotel v 1.02 :}

zajako 06-07-2002 08:33 AM

itstd, it should work for you board now

anti online, open room.php

find:
PHP Code:

for ($i=0$i $numberactions$i++)
        {
        
$add[$i] = '<tr> 
    <td>
      <table width="100%" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <td width="18%">'
.$displayavatar[$i].'</td>
          <td width="82%"><center>'
.$display[$i].'</center></td>
        </tr>
      </table>
    </td>
  </tr>'
;
        
$texts $texts.$add[$i];
        
$i++;
        
$add[$i] = '  <tr> 
    <td>
      <table width="100%" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <td width="82%"><center>'
.$display[$i].'</center></td>
          <td width="18%">'
.$displayavatar[$i].'</td>
        </tr>
      </table>
    </td>
  </tr>'
;
        
        
$texts $texts.$add[$i];

        } 


and replace with

PHP Code:


    
for ($i=0$i $numberactions$i++)
        {
        
$add[$i] = '<tr> 
    <td>
      <table width="100%" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <td width="18%">'
.$username.'<br>'.$displayavatar[$i].'</td>
          <td width="82%"><center>'
.$display[$i].'</center></td>
        </tr>
      </table>
    </td>
  </tr>'
;
        
$texts $texts.$add[$i];
        
$i++;
        
$add[$i] = '  <tr> 
    <td>
      <table width="100%" border="1" cellspacing="0" cellpadding="0">
        <tr>
          <td width="82%"><center>'
.$display[$i].'</center></td>
          <td width="18%">'
.$username.'<br>'.$displayavatar[$i].'</td>
        </tr>
      </table>
    </td>
  </tr>'
;
        
        
$texts $texts.$add[$i];

        } 

i have not tested it, but it should work

If it does not, then let me know

For anyone who did not read his request, this coding should put the username above the avatars.

BigJohnson 06-07-2002 08:33 AM

I love this hack. IT would be great if it can be used with Lesanes Store hack though. Also whne you send thw other key to someones PM and it is the wrong PM you get a database error. What can we do about this?

zajako 06-07-2002 08:39 AM

ill make an update to say the user does not exsit, sorry, i had been working on this between many other things, and for got a few minor things, ill make a command to check for that.

Also i might make an option for it to work with the lesane store hack, just post a reply to this requesing this and if there are enough replys Ill try to fit it in my schedule.

BigJohnson 06-07-2002 08:46 AM

WOW. I am using 2.2.5 and when i sign in i get all sorts of wierd stuff. Is this hack done right at ALL? or is it just me? I see the room but below the room it shows my logo again and says invalid key for thats it. When i click send it says invalid key. Anyone no what is wrong? I am using 2.2.5 is 2.2.6 really that much different to do something like this?

BigJohnson 06-07-2002 08:47 AM

I bet everyone would love this hack to work with Lesanes store hack. ZThat would be great.


All times are GMT. The time now is 10:53 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.01762 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_php_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