vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   New PM Popup Replacement (https://vborg.vbsupport.ru/showthread.php?t=92895)

Bubble #5 12-10-2005 08:24 PM

Quote:

Originally Posted by Bubble #5
How (or where) do we set it so that the PM message is resizable instead of a fixed size?

OK this is fixed :)

AWI - I'm trying to center it also. I'll let you know if I figure it out.

ReadOrDie - did you read this thread for directions?

Bubble #5 12-10-2005 09:09 PM

Quote:

Originally Posted by AWI
my problem is the text is not centered in the popup box it is all placed to the left.

Found it :)

You have to go into the PM script template and change:

HTML Code:

<div align="$stylevar[left]">
To:

HTML Code:

<div align="center">
I'm not sure why it was like that to begin with, but changing the code above will make your PM perfectly symmetrical :)

rossco_2005 12-10-2005 09:12 PM

To fix the resizing problem change this:
Code:

onclick='window.open("private.php?do=showpm&pmid=$newpm[pmid]", "pmbox", "menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=ye    s,top=50,left=50");expandit("pm_popup");window.focus("pmbox");'
to
Code:

onclick='window.open("private.php?do=showpm&pmid=$newpm[pmid]", "pmbox", "menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=yes,top=50,left=50");expandit("pm_popup");window.focus("pmbox");'
and this:
Code:

onclick='window.open("private.php", "pmbox", "menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=ye    s,top=50,left=50");expandit("pm_popup");window.focus("pmbox");'
to
Code:

onclick='window.open("private.php", "pmbox", "menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=ye  s,top=50,left=50");expandit("pm_popup");window.focus("pmbox");'
I'm also going to update the first post to reflect those changes

ReadOrDie 12-10-2005 09:35 PM

I installed the hack. Nothings popping up.

Bubble #5 12-11-2005 01:51 AM

ummm... shouldn't this:

HTML Code:

resizable=ye  s
be this?

HTML Code:

resizable=yes

ReadOrDie 12-11-2005 02:19 AM

Nothings popping up.

ReadOrDie 12-18-2005 09:00 PM

Nice idea for a hack. If it worked it'd be better.

rossco_2005 12-18-2005 10:08 PM

Quote:

Originally Posted by Bubble #5
ummm... shouldn't this:

HTML Code:

resizable=ye  s
be this?

HTML Code:

resizable=yes

Yes it should, it's VB that's inserting that space there...

I fixed this by putting a space somewhere else so it wont do that anymore.

slvr ralliart 12-19-2005 05:52 AM

your pm pop up still displays the pm box at the bottom of my sreen. I uploaded the file to clientscript folder. I am using IE explorer.

I attatched a screen shot of it showing and cutting my pm text off and showing it at the bottom of my page.

AWI 12-19-2005 10:16 AM

Quote:

Originally Posted by Bubble #5
Found it :)

You have to go into the PM script template and change:

HTML Code:

<div align="$stylevar[left]">
To:

HTML Code:

<div align="center">
I'm not sure why it was like that to begin with, but changing the code above will make your PM perfectly symmetrical :)


Thanks Bubble, everything is nice and centered now.

I had a problem with the popup being in the far right side of the screen but fixed it by changing the margin-right and margin-left to -30%


All times are GMT. The time now is 02:22 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.01266 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_html_printable
  • (4)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