vb.org Archive

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

Logician 12-02-2010 06:26 AM

Quote:

Originally Posted by fxbattleground (Post 2128045)
I am trying to use WebTemplates to create a visitor landing page where they can take a tour of what is available inside the site - I see where to disallow, but how can i make an exception on this one page only?

By default your webtemplate will be visible to all (including guests) unless you specifically ban them from that webtemplate in webtemplate options.

However the problem with your situation is that, webtemplates inherit your general vbulletin permissions so if you disallowed guests in there, vbulletin will stop them before webtemplate hack has a say about the issue. ;)

So the solution would be your changing vb permissions for guests and allow them to access "forum in general" but not threads or forums in particular. In other words, in edit usergroup options for guests permission "Can View Forum" should be set to yes but then you can set all other permissions as no according to your needs (eg. Can "View Thread Content" permission in usergroup options or ANY permissions in any particular forum under forum permissions page)

Logician 12-02-2010 06:31 AM

Quote:

Originally Posted by neverstop (Post 2125820)
Its seems that the {vb:raw headinclude_bottom} variable does not work in the themes. Any idea why?

Edit "view.php", find this line:
Quote:

$templater->register('WTlogging_list_name', $WTlogging_list_name);
And replace it AS:
Quote:

$templater->register('WTlogging_list_name', $WTlogging_list_name);
$templater->register('headinclude_bottom', $headinclude_bottom);
There are 3 instances of this so please make sure you changed all.

This should fix it.

Logician 12-02-2010 06:32 AM

Quote:

Originally Posted by GaryT (Post 2122966)
Does this mod in any way diminish the suites cms?

Nope. It does not interfere with vb cms at all.

Storyteller69 12-06-2010 04:22 AM

Hello,

after upgrading to vB 4.1.0 the style for the options like "Count Page Visitors" and "Display Page Browsers" also for the variables "adminpanel" and "nowbrowsing" is broken. Is there a way to fix this?

Thanks in advance
Storyteller

Logician 12-06-2010 07:22 AM

Quote:

Originally Posted by Storyteller69 (Post 2129908)
Hello,

after upgrading to vB 4.1.0 the style for the options like "Count Page Visitors" and "Display Page Browsers" also for the variables "adminpanel" and "nowbrowsing" is broken. Is there a way to fix this?

Thanks in advance
Storyteller

Uninstall the product and then install it back by ONLY APPLYING installation STEP 2. (Your custom webtemplates will be preserved)

Storyteller69 12-06-2010 09:13 AM

I just uninstalled and than installed it new but no changes.
Maybe I should be more specific. The Data and also the collapse-buttons are displayed fine. But there are no heads and borders of the boxes/containers(?).

Logician 12-06-2010 09:40 AM

Quote:

Originally Posted by Storyteller69 (Post 2129961)
I just uninstalled and than installed it new but no changes.
Maybe I should be more specific. The Data and also the collapse-buttons are displayed fine. But there are no heads and borders of the boxes/containers(?).

Can I see an example?

Storyteller69 12-06-2010 10:03 AM

Send you a Link.

Logician 12-06-2010 04:43 PM

Quote:

Originally Posted by Storyteller69 (Post 2129908)
Hello,

after upgrading to vB 4.1.0 the style for the options like "Count Page Visitors" and "Display Page Browsers" also for the variables "adminpanel" and "nowbrowsing" is broken. Is there a way to fix this?

Thanks in advance
Storyteller

seems 4.1.0 has some style changes. Please replace these 2 templates like this:

WebTemplates_NowBrowsing
Quote:

<div class="collapse">
<a class="collapse" id="collapse_wt_wol" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
<h4 class="blockhead">
{vb:rawphrase page_information}

</h4>
</div>
<div id="wt_wol" class="forum_info_block blockbody formcontrols">
<h5>{vb:rawphrase users_browsing_this_thread}</h5>
<div>
<p>{vb:rawphrase CurrentlyActiveUsers} : {vb:raw totalonline} (<span class="normal"><strong>{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}})</strong></span></p>
<ol class="commalist">
{vb:raw activeusers}
</ol>
</div>
</div>

WebTemplates_AdminPanel
Quote:

<div class="collapse">
<a class="collapse" id="collapse_wt_admin" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
<h4 class="blockhead">{vb:rawphrase WT_WebTemplateQuick}
- [CMS by <a href="https://vborg.vbsupport.ru/member.php?u=2355" target='_blank'>Logician</a>]</h4>
</div>
<div id="wt_admin" class="forum_info_block blockbody formcontrols">
<div>
<p>
{vb:raw WT.draftWarning} {vb:rawphrase WebTemplate} : <b>{vb:raw WT.title}</b>

| {vb:rawphrase WT_Created} : {vb:raw WT.creationdate}

| {vb:rawphrase WT_LastEdited} : {vb:raw WT.lasteditinfo}<br>

{vb:rawphrase WT_Visitors} : <b>{vb:raw WT.pagecount}</b>,

{vb:rawphrase WT_LastVisitedby}<br>

{vb:rawphrase WT_Parsing} : {vb:raw WT.doactionON} | {vb:rawphrase WT_Theme} : {vb:raw WT.themeON}<br>

{vb:rawphrase WT_WebQuery} : {vb:raw WT.webqueriesON}<br>
{vb:rawphrase WT_Draft} : {vb:raw WT.draftON}, {vb:rawphrase WT_CountVisitors} : {vb:raw WT.countvisitorsON}, {vb:rawphrase WT_ShowBrowsers} : {vb:raw WT.showbrowsersON}
</p>
<p>{vb:raw WTpermission_list_name} {vb:raw banned_permitted_usergroupnames} {vb:raw banned_permitted_userids}<br />

{vb:raw WTlogging_list_name} {vb:raw WT_loggedusers}</p>

<vb:if condition="!$bagis">
<p>[<a href='{vb:raw vboptions.bburl}/editors.php?do=donate' target='_Blank'>Donate for WebTemplates Project</a>] </p>
</vb:if>
</div>
</div>


Storyteller69 12-06-2010 06:59 PM

Many Thanks :)

Storyteller


All times are GMT. The time now is 03:57 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.01309 seconds
  • Memory Usage 1,757KB
  • 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
  • (10)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
  • (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