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)

Razasharp 11-14-2006 09:21 AM

Quote:

Originally Posted by Parker Clack (Post 1116485)
In vBAdvanced you can set it up so you can "Clean the output file" so that if you include a statement like

<?
include('http://www.yourplace.html');
?>

It will allow you to use an external file in the middle of your template. I have not been able to figure out how to do this with this script. Any ideas?

Thanks,
Parker

You can just create a new WT and paste the code in there ;)

Quote:

Originally Posted by Ohh-Dutch (Post 1116494)
Is There A Way To Make This So Users Can Create Their Own Page USing This?

You could as explained by dartho in the post above, but it's not really designed for that.

Quote:

Originally Posted by bada_bing (Post 1116823)
I wish people would post what they are using this hack for and how they did it. This tool is so powerful and if all the users of the hack posted there use and code we can all share from it..

There are lots of demo sites in the first post of this thread. Also if you google the WebTemplate copyright notice you will find lots more :)

Razasharp 11-14-2006 09:22 AM

Hi Sinan - is it possible to use if conditionals in WQs ? (I tried but it didn't work :( )

If not, I could do two seperate WQs and put the conditional in the WT, but are the queries called when 'needed' (ie if if condition calls them) or at the start of each WT that has them ticked?

Thanks, and I hope you are well!

bada_bing 11-15-2006 02:57 AM

Quote:

Originally Posted by dartho (Post 1116880)
I've used mine primarily for making pretty much what woul otherwise be static HTML pages - in fact previous to using this hack, thats exactly what they were.

I have alse created a very basic page which return more stats for the vBookie hack vBookie - the default only listed top 5 type things.



Yes, you can give users a page to edit - just create a new webtemplate for each user, and give them editor rightd - its pretty straight forward, but would be time consuming to start with lots of users

Wow that would be cool.. Is there a way to automatically give every premium members a page to edit? Then they can create there own page.


ALso lets see some code of what all of you are doing with this hack...

Parker Clack 11-15-2006 03:52 PM

Razorsharp:

Quote:

You can just create a new WT and paste the code in there.
Already did that and nothing shows up.

Razasharp 11-15-2006 04:27 PM

I meant the html of the file as opposed to the include... sorry, I should have been clearer.

Logician 11-15-2006 08:21 PM

Quote:

Originally Posted by Razasharp (Post 1116946)
is it possible to use if conditionals in WQs ? (I tried but it didn't work :( )

It is not. But you can use PHP if conditional in the phpinclude section of the WQ.

Quote:

If not, I could do two seperate WQs and put the conditional in the WT, but are the queries called when 'needed' (ie if if condition calls them) or at the start of each WT that has them ticked?
They are parsed at the start of each WT that has them ticked.

carpefile 11-16-2006 12:59 PM

When I did my upgrade from vb3.0.7 to vb3.6.3 I also upgraded my webtemplates (as it is one of my 2 "can't live without hacks")
However, when I attempted to reach and then export my older templates as xml, I received this error

Code:

Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 354

Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 362


Please, please, help me out here.

Those older webtemplates are critical features of my site, and my users are very up in arms over their absence.

Logician 11-16-2006 01:52 PM

Quote:

Originally Posted by carpefile (Post 1118588)
When I did my upgrade from vb3.0.7 to vb3.6.3 I also upgraded my webtemplates (as it is one of my 2 "can't live without hacks")
However, when I attempted to reach and then export my older templates as xml, I received this error

Code:

Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 354
 
Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 362


Please, please, help me out here.

Those older webtemplates are critical features of my site, and my users are very up in arms over their absence.

I haven't tested the migration (import) section in 3.6.3. If you can give me vb admin cp access, phpmyadmin access and FTP access, I believe I can fix this for you.

Razasharp 11-16-2006 01:53 PM

carpefile - I am assuming the old templates are now showing on the 'new' 3.6.3 admin cp? And that the old templates are not working?

If so I would rename them to say templateName-old and then create new templates with just templateName and copy and paste the code from the old templates into them. Same with the WQs if needed.

Nost sure if that is what you need tho?

Sinan - thanks for the reply, it was something in the actual Query Result Row that I wanted to change... could possibly do it if I can call a '$WQfield[fieldhere]' in the phpclude after and assign it a variable that I then call in the GRR tho... (basically wanted to 'not' show part of the QRR to guests). I will give it a go and see what happens..

carpefile 11-16-2006 04:54 PM

Thank you, Logician. I've pm'ed the requested access to you. Let me know if there is anything else I can do to help you help me. :)

Razasharp- the older templates don't show in my admincp webtemplates at all.
Thank you for the help, none the less.:)


All times are GMT. The time now is 08:11 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.02034 seconds
  • Memory Usage 1,752KB
  • 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
  • (8)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