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)

ubblite 09-15-2006 08:35 AM

Nice mod, Logician.

Question:

Is it possible to change the underscore in view.php_filename.htm to a dash like this: view.php-filename.htm in all instances, so when creating new templates everything will be dashes instead of underscores?

Thanks

Logician 09-15-2006 08:09 PM

Quote:

Originally Posted by ubblite
Nice mod, Logician.

Question:

Is it possible to change the underscore in view.php_filename.htm to a dash like this: view.php-filename.htm in all instances, so when creating new templates everything will be dashes instead of underscores?

Thanks

You can do so by editing includes/wt_include.php (Search for option section "SEO FRIENDLY URL prefix") AND ALSO .htaccess file

ubblite 09-15-2006 11:20 PM

Thanks for your help, Logician.

tunamix 09-17-2006 12:54 AM

Looks great!

Does anyone have this running on 3.6.1 yet and if so are there any mods needed?

Kihon Kata 09-17-2006 01:04 AM

YEP!
Quote:

Originally Posted by tunamix
Does anyone have this running on 3.6.1 yet


orphan 09-17-2006 12:15 PM

Quote:

Originally Posted by tunamix
Looks great!

Does anyone have this running on 3.6.1 yet and if so are there any mods needed?

Working fine after upgrade!

OKIHost 09-18-2006 04:44 PM

I am hoping someone can help me, I added a field in the users profile (field6) which users enter the total amount of weight they have lost. I am trying to add a query which will take all these numbers and add them up to a total I am use on some different pages.

I added the following to a normal webquerie named WQ_totallbs using the following:

SELECT sum( field6 ) AS total
FROM userfield

Then I created a new webtemplate page and tried adding the $WQ_totallbs to the page but nothing shows.

I did this testing in phpmyadmin and it seems to work correctly but it not showing in the webtemplates for some reason.

I am very new to this and just got the query from another user here at vb.org who is doing the same thing, he does it manually and I figured it would be great to add into a webtemplate people can look at for a real-time number instead of manually doing it once a week or whatever.

Any help would be greatly appreciated.

Logician 09-18-2006 04:48 PM

Quote:

Originally Posted by OKIHost
I am hoping someone can help me, I added a field in the users profile (field6) which users enter the total amount of weight they have lost. I am trying to add a query which will take all these numbers and add them up to a total I am use on some different pages.

I added the following to a normal webquerie named WQ_totallbs using the following:

SELECT sum( field6 ) AS total
FROM userfield

Then I created a new webtemplate page and tried adding the $WQ_totallbs to the page but nothing shows.

I did this testing in phpmyadmin and it seems to work correctly but it not showing in the webtemplates for some reason.

I am very new to this and just got the query from another user here at vb.org who is doing the same thing, he does it manually and I figured it would be great to add into a webtemplate people can look at for a real-time number instead of manually doing it once a week or whatever.

Any help would be greatly appreciated.

Are you using $WQfield[total] in your Query Result Row section? Also make sure "Advanced Query?" is set to NO.

OKIHost 09-18-2006 05:36 PM

Quote:

Originally Posted by Logician
Are you using $WQfield[total] in your Query Result Row section? Also make sure "Advanced Query?" is set to NO.


Thank you very much, that is what I was missing :)

triphp 09-19-2006 05:19 AM

Just a question. Can this be used as an article system? We're trying to create a a section in vBulletin where there's a tutorials on HTML, CSS, etc.
Can the page created have a multiple number of page? Let's say view.php?pg=htmlintro&page=1 then view.php?pg=htmlintro&page=2? Trying to make a sort of pagination in the page created, is this possible?


All times are GMT. The time now is 09:32 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.01675 seconds
  • Memory Usage 1,740KB
  • 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
  • (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