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)

GreysAnatomy 08-11-2006 06:41 AM

Installed and worked like a charm. I haven't wored with it though but installation was very easy, thanks!

SweetHome 08-11-2006 11:28 AM

tabik,i

Logician 08-11-2006 02:40 PM

Quote:

Originally Posted by ChrisBaktis
Can anyone help me create a webquery to list the top 10 referers?

It is not possible to do it with webquery because a single query can not get such a list due to vb database structure.

You can consider checking these hacks:
https://vborg.vbsupport.ru/showthrea...light=refer%2A
https://vborg.vbsupport.ru/showthrea...light=refer%2A
https://vborg.vbsupport.ru/showthrea...light=refer%2A

Brandon Sheley 08-13-2006 01:37 AM

Quote:

Originally Posted by Logician
I've just tested webtemplates with a clean 3.6.x gold and I couldn't find any problems, bugs or glitches. As far as I can see it is working fine. So I can say it is safe to use it with that vb version too.

Yet if anybody catches a problem, please let me know.


good to hear this :)
I've used this b4, and now want to use it on a new site..
This is a great addition :)

Feckie (Roger) 08-13-2006 06:46 PM

Is it possible to have a usergroup displayed.

ie: usergroup (11) Members displayed on one page,

What I want todo is have a page display a set group, when called from a webtemplate..............

Logician 08-13-2006 06:53 PM

Quote:

Originally Posted by Feckie (Roger)
Is it possible to have a usergroup displayed.

ie: usergroup (11) Members displayed on one page,


What I want todo is have a page display a set group, when called from a webtemplate..............

If it is their primary usergroup, you can do it by a webtemplate. If it is their secondary usergroup, nope you cant do it

Feckie (Roger) 08-13-2006 07:02 PM

Quote:

Originally Posted by Logician
If it is their primary usergroup, you can do it by a webtemplate. If it is their secondary usergroup, nope you cant do it


Yes it is there Primary Group

so what will i have todo...............

Logician 08-13-2006 08:48 PM

Quote:

Originally Posted by Feckie (Roger)
Yes it is there Primary Group

so what will i have todo...............

Import this webtemplate and then change the usergroup from 6 to whatever you want in the webquery named $WQ_usergroupsfromx

Feckie (Roger) 08-13-2006 09:33 PM

Quote:

Originally Posted by Logician
Import this webtemplate and then change the usergroup from 6 to whatever you want in the webquery named $WQ_usergroupsfromx



Worked a treat.....Thanks Logician. :)

Brandon Sheley 08-14-2006 12:32 AM

does anyone know what I need to edit for Spiders online ?

https://vborg.vbsupport.ru/showthread.php?t=119134

I'll like to remove

Currently Active Users Viewing this Page: 1 (1 members and 0 guests and [ARG:3 UNDEFINED] spiders)

funky1 08-14-2006 12:58 AM

Great mod. Works in 3.6.0 for me. I had an initial problem but a simple screen refresh fixed it.

orphan 08-14-2006 02:59 PM

Hi
Im trying to run this mod under 3.6
But i get some strange errors under the admincp

Quote:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /admincp/wt_wt.php on line 1337

No WebTemplates Exist at the moment..
Quote:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /admincp/wt_wt.php on line 1416

No Header/Footer WebTemplates Exist at the moment..

But they DO exists and are exportable under Export page

Any ideas?

Logician 08-14-2006 04:21 PM

Quote:

Originally Posted by orphan
Hi
Im trying to run this mod under 3.6
But i get some strange errors under the admincp

But they DO exists and are exportable under Export page

Any ideas?

Not sure why this happens but sounds like there was a problem in the import process. Maybe you should reimport default wt/wq's.

Brandon Sheley 08-14-2006 04:27 PM

logician, do you know how I can remove the ARG ? I'd like it to show the numbe of spiders, but if not thats okay.. I'd just like to remove that part if possible ?

Logician 08-14-2006 05:27 PM

Quote:

Originally Posted by Loco.M
logician, do you know how I can remove the ARG ? I'd like it to show the numbe of spiders, but if not thats okay.. I'd just like to remove that part if possible ?

I'm not sure? It is coming from your other hack which I'm not familiar with ;)

Brandon Sheley 08-14-2006 11:26 PM

Quote:

Originally Posted by Logician
I'm not sure? It is coming from your other hack which I'm not familiar with ;)

yes, its from amykhar's show spiders on forumhome hack
https://vborg.vbsupport.ru/showthread.php?t=119134

TPOCJames 08-15-2006 04:40 AM

Logician, will this be able to create web pages with the .php instead of .html ?

Logician 08-15-2006 07:04 AM

Quote:

Originally Posted by TPOCJames
Logician, will this be able to create web pages with the .php instead of .html ?

If you enable SEO friendly URL option (details in manual), yes

bhxtyrant 08-17-2006 11:38 PM

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.

Razasharp 08-18-2006 12:03 AM

As far as I am aware it can only be installed in the same directory that vB is installed in.

Many people install vB in the root directory these days :)

bhxtyrant 08-18-2006 12:13 AM

Thanks for the reply Raza,damn thats to bad the reason we still use sub folders is mainly due to us planning to use multiple systems in the future.Such as a possible wiki and blogs in the future.Im pretty sure this is not the first time this has been asked so hopefully someone out there may know of a way we can do this. :S

Logician 08-18-2006 06:04 AM

Quote:

Originally Posted by bhxtyrant
Thanks for the reply Raza,damn thats to bad the reason we still use sub folders is mainly due to us planning to use multiple systems in the future.Such as a possible wiki and blogs in the future.Im pretty sure this is not the first time this has been asked so hopefully someone out there may know of a way we can do this. :S

Actually it is answered in post-installation faq question 3. ;)

I don't support this kind of installation because it is likely to break many things and cause small bugs here and there but I know that there are users who did.

bhxtyrant 08-18-2006 02:08 PM

Thanks Logician,I didnt even see those lol guess i should have checked the first page.I expected it to be in the included Readme file.

In any case does anyone out there know of someone who managed to do this sucessfully?Or perhaps even make a guide on how to do it?

orphan 08-18-2006 02:37 PM

Quote:

Originally Posted by Logician
Not sure why this happens but sounds like there was a problem in the import process. Maybe you should reimport default wt/wq's.

Sorry Logician that cant be done
If i try i get a "template xxx allready exists - skipped" message

Logician 08-18-2006 02:48 PM

Quote:

Originally Posted by orphan
Sorry Logician that cant be done
If i try i get a "template xxx allready exists - skipped" message

You can empty db tables:
wt35_webtemplate
wt35_theme
wt35_query
via phpmyadmin

ShackMaster 08-18-2006 08:10 PM

Very nice hack... thanks! Clicked install.

I only have one little thing I can't figure out where to change... at the bottom of the webtemplate it has the following:

Page Visitors: 111, Last Visitor was Sonnie at Today - 4:03 PM. Edit This Page
Page Created at Today - 2:00 AM, Last Modified : Today - 3:38 PM.


Where can I edit and/or delete this stuff?

Thanks!

Logician 08-18-2006 08:18 PM

Quote:

Originally Posted by ShackMaster
Very nice hack... thanks! Clicked install.

I only have one little thing I can't figure out where to change... at the bottom of the webtemplate it has the following:

Page Visitors: 111, Last Visitor was Sonnie at Today - 4:03 PM. Edit This Page
Page Created at Today - 2:00 AM, Last Modified : Today - 3:38 PM.

Where can I edit and/or delete this stuff?

Thanks!

It is in "Two Column Theme" and "Default Basic Theme"

ShackMaster 08-18-2006 08:43 PM

Perfect! This hack is very flexible, editable, versatile all of the above!

Thanks once again!

ChrisBaktis 08-19-2006 02:30 PM

Is there a webquery that can be run with this hack that will pull members with a certain custom profile field? Also a certain user group?

If so how can I do this and also provide a link to the members profile?

orphan 08-19-2006 03:38 PM

Quote:

Originally Posted by Logician
You can empty db tables:
wt35_webtemplate
wt35_theme
wt35_query
via phpmyadmin

Tried that, even deleted them and reinstlled the entire mod, same result :confused:

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 01:31 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.02234 seconds
  • Memory Usage 1,850KB
  • 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
  • (27)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
  • (40)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