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)
-   -   Template Control Panel for 2.0 (https://vborg.vbsupport.ru/showthread.php?t=8752)

03-01-2001 02:16 PM

A hack for a hack? Is that a first? ;)

I like the idea, and I'll integrate similar code into the next release.

03-01-2001 03:52 PM

keir,

Will my templates remain edited the way I edit them if/when I upgrade to the next version of VB2.0 ?

03-01-2001 04:15 PM

Quote:

Originally posted by evoir
Will my templates remain edited the way I edit them if/when I upgrade to the next version of VB2.0 ?
All I have done is change the interface to the template control panel. The work that is done behind the scenes is the same.

So yes, you can upgrade to the Beta 3 (or whatever comes out next) whenever you like and all your templates will be just as though you edited them with the original control panel.

03-02-2001 12:55 PM

awsome hack. really good job

03-05-2001 11:55 PM

Excellent!!!
I must have missed this one a well, great hack man.
This is a must for the final version!

03-09-2001 06:10 AM

Kier, very very nice work. I have used your hack since vB v2.0 alpha and just now applied it to v2.0 beta 3. Working great so far.

Fryzid - I liked your hack of the hack that opens into a new window, however, there is a rouge space at the end of your line in height. he ight=320 with the space removed it works perfect.

Kier, you may want to edit your first post again, and fix the truncated lines that evior pointed out. I will bet a lot of people will not see tubedogg's post of the correct lines, and never get this working.

Thanks a ton for the excellent hack.

Cheers!

03-09-2001 05:33 PM

NgtCrwlr The space is not there when I try to edit my post and I didn't post the line with a space in it.
Don't know what's wrong there. :(

03-09-2001 08:08 PM

I just experimented with that line and found that if you add one space after any of the comma's it will work. It might have something to do with vB long word wrap, however, I have my word wrap set at 100 and the problem space is showing up at character 232, so it doesn't appear to be word wrap.

Starting at resizeable=yes I put spaces after each of the comma's and it displays fine.

http://www.mis-forums.com/vbbs/showt...&threadid=2977

Maybe someone can shed a little light on this?

Cheers!

03-10-2001 12:13 PM

Mouarfffff
You must go in the dev team lol :)

03-10-2001 12:19 PM

To implement the right-click default view thingy, find this in ktemplate.php:
Code:

oncontextmenu=\"window.location=('template.php?s=$session[sessionhash]&action=view&title='+this.options[this.selectedIndex].text)\">
and replace with this:
Code:

oncontextmenu=\"window.open('template.php?s=$session[sessionhash]&action=view&title=' + this.options[this.selectedIndex].text, 'defview', 'resizeable=yes,toolbar=no,location=no,menubar=no,scrollbars=no,status=no,width=460,height=320')\">
:)


All times are GMT. The time now is 08:10 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.01303 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_quote_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