![]() |
2.July.2003 - > Version 2.1
Version History: * Fixes bug that bothers webqueries if "Show Template Name" option enabled in vb admin cp * Fixes bug in webquery $WQ_mostactivemembers * Fixes visual look of webtemplate test * Fixes visual look of admin panel and makes sure it looks ok in dark backgrounded boards too. 2.0 users: Use the attached document to upgrade to 2.1 New Users: Get the hack from the first post of this thread (which is the latest version), you don't need to apply this update. |
Logician - thx for all your testing today. That's certainly fixed my problems.
Fantastic job for such a cool hack !!! :). [high]* Intex cilcks install.[/high] |
Logician: I have had a request from one of my administrators for a feature that would allow us to set the style to be used with the templates regardless of which style the user has selected for his profile. This is because the pages we are converting into WebTemplates will not display aesthetically properly in certain existing styles, and it's too much work to convert the pages to display properly with all styles. I hope this isn't too difficult to pull off... can you help?
|
Quote:
<normaltext>Hello</normaltext> use: <font face="Times New Roman" color="#FF0000" size="4">Hello</font> So user's style will not matter. It is not easy to force a vb style in webtemplates because style issue in vbulletin is not handled in the relevant .php file, but in global.php which runs before everything else. It runs before webtemplate's view.php script too, so webtemplates just gets the style id from it. To change this behaviour either webtemplate need to reform the style in view.php (which means additional queries in every webtemplates) or global.php should be hacked so that if requested script is view.php, style behavior will change. Thus my suggestion seems the easiest solution. |
Logician - in version 1 of your hack you had a query that showed the person's last 10 threads they'd created. I tried creating a new query based on the old info, but didn't have much luck. Could you let me know how that is achieved?
It would be also nice if you or any others could share some of the queries for us newbies :D. Thanks |
On php 4.0.6 I had to change all instances of array_key_exists to key_exists.
|
Quote:
|
You're a star :). Thanks.
|
Logician - Without wishing to monopolise your time :) - is there any way to show the friendly template name when display it on who's online rather than the template name?
BTW: this hack is amazing - I've converted shed loads of my pages over today. Can't understand why others aren't upgrading. |
Quote:
Who is online page is getting "unfriendly" template name from the visitors url without quering the database however if we add friendly template name there, it needs to query webtemplate table for each webtemplate. So not a performance friendly way.. :glasses: |
All times are GMT. The time now is 12:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|