vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

TheSupportForum 02-19-2010 08:18 PM

lynne,

please can you help with template issues

everytime i create a template now, i get the following error for IE8


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed

Lynne 02-19-2010 09:17 PM

Sorry, but this thread isn't for debuging template issues. If you need help on something other than writing a vB page, you really need to post in the main forums (and possibly on vb.com if this is not regarding a modification).

patrick91 02-21-2010 03:49 PM

First! thanx for evething!;) but i have a little thing that is going wrong! the footer...

A i see i fixed! forgot a div. ;)

djbaxter 02-23-2010 01:50 AM

I'm trying to create a custom page as described above.

However, if I insert HTML where it says "Text" in the template:

Code:

  <h2 class="blockhead">Title</h2>
    <div class="blockbody">
      <div class="blockrow">
        Text
      </div>
    </div>

The HTML isn't processed (e.g., UL, OL, LI, H2, H3 tags, etc.).

Lynne 02-23-2010 03:09 AM

Quote:

Originally Posted by djbaxter (Post 1989325)
I'm trying to create a custom page as described above.

However, if I insert HTML where it says "Text" in the template:

Code:

  <h2 class="blockhead">Title</h2>
    <div class="blockbody">
      <div class="blockrow">
        Text
      </div>
    </div>

The HTML isn't processed (e.g., UL, OL, LI, H2, H3 tags, etc.).

Take a look at the CSS in the page. It could be that the CSS is changing what you would think of as the default style for those tags.

djbaxter 02-23-2010 04:31 AM

Tnanks, Lynne. That does seem to be the problem. I'm not certain where the CSS is being set but it seems to have disabled some HTML features, while others are allowed.

For now, I can work around it.

Joseph Witchard 02-28-2010 02:07 AM

Great article:) In your examples, what is mypage referring to?

Skreech94 03-03-2010 03:52 AM

I didn't read through this thread to see if it was asked, so I apologize in advanced just in case.
Anyways, I dont want my guests viewing the page I made, but I want my members to view it. How would I do this?

TalkVirginia 03-03-2010 04:50 AM

This is giving me a MAJOR Migraine!! Please-- Can someone help me with this??

I'm trying to append some text or link at the end of the footer using the parse_templates hook in a plugin..

This is my code:

PHP Code:


$myfooter 
'my test string';
vB_Template::preRegister('footer',array('myfooter' => $myfooter)); 


Lynne 03-04-2010 03:48 AM

Quote:

Originally Posted by Skreech94 (Post 1995764)
I didn't read through this thread to see if it was asked, so I apologize in advanced just in case.
Anyways, I dont want my guests viewing the page I made, but I want my members to view it. How would I do this?

Right after Start Main Script add something like:
PHP Code:

if (!isset($vbulletin->userinfo['userid']) OR $vbulletin->userinfo['userid'] == 0)
{
        
print_no_permission(); 


Quote:

Originally Posted by TalkVirginia (Post 1995789)
This is giving me a MAJOR Migraine!! Please-- Can someone help me with this??

I'm trying to append some text or link at the end of the footer using the parse_templates hook in a plugin..

This has nothing to do with this article. Your best bet it to post in the main forums for help with this.


All times are GMT. The time now is 10:59 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.02599 seconds
  • Memory Usage 1,743KB
  • 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
  • (3)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