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)

farooqaaa 10-22-2006 07:16 AM

Amaazzzing! MOD!!

how can we send u a donation :D:D:D (j/k) :D

oz_moses 10-30-2006 10:58 PM

There's a donation link in the admin section on your webtemplates.

Is it possible to pass a variable between a webtemplate and a webquery? I'm using webtemplates to display the Fixtures for upcoming sporting events, and will have a thread for each Fixture. I'd like to show the number of replies, views and have a link to the last post in each thread, and if I could do this it'd avoid creating 300+ almost identical webqueries.

What I'd like to do is

create a webquery called $WQ_thread_info

call this from a webtemplate, and pass a threadid at the same time, eg

$WQ_thread_info(10699)

Have the webquery run a select statement which is filtered by my threadid

eg:
select replycount, views, lastpostid from thread
where threadid = 10699

Thanks for any info you can give me,
Moses.

Logician 10-31-2006 06:55 AM

Quote:

Originally Posted by oz_moses
There's a donation link in the admin section on your webtemplates.

Is it possible to pass a variable between a webtemplate and a webquery? I'm using webtemplates to display the Fixtures for upcoming sporting events, and will have a thread for each Fixture. I'd like to show the number of replies, views and have a link to the last post in each thread, and if I could do this it'd avoid creating 300+ almost identical webqueries.


What I'd like to do is

create a webquery called $WQ_thread_info

call this from a webtemplate, and pass a threadid at the same time, eg

$WQ_thread_info(10699)

Have the webquery run a select statement which is filtered by my threadid

eg:
select replycount, views, lastpostid from thread
where threadid = 10699

Thanks for any info you can give me,
Moses.

yes possible. Please see private message WQ as a sample and I also have some explainations in this thread.

oz_moses 10-31-2006 10:26 AM

thanks very much, I'll work on it and post it in here if you like...

Razasharp 10-31-2006 04:13 PM

Quote:

Originally Posted by Logician
yes possible. Please see private message WQ as a sample and I also have some explainations in this thread.

OMG I was going to ask the same, but thought it was a long shot.. You do realise that I love WebTemplates even more now!?

*ponders about what else I can do with this most awesome feature!*

Thanks again Sinan for the best vB hack out there!

oz_moses - yes please, do share :cool:

NFLfbJunkie 11-04-2006 06:58 PM

When adding the scheduled task "WebTemplate Visitor Logs Purge", what goes in the "VARNAME", "Description" and "Log Phrase" fields? And what product do I select in the drop down menu at the bottom schedule task page - vBullentin or Web Templates?

Razasharp 11-04-2006 07:12 PM

Mine says:

Varname: wt_clear_logs14
descrip: blank
log phrase: blank

product, I dont think it matters but prob the webtemplates one

NFLfbJunkie 11-04-2006 07:15 PM

Hey man, thanks a bunch. This mod truly rocks.

FreshPrince 11-11-2006 08:41 AM

I have a question on the installation. Item 4 of the installation says:

Quote:

STEP 4- In admin cp, click Scheduled Tasks/Add New Scheduled Task/ and enter this data:
Title : WebTemplate Visitor Logs Purge
Day of the Week : *
Day of the Month : *
Hour : 3
Minute : 0
Log Entries : Yes
Filename : ./includes/cron/wt_clear_logs.php
Click Save.
(This step was for setting up the vb cron which will purge your webtemplate visit logs in certain intervals)
However it does not tell us what to put in for the fields:

Varname
Description
Log Phrase

I get the message: "Please Complete All Required Fields"

When I do not enter in those fields and I don't know what to put in them. Any ideas? Thank you.


WEB

Logician 11-11-2006 09:40 AM

Quote:

Originally Posted by W.E.B. Du Bois
I have a question on the installation. Item 4 of the installation says:



However it does not tell us what to put in for the fields:

Varname
Description
Log Phrase

I get the message: "Please Complete All Required Fields"

When I do not enter in those fields and I don't know what to put in them. Any ideas? Thank you.


WEB

These fields added in 3.6 version to the vbulletin hence my instructions does not cover. They are not very important. Fill them like this:

varname : wtclearlogs
description : WebTemplate Clear Logs Cron
log phrase : [LEAVE EMTPY]
Product : Logician's WebTemplates


All times are GMT. The time now is 07:19 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.01886 seconds
  • Memory Usage 1,745KB
  • 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
  • (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