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)
-   -   vB Chatbox 1.2.4 (https://vborg.vbsupport.ru/showthread.php?t=42725)

NexDog 08-27-2002 06:22 AM

It would be great to have instructions on removing TWT's shoutbox aswell. ;)

zootsuit 08-27-2002 06:56 AM

Thank you so much for helping me but when I added this in the Footer template, I just got a runtime error asking me if I would like to 'debug'...

Am I supposed to place that code anywhere special? :)


Quote:

Originally posted by p0s3id0n
@zootsuit : I'll have a look on the changes you have to make
for the shoutbox to be in a popup :).

[edit]here we are ;)...
i think that, for the shoutbox to be in a popup, you just have
to add, on the footer, for example, something like :
Code:

<center><a href="javascript:window.open('shoutbox.php','left=100,top=100,height=130,width=150,scrollbars=0,status=0, location=0,resizable=0,menubar=0');">Shoutbox popup</a></center>
Don't forget to get rid of the space between java and script :p.

I cant remember if the top bar is included in the size of a popup
or if the size is the internal size so you will maybe have to change
the height parameter :)...

Tell me if it fits :D[/edit]


Erwin 08-27-2002 07:00 AM

That's great! You do also need to set the server time zone as well, otherwise your time is still off.

Find this code in both shoutbox.php and index.php after adding the code by poseidon:

PHP Code:

($bbuserinfo['timezoneoffset']*3600)); 

Replace with this:

PHP Code:

(($bbuserinfo['timezoneoffset']+x)*3600)); 

where x=7 or 10 or whatever your server timezone offset is.

Thanks! It's working great...

p0s3id0n 08-27-2002 07:02 AM

Quote:

Originally posted by zootsuit
Thank you so much for helping me but when I added this in the Footer template, I just got a runtime error asking me if I would like to 'debug'...

Am I supposed to place that code anywhere special? :)

Not in the middle of another tag, but anywhere else you want ;)...

Did you get rid of the space between java and script ????

Could you tell me what error the cro$oft debugger gave you ??

zootsuit 08-27-2002 07:12 AM

Yeah, got rid of the space... ;)

The runtime error was...

Line: 0
Error: Invalid argument

I placed it right after the <!-- /content area table --> in the Footer [not in any tags that I could tell...]

p0s3id0n 08-27-2002 07:19 AM

Quote:

Originally posted by Erwin
That's great! You do also need to set the server time zone as well, otherwise your time is still off.
(...)
where x=7 or 10 or whatever your server timezone offset is.

Thanks! It's working great...

err... yup you're right... as my time zone in paris is 0 it didn't
bother me :p.

p0s3id0n 08-27-2002 07:53 AM

@ zootsuit : this time i tried what i'm giving ;)... And it works :p.

Code:

<center><normalfont><a href="javascript:;" onclick="window.open('shoutbox.php','shout','status=0,directories=0,toolbar=0,location=0,menuBar=0,scrollbars=0,resizable=0,width=650,height=130,left=100,top=100');">Shoutbox popup</a></normalfont></center><br>
same place in the code :D.

[edit] there's just a small problem with that popup thing... if you
click on the reduce button, your forum homepage will take place
in the popup :([/edit]

massena 08-27-2002 08:25 AM

Hello p0s3id0n,

Very, very nice hack :)

I installed it and it functions marvellously

Congratulations and continuous like that ;)

To soon ;)

massena

meteore 08-27-2002 01:24 PM

huuuummm p0s3id0n sounds like sval ;)

great job frenchie guy

p0s3id0n 08-27-2002 02:20 PM

@ massena & meteore : thx a lot my fellow frenchies for the encouragements :)... Bin oui koua on est civilis?s on koze en angl? pour qu'on nous comprenne ;);), enfin on essaye.


All times are GMT. The time now is 11:01 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.01327 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_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