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)

bandersen 06-08-2002 08:04 PM

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.

zajako 06-09-2002 10:41 AM

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.

bandersen 06-09-2002 11:02 AM

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.

AntiOnline 06-09-2002 03:34 PM

Greetings:

I have the same problem with the usernames.

zajako 06-09-2002 03:37 PM

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

grog6 06-09-2002 10:52 PM

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

zajako 06-10-2002 05:47 PM

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...

grog6 06-10-2002 06:10 PM

For the ' error, i've the solution zajako, i try to correct it on your files and email them to you ;)

zajako 06-10-2002 07:01 PM

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.

zajako 06-10-2002 07:02 PM

lol, grog i got it, i forgot to do addslashes


All times are GMT. The time now is 08:04 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.01004 seconds
  • Memory Usage 1,741KB
  • 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_php_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