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)

Ohiosweetheart 10-10-2008 02:59 PM

hmmmm I'm not sure I get it. I understand editing the 2-column template and copying it.
But what do you mean by 'change $includedtemplate section with your content'?

radekarc 10-10-2008 05:58 PM

In vBSEO:
Custom Rewrite Rules:
PHP Code:

'view\.php\?pg=(.*)' => 'view_$1.htm$' 

;)

Logician 10-10-2008 06:27 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1641985)
hmmmm I'm not sure I get it. I understand editing the 2-column template and copying it.
But what do you mean by 'change $includedtemplate section with your content'?

2-column template is a theme so in the middle of it there is a variable:
PHP Code:

$includedtemplate 

This variable is replaced with your child webtemplate content when this theme is run.

Since you make this theme a regular webtemplate now (not a theme), you should delete $includedtemplate variable in it and put there your content (the content which you want inside right column).

Hope it is clear? :)

CLUB AMPLE 10-11-2008 01:46 AM

Quote:

Originally Posted by Logician (Post 1586854)
Nope.


great mod!

Ohiosweetheart 10-11-2008 05:59 AM

Quote:

Originally Posted by Logician (Post 1642139)
2-column template is a theme so in the middle of it there is a variable:
PHP Code:

$includedtemplate 

This variable is replaced with your child webtemplate content when this theme is run.

Since you make this theme a regular webtemplate now (not a theme), you should delete $includedtemplate variable in it and put there your content (the content which you want inside right column).

Hope it is clear? :)

ahhaaaaaaa Gotcha!! Thanks for your patience. It's greatly appreciated!




EDIT: One small problem - when I copied the 2-column theme, placed it in a template, and added my info in place of $includedtemplate - I ended up with a double table. (see screenshot).

How can I eliminate that outer table with the duplicate information?

Logician 10-11-2008 08:53 AM

Quote:

Originally Posted by Ohiosweetheart (Post 1642479)
ahhaaaaaaa Gotcha!! Thanks for your patience. It's greatly appreciated!




EDIT: One small problem - when I copied the 2-column theme, placed it in a template, and added my info in place of $includedtemplate - I ended up with a double table. (see screenshot).

How can I eliminate that outer table with the duplicate information?

You should have selected it to use 2 column theme. You should select "No Parent Template" option for your webtemplate.

Ohiosweetheart 10-11-2008 02:39 PM

grrrrrrrrrrrr....ok well, this was all too confusing to me, that much is obvious, I'm not a coder!

Soooooooooo... I copied the 2 column theme, made another 2-column theme just for the template that I wanted to make, and edited it. Then made the template and chose that theme for it, and it worked out fine.

I then made a blank 2-column theme for future use. :)

Logician 10-11-2008 06:48 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1642726)
grrrrrrrrrrrr....ok well, this was all too confusing to me, that much is obvious, I'm not a coder!

Soooooooooo... I copied the 2 column theme, made another 2-column theme just for the template that I wanted to make, and edited it. Then made the template and chose that theme for it, and it worked out fine.

I then made a blank 2-column theme for future use. :)

Here you go. Import this webtemplate in your export/import webtemplates page

MysCha 10-11-2008 08:04 PM

can u add fully-fledged WYSIWYG editor for make a page ?
i think is good one for newbie like me

Ohiosweetheart 10-12-2008 05:44 AM

Quote:

Originally Posted by Logician (Post 1642859)
Here you go. Import this webtemplate in your export/import webtemplates page

I LOVE YOU!! If you were here right now, I'd... I'd.... I'd.... well you get my drift, lol. :D

Thank you so much sweetie.

v12kid 10-12-2008 03:16 PM

Quote:

Originally Posted by MysCha (Post 1642901)
can u add fully-fledged WYSIWYG editor for make a page ?
i think is good one for newbie like me


I second that idea. Would make it really easy then to create simple pages very quickly :up:

Logician 10-12-2008 03:21 PM

Quote:

Originally Posted by MysCha (Post 1642901)
can u add fully-fledged WYSIWYG editor for make a page ?
i think is good one for newbie like me

I'm sure you know that you can use vb's default WYSIWYG post editor to design webtemplates right? ;)

If what you wanted is something more enhanced than this editor, I'm afraid you'll need something more enhanced than this hack. :D

Ohiosweetheart 10-12-2008 03:50 PM

Quote:

Originally Posted by Logician (Post 1643376)
I'm sure you know that you can use vb's default WYSIWYG post editor to design webtemplates right? ;)

ummmmm... I didn't know that...

webspider 10-12-2008 04:25 PM

This mod is brilliant!

I have one question though and after reading the doc and searching this thread the answer is eluding me.

I have a fixed width site. When I display any of the standard pages all is fine however whenever I display a page via view.php I get thrown out of my page width. All the styling is still there which has me baffled.

Any help from anyone is hugely appreciated.

Logician 10-12-2008 05:55 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1643396)
ummmmm... I didn't know that...

Webtemplate Post-Installation FAQ item 18

Logician 10-12-2008 05:56 PM

Quote:

Originally Posted by webspider (Post 1643418)
This mod is brilliant!

I have one question though and after reading the doc and searching this thread the answer is eluding me.

I have a fixed width site. When I display any of the standard pages all is fine however whenever I display a page via view.php I get thrown out of my page width. All the styling is still there which has me baffled.

Any help from anyone is hugely appreciated.

Are you making sure your webtemplate is using "default vb header/footer" instead of "webtemplate header/footer" in your header/footer section?

webspider 10-12-2008 06:16 PM

Faq item 18??

Quote:

Are you making sure your webtemplate is using "default vb header/footer" instead of "webtemplate header/footer" in your header/footer section?
I'm trying both

I'm afraid I buggered up the default header template you provided.

Ohiosweetheart 10-12-2008 06:58 PM

Quote:

Originally Posted by Logician (Post 1643481)
Webtemplate Post-Installation FAQ item 18

ahHA! Thanks again :D

webspider 10-13-2008 02:09 PM

Quote:

Originally Posted by Logician (Post 1643482)
Are you making sure your webtemplate is using "default vb header/footer" instead of "webtemplate header/footer" in your header/footer section?

I did a fresh install and compared the default template, my template and the template using webtemplates and there is coded missing in the header. I have not checked if the footer is incorrect.

Default frixed width

<!-- content table -->
<!-- open content container -->

<div align="center">
<div class="page" style="width:1003px; text-align:left">
<div style="padding:0px 25px 0px 25px" align="left">
<br />

<!-- breadcrumb, login, pm info -->
__________________________________________________ _________________________
My style

<!-- content table -->
<!-- open content container -->

<div align="center">
<div class="page" style="width:1003px; text-align:left">
<div style="padding:0px 0px 0px 0px" align="left">
<br />
<!-- breadcrumb, login, pm info -->
__________________________________________________ ___________________________

webtemplates

<!-- content table -->

<br />
<!-- breadcrumb, login, pm info -->

Riccardo83 10-13-2008 02:41 PM

Is it possible to use this plugin for multi lingual websites? That would be great?

lsatblu 10-19-2008 08:06 AM

Quote:

Originally Posted by Logician (Post 1636758)
If your forum is running on /forums/ webtemplates will also run on /forums/view.php.

If you want to run webtemplates on root, best method to do is to move your forum folder to root as well. If you wouldn't consider this, FAQ item 3 applies for you. ;)

$wt_login's style is inside "WebTemplates_LoginCode" template. Topics in test2 style should be edited in relevant webquery's Result Prefix Code, Query Result Row and Result Affix Code sections.

Hi, if I were to move my forums to my root, so I wouldn't have the /forums/ anymore..what would happen to my normal forum index? Keeping in mind I want to use the php includes to make a page with web templates my site home.

Thanks. :)

TheFocusElf 10-28-2008 01:00 PM

A question on these templates, the following call to $WQ_siteinformationitems, where can these menuitems be modified?

If I've inadvertently referenced the wrong call, I am talking about the "SITE HELP ITEMS" which appear in the templated 2-columnar pages.

And now this :

Code:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@nafa151a.nafaexpo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.nafa151a.com Port 80

I am starting to think there are some serious corruptions in my install for whatever reason...

Logician 10-28-2008 04:34 PM

Quote:

Originally Posted by TheFocusElf (Post 1654483)
A question on these templates, the following call to $WQ_siteinformationitems, where can these menuitems be modified?

If I've inadvertently referenced the wrong call, I am talking about the "SITE HELP ITEMS" which appear in the templated 2-columnar pages.

And now this :

Code:

Internal Server Error
 
The server encountered an internal error or misconfiguration and was unable to complete your request.

I am starting to think there are some serious corruptions in my install for whatever reason...

When you create a webtemplate whose theme is "siteinfo" pages, the $WQ_siteinformationitems webquery will add its link to all siteinfo pages automatically.

If you don't want a page there, just disable that webtemplate or change its theme, it will disappear automatically.

I can't say much about internal server error as it is related to your server but if you check your error log, you can get a hint about the culprit.

Morrus 10-30-2008 12:34 PM

I have a slight problem - the link to the template settings etc. in the admin panel has vanished, so I can't edit any settings. Can someone let me know the (relative) URL of the webtemplates admincp options?

Kihon Kata 10-30-2008 12:45 PM

Quote:

Originally Posted by Morrus (Post 1655955)
I have a slight problem - the link to the template settings etc. in the admin panel has vanished, so I can't edit any settings. Can someone let me know the (relative) URL of the webtemplates admincp options?

Vanished??? lol wow

http://www.yourforums.com/forums/admincp/wt_wt.php

Logician 10-30-2008 01:00 PM

Quote:

Originally Posted by Morrus (Post 1655955)
I have a slight problem - the link to the template settings etc. in the admin panel has vanished, so I can't edit any settings. Can someone let me know the (relative) URL of the webtemplates admincp options?

Make sure the file forum/includes/cpnav_webtemplates.xml are in the correct place

TheFocusElf 10-31-2008 12:04 AM

Well I will be reinstalling this tonight because it is a "wicked awesome mod".

I wonder if it has the ability to incorporate the tags of another mod in the postings themselves. I see that permissions are on in the templates, but I wonder if other installed mods and vbCode work...

K4GAP 11-01-2008 07:38 PM

Added this mod yesterday to my site.

Installation: Very easy. Took about 10 minutes.
Ease of use: I'm just one step above a newbie and I'm not having any trouble using this.

That's my review. Now here is a question:
This mod is so easy to use I have made several pages but, my site is already link heavy up top. So, here is my question. And it's really not just related to this mod.

If I wanted to add a drop menu to my custom navbar (code below) in order to have all these links I'm coming up with in one convenient location, what is the code? and where do I place it in the code below?

Code:

<a name="top"></a>

<div class="body2" align="center">
        <div style="width:$stylevar[outerdivwidth];">

<div style="text-align:left">
        <div class="nav">
                <a href="<if condition="$vboptions['hometitle']">$vboptions[homeurl]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">Return Home</a> &nbsp; - &nbsp;
                <a href="http://www.defenselink.mil/">D.O.D.</a> &nbsp; - &nbsp;
                <a href="http://www.redcross.org/">RED CROSS</a> &nbsp; - &nbsp;
                <a href="http://www.uso.org/">U.S.O.</a> &nbsp; - &nbsp;
            <a href="http://www.ares.org/">A.R.E.S.</a> &nbsp; - &nbsp;
            <a href="$vboptions[contactuslink]">Contact</a> &nbsp; - &nbsp;

        </div>
        <a class="logo" href="$vboptions[forumhome].php$session[sessionurl_q]">&nbsp;</a>
</div>

<div class="main">

<div class="memberbar">
        <div class="console">
                <span>Site Links:</span>
                <a href="http://www.publicwarriors.com/forums/all_albums.php">Albums</a>
                <a href="http://www.publicwarriors.com/forums/arcade.php">Arcade</a>
                <a href="http://www.publicwarriors.com/forums/blog.php?">Blog</a>
                <a href="http://www.publicwarriors.com/forums/local_links.php">DL's & Media</a>
                <a href="http://www.publicwarriors.com/forums/misc.php?do=flashchat&room=1">Chat</a>
                <a href="http://www.publicwarriors.com/gary/popup.html" target="page" onclick="window.open('','page','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=475,height=290,left=50,top=50,titlebar=yes')">MP3 Player</a>
                <a href="http://www.publicwarriors.com/forums/radioandtv.php" target="page" onclick="window.open('','page','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=900,height=500,left=50,top=50,titlebar=yes')">Radio & TV</a>
            <a href="worldmap.php$session[sessionurl_q]">Members World Map</a>
              <a href="http://www.publicwarriors.com/forums/easy_pages.php?p=2" target="_self">Buy & Sell</a>
</div>
        <div class="member">
        <if condition="$show['member']">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong>
                        <if condition="$show['notifications'] AND $show['popups']">
                                <span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span>
                                <script type="text/javascript"> vBmenu.register("notifications"); </script>
                        <else /><if condition="$show['pmstats']">
                                <phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
                        </if></if>
                </div>
        <else />
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
               
                <input type="image" src="{IF}/button_go.gif" value="" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
                <input type="password" class="bginput" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
                <input type="text" class="bginput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
                <span>Log In:</span>
               
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="do" value="login" />
                <input type="hidden" name="cookieuser" value="1" />
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
        </if>
        </div>
</div>

<div class="banner">
       
</div>

        <td class="content">

<div class="forumlinks">
        <a href="$vboptions[forumhome].php$session[sessionurl_q]">Forum Index</a> &nbsp; - &nbsp;
        <if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]">User CP</a> &nbsp; - &nbsp;</if>
        <a href="memberlist.php$session[sessionurl_q]">Member List</a> &nbsp; - &nbsp;
        <a href="search.php?$session[sessionurl]do=getnew">New Posts</a> &nbsp; - &nbsp;
        <a id="navbar_search" href="search.php$session[sessionurl_q]">Search</a> &nbsp; - &nbsp; <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if>
        <if condition="$show['member']"><a id="usercptools" href="$show[nojs_link]#usercptools">Quick Links</a> &nbsp; - &nbsp; <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></if>
        <if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">Logout</a></if>
        <if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></if>
</div>

<div style="padding:4px">

<!-- content table -->
$_phpinclude_output

This is where I want it to show up (image below)
https://vborg.vbsupport.ru/

Kihon Kata 11-02-2008 11:53 AM

Hi Logician,

It's me, one of your featured sample sites people from above (from this hack).

Anyhow. I updated mine a week ago or so. I was looking at the "What's new" changelog for the new version 3.7.x HERE, and I am not seeing those changes. I uploaded the new files, and added the products (over-written).

Things I am not seeing are:

Quote:

  • "Sort order" field added to webtemplate admin management section so that admin can change the listing order of webtemplates in admin cp and also in webqueries
  • A new 2 columned default webtemplate "Site Information Pages Template" and a webquery "$WQ_siteinformationitems" that is used by this template is added.
  • Some new default webtemplates like "About Us" "Are you a New Member?", "Link Our Site", "Donate to our Site", "Site Privacy Policy", "Forum Rules and Etiquette", "Terms of Service and Legal Notices" are added. They use "Site Information Pages Template" theme, automatically link eachother at the end of each page and in a navigation left column and involves default content which you can use in your forums.
  • A webquery to demostrate "paginated use of webtemplate&webqueries" are added.

Maybe you can help?

Ohiosweetheart 11-02-2008 12:56 PM

Kihon, I updated my Webtemplates a couple of weeks ago, and all of those new templates are in mine.

Perhaps you missed something in the upgrade?

Kihon Kata 11-02-2008 01:23 PM

Hi Ohiosweets,

I first exported all my templates. Then uploaded new (WT) files, imported the product...right?

I just checked everything. I even re-uploaded the new files. I had to edited my /includes/wt_includes.php since I have custom categories as per the manual.

Ohiosweetheart 11-02-2008 01:32 PM

Did you do step 3 in the upgrade process? after upgrading, refresh your acp, then expand the WebTemplates menu, and click on export/import, and import the 2nd xml file named webtemplate_export.xml. That's where all the new templates are :)

Kihon Kata 11-02-2008 01:49 PM

Quote:

Originally Posted by Ohiosweetheart (Post 1657841)
Did you do step 3 in the upgrade process? after upgrading, refresh your acp, then expand the WebTemplates menu, and click on export/import, and import the 2nd xml file named webtemplate_export.xml. That's where all the new templates are :)

Yes, your idea fixed it. Thanks. All but the:

"Sort order" field added to webtemplate admin management section so that admin can change the listing order of webtemplates in admin cp and also in webqueries

Ohiosweetheart 11-02-2008 02:01 PM

yikes, I've never messed with that, so I don't know.

Sorry!

K4GAP 11-02-2008 03:29 PM

Concerning my post above ^ . Could someone give some guidance as to the best place to make that post for some help? It concerns adding a drop menu to my navbar.

Thanks'
Gary

Morrus 11-02-2008 03:53 PM

Quote:

Originally Posted by Kihon Kata (Post 1655956)

Cool - thank you!

Now I've found the CP again - am I right in that there's no option there to force a style for the page?

Kihon Kata 11-02-2008 04:43 PM

Quote:

Originally Posted by GaryT (Post 1657923)
Concerning my post above ^ . Could someone give some guidance as to the best place to make that post for some help? It concerns adding a drop menu to my navbar.

Thanks'
Gary

You're asking in the wrong place. General Navbar editing and customizing should be asked here

Logician 11-02-2008 04:55 PM

Quote:

Originally Posted by Kihon Kata (Post 1657853)
Yes, your idea fixed it. Thanks. All but the:

"Sort order" field added to webtemplate admin management section so that admin can change the listing order of webtemplates in admin cp and also in webqueries

When you click EDIT for any webtemplate, don't you see "List Order" field right above Dates section?

Quote:

Concerning my post above ^ . Could someone give some guidance as to the best place to make that post for some help? It concerns adding a drop menu to my navbar.
Sorry but as Kihon Kata mentioned, what you want to do is actually not related to this hack.

Kihon Kata 11-02-2008 06:07 PM

Quote:

Originally Posted by Logician (Post 1657967)
When you click EDIT for any webtemplate, don't you see "List Order" field right above Dates section?


Sorry but as Kihon Kata mentioned, what you want to do is actually not related to this hack.

Yeah, that's there. I didn't know you had to do from inside each template. I thought there was some downarrow somewhere. Thanks

Ohiosweetheart 11-03-2008 01:15 AM

Everyone should click the link above to nominate this add-on for Mod of the Month!


All times are GMT. The time now is 11:04 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.02075 seconds
  • Memory Usage 1,888KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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