![]() |
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: |
Ahh I see. The board I use has a very small amount of members (unlikely to rise above 50), so I wouldn't be too concerned about the number of queries on that pages to be honest, particularly when max. usage there are 11 people online.
If this is possible and simple, could you show me. If its a big job don't worry - I'm grateful for the time you've spent so far :). |
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Logician - you're some sort of superstar !! Thx. a lot :cool:.
|
Looks interesting to say the least.
|
WOW! Awesome job....
|
And now this new version. This is awesome. Keep up the good work, and thanks for the hack.
One question that you might be able to answer that I have yet to get an answer for. I operate an outdoor website and want to build pages with information about specific lakes. For each of these lakes, I have a Forum. Example: Fishing Reports is parent, Kentucky Lakes is a sub parent and Laurel Lake is the forum. What I want to do is make the Laurel Lake thread appear on the Laurel Lake information page. The thread is intended to have fishing reports on it from users, the other information would be local weather, lake levels, marina and attraction info. Is there a way to do this? I've been told once that it would require another complete board, but that's not the aim here. The aim is to keep the same bunch of users, just add more information to their surf in. Skip |
hi Logician...just using the hack..it's awesome...you are the best...but I have a problem displaying the last 10 thread on my site. can you take a look at http://www.asianguild.com ? The last 10 threds table is on bottom of the page. Please let me know what is wrong with it. Thanks. Clicking install now. ;)
|
all right..it works now...i just delete the forumid condition.
|
Alright, I got this hack working out of the default vBulletin directory and with the Online Locations hack.
Would it be safe to say that Webtemplates v.1 no longer needs to be used? I never really got around to do anything with it but should I just remove it? |
Something I noticed when editing pages threw the edit page option.
It doesn't use {doctype}, it actually executes that peice of code and prints it out as "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">". That could cause big problems if it does the same stuff for (firstaltcolor} type replacements. |
What do I edit to change the color of the font on that last row under the article where it says:
Quote:
|
Quote:
|
Quote:
|
Logician...I concur with the others, this is very cool. The only thing not working on my board is outside variables. I define them to the page (without $ and with spaces), access the template via an HTTP Post operation and cannot display the $variable. Everything else works as it should. What am I not understanding here?
Example: variable name defined to template: cnumber Use: You've entered your $cnumber ... What I get: You've entered your ... ??? |
Quote:
Edit view.php, find: PHP Code:
PHP Code:
|
my $nowbrowsing variable does not work. I am using HTML Parsing and I have selected the option on the template to "Display Webtemplate browsers."
|
Brahm - Things to check are:
Hopefully one of those should sort it :). |
Quote:
If not, please let us know the webtemplate URL you are having problems. |
Hi Logician,
I wonder if you can add additional features in the hack that allows the moderators of the forum to update a specific webtemplate page in the control panel without dealing with the HTML stuff? The point is to have input boxes in the moderator CP, and each input box deals with the input of each column of a table. My webtemplate deals with a table..and I would like my mods to update a specific column for each row..can that be achieved? Hope you can help. |
Quote:
If it is so, maybe you can set child webtemplate parsing as "TEXT" and let your mods use bbcode to edit this webtemplate. Well then you wont have a HTML table but I guess you can create a well looking chart with bbcode too. |
Hmm..I'm not really sure how to use theme and child webtemplate yet..I will read the user manual first and will ask you again if I have question...thanks a lot for the reply..if the hack even can support this...this is the best hack ever I installed...hope it can be integrated in vb3 also.
|
Hi Logician,
I have read the the manual..and I still don't have any clue how to create it using bbcode. Can you give me some examples how to create bbcode chart instead of HTML table? And yes, it really matters since almost all the mods dont know anything about HTML. If they just can modify by TEXT, it would be great. |
Quote:
|
Logician - genius!
|
Yeah that's what I meant too...so I can directly just put the vbcode/bbcode inside the input box of the webtemplates as long as the bbcode is declared? and what's the code for making a chart/table like?
|
Logician,
Thanks man. Everything works great now. Hey...I really like this! I can do lots of stuff with this... |
hi logician.. i used your Webtempltes Version 1 akready .. and could not use it cause all m PHP sites werent integrated..
..so my question is again: Can i use this sites (self coded) http://spielplanet2.de/download.php?db=2 if yes i would be happy to use this :) EDIT: i read it can parse PHP code.. but does it can parse merged PHP/SQL/HTML code together?.. i did not code this site speratly..its all in one site :) (and one database table .. hrhr .. huh) |
can u use the pages outside of the vb directory ?
|
corsacrazy - I guess that depends on what you mean. I believe Logician's design surrounds vB and allows you to control everything 'within' vB so you can admin it anywhere.
You can certainly include HTML, PHP, TXT etc. within the templates, so if you have something external to the forum, you would create a template and place that code within the custom template you've made. You then get all the headers and page hits and other superb admin capabilities. Superb hack - install it NOW !!! :D. |
Quote:
http://www.ewplanet.org/view.php?pg=adverts |
All times are GMT. The time now is 04:54 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:
|