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 2.0b1 : View templates inline (https://vborg.vbsupport.ru/showthread.php?t=9131)

dwh 06-30-2001 05:56 PM

I updated the instructions and got this to work well on my system. Try it out now. Please report back any problems. One note, the reason it is displaying two previews is that the first preview shows you variables like so $variable which will give you an idea of placement, and the second time it evaluates the $variables and outputs the result. Sometimes both outputs will look identical but this makes the whole template editing process much easier, at least imo.

Moderator, can you change the subject line to reflect that this now works for 2.01 (assuming no one complains of problems)? Thanks.

Prezident 06-30-2001 11:48 PM

Does this mean that it won't work with version 2.0.0?

Argh, not ready to upgrade to that yet. From what I understand I will have to reinstall all of my hacks then.

dwh 07-01-2001 04:01 AM

I never got access to v 2.0 so I don't know for sure, but It probably will work fine. What I'd do is check if the code looks different on those lines where it says "look for" and if it does, you'll be fine, if not, post the difference here and I'll see if I can help w/ some modified code...

webhost 07-01-2001 04:49 AM

still got a problem. I made changes and template area in vb control panel looks the same as it always did except now I don't have a save button.

Add new template
Template name


Template set
bbman Default

Template

[view default template]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>AIM Message</title>
$headinclude
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#ffff

Joey
Let Me know when you have a fix.
if you want I could email you my template.php file

dwh 07-02-2001 01:59 AM

Hi,
I've looked at it and did a compare to my file and it was identical other than whitespace!! I'm baffled.... I know this is a stupid question and all, but you did upload it as ascii? Also, what platform are you running? Maybe it's that?

webhost 07-02-2001 03:34 AM

yes and redhat linux verson 7.1

dwh 07-02-2001 03:42 PM

Very strange...yup I'm on linux too. No idea what it could be..

webhost 07-02-2001 03:57 PM

post your template file and I will download and take a look.

Joey

dwh 07-30-2001 11:38 PM

Quote:

Originally posted by webhost
post your template file and I will download and take a look.

Joey

It's identical to mine. BTW, we're not really supposed to be uploading any code. I'm surprised the moderators didn't remove it.

Freddie Bingham 07-30-2001 11:42 PM

And don't do it again :)


All times are GMT. The time now is 04:59 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.01595 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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