View Full Version : WebTemplates 3.5.x: VB Integrated CMS (Content Management System)
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
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
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:
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
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
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.
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
Razasharp
11-14-2006, 09:21 AM
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 ;)
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.
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
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:
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
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.
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
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
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
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.:)
Razasharp
11-16-2006, 05:09 PM
Ah right.. I see Logicians on the case now. But if you need them back in a hurry, you could create a test forum with a back up of the DB before the upgrade, and copy them from that... :)
Coach_Guru
11-17-2006, 02:08 PM
The generated pages have a nofollow attribute.
How can i remove it?
Thanks
Please forgive if I'm misusing this thread, I'm somewhat new to Vbulletin in general and the .org side in particular, so I'm I'm violating accepted usage mea culpa! I blame my 4 & 5 year olds who are currently asking me what a session variable *is*;).
Anyway, I'm looking for a way to leverage vB's authentication system in a new version of our site that I'm working on. We're using Dreamweaver with InteraKt extensions (got the full suite just before Adobe bought them out), and will be doing a lot of picture uploads to member specific sub directories to allow the members to create a "pool" of pictures that they can use to create articles for our site etc.
Can pages created using webtemplates reference and use includes located in the root web directory? In other words, can I use all the functionality of my Dreamweaver extensions WITHIN a WebTemplates page? Would it be as simple as composing a .php page with Dreamweaver and then copy/pasting the code into WebTemplates and then setting permissions etc in the Admin CP? That would just be my dream come true at this point. I'm not entirely sure I understand the basic functioning of WebTemplates but it sounds like that might be possible? The main thing I need is to be able to restict access to my pages based on vB's authentication and pull username and primary group memberid out of either a session variable or cookie for use within my code.
If WebTemplates isn't likely to be a good fit for me, can anyone point me in the right direction? Pretty please?
Thanks in advance for any assistance/explanation you can provide!
Logician
11-18-2006, 08:06 PM
Would it be as simple as composing a .php page with Dreamweaver and then copy/pasting the code into WebTemplates and then setting permissions etc in the Admin CP?
WT can be used in the way you described but this will protect only your page content (HTML). So if this page includes some pictures/attachments etc. which only members should download, WT can not help you as it does not protect a file or directory. (Well people can not see the file link if they can't see the WT it includes but in this scenario you can not protect your file links distributed with other sources like email, PM, MSN etc.)
The main thing I need is to be able to restict access to my pages based on vB's authentication and pull username and primary group memberid out of either a session variable or cookie for use within my code.
This is what WT does anyway.
FreshPrince
11-19-2006, 08:25 PM
Question, I am having difficulty adding some Vbadvanced templates to my WebTemplates.
Here is the page I created with WebTemplates: http://www.usandworldpolitics.com/forum/view.php?pg=webrings
I am trying to add in the "recent threads" template you see on the front page: http://www.usandworldpolitics.com/
I entered into the field called "Included VB Templates" these: adv_portal_latesttopicbits, adv_portal_latestthreads_head
Into the field called "PHP Include" I put in this: latesttopics.php
However it still doesn't work. Help please. :(
WEB
Razasharp
11-19-2006, 09:13 PM
This hack is nothing to do with vbAdvanced, which is a totally seperate system.
I'm not really sure what you are trying to do tbh.
FreshPrince
11-20-2006, 11:17 AM
I have a page (listed above) that has webrings on it. However, on that page I would also like to put a "recent threads" module on it as well. That way, if someone is looking at the webrings page, they see what people are talking about on the forum too. It makes it look better, and it makes it look less like that webring webtemplate has not been shoved into some dark corner of the forum.
So, on the forum with the webrings: http://www.usandworldpolitics.com/forum/view.php?pg=webrings
I also want to add in the module that lists the most recently active threads on the forum.
I want to add this module:
https://vborg.vbsupport.ru/external/2006/11/6.jpg
into the webring webtemplate I linked to above.
Thank you.
WEB
FreshPrince
11-20-2006, 11:25 AM
You can see an example of what I am talking about on this forum: http://jpicforum.info/?forums=webring
The webmaster has put a recent threads module into another section on her forum (what I presume to be WebTemplates). I want to put a recent threads module onto my WebTemplates page. Thanks. :)
WEB
Razasharp
11-20-2006, 04:21 PM
You can see an example of what I am talking about on this forum: http://jpicforum.info/?forums=webring
The webmaster has put a recent threads module into another section on her forum (what I presume to be WebTemplates). I want to put a recent threads module onto my WebTemplates page. Thanks. :)
WEB
That pages uses vBadvanced CMPS.
However there is already a latest threads webQuery already installed in WebTemplates as a demo. There should be reference to it in the help files.
FreshPrince
11-20-2006, 10:10 PM
That pages uses vBadvanced CMPS.
Let me ask you a question there. I know vBadvanced is not your specialty but maybe you know. It is possible to use vBadvanced to create two webpages? No, right? I already use vBadvanced for my forum front page, so I probably can't use it for a second totally different page, or can I?
However there is already a latest threads webQuery already installed in WebTemplates as a demo. There should be reference to it in the help files.
OK, I'll look for it. Thanks
FreshPrince
11-20-2006, 10:38 PM
OK, I see what you are talking about:
http://www.usandworldpolitics.com/forum/view.php?pg=test2
The only thing I don't get is that it says from "Forum 2." How can I can I change the Webtemplate code to get it to take data from the forums where people are actually posting and not "Forum 2?"
Thank you. :)
WEB
Razasharp
11-21-2006, 12:48 AM
Let me ask you a question there. I know vBadvanced is not your specialty but maybe you know. It is possible to use vBadvanced to create two webpages? No, right? I already use vBadvanced for my forum front page, so I probably can't use it for a second totally different page, or can I?
Yes I think vbadvanced lets you have additional pages. Refer to their help guides for more info.
The only thing I don't get is that it says from "Forum 2." How can I can I change the Webtemplate code to get it to take data from the forums where people are actually posting and not "Forum 2?"
Thank you. :)
In that template you will see a call to a WQ_query_name_here
Then find that query, click on edit, and in there towards the top there is a select query. You should be able to change the forums you want it to call from in there. I haven't got access to my ACP at the moment so that is all from memory. If you read the help guides it will also help you understand how webtemplates and web queries work together :)
Razasharp
11-21-2006, 01:12 AM
what forums do you want it to show from? or all of them?
FreshPrince
11-21-2006, 02:02 AM
what forums do you want it to show from? or all of them?
Yes, all of them. Except for the private and moderator forums of course.
:)
FreshPrince
11-21-2006, 02:08 AM
In my admin panel, I clicked on "WebQueries" and saw under option 3:
3- $WQ_last10threadfromforum2
Gets last 10 threads title/author/date from forum 2 [edit] [remove]
I clicked on edit, here's what it says in the "Query" box:
SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1 AND forumid=2
ORDER BY dateline DESC
LIMIT 10
So, if I wanted to take threads from all my forums (except for the private forums and moderator forums) what should I change in there?
Thanks
WEB
Razasharp
11-21-2006, 02:22 AM
try this:
SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1
ORDER BY dateline DESC
LIMIT 10
FreshPrince
11-21-2006, 03:18 PM
I think I got it figured out now. Thanks for your help.
One note I would like to make is that I got caught up for a while with one problem. That's basically that you can put in the webquery code (i.e. $WQ_last10thread ) into the webtemplate, however it will do nothing unless you also go into the admin cp and then go into the section "Logician's WebTemplates" then into the "WebTemplates" edit the templates that you want and CHECK OFF the queries that you want to enable in that template. I'll take a picture of it with my photoshop program to fully illustrate my meaning later.
This is just something you probably want to tell noobs, like myself, as it did hold me up for a while.
Thanks again.
WEB
Razasharp
11-21-2006, 03:30 PM
Glad you got it sorted :)
Yes, you need to check the box for the WQs you want to use with that particular WT ;)
Slash_
11-22-2006, 06:00 AM
here is a page i made
http://www.extremebodybuilding.net/forum/view.php?pg=sponsor
see how towards the bottom the
Page Created at Today - 11:50 PM, Last Modified : Today - 11:56 PM.
runs over the gradeint
how can i take that part off of the page so it will quit doing that?
Logician
11-22-2006, 06:35 AM
here is a page i made
http://www.extremebodybuilding.net/forum/view.php?pg=sponsor
see how towards the bottom the
Page Created at Today - 11:50 PM, Last Modified : Today - 11:56 PM.
runs over the gradeint
how can i take that part off of the page so it will quit doing that?
Edit theme "Default Basic Theme", play with (or remove) part:
<tr>
<td class="thead" align="left">Page
Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname]
at $WT[lastvisitdate]. $WT_Editor_link<br>
Page Created at <b>$creationdate</b>, Last Modified
: <b>$lasteditdate</b>.</td>
</tr>
Slash_
11-22-2006, 07:18 AM
Edit theme "Default Basic Theme", play with (or remove) part:
<tr>
<td class="thead" align="left">Page
Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname]
at $WT[lastvisitdate]. $WT_Editor_link<br>
Page Created at <b>$creationdate</b>, Last Modified
: <b>$lasteditdate</b>.</td>
</tr>
awesome
thanks alot man!
Going to give this one a try, I've did a search of this thread but the question is never ansered... Will the vB search find these pages? :confused:
Logician
11-23-2006, 12:37 PM
Going to give this one a try, I've did a search of this thread but the question is never ansered... Will the vB search find these pages? :confused:
It is in FAQ:
https://vborg.vbsupport.ru/showpost.php?p=850011&postcount=3
It is in FAQ:
https://vborg.vbsupport.ru/showpost.php?p=850011&postcount=3
Blah, I didn't think so, but how much this mod was looking like a god sent, I knew something was going to knock me down a ring!:hurt:
Logician I must say that this mod is great for me and my site I'm doing since I'll need alot of pages made.
i.e. Movie information, cast and crew, etc.
In my Top must haves!
dartho
11-26-2006, 11:51 AM
Not sure where to put this, but I have made a web temaplte I created (it is **really** basic) available in another thread - see here: https://vborg.vbsupport.ru/showthread.php?p=1125465#post1125465
It simply lists the 10 rrichest and 10 poorest members of your site that is using the iCash hack (could probably be easily modded to work for any points system)
Nick0r
11-27-2006, 10:52 PM
Does anyone know if there is a way to disable the Display Page Browsers permanently on every template (as to save one query per page) without going through them manually?
Slash_
12-05-2006, 12:35 AM
i have been using it for 3.6.4 and it works great!
Ohiosweetheart
12-06-2006, 02:20 PM
QUESTION:
I created a webpage using the html parsing method and 2 column theme.
Is there a way to edit the left hand column? Rather than having stats in it, I'd like to place some other info there.
What would be the method of doing this?
Thank you!
Harry72
12-09-2006, 03:37 PM
I have a problem :cool:
I have links like <a href="#1"></a> goes to <a name="1"></a> on each custom page.
But the link to the Forums will be postet in front of #1 without the pagenumber and it doesn't work. Like Linktosite/forums#1.
How can i do this ? :D
Thx.
Cheers
Harry
EDIT: It works now. I put the code from the headinclude template directly in the Webtemplate Themetemplate.
Ohiosweetheart
12-10-2006, 04:42 PM
I am absolutely LOVING this! It's great!
tommyxv
12-14-2006, 12:30 AM
Why doesn't the version number update? The XML still says 3.5.0. Can i just change it? Maybe he will update it to reflect the current version.
Mike54
12-17-2006, 12:34 AM
I only wish I had an excuse for not using this one before now.
StOOOsH
12-17-2006, 04:20 AM
im trying to use a RSS reader with this mod to show movie times, but i cant get it to work, its not reading the reader (pun? lol)
any help would be appreciated
Logician
12-17-2006, 09:15 AM
Does anyone know if there is a way to disable the Display Page Browsers permanently on every template (as to save one query per page) without going through them manually?
Edit view.php, find line:
if ($WT['showbrowsers'])
replace it as:
if ($WT['showbrowsers'] AND 1==0)
Logician
12-17-2006, 09:16 AM
QUESTION:
I created a webpage using the html parsing method and 2 column theme.
Is there a way to edit the left hand column? Rather than having stats in it, I'd like to place some other info there.
What would be the method of doing this?
Thank you!
You can edit theme "Two Column Theme"
Logician
12-17-2006, 09:18 AM
Why doesn't the version number update? The XML still says 3.5.0. Can i just change it? Maybe he will update it to reflect the current version.
Have you uploaded new versions /includes/wt_include.php to the server?
Mark41
12-21-2006, 01:02 AM
Edit - Found my problem and solved it - but still wanted to thank Logician. So...
Thank you so much for making this! My whole website is made just of your WebTemplates!
http://www.designersource.org/
:)
PoetJA-1975
12-21-2006, 05:44 AM
Thanx very much LOGICIAN - Just the modification I was looking for:
http://jpicforum.info/view.php?pg=shopjpic
Very nice work ;)
Jacquii.
Mark41
12-21-2006, 01:52 PM
You know, I did do something incorrectly. It doesn't update, I think I am using the wrong variables or something.
I want to select the latest posts in the forum but this returns the latest threads. Any help?
SELECT thread.threadid AS threadid, thread.title AS title, thread.postusername AS postusername, thread.postuserid AS postuserid, thread.dateline AS dateline, forum.title AS ftitle
FROM thread LEFT JOIN forum ON thread.forumid= forum.forumid
WHERE thread.sticky=0 AND thread.visible=1
ORDER BY dateline DESC
LIMIT 10
and
<tr align="center">
<td class="$alternate" align="left" WIDTH="35%" VALIGN="TOP"><div class="smallfont"><a href='showthread.php?$session[sessionurl]t=$WQfield[forumid]'>$WQfield[ftitle]</a></div></td>
<td class="$alternate" align="left" WIDTH="35%" VALIGN="TOP"><div class="smallfont"><a href='showthread.php?$session[sessionurl]t=$WQfield[threadid]'>$WQfield[title]</a></div></td>
<td class="$alternate" WIDTH="15%" VALIGN="TOP"><div class="smallfont"><a href='member.php?$session[sessionurl]u=$WQfield[postuserid]'>$WQfield[postusername]</a></div></td>
<td class="$alternate" WIDTH="15%" VALIGN="TOP"><div style="font-size: 8pt; line-height: 10px;">$WQfield[dateline]</div></td>
</tr>
Thanks in advance!
Mark41
12-22-2006, 01:14 AM
Sorry for the double post, but now I'm just confused. Can anybody make this? I'm nearly beside myself.
I'd like it to be four things. The name of the forum the post is in with a link to the forum (like it is on my homepage). The name of the thread linking to the newest post. The name of the poster linked to them. The date the latest post was made.
Currently on my front page, it lists it as the latest threads created, not posts made. Can anyone help with this?
Logician
12-22-2006, 07:44 PM
Sorry for the double post, but now I'm just confused. Can anybody make this? I'm nearly beside myself.
I'd like it to be four things. The name of the forum the post is in with a link to the forum (like it is on my homepage). The name of the thread linking to the newest post. The name of the poster linked to them. The date the latest post was made.
Currently on my front page, it lists it as the latest threads created, not posts made. Can anyone help with this?
SELECT thread.threadid AS threadid, thread.title AS title, thread.postusername AS postusername, thread.postuserid AS postuserid, thread.dateline AS dateline, forum.title AS ftitle, thread.forumid
FROM " . TABLE_PREFIX . "thread thread LEFT JOIN " . TABLE_PREFIX . "forum forum ON thread.forumid= forum.forumid
WHERE thread.sticky=0 AND thread.visible=1
ORDER BY dateline DESC
LIMIT 10
<tr align="center">
<td class="$alternate" align="left" WIDTH="35%" VALIGN="TOP"><div class="smallfont"><a href='forumdisplay.php?$session[sessionurl]t=$WQfield[forumid]'>$WQfield[ftitle]</a></div></td>
<td class="$alternate" align="left" WIDTH="35%" VALIGN="TOP"><div class="smallfont"><a href='showthread.php?$session[sessionurl]t=$WQfield[threadid]'>$WQfield[title]</a></div></td>
<td class="$alternate" WIDTH="15%" VALIGN="TOP"><div class="smallfont"><a href='member.php?$session[sessionurl]u=$WQfield[postuserid]'>$WQfield[postusername]</a></div></td>
<td class="$alternate" WIDTH="15%" VALIGN="TOP"><div style="font-size: 8pt; line-height: 10px;">$WQfield[dateline]</div></td>
</tr>
rolandogomez
12-24-2006, 03:41 PM
I went to export XML templates so I can use them on another site, I get this error:
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
Well then I downloaded your current version, think the last time I upgraded was in August, so I was still running fairly new version. I uploaded all the files as stated in the installation manual including step 3, then when I went to follow the upgrades, during the upgrade script, I get the following
Database error in vBulletin 3.6.4:
Invalid SQL:
SELECT wtid, title
FROM wt2_templates
WHERE headerfooter = '0'
ORDER BY category DESC,
title ASC;
MySQL Error : Table 'glamour1.wt2_templates' doesn't exist
Error Number : 1146
Date : Sunday, December 24th 2006 @ 01:06:06 PM
Script : http://www.glamour1.com/forums/admincp/wt_upgrade.php?do=start
Referrer : http://www.glamour1.com/forums/admincp/wt_upgrade.php
IP Address : 70.125.158.16
Username : deleted on purpose by me
Classname : vb_database
The system still works, but I want to finish the upgrade.
Please help, thanks, and Happy Holidays, rg sends!
Sophonax
12-26-2006, 12:42 AM
Installed, cause it rocks and it's needed. <3 Thanks for the awesome addon. ;D
Mark41
12-26-2006, 02:01 AM
Thankyou very much for helping me but there is still one more thing I would like for it to do...
Instead of having the author of the thread being shown, is there a way to put the username of the last person to post in the thread? And then have the thread name link to the latest post?
digitalSite
12-27-2006, 04:08 AM
I would like to uninstall this product because I need to change some things. The FAQs say:
----------------------------------------------------------------------
Select "uninstall" in Product Manager and it will automatically uninstall. Uninstalling does not remove database tables so that your custom webtemplates will not be lost when you reinstall. If you want to delete database records too run this query :
DROP TABLE `wt35_query`, `wt35_theme`, `wt35_visitlog`, `wt35_webtemplate`;
----------------------------------------------------------------------
But, where do i find the "Product Manager"? I don't see this anywhere. Any help is greatly appreciated!
EDIT: Sorry, I haven't been here in a while...I figured it out. To uninstall, log into your admin panel in vb, click on "Plugin System" > "Manage Products" and then select "uninstall" and GO. :)
ldsfiles
12-29-2006, 03:28 PM
This very slick, Logician - thanks!
Hey team - is there a good online resource for sample queries that have been posted? Would save a lot of time for many of us.
ldsfiles
12-29-2006, 03:35 PM
When I first installed Webtemplates, I wanted to figure out how to change the location of the view.php pages so that I could have a site that looked like this to the end users:
www.delicto.com/finance (instead of http://www.delicto.com/vb/view.php?pg=finance_main)
Here's what I did.
1 - On my server, I created a PHP page called www.delicto.com/finance/index.php
2 - On that page I inserted this code:
<base href=http://delicto.com/vb/>
<?php
include("http://www.delicto.com/vb/view.php?pg=finance_main");
?>
This just uses the "include" feature of PHP to pull the content of that individual page into the desired location.
Not very elegant, because I'll have to set up each page that way (I hate it when things aren't dynamic) but it gets the job done. Hopefully this will help someone else too.
And, as alwyas, if anyone has other ideas of how to do it better, I'd love to hear it. Thanks!
I'm in the process of upgrading my forums, and this hack, (3.5.4 ==> 3.6.4) but it's not going so well. I've searched in this thread for others that may have had "upgrade" problems, but i seem virtually alone ... :cry:
The old template(s) shows up in the acp but when i click to view it, it says page not found. Of course i can't go directly to it either. I tried this fix (https://vborg.vbsupport.ru/showpost.php?p=1118628&postcount=529), renaming them and such, but the results are the same.
Any suggestions?
TIA
LTW
mike the mix
12-31-2006, 05:49 PM
I am an absolute Newbie and struggling. I have a simple vB running very well (latest release) and wish to add a simple "web site" on the same server containing some html pages which link to pdf files. I want to control access to the "web site" using vB, so that only registered users get access.
Is it possible to convert the existing html web pages into "webtemplates" and get the whole of my existing website working in vB?
Ideally I want to upload the web site with its files (about 250mb) and the whol lot be automatically converted so it can work under vB (with vB controlled access rights).
Regards,
mike
jluerken
12-31-2006, 05:56 PM
HI Mike the mix,
you can implement a lot into a running vBulletin but answering your question in details is hard without knowing your page.
An automatic process to create a template out of an html page does not exist, you have to do it manually!
mike the mix
01-01-2007, 12:43 AM
Hi thanks for your reply.
If I make a manual translation of my html pages to templates, can these still link to pdf files OK?
Where will I need to upload these template and pdf files? Can this be handled automatically for large numbers of files or can i do it with FTP?
Can i create the templates by cutting and pasting from each HTML page including its many HTML links to the pdf files?
Regards,
Mike
PS I am happy to send you details of the web site and admin details by PM so you can see what I am trying to do...
jluerken
01-01-2007, 09:00 AM
Mike the mix its like I said, nobody here can answer your question with a general YES or NO.
I am sure it depends on the html pages you have if they can be displayed correctly or not.
You can transfer your .pdf files via ftp to any locations you want.
Link that you generate in the CMS are the same like in normal .html files.
Why not simply give it a try? Install the hack and work with it.
Include some of your pages and check if its working for you or not.
Bringing content from one system to another does also mean you have to spend time and that you have to do work.
There is no automatic process that does it for you. The only automatic process that I know in this area is called "manpower" and that does mean that you have to pay someone else doing it for you :D
Logician
01-07-2007, 08:27 AM
I am an absolute Newbie and struggling. I have a simple vB running very well (latest release) and wish to add a simple "web site" on the same server containing some html pages which link to pdf files. I want to control access to the "web site" using vB, so that only registered users get access.
Is it possible to convert the existing html web pages into "webtemplates" and get the whole of my existing website working in vB?
Ideally I want to upload the web site with its files (about 250mb) and the whol lot be automatically converted so it can work under vB (with vB controlled access rights).
Regards,
mike
What you wanted sounds possible with Webtemplates to me.
If you want to keep the existing design of your HTML pages, just open them in IE, click "view source" and paste the source code into a webtemplate.
If you want them to inherit "vb look" (header/footer/logo/colors etc.), then you have to manually adjust their HTML codes while pasting them into webtemplates.
They can link PDF files and since the page is protected with vb permissions, people can not reach your PDF links in these pages without proper permissions. However please note that when somebody access it, he can always share the PDF link with other people who do not have permission. In other words, Webtemplate protects your page content (in which PDF links are displayed to users) with vb permissions, NOT your pdf files itself.
Logician
01-07-2007, 08:29 AM
I'm in the process of upgrading my forums, and this hack, (3.5.4 ==> 3.6.4) but it's not going so well. I've searched in this thread for others that may have had "upgrade" problems, but i seem virtually alone ... :cry:
The old template(s) shows up in the acp but when i click to view it, it says page not found. Of course i can't go directly to it either. I tried this fix (https://vborg.vbsupport.ru/showpost.php?p=1118628&postcount=529), renaming them and such, but the results are the same.
Any suggestions?
TIA
LTW
Make sure :
1- Forum URL in vb settings is correct.
2- Disable SEO friendly URL option and try again.
3- Make sure you configured SEO friendly URL hack correctly (and uploaded the .htaccess file)
Hello thank you for this addon.
I wish to use this for webpage where user can see his extra fields that are stored in userfield table.
I wish to use something like $filed20 or $field22 within template.
How do I achieve this?
Thank you!!!
Logician
01-10-2007, 06:37 AM
Hello thank you for this addon.
I wish to use this for webpage where user can see his extra fields that are stored in userfield table.
I wish to use something like $filed20 or $field22 within template.
How do I achieve this?
Thank you!!!
$bbuserinfo[field1]
Please read Manual section 1.4
Bellinis
01-11-2007, 10:58 PM
Last weekend we upgraded our board from 3.5.2 > 3.6.4
We were using WebTemplates 3.5.05 and now we upgraded to 3.6.01
All went fine, only when I try to export our webtemplates, I get the following error:
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
(don't know if we had this error before, because I never exported the templates before)
How can I fix this?
Also I noticed the version info in the XML file still says <version>3.5.0.05</version> ? Should be 3.6.01... or?
$bbuserinfo[field1]
Please read Manual section 1.4
Thank you Logician,
all went great. I have even learned how to play with queries so now I do some custom pages with stats for me instead of going to phpMyAdmin :-)
But know I grown and want to build form with this sweet add-on :-)
Is it possible to implement also "update" queries that will take datas from form fields?
Thanks 1milion :-)
Razasharp
01-15-2007, 03:31 PM
Is it possible to implement also "update" queries that will take datas from form fields?
Yes - check back through this thread as it has been covered previously ;) Also look at the example WQs and WTs :)
Logician
01-15-2007, 03:33 PM
But know I grown and want to build form with this sweet add-on :-)
Is it possible to implement also "update" queries that will take datas from form fields?
I have not built such a form, but I believe it can be done. I recall I implemented the php_include_before sections into the hack so that such functionality can be available if needed. (as you might like to clean out the incoming variable before applying to UPDATE query etc.). But since I didn't do it myself, I can't assure it can be done. Some practical problems can occur which are not visible in theory. I'd say, give it a shot and see. :)
Icehawk002
01-17-2007, 09:49 AM
Last weekend we upgraded our board from 3.5.2 > 3.6.4
We were using WebTemplates 3.5.05 and now we upgraded to 3.6.01
All went fine, only when I try to export our webtemplates, I get the following error:
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
(don't know if we had this error before, because I never exported the templates before)
How can I fix this?
Exact same problem would like to fix so that can safely upgrade to 3.6.01
Icehawk002
01-17-2007, 10:19 AM
I would like to add the feature seen at the top of this thread for example where by a visitor is asked to rate (something, in this case WebTemplates Mod - Excellent :)) and then the rating is adjusted accordingly.
Basically I want visitors to rate different webtemplates or rather the contents of the Template - Any ideas?
Logician
01-17-2007, 02:12 PM
Exact same problem would like to fix so that can safely upgrade to 3.6.01
I think there is a problem in the export/import section of the hack for vb 3.6.x version (only in that version!). It still works fine with vb 3.6.x but import/export webtemplate feature can give an error. I don't use 3.6.x myself but I'll still look into it. Yet I couldn't find time to deal with it yet, so please bear with me. I believe I'll fix it in a few weeks..
Icehawk002
01-17-2007, 03:29 PM
Thank you :)
Kihon Kata
01-18-2007, 01:00 PM
Attn Logician,
Question: How can I get $posts, $joindate, $lastactivity to work from inside a webtemplate?
Here's an example (http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter-1-16-2007) of them NOT working(upper right hand coner)
What's weird is that $username works just fine.
Any ideas? Thanks in advance
How do I force webpage to be shown in certain styleid? Not according users or default choice, but just for this page?
THanks!!!
Logician
01-19-2007, 07:54 AM
Attn Logician,
Question: How can I get $posts, $joindate, $lastactivity to work from inside a webtemplate?
Here's an example (http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter-1-16-2007) of them NOT working(upper right hand coner)
What's weird is that $username works just fine.
Any ideas? Thanks in advance
Please see user manual section 1.4.. It is explained in detail..
LMimo
01-19-2007, 06:02 PM
Hi,
Am I correct in assuming that the page name will always be prefixed with 'view'
I have been trying to find something (very similar to what you have created) that would enable me to create webtemplates but specify a specific path.
eg rather than
forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage
I am looking for
forum/lovelylookingpage.html
Any tricks that I could do to get this working?
Kihon Kata
01-20-2007, 12:34 AM
Hi,
Am I correct in assuming that the page name will always be prefixed with 'view'
I have been trying to find something (very similar to what you have created) that would enable me to create webtemplates but specify a specific path.
eg rather than
forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage
I am looking for
forum/lovelylookingpage.html
Any tricks that I could do to get this working?
That's called vBseo (http://www.vbseo.com/255/)
Trana
01-20-2007, 12:42 AM
That's called vBseo (http://www.vbseo.com/255/)
That will do the trick.
Logician
01-20-2007, 06:12 AM
Hi,
Am I correct in assuming that the page name will always be prefixed with 'view'
I have been trying to find something (very similar to what you have created) that would enable me to create webtemplates but specify a specific path.
eg rather than
forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage
I am looking for
forum/lovelylookingpage.html
Any tricks that I could do to get this working?
In the wt_include.php (and .htaccess file), you can change "view" part with anything you like and if you want you can make it something shorter but you have to use a prefix anyway
Logician
01-20-2007, 08:10 AM
Exact same problem would like to fix so that can safely upgrade to 3.6.01
@people who use 3.6.x and need export webtemplate section fixed: Can you please PM your email address so that I can send you the fixed 3.6.x version for your testing?
How do I force webpage to be shown in certain styleid? Not according users or default choice, but just for this page?
THanks!!!
any answer to this one ? :-)
Logician
01-20-2007, 08:35 AM
any answer to this one ? :-)
https://vborg.vbsupport.ru/showthread.php?p=651570&highlight=styleid#post651570
LMimo
01-20-2007, 03:29 PM
In the wt_include.php (and .htaccess file), you can change "view" part with anything you like and if you want you can make it something shorter but you have to use a prefix anyway
In my scenario quoted below, would a prefix of 'lovely' work? (naming the page 'lookingpage') OR will there always be a space(or underscore) between 'lovely' and the 'lookingpage' ?
"rather than
forum/view lovelylookingpage.htm or forum/view.php?pg=lovinglookingpage
I am looking for
forum/lovelylookingpage.html"
https://vborg.vbsupport.ru/showthread.php?p=651570&highlight=styleid#post651570
well I tried that one ($styleid = X; put in phpinclude in template setup field) but it doesnt work for me.
any idea why ?
Many Thanks
Logician
01-21-2007, 02:05 PM
In my scenario quoted below, would a prefix of 'lovely' work?
It should work.
fishhub
01-21-2007, 05:09 PM
how do I tweak 'What's Going On' to show members and guest viewing the custom pages?
any kind soul to assist.
TIA:)
Logician
01-21-2007, 05:14 PM
how do I tweak 'What's Going On' to show members and guest viewing the custom pages?
any kind soul to assist.
TIA:)
What do you mean? Hack already does it.
fishhub
01-21-2007, 05:26 PM
What do you mean? Hack already does it.
ahh, sorry, I just tested it and found it already has.
Thanks alot.:D :up:
Icehawk002
01-23-2007, 10:42 AM
Exporting one or a few templates works fine but when a large quantity are selected export fails.
Logician
01-24-2007, 08:34 AM
Exporting one or a few templates works fine but when a large quantity are selected export fails.
How many WT do you export? I just tested importing 50 webtemplates with crowded content (XML file was 4 MB.) and it exported it fine.
Icehawk002
01-24-2007, 01:27 PM
A lot 250 plus
I sent you a email in reply to the export fix.
Logician
01-24-2007, 05:30 PM
A lot 250 plus
I sent you a email in reply to the export fix.
if this is a problem to you and if you don't mind my seeing your WT content, export
wt35_query
wt35_theme
wt35_webtemplate
tables via phpmyadmin and email the zip file to me so that I can test it in my localhost. I don't have a too large WT table to test myself.
stomph
01-26-2007, 05:47 AM
Perfect, exactly what I was looking for! Thank you so much!! :)
Icehawk002
01-26-2007, 05:49 AM
if this is a problem to you and if you don't mind my seeing your WT content, export
wt35_query
wt35_theme
wt35_webtemplate
tables via phpmyadmin and email the zip file to me so that I can test it in my localhost. I don't have a too large WT table to test myself.
Thank you I was unable to export the files however I have emailed you.
mrkhm
01-27-2007, 12:12 PM
literally took me 5 minutes! amazing!!!! 3.6.4 :)
PoetJA-1975
01-29-2007, 07:16 AM
literally took me 5 minutes! amazing!!!! 3.6.4 :)
yep - very nice for my 3.6.4
Smooth transition - thanx for the mod!
Really nice stuff!
Jacquii.
fishhub
01-29-2007, 04:17 PM
how do i change the colour fonts at the copyright wordings? TIA
Quantnet
01-31-2007, 07:08 PM
Wow...exactly what i've been looking for.
Click Install and Thanks
A small question (couldn't find answer after searching):
Would I be able to create a webtemplate that include the login box and then when the user login, it will show them different content based on their usergroup.
This page does not have to use VB template. I know I can use if conditions to display different content, i'm just not sure how to include the login box in the webtemplate.
This is an amazing mod.
Logician
02-01-2007, 04:45 AM
Would I be able to create a webtemplate that include the login box and then when the user login, it will show them different content based on their usergroup.
Yes you can use vb conditionals to display different content depending on visitor's usergroup
Quantnet
02-01-2007, 04:53 AM
Yes you can use vb conditionals to display different content depending on visitor's usergroup
Thanks for the response.
My main concern is the login box. I would like to have a seperate part of my website where the users login, got customized messages based on their usergroup (this I know I will use conditions).
This page does not have to contain any VB forum component. Just a plain page, login box, admin login, and message content.
Would you be able to point me to a template that does this ?
Logician
02-01-2007, 05:05 AM
Thanks for the response.
My main concern is the login box. I would like to have a seperate part of my website where the users login, got customized messages based on their usergroup (this I know I will use conditions).
This page does not have to contain any VB forum component. Just a plain page, login box, admin login, and message content.
Would you be able to point me to a template that does this ?
Have you installed the hack and played with it? Actually its whole point is to do what you want. ;) You don't have to deal with login boxes yourself, you just set WT's permission as "guests can not see" so when a guest visits the page, he automatically gets "no permission page" with a login box and when he logins, he gets the content. Please play with the test templates for a while, I guess you'll understand the concept better.
Quantnet
02-01-2007, 05:15 AM
Thanks Logican
I have installed and get the test pages to display correctly but i guess I haven't played it long enough to still ask these questions.
Actually, my original intention was somewhat different https://vborg.vbsupport.ru/showthread.php?t=137910
I found your mod accidentally and just realized it can do the application checking status using your mod and set different message based on usergroup. Quite happy.
I'll play some more.
Quantnet
02-01-2007, 07:59 AM
I'm almost there, still need a bit of help.
I was able to get the login box displayed for guest, but this is the default VB login with all the headers, footer, forgot password, etc stuff
I only need a blank username, password box....
Is there a way for me just to get the 2 input boxes instead of the complete log in page ?
Logician
02-01-2007, 08:11 AM
I'm almost there, still need a bit of help.
I was able to get the login box displayed for guest, but this is the default VB login with all the headers, footer, forgot password, etc stuff
I only need a blank username, password box....
Is there a way for me just to get the 2 input boxes instead of the complete log in page ?
First allow guests to see that WT. Then set a vb conditional in WT:
<if condition="!$bbuserinfo[userid]">
Put your simple form here and make it HTTP post to vb login.php
<else />
Your regular content..
</if>
Quantnet
02-01-2007, 08:13 AM
Thumbs up. Thanks..
Now only if i know how to make it HTTP post to vb login.php
Even if i can't figure it out, your mod has 95% of what I need.
Thanks so much.
Logician
02-01-2007, 08:31 AM
Thumbs up. Thanks..
Now only if i know how to make it HTTP post to vb login.php
Even if i can't figure it out, your mod has 95% of what I need.
Thanks so much.
Check the source code of any vb age as a guest and use the <form> </form> part of login section.
Quantnet
02-01-2007, 08:37 AM
Got it. Rate 5 stars and vote MOTM.
I still couldn't believe I could use your mod to develop a whole college application status checking system. This is beyond expectation.
Thanks.
Logician
02-01-2007, 09:22 AM
Got it. Rate 5 stars and vote MOTM.
I still couldn't believe I could use your mod to develop a whole college application status checking system. This is beyond expectation.
Thanks.
Thanks for the compliments and here is another clue:
If you use
<if condition="!$bbuserinfo[userid]">
Put your simple form here and make it HTTP post to vb login.php
<else />
$includedtemplate
</if>
in a theme webtemplate, then make sure your other wt's use this theme, you can manage your multiple pages which use this system much easier.
Quantnet
02-03-2007, 03:18 AM
I have $WT_Login in my webtemp and the guest will see a log in box. But when they log in, there is no log out link? How would I include a log out link.
Also, when they log out, can i redirect them to any page ?
dcpaq2xx
02-08-2007, 05:23 AM
Group,
I try to run the /wt_upgrade.php and it takes me to an export page for 3.0.
Whats up with that, please see attached screen shot.
Im running VB 3.6.4 and web templates is "suppose" to be 3.6.01 but the product manager is still showing it to be 3.5.0.05.
Im not quite sure whats going on here.
Doug
Logician
02-08-2007, 07:12 AM
Group,
I try to run the /wt_upgrade.php and it takes me to an export page for 3.0.
Whats up with that, please see attached screen shot.
Im running VB 3.6.4 and web templates is "suppose" to be 3.6.01 but the product manager is still showing it to be 3.5.0.05.
Im not quite sure whats going on here.
Doug
Why do you run wt_upgrade.php? It is for upgrading your webtemplates from 3.0.x to 3.5.x. You don't have to run it unless you do this. If you moved from 3.5.x to 3.6.x, you don't have to do anything, WT will keep working.
dcpaq2xx
02-08-2007, 07:16 AM
Why do you run wt_upgrade.php? It is for upgrading your webtemplates from 3.0.x to 3.5.x. You don't have to run it unless you do this. If you moved from 3.5.x to 3.6.x, you don't have to do anything, WT will keep working.
Im under the impression that thats how I upgrade, but ok, now I see and wont use that.
Your showing the latest version to be 3.6.01. Is that not the current version?
Doug
Logician
02-08-2007, 07:26 AM
Im under the impression that thats how I upgrade, but ok, now I see and wont use that.
Your showing the latest version to be 3.6.01. Is that not the current version?
Doug
Don't mind the version numbers much if you downloaded the latest script from this thread while upgrading.
The version in this thread will work with 3.5.x and 3.6.x but it has a minor glitch in 3.6.x regarding "wt export" section. I'll release a fixed 3.6.x version soon in 3.6.x hacks section and I believe this will also cure the confusion some people are having when they find this hack under 3.5.x category.
But until I do that, you are fine. WT you downloaded from here will work flawlessly in your 3.6.x vbulletin. Just don't attempt to export your existing webtemplates for now. :)
dcpaq2xx
02-08-2007, 07:32 AM
Logician,
I dont think you understand.
Im not at all confused about what versions work with what version of vbulletin.
All I wanted to do was upgrade my version of Web templates because I thought that there was a newer version from what I currently have installed.
3.6.01 vs 3.5.0.05
I have done a file and database restore to my board and Im back to where I was, no biggie, ill just continue to use the version I have installed as it seems to work fine for what im going to do with it.
Please let us know when you do release an updated version.
Thanks
Doug
Logician
02-08-2007, 07:35 AM
Logician,
I dont think you understand.
Im not at all confused about what versions work with what version of vbulletin.
All I wanted to do was upgrade my version of Web templates because I thought that there was a newer version from what I currently have installed.
3.6.01 vs 3.5.0.05
I have done a file and database restore to my board and Im back to where I was, no biggie, ill just continue to use the version I have installed as it seems to work fine for what im going to do with it.
Please let us know when you do release an updated version.
Thanks
Doug
So you downloaded the latest hack from this thread and installed it. Do you see 3.6.01 in the footer of your webtemplates? If so you are ok. The version number in the product manager section is irrelevant. What it matters is version number in the footer.
Quantnet
02-08-2007, 09:23 AM
Logician, when you have a chance, would you be able to take a look at
I have $WT_Login in my webtemp and the guest will see a log in box. But when they log in, there is no log out link? How would I include a log out link.
Also, when they log out, can i redirect them to any page ?
JAYEMULE
02-08-2007, 07:53 PM
This is just wonderful! I love it and thank you so kindly for offering to us. :) This makes forum life sooo easy !
Thanks again.!
Jaye
dcpaq2xx
02-08-2007, 10:31 PM
So you downloaded the latest hack from this thread and installed it. Do you see 3.6.01 in the footer of your webtemplates? If so you are ok. The version number in the product manager section is irrelevant. What it matters is version number in the footer.
Logician,
Where can i find detailed instructions on how or what is the best way to upgrade?
Thanks
Doug
anarx
02-09-2007, 06:42 PM
First of all: Very nice hack!
My question now: Is it possible to include subforums to:
$WQ_last10threadfromforum2
I tried to get arround this like that:
forumid='36,40'
It did not work.
I hope you can help me ;)
Logician
02-09-2007, 08:14 PM
First of all: Very nice hack!
My question now: Is it possible to include subforums to:
$WQ_last10threadfromforum2
I tried to get arround this like that:
forumid='36,40'
It did not work.
I hope you can help me ;)
forumid='36' OR forumid='40'
Logician
02-09-2007, 08:15 PM
Logician,
Where can i find detailed instructions on how or what is the best way to upgrade?
Thanks
Doug
Best way to upgrade is overwrite hack's all .php files in the server. That should be it.
anarx
02-10-2007, 12:39 AM
Hi!
I have got a new question:
I use $WQ_last10threadfromforum2 to show some threads.
I included the table "forum" to show the forum name.
SELECT thread.threadid, thread.title as threadtitle, thread.postusername,thread.postuserid,thread.datel ine,forum.title,forum.forumid, forum.parentid
FROM thread
LEFT JOIN forum
ON (thread.forumid = forum.forumid)
Showing the forumname just works fine with "title"
Now I wanted to show the names of one parent forum, too.
First I tried it with "parentid" and "title" but it did not show me the name of the parent forum, it just showed me the name of the forum where the thread is.
After that did not work I tried it like that:
<td class="$alternate" WIDTH="12%" VALIGN="TOP" NOWRAP><div class="smallfont">
<if condition="$WQfield[forumid]=='40'">
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>
BLA</a>
</if>
<if condition="$WQfield[forumid]=='38'">
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>
BLUB</a></if>
<else>
<a href='forumdisplay.php?$session[sessionurl]f=$WQfield[forumid]'>
Bla2</a></else>
</div></td>
That did not work, too.
I hope you understand my problem. I am not good at coding. Please help me if you are able to.
cU anarx
aacircle
02-10-2007, 11:43 AM
Ok, I'm undecided now between this product and vbArticles by Mary (https://vborg.vbsupport.ru/showthread.php?t=136196).
WebTemplates is free and been around longer, but Mary's product looks snazzier. Has anyone looked at both offerings?
Thanks.
Sam1985
02-17-2007, 03:16 AM
Hey Logician,
This is a flawless mod. I love it!! this will be a keeper!
Only question I have is how do I create categories besides "Your Custom Pages" and "Default WebTemplates"
I'm a total noob:p
Thanks
Logician
02-17-2007, 06:29 AM
Please check 1.3.1.3 section in manual
Sam1985
02-18-2007, 01:29 AM
Thanks it worked.
It's beautiful!
Any chance of making a search or releasing a code for that?
aacircle
02-19-2007, 02:12 PM
Simple question. Are members able to reply to articles placed into the system? Otherwise I think vBa Blogicles may be the better alternative at http://www.vbadvanced.com/forum/showthread.php?p=105492.
https://vborg.vbsupport.ru/showthread.php?p=651570&highlight=styleid#post651570
Any news on how to make the page in certain style id? Example above doesnt work.
Thank you!!!!
bulbasnore
02-27-2007, 03:51 AM
set a vb conditional in WT:
Hey yah, just noticed that is a generalized workaround (with no PHP file hacking) to the issue of the WT restriction or 'negative permissions', i.e. the fact that WT specifies groups/IDs who CANT see the page. Its difficult for us because we've leaned heavily on vB's positive permissions capability to assign multiple groups so that we give fine-grained permission to our site.
Here's what I did --
$header
<if condition="is_member_of($bbuserinfo, 6, 7, 8)">
$WQ_secretinfo
<else />
You should not have come here, $bbuserinfo[username]!
</if>
$footer
The above shows the web-query result to members of groups 6,7,8. It shows a personalized "go away" message to everyone else.
I suppose you could enclose your entire page in the conditional so that only the specified group(s) could see it. Since you're giving (or denying) permission at the page level in vb (as opposed to element level) I guess this works pretty generally to convert WT permissions. Comments/corrections?
Logician -- I'm so very grateful for your add-on and your support of it!
Quantnet
02-28-2007, 05:33 AM
I put the logout code in the template. This will use the vbulletin standard logout where it will display the message "Return to index page or the last view page"
Is there a way i can specify a site that after the member logout will be directed to ?
Thanks
markp_2000
03-01-2007, 02:47 AM
Excellent mod.
How would one use the vB's internal ajax to tap into a add-on database and edit those fields?
Mark
Quantnet
03-06-2007, 04:36 AM
Which $ variable I can use to display the last updated time of a user profile, either by himself or by the admin.
For example, when the admin move the user from usergroup X to usergroup B, I'd like to display the time when the admin made the usergroup move for the user.
Thanks
Logician
03-06-2007, 04:44 AM
Which $ variable I can use to display the last updated time of a user profile, either by himself or by the admin.
For example, when the admin move the user from usergroup X to usergroup B, I'd like to display the time when the admin made the usergroup move for the user.
Thanks
There is no such variable. Neither in WT nor in vb.
Quantnet
03-07-2007, 05:28 AM
thanks, Logician,
I decided to do without.
Immortal_Shades
03-13-2007, 11:26 PM
How can I embed a flash file into the new pages and what do I have to do to remove the branding and extra stuff on the bottom? Much props on your work and all but I wouldnt mind paying a few bucks to remove the branding.
Parsing : TEXT | Theme : Default Basic Theme
WebQuery : N/A <------This Stuff!!
GafferSports
03-19-2007, 11:43 PM
I have installed this but wehn I go to add a new template I do not get any default themes, I only get 'No Parent Template'.
Any ideas what is wrong here?
Logician
03-20-2007, 06:29 AM
I have installed this but wehn I go to add a new template I do not get any default themes, I only get 'No Parent Template'.
Any ideas what is wrong here?
Performed installation step 3?
Kihon Kata
03-20-2007, 12:35 PM
Hi Logician,
Do you have any plans to improve this mod?
Megadeuce
03-26-2007, 02:26 AM
I'm sorry if someone has asked this already but I've noticed on the sites that this mod was installed on, let's say the leatherneck site, that I cannot find the link to click on that site to get to the about us page.
My question is, once you create a page, how to you get a link to diplay is a specific place on your VB forum?
Logician
03-26-2007, 05:27 AM
I'm sorry if someone has asked this already but I've noticed on the sites that this mod was installed on, let's say the leatherneck site, that I cannot find the link to click on that site to get to the about us page.
My question is, once you create a page, how to you get a link to diplay is a specific place on your VB forum?
You can:
1- Create your webtemplates link yourself manually in certain locations like navbar.
2- Put your webtemplates link an other webtemplate or site main page
3- Hack has already comes with a default webtemplate, which automatically compiles the list of your webtemplates created in a special group.
Megadeuce
03-26-2007, 11:39 PM
Thank you for this great hack. I like that it comes with the default template with automatic list of webtemplates, but I will need a link in a navbar. Is this easily done, or is this another hack?
Logician
03-27-2007, 06:23 AM
Thank you for this great hack. I like that it comes with the default template with automatic list of webtemplates, but I will need a link in a navbar. Is this easily done, or is this another hack?
You can edit template named "navbar" and add any link there:
Admin cp/styles&templates/style manager/(Expand Templates)/Navigation / Breadcrumb Templates/navbar (edit)
Quantnet
03-27-2007, 08:06 AM
Logician,
I have created a webtemplate where member can log in and have a different message displayed depends on which usergroup the member belongs to.
i have a small question, I don't know why the even though the page displays fine, the hourglass on the cursor seems to loads forever....
It's like something is still loading....
Deimos
03-27-2007, 05:32 PM
When running this on VB 3.6.4, I get this error at the top of any webtemplate page
Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 59
Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 60
Wondering if it's a compatability problem with PHP5?
Logician
03-27-2007, 05:44 PM
When running this on VB 3.6.4, I get this error at the top of any webtemplate page
Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 59
Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 60
Wondering if it's a compatability problem with PHP5?
It looks like that. I haven't tested it with php5 before. If everything else seems to work fine, changing line 59 and 60 like this MAY work:
$wt_hf = @unserialize($vbulletin->wt_hf);
$wt_themes = @unserialize($vbulletin->wt_themes);
Deimos
03-27-2007, 05:56 PM
That seems to have worked aok!
Thanks
Megadeuce
03-29-2007, 11:31 PM
Thanks Logician for you help. This is a nicely done and useful hack.
I see your code. Will this allow me to post this code is a specific forum instead of all forums?
Pocket Aces
04-07-2007, 04:30 AM
Nice hack. So far it works well on vb 3.6.5.
By the way, how do i remove the page stats on footer (ie. page visitors, last visitor, page created, etc.)?
Dennen
04-09-2007, 01:33 PM
how do we add meta tags to the index page of this
Nikke
04-19-2007, 09:56 AM
I would want to use the $WQ_last10threadfromforum2 query with multiple forums. So that I could take last 10 threads from forum id:s 1,2,34,5 for example.
Is this possible?
Kasey
04-24-2007, 12:42 PM
hrrrmmm feeling really stupid here....(no blonde jokes please:o )
But when I tried to install.....and I got to the Step 3 on the Installation read me file....My VB ADMINCP didnt seem to be the same as what is being described. And when I tried to import the file "webplate_export.xml" I gt an Invalid File error.
Any thoughts?
I'm on vb 3.6.5
lazserus
04-24-2007, 01:56 PM
I would back track and make sure you didn't skip any steps. Once all the files are uploaded to your server be sure you've imported the products-webtemplates.xml. The instructions aren't exactly accurate, so unless you're completely familiar with vB and all the options, I can see how it would be easy to miss. You import that by going to Plugins & Products > Product Manager > Add/Import Product. If you don't import that file then you won't see any of the Webtemplates options in your Admin CP. If you don't see the Webtemplates option then that means you're attempting to upload the webtemplates_export.xml to the wrong place. If that's the case then you'd definitely get an error when importing.
Back track and follow the instructions, but replace the info "Login Admin CP/Product Manager/Add-Import Product/ -> Import the file named 'product-webtemplates.xml'" with the path I've provided above in bold. You won't be able to upload webtemplates_export.xml until you've imported products-webtemplates.xml, because you need to import the export.xml using the Webtemplates options.
Hope that helps. If that doesn't, then maybe you could elaborate more on your problem.
Kasey
04-24-2007, 05:43 PM
<font color="blue">I had found the 1st imported file but it had loaded under the vb options-->a listing on the right...(as opposed to the instruction alluding to they would be in the menu system to the left)....and I could open that up but it did not give me the option to import there as the instructions suggest rather .....the import is down in the plug ins as you said....that is where I had attempted to import the 2nd file and received the invalid error.</font>
Logician
04-24-2007, 06:23 PM
If you can't handle it and don't mind me giving admincp access, I can take a look.
Kasey
04-24-2007, 06:52 PM
yes please, if you can...
again I seem to be stuck on Step 3, the loading of the 2nd .xml file.
Kasey
04-24-2007, 07:25 PM
Wooohoooo!!!!!(( (_/_) (_|_) (_\_) )) (doin' da happy dance wiggle!)
Thank you for the assistance Logician!!!!!!
lazserus
04-24-2007, 07:28 PM
Sounds to me you were trying to upload the 2nd file in the wrong place. It had to be imported through Webtemplate options, not vBulletin's Plugin/Product importing area. But, looks like you've been taken care of!
Devile
05-01-2007, 05:50 PM
There's a security problem with this mod. If u have it, better disable it til the author fixes it.
RaceJunkie
05-01-2007, 06:08 PM
Problem: User is Moderator as primary group.. They are also a member of two additional groups that are not allowed access.. Moderator can't view page..
Kihon Kata
05-02-2007, 02:29 AM
There's a security problem with this mod. If u have it, better disable it til the author fixes it.
Ok, I'm disabling right away.
NOT, this is a great mod.
Logician
05-02-2007, 07:30 PM
IMPORTANT SECURITY FIX:
If you are using Webtemplates version 3.5.x or 3.6.00 or 3.6.01, please upload the attached 2 files into your server which fixes a security problem in the hack.
File wt_include.php should be uploaded to /includes/ folder.
File view.php should be uploaded to default forum folder (where showthread.php exists).
After the upload your webtemplate footer should say "version 3.6.02".
This is a quick fix for a security problem which is reported to me yesterday (Thanks to Devile!) and I'll update this thread and the hack if I further develop the patch algorithm.
If you have downloaded the hack ZIP file in the first post after this message of me, you already get the patched 3.6.02 version. If you are using old webtemplates for vbulletin 3.0.x, you don't have to apply any patches.
Kihon Kata
05-02-2007, 07:44 PM
updated mine
Stilgar
05-02-2007, 07:45 PM
Thanks Logician.
bashy
05-02-2007, 07:46 PM
Thanks a lot Logican appreciated on the quick fix...
Just a quicky
I have a few uncached templates, I have used this since 3.5 version and not upgraded anything other than the forum to the latest version, these are the uncached
Uncached templates:
WebTemplates_AdminPanel (1)
WebTemplates_LoginCode (1)
WebTemplates_NowBrowsing (1)
How do i fix these please,, may not respond till tomoz...going bed in a mo!
yessir
05-02-2007, 07:50 PM
Thanks Logician!
777333
05-02-2007, 08:35 PM
Thanks Logician and Devile for the quick fix!
akulion
05-03-2007, 01:32 AM
thanks and updated :)
Razasharp
05-03-2007, 04:16 PM
Thanks - updated :)
tminus
05-04-2007, 06:17 AM
Web Templates 3.5x or vBadvanced CMPS (http://www.vbadvanced.com/products.php?do=productinfo&p=4)? I am looking at using one for vB 3.6.5 along with Zoints (https://vborg.vbsupport.ru/showthread.php?t=130946) and NuWiki (http://www.nuhit.com/nuwiki/features.html), and I am open to any opinions about which CMS mod is better. We will have 5-6 staffers at launch, so I am mostly concerned with user friendliness and stability.
Thanks!
ipears
05-04-2007, 01:30 PM
I am in a similar position as tminus... and have a hard time making a decision.
Any recommendations?
Logician
05-04-2007, 02:20 PM
vbadvanced's main focus is your site main page. Webtemplates main focus is your site's other pages like "about us", "donate to us", our press existence" etc.
So I don't think you have to choose one between these two. If you want to create a vb powered site home page, you should go with vbadvanced and if you want to create vb powered other site pages, you have to go with Webtemplates. If you want to do both, you can use both too.
So why don't you just install both and try each of them, then decide? Both are free and both are quite easy to install or uninstall.
Fireproof
05-04-2007, 06:29 PM
This looks outstanding and exactly what I was looking for! Can't wait to try it out this weekend.
I'm brand new to vBulletin - do you have any slick ways or recommendations for creating menus to link to a bunch of pages?
tminus
05-05-2007, 06:07 AM
vbadvanced's main focus is your site main page. Webtemplates main focus is your site's other pages like "about us", "donate to us", our press existence" etc.
So I don't think you have to choose one between these two. If you want to create a vb powered site home page, you should go with vbadvanced and if you want to create vb powered other site pages, you have to go with Webtemplates. If you want to do both, you can use both too.
So why don't you just install both and try each of them, then decide? Both are free and both are quite easy to install or uninstall.
I am testing both but I was just looking for some kind of comparison. Wasn't trying to bug you Logician, but thanks for response!:) Searching wasn't coming up with any results, mainly because "Web Template" obviously produces all kinds of other results. Anyways, I hadn't thought of using both. To be honest, I have been more impressed with the Web Templates 3.5x sample sites. Leatherneck.com has a nice look to it. So I will go install both and see whats up.
Any other passionate WT3.5x or vBadvanced CMPS users please let us know what you think. Any conflicts with having both installed? Which one handles what the best? etc. So I get them installed and start using them, but having some discussion about both will help me and others use them more effectively. Thanks!
vbadvanced's main focus is your site main page. Webtemplates main focus is your site's other pages like "about us", "donate to us", our press existence" etc.
Actually, it is possible to empower your other pages with VBA too. But I think this is an easier way.
Personally, I just like those modules, so I've chosen VBA myself.
biggeorge
05-07-2007, 12:14 AM
Great job! Thank you.
Kihon Kata
05-07-2007, 03:34 AM
Hi Logician. Problem here
My PHP parse method versions of my webtemplates died :( Basically my webtemplates work just fine except when I select the PHP parse method, then they don't. I have no idea why. I rely on this for everything. Here (http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter-archives-index) is an example
Here is the phptest http://www.makeuptalk.com/forums/view.php?pg=phptest
EDIT I found where it's causing me issues. I have this in the top part of the templates:
$usrObj=new users($userid);
$username=$usrObj->getUsername();
If I comment those out, it works. username doesn't seem to work now.
Can you help?
Logician
05-07-2007, 02:18 PM
Hi Logician. Problem here
My PHP parse method versions of my webtemplates died :( Basically my webtemplates work just fine except when I select the PHP parse method, then they don't. I have no idea why. I rely on this for everything. Here (http://www.makeuptalk.com/forums/view.php?pg=makeuptalk-newsletter-archives-index) is an example
Here is the phptest http://www.makeuptalk.com/forums/view.php?pg=phptest
EDIT I found where it's causing me issues. I have this in the top part of the templates:
$usrObj=new users($userid);
$username=$usrObj->getUsername();
If I comment those out, it works. username doesn't seem to work now.
Can you help?
Why do you need this code and what exact error you get?
Kihon Kata
05-08-2007, 12:26 AM
Why do you need this code and what exact error you get?
NM, Logician, I coded a work around. Thanks!
CodeRed
05-12-2007, 09:55 PM
thanks for the update... uploaded and all square...
I have a question, is there away to take the $nowbrowsing feature from one particular webtemplate and place it on forumhome?
any info is appreciated.
princeedward
05-13-2007, 06:22 AM
i nearly forget this wonderful hack...and forgot also to click install...now i have...so thanks for all of this wonderful and useful hack mod,....updated too...use it a lot to my site vb.3.6.6.
keep it up bro. coder logician....
best regards...
;)
MobileBros
05-15-2007, 12:10 AM
ok i have my custom page into hot or not page is there somehow i can get a rating system?
bulbasnore
05-27-2007, 06:23 PM
As for tminus:
We use both, vbAdvanced for the home page and WT for special content pages (I have a sub-site, some admin utils, and a dynamically generated 'price guide' on the WT).
Why is this mod marked unsupported? It seems like it is quite supported to me. Can anyone explain?
Logician
05-27-2007, 08:18 PM
Why is this mod marked unsupported? It seems like it is quite supported to me. Can anyone explain?
I have way a lot of hacks (most of them are old now but still) and if you check them, all of them are marked as unsupported and this is intentional. As a matter of fact, I do my BEST to give support for all of them, I deal with ALL security related issues (if any), ALL major bugs (if any), MOST of the minor bugs (if any) and reply a lot of questions but I don't like to "make promises" like giving support because this disappoints people if they can't get a reply for a question and I can't promise to answer ALL questions at all times.
So my personal preferrance is to mark my hacks as "unsupported" but then give as much support as I can afford with my time. And this is usually, for the most times and hopefully "a very good support". ;)
Hicksatpd
06-04-2007, 08:15 PM
I've installed this before and it worked great BUT,
I had to reinstall it after the forum had to be reinstalled, and this time I'm having issues. When I try to create an HTML template, it does not display my forum's top (banner, navbar, surrounding color) or bottom (including the helpful box that usually appears telling admins how many have viewed, who's viewing, who's allowed to view, etc).
It just displays whatever HTML code I plug in, nothing more or less. Before, if I did this it worked just fine (keeping all of the forum stuff). What am I doing wrong this time? Or what changed?
Logician
06-04-2007, 08:31 PM
It just displays whatever HTML code I plug in, nothing more or less. Before, if I did this it worked just fine (keeping all of the forum stuff). What am I doing wrong this time? Or what changed?
Select a theme when creating your WT.
Hicksatpd
06-06-2007, 03:27 PM
Select a theme when creating your WT.
If you mean where it says: "Using a Theme?", I have no options in the drop-down menu aside from the one that says: "No Parent Template (This is an independent web template)". This is despite the fact that along with the default vBulletin theme, we mainly use a second theme I created based off the default. I don't understand why they're not being detected.
Logician
06-06-2007, 04:43 PM
If you mean where it says: "Using a Theme?", I have no options in the drop-down menu aside from the one that says: "No Parent Template (This is an independent web template)". This is despite the fact that along with the default vBulletin theme, we mainly use a second theme I created based off the default. I don't understand why they're not being detected.
Yes this is what I meant. You are suppose to have some default themes there which come with the installation. Have you applied installation step 3? You may want to repeat it to install the default webtemplates, themes, headers and footers.
Hicksatpd
06-06-2007, 06:51 PM
There we go. :) Step 3 must have been accidentally skipped this time around for some reason. Thanks for your help!
Is there a way to get the upcoming events on webtemplates if so can someone give me a pointer or 2
Thanks
Delw
Spinball
06-14-2007, 10:19 AM
Can any clever coder (or Logician himself) use webtemplates to create a site map like this one?
https://vborg.vbsupport.ru/info.php?do=sitemap
Got to be a popular template. Thanks in advance!
Carlos2
06-19-2007, 09:57 AM
I´m creating a new webtemplate but nothing appears, only the text... what´s the problem?
Logician
06-19-2007, 10:15 AM
I?m creating a new webtemplate but nothing appears, only the text... what?s the problem?
https://vborg.vbsupport.ru/showpost.php?p=1261298&postcount=707
Carlos2
06-20-2007, 12:57 AM
Select a theme when creating your WT.
But says "No Themes Exist at the moment.."
Do I have to create one? if I have to create, what do I have to include to make the footer, header, background, navbar, etc. appear as any other forum page?
Logician
06-20-2007, 05:44 AM
But says "No Themes Exist at the moment.."
Do I have to create one? if I have to create, what do I have to include to make the footer, header, background, navbar, etc. appear as any other forum page?
Then please read the messages below the one I pointed out. You have the exact problem the user I have replied have.
Carlos2
06-20-2007, 08:11 AM
Solved. Thanks!
Saviour
06-22-2007, 10:48 PM
This has probably been answered before, but I really don't feel like searching 48 pages of posts in order to find it...yes...you can call me "lazy".
Anyway...I want to shout out "Kudos"! I love this hack!
Here's my problem...
I've created some templates I'm going to use as a resources directory. I've parsed the text as HTML.
I've updated the .htaccess file in the root of my forum's directory. I'm linking to these pages (within the templates) using links like the one below:
http://www.saviour-pc.com/forums/view_resources.htm
I have two skins...the vbDefault Style and a Smooth Fluid Style. The templates show up fine in each skin, however, if I try to switch skins while on one of the template pages...it's a "no go". So if you visit the above link and scroll down to the bottom and try to switch styles...you'll see waht I mean.
I know I'm doing something wrong...what am I missing?
Update: Never mind...I found the answer in the last few paragraphs of the manual...DUH!
Grunt
06-25-2007, 01:41 PM
Great hack - wish I had discovered it earlier. Great work Logician - many thanks.
Slight problem..when attempting to export templates, getting the following:
Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 465
Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 473
In a post a few months ago, you requested that 3.6 users with export issues to drop you an email for a fix..still the case, or..?
WT v.3.6.02 on 3.6.7.pl1
As a sidenote - Is there a repository of WT templates in/around somewhere where we could add templates for others to peruse?
Thanks again for all your effort on this and your other work Logician :cheers:
SoftDux
06-30-2007, 09:19 PM
It's a great addon, but where do I disable the "WebTemplate Quick Info Panel for Admins", which prompts everyone to "[Donate for WebTemplates Project]"
I don't want this to display on my site, where do I remove it?
RaceJunkie
06-30-2007, 10:05 PM
It's a great addon, but where do I disable the "WebTemplate Quick Info Panel for Admins", which prompts everyone to "[Donate for WebTemplates Project]"
I don't want this to display on my site, where do I remove it?
It's only seen by Admins
Grunt
07-01-2007, 05:43 PM
It's a great addon, but where do I disable the "WebTemplate Quick Info Panel for Admins", which prompts everyone to "[Donate for WebTemplates Project]"
I don't want this to display on my site, where do I remove it?
It's only seen by Admins
You can disable it in: vBoptions/Logician's WebTemplates Settings/Automatically Insert Admin Panel to Footers
SoftDux
07-01-2007, 06:29 PM
Thanx :)
Good day to each one of you.
I am new and have never posted on this site although I have added to my new site many great hacks I've found here.
I only write to say that this mod is the easiest to install and use by far to date.
Logician is a genius, no doubt about it.
Thank you kindly for your fine product. :up:
digitalJE5U5
07-04-2007, 04:57 PM
Great post. Have been using this throughout the last 4 years on various boards. Thanks for keeping this updated.
On quick question. How do I edit the template page bottom? (see screenshot)
Just want to make some minor edits - as you can see in the attached screenshot, its a little crammed together.
Thanks.
Logician
07-10-2007, 04:35 PM
Great post. Have been using this throughout the last 4 years on various boards. Thanks for keeping this updated.
On quick question. How do I edit the template page bottom? (see screenshot)
Just want to make some minor edits - as you can see in the attached screenshot, its a little crammed together.
Thanks.
You have to play with webtemplates themes to modify that part. I'm not sure which theme you are using for that webtemplate but if you modify both "Default Basic Theme" and "Two Column Theme", you'll be fine. :)
Logician
07-10-2007, 04:38 PM
Great hack - wish I had discovered it earlier. Great work Logician - many thanks.
Slight problem..when attempting to export templates, getting the following:
Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 465
Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 473
In a post a few months ago, you requested that 3.6 users with export issues to drop you an email for a fix..still the case, or..?
WT v.3.6.02 on 3.6.7.pl1
As a sidenote - Is there a repository of WT templates in/around somewhere where we could add templates for others to peruse?
Thanks again for all your effort on this and your other work Logician :cheers:
Yes, I'm aware of this little problem in 3.6.x versions. I'll fix this but I really couldn't find them, sorry about it! But I didn't forget about it and I'll try to release the patch as soon as I find some time.
-=Sniper=-
07-10-2007, 04:39 PM
hmm, I thought it was only displayed to admins etc ? if not you will have to donate as I did :) to remove that notice.
Logician
07-10-2007, 05:10 PM
hmm, I thought it was only displayed to admins etc ?.
Admin panel (mentioned above) is displayed to admins only. "Powered by tagline" is displayed to all.
rchelifan
07-11-2007, 03:34 AM
This CMS works with the latest 3.6.7 PL1?
Thanks
Logician
07-11-2007, 05:54 AM
This CMS works with the latest 3.6.7 PL1?
Thanks
It works fine.. Except a minor problem in "upgrade your webtemplates as a XML file" section.
adonfun
07-17-2007, 01:49 PM
I just installed this :) Thanks!
I only have 1 issue, I've created a terms page and haven't checked any Usergroup in "Disallowed Usergroups". Still guests have to login first to be able to see the page... but I want my terms to viewable by guests
Did I miss some setting to control this?
Thanks for the answer :)
Logician
07-17-2007, 06:55 PM
I just installed this :) Thanks!
I only have 1 issue, I've created a terms page and haven't checked any Usergroup in "Disallowed Usergroups". Still guests have to login first to be able to see the page... but I want my terms to viewable by guests
Did I miss some setting to control this?
Thanks for the answer :)
Can it be that you set guests permission as "can not see forum"? If this is the case, vbulletin (which runs before webtemplates kicks in) might be stoping them.
ChrisBaktis
07-18-2007, 03:37 PM
Im just starting a new site and am in the process of installing the hacks that I need.
Im using the default vb style for now - when I view one of the test pages included the header and footer are ok but I lose the whole body of the page...
Correct look
http://www.hobbystoresearch.com/forums/
Webtemplate page
http://www.hobbystoresearch.com/forums/view.php?pg=testbox
You can see what happens when I use the webtemplates.
I am stumped on why it is not picking up the 'page' part of the style - I used this on another site and do not recall any other changes I needed to make.
Logician
07-18-2007, 05:36 PM
Im just starting a new site and am in the process of installing the hacks that I need.
Im using the default vb style for now - when I view one of the test pages included the header and footer are ok but I lose the whole body of the page...
Correct look
http://www.hobbystoresearch.com/forums/
Webtemplate page
http://www.hobbystoresearch.com/forums/view.php?pg=testbox
You can see what happens when I use the webtemplates.
I am stumped on why it is not picking up the 'page' part of the style - I used this on another site and do not recall any other changes I needed to make.
I see a blank page in your url but test page looks fine to me:
http://www.hobbystoresearch.com/forums/view.php?pg=test
ChrisBaktis
07-18-2007, 06:04 PM
Not sure how it looks fine - I can see a major difference between the 2. Can you see how the white body of the page is gone - and the page extends well beyond the 950 pix i have the page set at - it goes 100% across the page.
Logician
07-18-2007, 06:09 PM
Not sure how it looks fine - I can see a major difference between the 2. Can you see how the white body of the page is gone - and the page extends well beyond the 950 pix i have the page set at - it goes 100% across the page.
I believe it is about the style you are using. It can be an unclosed HTML tag, a wrong HTML syntax etc. (Especially in header/footer templates). Also please make sure you use the default WTs and WT themes for your initial tests, then start customizing them if you do any such changes.
ChrisBaktis
07-18-2007, 06:21 PM
This is happening in an unaltered default vb style also - same thing - goes 100% across and loses the white background.
Header
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
footer
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
$spacer_close
<!-- /content area table -->
<form action="$vboptions[forumhome].php" method="get">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>
<br />
<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>
<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$vboptions[copyrighttext]
</div>
</div>
</form>
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
WoodiE
07-19-2007, 01:23 PM
How do I edit the Powered by text? I don't mind having a copy right notice but I don't think people need to know what versions I'm using.
ChrisBaktis
07-25-2007, 03:53 AM
I just installed the latest version on a fresh board..
Is there a way to get it to show the page name instead of 'Unknown Location' with who's online? The link works fine - just the name doesnt show.
HotRodGyrl
08-24-2007, 04:03 PM
I'd just like to say that I uploaded this and read the instructions and all the information with it and it's the easiest explanation and easiest doing that this newbie has ever seen.
I give it two thumbs up for anyone new and old....
Rock on!:up::up::up:
masterflagg
08-30-2007, 01:56 AM
Receiving the following error, while trying to export templates to xml (to port from my test site to live site)
Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 465
Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 473
Any suggestions? I assume I did something wrong...
Chad
Noticed that this is being worked on, let me know if it gets fixed... BTW, awesome Hack!!! Best mod I have installed...
Logician
08-30-2007, 06:56 AM
Receiving the following error, while trying to export templates to xml (to port from my test site to live site)
Warning: Missing argument 1 for vb_xml_builder() in /includes/class_xml.php on line 465
Fatal error: vB_XML_Builder::Registry object is not an object in /includes/class_xml.php on line 473
Any suggestions? I assume I did something wrong...
Chad
Noticed that this is being worked on, let me know if it gets fixed... BTW, awesome Hack!!! Best mod I have installed...
Although this hacks works fine with vb 3.6.x, there is only one small glitch it has in 3.6.x versions and this is the one you pointed out. It has problems exporting existing templates in 3.6.x.
I fixed the problem but can't find time to release the new hack for weeks, so actually it is my fault that this minor glitch is still there. Sorry about it!
To get rid of it, please make this small change:
Edit file admincp/wt_export.php and find line:
$xml = new XMLexporter();
Replace it as:
$xml = new vB_XML_Builder($vbulletin);
This should fix the problem.
bulbasnore
09-03-2007, 05:37 PM
Logician, thanks for the info on the export glitch and also for keeping up this hack. I'm trying to upload a wt for PaulM's proxy to real ip hack (a report of last 30 days of proxy users).
When you do release the new version, can you update the product XML with the new version number, too, please. I redid the install a few times, expecting 3.6.0.02 and seeing 3.5.0.05
RollaJedi
09-11-2007, 11:59 PM
Hello
I suppose this is probably something small, but I havent found a solution yet.
I have links set up in my forum that link to my WebTemplates pages. However, when I click them it opens it in a new window! I want 'internal' links that are for my site to open in the same window. I want only external links to open up to a new browswer window. Is this possible? Thank you!!
franzis
09-12-2007, 12:02 PM
Hi Logician,
do you also have a german version of this product?
LG franzis
Logician
09-13-2007, 07:12 AM
Hi Logician,
do you also have a german version of this product?
LG franzis
Sorry I can't speak German hence nope..
toucan42
09-13-2007, 06:49 PM
I did a search for "count" and "iterate" on this mod and found nothing (can't handle going through 50 pages of posts) so I will ask my question:
I want to create a page that displays the results of a query in three columns. This means I need code within the query that iterates the records and keeps count - when it reaches three it will end a table row then start a new row.
how can i add code for a multiline recordset such that I can keep a counter as the records are returned?
RollaJedi
09-13-2007, 06:54 PM
Hello
I suppose this is probably something small, but I havent found a solution yet.
I have links set up in my forum that link to my WebTemplates pages. However, when I click them it opens it in a new window! I want 'internal' links that are for my site to open in the same window. I want only external links to open up to a new browswer window. Is this possible? Thank you!!
Logician, can you please help me with this? Thank you!
Logician
09-14-2007, 06:19 AM
Logician, can you please help me with this? Thank you!
This question is really nothing to do with the hack. What kind of links did you put into your forum. If you put links within your templates, you have to configure your link HTML code. Eg. if you put
<a href='view_aboutus.htm' target='_blank'>About Us</a>
You have to remove target part and make it:
<a href='view_aboutus.htm'>About Us</a>
If your links are within your forum messages, your vb settings (for 3.6.x) decide how they open. You have to change the relevant setting in vb admin cp/vb settings section.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.