vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   WebTemplates 3.x: VB Integrated Content Management System (https://vborg.vbsupport.ru/showthread.php?t=76422)

NonCompare 09-14-2005 02:07 AM

Thanks for help I got it working already!

Great hack by great Logician!!! :ninja:

harry1951 09-14-2005 08:58 AM

I'm wondering if I can make the folowing thing with this hack...
On my website I want to make an issue like discussion of the month.
First there is a block of text and thereunder just 1 forum. The whole thing must be protected so only logedin members can read the text and access the forum.
I tried to make this but it doesn't work. The users are prompted to login again even if they are logid in on vB.
I tried the following piece of php
<?php
require_once('forumdisplay.php?f=4');
?>
This does not work because forumdisplay.php needs the complete url.

Can somebody help me out???

Scribbller 09-20-2005 06:59 AM

Just a question will the urls of pages be like http://www.mydomain.com/mypage.php or what?

Logician 09-20-2005 07:48 AM

Quote:

Originally Posted by Scribbller
Just a question will the urls of pages be like http://www.mydomain.com/mypage.php or what?

It will be like http://www.mydomain.com/view.php?pg=mypage

NonCompare 09-21-2005 08:20 AM

Do conditionals supported in webqueries?

Logician 09-21-2005 02:00 PM

Quote:

Originally Posted by NonCompare
Do conditionals supported in webqueries?

No.. But you can use "Query PHPInclude Code" section with "if conditionals" if you need conditional usage in queries.

NonCompare 09-22-2005 12:51 AM

OK! 'Coz I just want to have a conditional in the Query Result Row. I have come to this situation because of attachments. If there's no attachment, then there must be no <img> tag in the Query Result Row else it should be included.

Anyway, thanks for your response!

Icehawk002 09-29-2005 12:21 PM

Everything appeared to go well other than an error returned on running the sql queries as follows

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE `wt2_queries` (
`qid` int(10) unsigned NOT N

Could someone please suggest what needs to be done. Thanks

jluerken 09-29-2005 12:36 PM

Does anyone know if this hack is now also working with vB 3.5?

Logician 09-29-2005 01:43 PM

Quote:

Originally Posted by Icehawk002
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
CREATE TABLE `wt2_queries` (
`qid` int(10) unsigned NOT N

Please use PHPMYADMIN to run the query. Other tools can cause such problems.


Quote:

Does anyone know if this hack is now also working with vB 3.5?
No it is not.. But hold on, as I'll port it to 3.5 soon. :)


All times are GMT. The time now is 11:49 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.01562 seconds
  • Memory Usage 1,739KB
  • 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_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
  • (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