vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Smilies - Define Width & Height of Get More Window (https://vborg.vbsupport.ru/showthread.php?t=52907)

Oblivion Knight 05-13-2003 06:47 PM

Smilies - Define Width & Height of Get More Window
 
Ok, so it may not be the next big thing, but it certainly makes things easier for newer (and veteran!) users to vBulletin.. ;)

Currently, to change the dimensions of the "Get More" popup window, you have to go through the vbcode_smilies_getmore template, and change the following part of code:
Code:

    [<a href="javascript:opensmiliewindow(240,280,'$session[sessionhash]')">Get More</a>]
Wouldn't it make more sense to be able to define the width and height of this popup window in the admin's control panel (vBulletin options or Smilie options)? I've tried writing this myself, but get a pile of parse errors (still trying to create my first vB modification, and make it an original idea, but parse errors get in my way).. -_-

However, I felt that this is one idea I should share..

Austin Dea 05-13-2003 06:56 PM

You can, it's the '240,280'

Oblivion Knight 05-13-2003 06:59 PM

Yes I know, but not everyone may know the correct template to edit..
Hence why it would make more sense to define them as variables and be able to change them via the options.. ;)


All times are GMT. The time now is 02:16 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.01529 seconds
  • Memory Usage 1,707KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete