vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - WebTemplates 3.7.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=186644)

GoTTi 03-07-2009 09:44 PM

nevermind i think i goes it.

i found this code @ http://www.w3schools.com/tags/att_iframe_height.asp

Code:


<iframe src ="SITE" width="200" height="200">
<p>Your browser does not support iframes.</p>
</iframe>

and its loading fine. i change the first 200 to 100% and made the wnd 200 into 1000 and its loading ok

Tomale 03-13-2009 12:56 PM

If my original page (passing variables by URL) is:

http://www.domain.com/page.php?var1=value&var2=value2

what will the WebTemplates URL be?

Logician 03-14-2009 03:25 PM

Quote:

Originally Posted by Tomale (Post 1767182)
If my original page (passing variables by URL) is:

http://www.domain.com/page.php?var1=value&var2=value2

what will the WebTemplates URL be?

http://www.domain.com/view.php?do=we...ue&var2=value2

Ohiosweetheart 03-18-2009 01:06 AM

Logician, you must have missed my post on the last page.

Quote:

Originally Posted by Ohiosweetheart (Post 1756706)
Logician, are there any plans in the future to make this valid xhtml?

Thanks :)

dartho 03-18-2009 03:03 AM

I modified the 'Themes' myself to make the validate at http://validator.w3.org/

Here's mine. The only changes are those required to make them validate - layout etc should be identical

Default Basic Theme
HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
$nowbrowsing
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
                <td valign="top">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <tr>
                                        <td class="tcat" align="left">
                                                &raquo; $WT_PageName
                                        </td>
                                </tr>
                                <tr>
                                        <td class="alt1" align="center">
                                                <div class="normalfont"><h2> $WT_PageName</h2></div>
                                        </td>
                                </tr>
                                <tr>
                                        <td class="alt2" align="left">
                                                <div class="normalfont">
                                                        $includedtemplate
                                                </div>
                                        </td>
                                </tr>
                                <tr>
                                        <td class="thead" align="left">Page
                                                Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname]
                                                at $WT[lastvisitdate]. $WT_Editor_link<br />
                                                Page Created at <b>$creationdate</b>, Last Modified
                                                : <b>$lasteditdate</b>.
                                        </td>
                                </tr>
                        </table>
                </td>
        </tr>
</table>

$footer

</body>
</html>


Standard Error Theme
HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <title>$pagetitle</title>
$headinclude
$headinsert
</head>
<body>
$header
$navbar
$nowbrowsing
<br />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
        <td class="tcat">&raquo; $WT_PageName</td>
</tr>
<tr>
        <td class="panelsurround" align="center">
        <div class="panel">
                <div align="$stylevar[left]">
       
                $includedtemplate
               
                </div>
        </div>
                </td>
</tr>
</table>

<br />

<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
        <td>$forumjump</td>
</tr>
</table>
<!-- / forum jump -->

<br />
<br />

$footer
</body>
</html>

Two Column Theme

HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
$nowbrowsing
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
                <td width="225" valign="top">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <tr>
                                        <td class="tcat" align="center">Stats</td>
                                </tr>
                                <tr>
                                        <td class="alt1">
                                                <div class="smallfont">
                                                        Member count : <b>$numbermembers</b>,<br />
                                                        Thread Count: <b>$totalthreads</b>,<br />
                                                        Post Count : <b>$totalposts</b><br />
                                                        <br />
                                                        Welcome to our newest member <a href='member.php?$session[sessionurl]u=$newuserid'>$newusername</a>
                                                </div>
                                        </td>
                                </tr>
                        </table>
                        $WT_Login               
                        <br />
                        <br />
                </td>
                <td width="20">
                        <img src="$vboptions[cleargifurl]" width="20" height="1" alt="spacer" />
                </td>
                <td valign="top">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <tr>
                                        <td class="tcat" align="left">
                                                &raquo; $WT_PageName
                                        </td>
                                </tr>
                                <tr>
                                        <td class="alt2" align="left">
                                                <div class="normalfont">
                                                        $includedtemplate
                                                </div>
                                        </td>
                                </tr>
                                <tr>
                                        <td class="thead" align="left">
                                                Page Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname] at $WT[lastvisitdate]. $WT_Editor_link<br />
                                                Page Created at <b>$creationdate</b>, Last Modified : <b>$lasteditdate</b>.
                                        </td>
                                </tr>
                        </table>
                </td>
        </tr>
</table>
$footer
</body>
</html>

Site Information Pages Template
HTML Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title> $WT_PageName</title>
$headinclude
</head>
<body>
$header
$navbar
<h2 align="center">$WT_PageName </h2>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
                <td width="225" valign="top">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <tr>
                                        <td class="tcat" align="center">
                                                Site Help Pages
                                        </td>
                                </tr>
                                <tr>
                                        <td class="alt2" height="400" valign="top">
                                                <div class="smallfont">
                                                        $WQ_siteinformationitems
                                                </div>
                                        </td>
                                </tr>
                        </table>
                </td>
                <td width="10">
                        <img src="$vboptions[cleargifurl]" width="10" height="1" name="image" alt="Spacer" />
                </td>
                <td valign="top">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                <tr>
                                        <td class="alt1" align="left" height="400" valign="top">
                                                <div class="normalfont">
                                                        $includedtemplate
                                                </div>
                                        </td>
                                </tr>
                                <tr>
                                        <td class="alt1" >
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                                <td align="left" nowrap="nowrap">
                                                                        <div class="smallfont">
                                                                                <a href='sendmessage.php'>Still Have A Question?</a>
                                                                        </div>
                                                                </td>
                                                                <td align="right">
                                                                        <div class="smallfont"><b>$count</b><i> times visited.
                                                                                <if condition="$bbuserinfo[usergroupid]==6"><br />
                                                                                        Last Visitor was $WT[lastvisitorname] at $WT[lastvisitdate].
                                                                                        $WT_Editor_link
                                                                                </if></i>
                                                                        </div>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </td>
                                </tr>
                        </table>
                </td>
        </tr>
</table>
<br />
<if condition="$bbuserinfo[usergroupid]==6">$nowbrowsing</if>
$footer
</body>
</html>


Logician 03-18-2009 08:01 AM

Quote:

Originally Posted by Ohiosweetheart (Post 1770838)
Logician, you must have missed my post on the last page.



Thanks :)

Frankly speaking, my experise is coding and I'm not very good at designing, nor with HTML. So it is why my hacks in general might not be in perfect xhtml (or artistic web design). :) Sorry about it and thanks so much to dartho sharing his corrected syntax code!

dartho 03-18-2009 08:46 AM

"No one becomes perfect, but some become great."

Ohiosweetheart 03-23-2009 02:20 PM

Thanks so much for your honesty Logician, that's why I like you :)

dartho, I replaced my template content with yours above, and it worked great, except that I'm still having a table issue.


Another problem is Logician's footer info.
Quote:

Powered by: vBulletin Version 3.8.0 & Logician's WebTemplates v.3.7.00
The & of course does not validate, but I can't find where to change it.

subvertbeats 03-23-2009 04:07 PM

Hi Logician

This is a truly excellent mod!

I have very quickly built a newly redesigned site that I was going to do in Xoops.

This new solution is better is so many ways.

I have 2 questions for you about issues Im still struggling with.

This new site I have is a subsite of the main forums, but uses a custom look and feel (done entirely though WebTemplates). So for example the forum nav bar is not visible, nor the footer bar, and the site uses a different colour theme.

Questions:

- How can I integrate the forum registration page into my new WebTemplates site?
- How can I integrate the forum login page into the site ? (ive tried using the Deluxe login on non VB pages: https://vborg.vbsupport.ru/showthrea...ghlight=deluxe but have not been sucessful)

Of course I want to do these things within the look and feel of the WebTemplates site - I dont want to colors, headers/footers etc of the standard forum pages.

Any ideas?

Logician 03-23-2009 06:12 PM

Quote:

Originally Posted by subvertbeats (Post 1775116)
- How can I integrate the forum registration page into my new WebTemplates site?

This does not sound very easy. If you are determined to try my suggestion would be creating a new vb style with your wemplate colors/header/footer etc., then hack register.php to use this style id forcefully and then run it inside a wemplate with a iframe. Not very sure if this will work but sounds likely. :)

Quote:

Originally Posted by subvertbeats (Post 1775116)
- How can I integrate the forum login page into the site ? (ive tried using the Deluxe login on non VB pages: https://vborg.vbsupport.ru/showthrea...ghlight=deluxe but have not been sucessful)

What do you mean? Put login form into your wt pages? Just put $WT_Login in anywhere you like in your webtemplates (or webtemplate themes) and it will automatically display the login form if user is not logged in.


All times are GMT. The time now is 02:30 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.01805 seconds
  • Memory Usage 1,850KB
  • 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
  • (4)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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