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 08-19-2006 04:58 PM

Quote:

Originally Posted by orphan
Tried that, even deleted them and reinstlled the entire mod, same result :confused:

If you are sure, you cant do it and it is important to you, I can check when I have a free time if you let me know FTP access, phpmyadmin access and vb admin cp access.

ShackMaster 08-19-2006 10:42 PM

Hi Logician... I've tried to get the SEO'd URL working and get a 'Page Not Found' error when trying to access the pages. I've entered the rewrite info into my htaccess file within my forum root directory and then checked the appropriate block in options.

It says something about apache server in the instructions, not sure if this is the problem or not, but I do have the following in my cpanel:

Quote:

Apache Handlers

Extension(s) Handler

User Defined Handlers
System Defined Handlers
.cgi .pl, cgi-script, .shtml, server-parsed
I don't understand how the handlers work or even what extension to place in field... or if this will even get me where I need to be.

Any ideas?

Thanks!

orphan 08-20-2006 03:32 AM

Quote:

Originally Posted by Logician
If you are sure, you cant do it and it is important to you, I can check when I have a free time if you let me know FTP access, phpmyadmin access and vb admin cp access.

Thx
I will create some accounts for you, I'll pm you the info when done

specmav 08-20-2006 12:44 PM

Great mod!

I only need one thing though. Is there a way to remove the currently active users part at top of the screen on pages generated by webtemplates?

Thanks!

orphan 08-20-2006 12:55 PM

Quote:

Originally Posted by ShackMaster
Hi Logician... I've tried to get the SEO'd URL working and get a 'Page Not Found' error when trying to access the pages. I've entered the rewrite info into my htaccess file within my forum root directory and then checked the appropriate block in options.

It says something about apache server in the instructions, not sure if this is the problem or not, but I do have the following in my cpanel:



I don't understand how the handlers work or even what extension to place in field... or if this will even get me where I need to be.

Any ideas?

Thanks!


Make sure you .htaccess looks like this

Quote:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1
if this is your only .htaccess or if forum is in the root directory
you might want to write it like this

Quote:

Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1
[/QUOTE]

m3_fs 08-22-2006 12:14 AM

OK, sorry to be a s00per n00b but hey, we all start somewhere. I am running a vb board http://www.davetyner.com/forum and downloaded the Webtemplate hack. I am trying to add a theme but keep getting this error when I try and create it "You forgot to add $includedtemplate variable into template! This variable marks the location where webtemplates that is using this theme will be inserted so a theme without this variable is pointless to have!"

I read all the documentation and is there a step by step on creating and then implementing a basic theme? Thanks!

ShackMaster 08-22-2006 12:45 AM

.htaccess is in /public_html/forums/

Quote:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^hometheatershack.com
RewriteCond %{REQUEST_URI} ^/forums/
RewriteRule (.*) http://www.hometheatershack.com/forums/$1 [R=301,L]

RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.*)$ $1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

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



Logician 08-22-2006 05:27 AM

Quote:

Originally Posted by m3_fs
OK, sorry to be a s00per n00b but hey, we all start somewhere. I am running a vb board http://www.davetyner.com/forum and downloaded the Webtemplate hack. I am trying to add a theme but keep getting this error when I try and create it "You forgot to add $includedtemplate variable into template! This variable marks the location where webtemplates that is using this theme will be inserted so a theme without this variable is pointless to have!"

I read all the documentation and is there a step by step on creating and then implementing a basic theme? Thanks!

A theme = a webtemplate that can host other "webtemplates" in.

So if you are trying to create a stand-alone page, you should NOT create a theme, you should create a regular webtemplate.

If you want to create a general design in which you will display other webtemplates in, then you should create a theme.

Since themes will display "other webtemplates" inside, you should point in which section of the theme you are going to insert your other webtemplates while creating themes. You do it by using "$includedtemplate" variable somewhere inside your theme. You get the error message because you attempt to create a theme but use this variable nowhere inside it (which is pointless as the error tells). So you must put $includedtemplate inside your theme to avoid the error.

Logician 08-22-2006 05:29 AM

Quote:

Originally Posted by ShackMaster
.htaccess is in /public_html/forums/

I think your vbseo redirection is clashing with webtemplates redirection. I don't use that product so I can't advise how to solve the clash but maybe it can work if you put wt redirection lines before vbseo lines in your .htaccess.

CoralGeek 08-23-2006 03:02 PM

Quote:

Originally Posted by bhxtyrant
Hey guys,I was planning to give webtemplates a test to see if it will suit my needs for our website.But one thing i didnt see in the installation manual was is it possible to install webtemples in another directory?for example our forums are located at

www.mysite.com/forum/
and we want the main site to be in
www.mysite.com/sitename/

Not sure if this can be done but any help would be appreciated.

I've still got a few bugs to work out but I have it on a test site working like that now.

My forums are at www.mysite.com/forums

I'm using this for the main page at www.mysite.com and for articles at www.mysite.com/articles.


All times are GMT. The time now is 12:48 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.01514 seconds
  • Memory Usage 1,756KB
  • 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
  • (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