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)

Wilfred1 04-18-2010 01:05 AM

I have been having a look into vb4 and my current 3.8.5 site. I think one issue that will need to be overcome with this great mod and vb4 is how the vb4 menu is structured.

I will be wanting to add different sections to the vb4 menu and it seems the only way is to use the "THIS_SCRIPT" method to determine which tab is to be displayed as active.

As I currently use webtemplates in different areas of my site I will be needing different menu tabs displayed as active for different templates.

Just flagging this as a potential issue.

Khan_ 04-21-2010 02:15 AM

i used this mod for a long time, now i upgraded forum to vb4 ..

Will there be a release of logicans webtemplates for vb4 version ? if yes what will be the approximate time ? Just curious cant wait to have it again on vb4 ..

vFranky 04-24-2010 02:51 PM

Hello,

I have advertisments in my ad_navbar_below template, which I want do disappear, when showing certain Webtemplate pages. But how can I write vB Code to identify a Webtemplate Page? Something in the ad_navbar_below template like "if you are a webtemplate, then do not show advertisments".

I have tried the forum-id, which is 0 for Webtemplates (because only forums have ids). But it is == 0 for the homepage/startpage of a vBulletin forum too. :erm:

Any ideas? Thank you in advance!

Kind regards,
vFranky

Logician 04-26-2010 06:32 AM

Quote:

Originally Posted by vFranky (Post 2026506)
Hello,

I have advertisments in my ad_navbar_below template, which I want do disappear, when showing certain Webtemplate pages. But how can I write vB Code to identify a Webtemplate Page? Something in the ad_navbar_below template like "if you are a webtemplate, then do not show advertisments".

I have tried the forum-id, which is 0 for Webtemplates (because only forums have ids). But it is == 0 for the homepage/startpage of a vBulletin forum too. :erm:

Any ideas? Thank you in advance!

Kind regards,
vFranky

<if condition="THIS_SCRIPT == view">
Show this if we are on a webtemplate
<else />
dont show this when we are on a webtemplate
</if>

vFranky 05-02-2010 07:52 PM

Quote:

Originally Posted by Logician (Post 2027431)
<if condition="THIS_SCRIPT == view">
Show this if we are on a webtemplate
<else /> dont show this when we are on a webtemplate </if>

Thank you, Logician! :up:

Please allow me another question: I have choosen a user-friendly name for my web templates. But I in the HTML <title> appears the [forum name] first an the user-friendly name after it.

How can I remove [forum name] from the webtemplates HTML <title>? Which vb-template I have to modify? :confused:

Wilfred1 05-02-2010 09:09 PM

But is there anyway to determine which template is being viewed as the THIS_SCRIPT method would apply to all Web Templates? - thanks

Logician 05-03-2010 08:35 AM

Quote:

Originally Posted by Wilfred1 (Post 2030754)
But is there anyway to determine which template is being viewed as the THIS_SCRIPT method would apply to all Web Templates? - thanks

I didn't test but
<if condition "$pg=='webtemplate_name'>
</if>
might work.

vFranky 05-03-2010 10:19 AM

And which vBulletin template is used to display the webtemplate? :confused:

I want to remove the leading [forum name] from the html <title>. The <title> should only be the choosen "user-friendly name".

Logician 05-03-2010 11:29 AM

Quote:

Originally Posted by vFranky (Post 2031038)
And which vBulletin template is used to display the webtemplate? :confused:

I want to remove the leading [forum name] from the html <title>. The <title> should only be the choosen "user-friendly name".

Depends on webtemplate. If it is a child webtemplate using a theme then title section is inside THEME webtemplate. (Eg. "Default Basic Theme"'s source code)

vFranky 05-03-2010 11:43 AM

Works --> Logician, thank you very much.


All times are GMT. The time now is 01:24 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.02457 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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