vb.org Archive

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

bulbasnore 02-27-2007 03:51 AM

Quote:

Originally Posted by Logician (Post 1171897)
set a vb conditional in WT:

Hey yah, just noticed that is a generalized workaround (with no PHP file hacking) to the issue of the WT restriction or 'negative permissions', i.e. the fact that WT specifies groups/IDs who CANT see the page. Its difficult for us because we've leaned heavily on vB's positive permissions capability to assign multiple groups so that we give fine-grained permission to our site.

Here's what I did --

PHP Code:

$header
<if condition="is_member_of($bbuserinfo, 6, 7, 8)">
     
$WQ_secretinfo
<else />
     
You should not have come here$bbuserinfo[username]! 
</if>
$footer 

The above shows the web-query result to members of groups 6,7,8. It shows a personalized "go away" message to everyone else.

I suppose you could enclose your entire page in the conditional so that only the specified group(s) could see it. Since you're giving (or denying) permission at the page level in vb (as opposed to element level) I guess this works pretty generally to convert WT permissions. Comments/corrections?

Logician -- I'm so very grateful for your add-on and your support of it!

Quantnet 02-28-2007 05:33 AM

I put the logout code in the template. This will use the vbulletin standard logout where it will display the message "Return to index page or the last view page"

Is there a way i can specify a site that after the member logout will be directed to ?

Thanks

markp_2000 03-01-2007 02:47 AM

Excellent mod.

How would one use the vB's internal ajax to tap into a add-on database and edit those fields?

Mark

Quantnet 03-06-2007 04:36 AM

Which $ variable I can use to display the last updated time of a user profile, either by himself or by the admin.

For example, when the admin move the user from usergroup X to usergroup B, I'd like to display the time when the admin made the usergroup move for the user.

Thanks

Logician 03-06-2007 04:44 AM

Quote:

Originally Posted by Quantnet.org (Post 1196855)
Which $ variable I can use to display the last updated time of a user profile, either by himself or by the admin.

For example, when the admin move the user from usergroup X to usergroup B, I'd like to display the time when the admin made the usergroup move for the user.

Thanks

There is no such variable. Neither in WT nor in vb.

Quantnet 03-07-2007 05:28 AM

thanks, Logician,

I decided to do without.

Immortal_Shades 03-13-2007 11:26 PM

How can I embed a flash file into the new pages and what do I have to do to remove the branding and extra stuff on the bottom? Much props on your work and all but I wouldnt mind paying a few bucks to remove the branding.

Parsing : TEXT | Theme : Default Basic Theme
WebQuery : N/A <------This Stuff!!

GafferSports 03-19-2007 11:43 PM

I have installed this but wehn I go to add a new template I do not get any default themes, I only get 'No Parent Template'.

Any ideas what is wrong here?

Logician 03-20-2007 06:29 AM

Quote:

Originally Posted by GafferSports (Post 1207733)
I have installed this but wehn I go to add a new template I do not get any default themes, I only get 'No Parent Template'.

Any ideas what is wrong here?

Performed installation step 3?

Kihon Kata 03-20-2007 12:35 PM

Hi Logician,

Do you have any plans to improve this mod?


All times are GMT. The time now is 08:26 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.01912 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
  • (1)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