vb.org Archive

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

Logician 11-23-2008 04:34 PM

Quote:

Originally Posted by sparklywater (Post 1671363)
I think this mod is good enough to be sold to vBulletin / vBadvanced, they should make Logician a good deal and then support the product themselves. Logician has been doing a phenomenal job on his own but it would be easier on him if there was a team working on it rather than on his own. What do you think Logician?

Thanks for the kudos.

This is asked to me by another hack user long time ago and I told my point of view in vb.com:
http://www.vbulletin.com/forum/showt...98#post1454598

It was one year ago and my stance didn't change: So if Jelsoft asks to integrate it into default vb package, I'm happy to pass it to them for free. Webtemplates and all my hacks released here are my courtesy to vbulletin community anyway.

But as stated in that message, this is not a usual way of Jelsoft so I would think its happening implausible. And I think you'll agree with me if you consider first release of Webtemplates was on 22.Mar.2002. ;)

LG Alex 11-24-2008 12:50 AM

Wow, thank you. Very useful. Installed!

TheFocusElf 11-25-2008 08:16 PM

Quote:

Originally Posted by Logician (Post 1670261)
Assuming you meant VB, not IBP: ;) please see Post number 223.

Ich, yes, VB not IPB. I do work in both settings, but vastly prefer VB and that is obviously what this query was for.

Yes I've cleared the SQL DB, run several fresh installs and always the error. Where might I find the error log, sorry for the newbie question.

Logician 11-26-2008 06:24 AM

Quote:

Originally Posted by TheFocusElf (Post 1672952)
Ich, yes, VB not IPB. I do work in both settings, but vastly prefer VB and that is obviously what this query was for.

Yes I've cleared the SQL DB, run several fresh installs and always the error. Where might I find the error log, sorry for the newbie question.

If you are using cpanel, you can log in there and you'll see error log icon. Before clicking on it, just visit the webtemplate page so as to procude a recent error in the log.

TheFocusElf 11-26-2008 12:33 PM

Quote:

Originally Posted by Logician (Post 1673188)
If you are using cpanel, you can log in there and you'll see error log icon. Before clicking on it, just visit the webtemplate page so as to procude a recent error in the log.

Bizarre :

[Wed Nov 26 09:30:25 2008] [error] [client 24.226.18.50] File does not exist: /home/accountname/public_html/domainname.com/500.shtml, referer: http://domainname.com/admincp/wt_wt.php?do=webedit&wtid=8

And sure enough the file is there, permissions set to 644. Permissions the culprit?

Logician 11-26-2008 01:31 PM

Quote:

Originally Posted by TheFocusElf (Post 1673311)
Bizarre :

[Wed Nov 26 09:30:25 2008] [error] [client 24.226.18.50] File does not exist: /home/accountname/public_html/domainname.com/500.shtml, referer: http://domainname.com/admincp/wt_wt.php?do=webedit&wtid=8

And sure enough the file is there, permissions set to 644. Permissions the culprit?

I can't tell much but it seems it is somehow related to server (maybe a firewall/security/permissions issue?). If you have a server admin, I'm sure he can help you more on this.

TheLastSuperman 11-26-2008 02:25 PM

I use the 3.6 version and LOVE IT!

Thanks for this - I mean it ;)

Neutral Singh 11-27-2008 12:19 PM

With url rewriting can i replace word view_ with any thing more meaningful word like sikhism_ for my forum? How can i achieve this?

Logician 11-27-2008 12:25 PM

Quote:

Originally Posted by Neutral Singh (Post 1673978)
With url rewriting can i replace word view_ with any thing more meaningful word like sikhism_ for my forum? How can i achieve this?

Edit wt_include.php, section:

$WT_SEO_url_prefix = 'view_';

And edit your .htaccess file.

Neutral Singh 11-27-2008 02:08 PM

Thank you!! It worked!!

Another request: What if i want the re written url ending ***.html instead of ***.htm ?

Phaedrus 11-27-2008 07:42 PM

How is it that I missed such a great idea for so long?

I'll probably install this and then they'll put out 3.8.x and I'll have to reinstall... But I'm still going to do this.

Logician 11-28-2008 07:01 AM

Quote:

Originally Posted by Neutral Singh (Post 1674033)
Thank you!! It worked!!

Another request: What if i want the re written url ending ***.html instead of ***.htm ?

Well from seo point of view it really does not matter whether your url is a htm or html.

But if you still want to change, it would require some modifications in many files. You need to do the first change in .htaccess file, then search for "htm" in view.php, editors.php, wt_wt.php files and change them too.

gchristo 11-28-2008 08:32 PM

Installed.
Excellent, thank you Logician.
I noticed that you posted some examples of sites that use a template as their home page.

How would one name a template as an index file, or would a redirect to the desired template be used?
I'd like to use a template as a home page to try a few things.
Thanks in advance for any advice.

Logician 11-29-2008 06:33 AM

pre-installation faq item 7 covers it.

gchristo 11-29-2008 11:48 AM

Quote:

Originally Posted by Logician (Post 1675004)
pre-installation faq item 7 covers it.

Thank you Logician for the information and great work! :up:

wacnstac 12-01-2008 02:14 AM

How much of the Hyster Sisters website is based on this template? How do they do their homepage over there? If most of their pages there are based off this template, it looks like I found a winner.

Neutral Singh 12-04-2008 07:30 AM

Thanks again. Well, integration with vBAdvanced is not possible if we enable url rewrite option in webtemplates... there must be a way to achieving this.

birdie 12-05-2008 11:46 PM

I love this mod and use it on several forums...

BUT, have a unique problem on a new forum. Its not possible for me to import .xml files the usual way through the AdminCP>Import Product as I get this error
Quote:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/php_upload/phphD0Hoo) is not within the allowed path(s) in [path]/admincp/plugin.php on line 1638
No one has been able to fix it for me, so to import .xml, I load to the file to server and use the option to 'OR import the XML file from your server" and works fine to install products.

However, step 3 of installing this mod, requires the webtemplate_export.xml to be imported - the mod does not give me the option to import it from the server and I get the above error if try importing the required way.

Anyone got a work around or advice?

ishare 12-06-2008 07:48 PM

I have prepared a list with letterbar which let users to filter the threads. (Letterbar in this post)

Everything works perfect. I've used the letterbar as below in the templates.
Code:

<a href='view.php?pg=cat1&myletter=a'>A</a>
<a href='view.php?pg=cat1&myletter=b'>B</a>
<a href='view.php?pg=cat1&myletter=c'>C</a>

I've also prepared a list which shows all the threads from all the categories. (cat1,cat2,cat3) I used below querry.
Code:

SELECT t.threadid, t.title, t.postusername,t.postuserid,t.dateline, f.title as forumtitle
FROM " . TABLE_PREFIX . "thread t
LEFT JOIN " . TABLE_PREFIX . "forum f ON f.forumid=t.forumid
WHERE t.sticky=0 AND t.visible=1  AND (t.forumid=1 OR t.forumid=2 OR t.forumid=3) $letterquery
ORDER BY t.dateline DESC
LIMIT 2000

I would like to learn if it possible to filter the threads of all categories with the same letterbar ?

What i mean is, i would like to be able to use a letterbar for the template which lists all the threads from category1, category2 and category3.

Is that possible ?
Regards

Logician 12-08-2008 09:44 AM

Quote:

Originally Posted by wacnstac (Post 1676146)
How much of the Hyster Sisters website is based on this template? How do they do their homepage over there? If most of their pages there are based off this template, it looks like I found a winner.

Nearly all Hyster Sisters external pages are powered by Webtemplates. They have over 100 webtemplate pages. But their home page is not WT, it is a custom script.

Logician 12-08-2008 09:47 AM

Quote:

Originally Posted by birdie (Post 1679368)
I love this mod and use it on several forums...

BUT, have a unique problem on a new forum. Its not possible for me to import .xml files the usual way through the AdminCP>Import Product as I get this errorNo one has been able to fix it for me, so to import .xml, I load to the file to server and use the option to 'OR import the XML file from your server" and works fine to install products.

However, step 3 of installing this mod, requires the webtemplate_export.xml to be imported - the mod does not give me the option to import it from the server and I get the above error if try importing the required way.

Anyone got a work around or advice?

It is a tight security restriction in server end. I suggest removing it as it will interfere with many other applications anyway. But if it is not possible. One idea to bypass it in WT installation would be installing WT to a different board in a different server and then move its db tables to this server.

Kihon Kata 12-08-2008 01:11 PM

Hey mine too :) (BKlab and MakeupTalk)

Quote:

Originally Posted by Logician (Post 1680819)
Nearly all Hyster Sisters external pages are powered by Webtemplates. They have over 100 webtemplate pages. But their home page is not WT, it is a custom script.


ishare 12-13-2008 09:25 PM

As i understand, it's maybe not possible to list a big amount of threads in same list as i asked in this message.

So below option may solve my problem. When we create a template which use "$WQ_last10threadfromforum2" querry, it lists the threads from newest to oldest by default.

Is it possible to list them in alphabetical order ? (A-->Z)

Regards

Edit : Sorry to bother you Logician and this thread with my question. Changing the querry as below, solved my problem.
Code:

ORDER BY t.title ASC
Thanks again...

rolandogomez 12-14-2008 07:00 AM

Does anyone know if this compatible with VB 3.8 RC? I use it greatly on another forum I have that is 3.7xx Thanks, rg sends!

dartho 12-14-2008 08:38 AM

Seems to be working on my test 3.8RC1 site :up:

wacnstac 12-14-2008 09:10 PM

What happens when you convert static html pages with existing addresses to WebTemplate pages? Can the URL be preserved or will search engines have to relearn the new addresses?

wacnstac 12-15-2008 01:41 AM

Another question, has anyone ever done a three column template that can be made available?

i156 12-15-2008 04:17 AM

Is there any way this will be updated so that the vbulletin search can pick up its pages? If not I will be changing these pages into closed threads to get around the problem. I really like the module but I really need the ability to search.

KevinL 12-19-2008 06:29 PM

Quote:

Originally Posted by TheFocusElf (Post 1654483)
A question on these templates, the following call to $WQ_siteinformationitems, where can these menuitems be modified?

If I've inadvertently referenced the wrong call, I am talking about the "SITE HELP ITEMS" which appear in the templated 2-columnar pages.

And now this :

Code:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@nafa151a.nafaexpo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.nafa151a.com Port 80

I am starting to think there are some serious corruptions in my install for whatever reason...

Quote:

Originally Posted by Logician (Post 1654642)
When you create a webtemplate whose theme is "siteinfo" pages, the $WQ_siteinformationitems webquery will add its link to all siteinfo pages automatically.

If you don't want a page there, just disable that webtemplate or change its theme, it will disappear automatically.

I can't say much about internal server error as it is related to your server but if you check your error log, you can get a hint about the culprit.

OK I have read through the thread and I don't think I saw the answer. The closest thing I saw to it is this...but what I would like to do is actually edit those links. I know if I want to add like adsense to it I edit the template. Thats not a problem..

What if I don't want to add/remove links to it or change the styling of it?

Thank you

KevinL 12-19-2008 08:04 PM

Sorry to post again..how can I completely disable the invalid page? I have a custom 404 page set up. Since installing this it will always redirect to this invalid no page message.

The only thing I did different was setup rewrites through vbseo like: '^view\.php\?pg=(.+?)$' => '$1/'

**figured this one out**

the post above not yet though #309 ;)

wacnstac 12-21-2008 12:11 AM

Looks like this hack might be dead with the addition of a CMS to VB4

digitalhype 12-26-2008 04:12 PM

This is just fantastic man. Absolutely exactly what I was wanting. Opted for a long time not to use any vb cms based system because I didn't like the ones that I saw and seemed to completely overlook this one. A big thank you.

You have a donation bro. Keep up the good work.

CardMafia 01-03-2009 12:47 AM

Excellent Mod, Nominated. Thank you.

brainfood 01-03-2009 06:03 PM

Hi,

Thanks for this great modification. I saw a discussion about bring in outside variables from a form using get or post. Did this ever get integrated into WebTemplates. If yes, is there a post with instructions.

Thanks!

Logician 01-03-2009 06:23 PM

Quote:

Originally Posted by brainfood (Post 1700545)
Hi,

Thanks for this great modification. I saw a discussion about bring in outside variables from a form using get or post. Did this ever get integrated into WebTemplates. If yes, is there a post with instructions.

Thanks!

Yes, it is integrated. You can find details in the user manual. ;)

Gladhatter 01-03-2009 07:05 PM

Mr. Logician I am not sure what others call this but I think I just died and went to heaven.

If the coder that showed me this is incapable, unwilling, not enought time, gets run over by a train, are you available for paid work?

I think I just found my custom greeting page and much more.

Thank you kind sir and may you be supported with more than words alone and your pockets bulge with coins as your heart has with kindness.

Charlie Swindall and note me as installed as it will be quite soon.

XtremeOffroad 01-05-2009 03:15 AM

Thank you so much for this Fantastic Addon.
Just the thing I was looking for.
Installed and working like a charm.

brainfood 01-05-2009 07:11 AM

Quote:

Originally Posted by Logician (Post 1700562)
Yes, it is integrated. You can find details in the user manual. ;)

Hi read through the users manual again and did not see what I am looking for. I did see a section titled "1.4.Variables You Can Use In Your WebTemplates:".

What I want to do is bring in a form variable (not an existing vBulletin variable) and then insert that form variable value into my SQL statement. I can do this just fine using just PHP/MySQL but the part that I am getting hung up on is where to place the appropriate code in the different sections of the WebQuery. For example do I bring in the variables from the form in the "Query PHPInclude Code (Before)" section of the WebQuery? I tried this and it didn't work.

How should the SQL syntax look for bringing in variable values that pull just those results from a particular column?

Thanks

Logician 01-05-2009 07:46 AM

The default webtemplate priv_privatemessages does exactly what you want. Have you checked it as a sample?

Voyager-S 01-06-2009 03:21 AM

Can anybody help me with this display issue I keep having? I posted the details in the Ultimate Side Columns, cause it seems to be related to it, but nobody has replied. Maybe you guys can help.

Thank you.


All times are GMT. The time now is 09:10 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.01657 seconds
  • Memory Usage 1,843KB
  • 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
  • (4)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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