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)

ltaylor 09-20-2006 11:53 PM

Thankyou! I'm going to have a blast with this hack. Just what I needed!

jw00dy 09-21-2006 05:47 AM

WOW! What an incredible product!

THANK YOU!

*installed*

daloosaa 09-22-2006 01:08 PM

very nice mod! works perfect with vb 3.6.1!
Greets,
Florian

evesve 09-25-2006 05:16 PM

I have this mod with a lot of examples using TEXT and HTML.

Now I need some help with PHP. I don?t understand the manual.

If I take the phpTEST-example...
Code:

// This is a TEST PHP Code to demonstrate webtemplates hack PHP parsing feature:

echo "Time now is $today<br><br>";
echo "You registered this board at ".date('M-d-Y h:i:s',$vbulletin->userinfo[joindate]);

exit;

...how can I get this with my Default Basic Theme and default header and footer?

Can someone give me a screenshot, please?

Ohiosweetheart 09-27-2006 11:36 AM

Question...........

I see that this hack has a feature to allow the administrators to read private messages.
I have a co-administrator who doesn't like this feature at ALL. But I have my own reasons for wanting to be able to read them if necessary. However if HE knew I could, he'd probably leave.

Is there ANY way that this one feature can be available only to ME, and he not even know that it's there?

Logician 09-27-2006 08:02 PM

Quote:

Originally Posted by Ohiosweetheart
Question...........

I see that this hack has a feature to allow the administrators to read private messages.
I have a co-administrator who doesn't like this feature at ALL. But I have my own reasons for wanting to be able to read them if necessary. However if HE knew I could, he'd probably leave.

Is there ANY way that this one feature can be available only to ME, and he not even know that it's there?

Not possible.. Even if you removed his access to "Styles" (ie webtemplates), he can see you reading this private page in wol.

mikeclarke 10-01-2006 12:33 AM

$user_useravatar and $ipaddress are not working for me. Can anyone help.

Everything else works great!

Logician 10-01-2006 07:50 AM

Quote:

Originally Posted by mikeclarke
$user_useravatar and $ipaddress are not working for me. Can anyone help.

Everything else works great!

Thanks for catching a bug. I released a new version in the first post. Please download it and overwrite /includes/wt_include.php and view.php files to fix the problem.

Kihon Kata 10-01-2006 01:01 PM

Upgraded mine! Remember if you added more categories(like I did) under wt_include.php to make sure you re-add them in wt_include.php

Thanks Logician, one of more useful hacks ever.

redtailboa 10-06-2006 02:46 AM

Is there a way for me to create a block in vbadvanced or a html page to list out the last 5 or whatever custom pages I created in webtemplates?

I would like it like http://www.theadminzone.com front page (recent articles block)

triphp 10-06-2006 06:15 AM

Quote:

Originally Posted by triphp
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?

Any answers on this?

And also, does this provide a pagination of queries? For example, I want to query all the members that belong to UserGroupXXX. There's a possibility that there could be 10000 in that UserGroupXXX. So what I want is to display them by 100s and then a pagination that I can browse, just like the pagination when displaying threads.

GREAT HACK :)

oz_moses 10-11-2006 07:03 AM

Awesome hack, I'm very happy with this as I'm quite happy with SQL but never learnt PHP - this hack now allows me to have my own queries in the default skin - beautiful!

I've written an advanced webquery.. is there an easy way to have alternating row colours in the resultset? I've been searching for hours for a way but no luck so far.

Thanks so much,

Moses.

Logician 10-11-2006 07:12 AM

Quote:

Originally Posted by oz_moses
Awesome hack, I'm very happy with this as I'm quite happy with SQL but never learnt PHP - this hack now allows me to have my own queries in the default skin - beautiful!

I've written an advanced webquery.. is there an easy way to have alternating row colors in the resultset? I've been searching for hours for a way but no luck so far.

Thanks so much,

Moses.

Yes you can use

<td class="$alternate"

structure for this. Check sample webqueries for more information...

oz_moses 10-11-2006 11:02 AM

very nice, I'll get stuck into the samples - loving this hack :)

OKIHost 10-11-2006 07:52 PM

I setup a web querie which works on my web template pages, but I am trying to find a way to parse it to a new module on vbadvanced for my main homepage. Is there a way to do this or can web queries only be posts onto web templates pages?

Logician 10-11-2006 08:15 PM

Quote:

Is there a way to do this or can web queries only be posts onto web templates pages?
They are part of WT code so they are parsed in WT pages only. You can't drag it onto vbadvanced, sorry!

dartho 10-13-2006 12:45 PM

Am I able to do conditionals in the "Query Result Row" section?

For example if $WQfield[x] is a certain value I can bold it or choose not to dispaly it?

When pulling a date out, it is in the format yyyy/mm/dd - how can I reverse that?

This is a very useful hack, would anyone know of another which can be used for taking data (say from a Form) a and writing to the DB?

Thanks

beduino 10-13-2006 04:45 PM

it's not a problem :confused:
but i install and upgrade and the version appears....
Quote:

3.5.0.05
it's right?
tks to share this wonderful work!
all the best
beduino

Stunner 10-18-2006 08:54 PM

Absolutely love this add-on. 1 problem I have is how to add backgrounds. No matter what html code I use it does nothing:(

oz_moses 10-18-2006 09:40 PM

Quote:

Originally Posted by Stunner
Absolutely love this add-on. 1 problem I have is how to add backgrounds. No matter what html code I use it does nothing:(

Try adding backgrounds with CSS

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

FreshPrince 11-11-2006 09:50 AM

Thank you for such a fast reply. :)

aramik 11-12-2006 04:20 AM

I can't find the link to download the plugin...

captainandy 11-12-2006 05:34 AM

Quote:

Originally Posted by aramik
I can't find the link to download the plugin...

DITTO - Where can we find the link/download.... Thanks so much...

GoTTi 11-12-2006 09:59 AM

/me is looking for download and dont see

Razasharp 11-12-2006 01:17 PM

I can see the link ok: WebTemplates 3.6.01.zip :-/

aramik 11-13-2006 07:43 AM

Now it comes up...

Parker Clack 11-13-2006 06:21 PM

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

Ohh-Dutch 11-13-2006 06:27 PM

Is There A Way To Make This So Users Can Create Their Own Page USing This?

bada_bing 11-14-2006 02:56 AM

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..

dartho 11-14-2006 06:22 AM

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.

Quote:

Originally Posted by oo-Dutch
Is There A Way To Make This So Users Can Create Their Own Page USing This?

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


All times are GMT. The time now is 06:08 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,831KB
  • 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
  • (1)bbcode_code_printable
  • (13)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
  • (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