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)

Logician 12-21-2005 07:09 PM

Quote:

Originally Posted by Masiello
Thanks veru much, i click install, great work really!
It more be also beautifull if somehow it created a menu link and sublink in a module in case of need, it would really the best one of the elite code!

I'm not sure what you mean but if you wanted an automated list of your webtemplates, sample webtemplate named "wtlist" does it.

Masiello 12-21-2005 07:13 PM

I inteed a real column menu on the forum of all created pages

Bubble #5 12-22-2005 11:00 PM

For the htaccess file, shouldn't:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1

Be written as:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f [L]
RewriteRule ^view_(.*).htm$ view.php?pg=$1 [L]

Just wondering :ermm:

Logician 12-23-2005 05:22 AM

Quote:

Originally Posted by Bubble #5
For the htaccess file, shouldn't:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1

Be written as:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f [L]
RewriteRule ^view_(.*).htm$ view.php?pg=$1 [L]

Just wondering :ermm:

Unless you have a already complicated .htaccess, I don't think L flag is necessary but if you have other rewrite rules in your .htaccess, yes you can add it as you pointed out.

Masiello 12-23-2005 06:26 AM

For me working fine only on that mode

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1

fn9mm 12-25-2005 07:57 AM

nice hack, Logician,...
one question though : as suggested in the manual , I would like to add some categories in my webtemplates, but i can't find this file as stated in the manual

Quote:

$WT_Option_Categories[] ='Your Custom Pages';

in file wt_options.php.
is there an other solution

Logician 12-25-2005 08:31 AM

Quote:

Originally Posted by fn9mm
nice hack, Logician,...
one question though : as suggested in the manual , I would like to add some categories in my webtemplates, but i can't find this file as stated in the manual is there an other solution

Haven't you uploaded this file to /forum/includes/ folder?

fn9mm 12-25-2005 10:50 AM

the file wt_options.php is not included in the download package, in the includes folder, i can only find this file : wt_include.php

ok solved

i found the '$WT_Option_Categories[] = 'Your Custom Pages';' option in the wt_include.php file,
plz change the filename in the manual from wt_option.php to wt_include.php

fn9mm 12-25-2005 11:01 AM

i found the right file, but adding categories in this file doesn't seem to work
i added my categories like this

Code:

$WT_Option_Categories[] = 'Default WebTemplates'; // <-- Do NOT touch this!!
        $WT_Option_Categories[] = 'Your Custom Pages'; //
        $WT_Option_Categories[] = 'Usenet'; //
        $WT_Option_Categories[] = 'Virtuele schijven-images'; //
        $WT_Option_Categories[] = 'Software'; //
        $WT_Option_Categories[] = 'Diverse'; //

this should work,...

Logician 12-25-2005 04:44 PM

Quote:

Originally Posted by fn9mm
i found the right file, but adding categories in this file doesn't seem to work
i added my categories like this

Code:

$WT_Option_Categories[] = 'Default WebTemplates'; // <-- Do NOT touch this!!
        $WT_Option_Categories[] = 'Your Custom Pages'; //
        $WT_Option_Categories[] = 'Usenet'; //
        $WT_Option_Categories[] = 'Virtuele schijven-images'; //
        $WT_Option_Categories[] = 'Software'; //
        $WT_Option_Categories[] = 'Diverse'; //

this should work,...

You did it correctly. You should be seeing your categories when you add a new template or in edit webtemplate page. When you have at least one webtemplate in a category, it will be visible in your list too.


All times are GMT. The time now is 03:27 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.01572 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (5)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