![]() |
Hi there..that means i can parse a complete PHP/HTML site with this Webtemplates?
So an example here: http://spielplanet2.de/download.php?db=2 <--this is self coded and merged HTML/PHP it is possible to parse all this code (47KB) ?? greets Highlander www.spieleplanet.com |
Quote:
Quote:
|
Quote:
This is possible but I dont support it, sorry. Because although it is no big deal to add a change directory command at the begining of view.php and change its locations, if you do that there might be a lots of sections in the hack code to change to fix smaller bugs that modification will produce. For instance admin cp "view webtemplate" link will not work. Webtemplate Admin Panel links will be broken etc. There can be other bugs introduced after the change which I can not think at the moment either. So if you dont mind such small bugs, only care that you put view.php to another directory and it displays webtemplates and take the risk of having some bugs, that is ok, you are welcome to do it with your own risk as K33nny did. But if I support this modification, I will be then invited to fix the bugs that is introduced by this hack which may require working on the entire code from the start so this is why I neither support, nor encourage this change. ;) K33nny is welcomed to share how he did it and you or any others are welcomed to apply his hack to change this behavior. I'm sure you'll understand my point. |
Thanks alot for the explanation i will give it a go
|
hi logician,
when i try to edit the page using TEXT format....I have problem to make more than one space character..when I try to make for example several space characters..it will just show one space character. Can you let me know how to manipulate using the keyboard space character for the space character instead of making nbsp;? |
Quote:
|
Yeah..that's the problem..do you have any idea how I can manipulate that? How come the board cannot allow multiple spaces?
|
Hi,
Just now find the general discussion of this hack..and saying that newer version supports the form processing? Is this the new version already? Does it mean we can use the form to send the data from user's input into our SQL with this hack? |
Quote:
This supports form processing by accepting outside variables. You can then use this variables in your webtemplates or webqueries so yes technically you can use user input for SQL. Check webquery help file please, there are a lot of info there. |
Does that mean we can trace the variable's value from SQL table and also insert value to SQL table?
|
Just what i wanted!
Using this as my homepage! |
Hi Logician,
I have problem with the editors of webtemplate page. I try to set the editors based on the userid and it cannot work. I just need to include the userid in the input box with paranthesis right? I don't know why it just displayed blank page. Do we need to modify the php file? But, I just want to set editor based on the userid, not usergroup one? Hope to hear from you again. |
check if you created templates correctly, with all template sets and with correct names (including caps)
|
hi logician,
why when i open webtemplate.php i got this error above the login box: Warning: Cannot modify header information - headers already sent by (output started at /home/asiangui/public_html/forum/wt_options.php:87) in /home/asiangui/public_html/forum/admin/functions.php on line 1652 |
Maybe the problem is I am trying to set the admin as the editor again? I put the admin userid in the editor input box. How can I check myself then if the editor works or not if I were the admin then without asking the mods? However, I asked one of the mods to open the editor page and it cannot work also. I have checked the template name and it should be correct because I use $WT_Editor_link to open the editor and it just shows blank page.
|
It seems that I still got the error after removing admin userid from the editors...do you know what's wrong?
|
You made some errors while editing the file wt_options.php. I have an article about this error in hacking hints forum, read it and you'll understand how to fix it.
|
All right I will read it now..Thanks...I will let you know if still got error.. :)
|
Wow..really a great tips..it really works now..I got put several newline chars in the end of the file...
|
Hi Logician,
I dont know why still got blank page when my mods try to click on the Edit this page link. He can see the link and when click just got blank page. Do we need to modify any files? |
Just found out the error..somehow the new templates all deleted..silly me..it works great now..thanks a lot for the hack..really love this hack..
|
bravo Logicon this has gotta be one of the best hacks ever made this KicKS ASS!
/me hits install |
wow, i'm impressed, fantastic hack, thank you for sharing
/me clicks install |
Logician - I have a page where I need to use the following code to refresh an image on a page automatically:
Code:
<head> Any ideas how I might be able to achive this? |
Logician - I have a page where I need to use the following code to refresh an image on a page automatically:
Code:
<head> Any ideas how I might be able to achive this? |
Logician - I have a page where I need to use the following code to refresh an image on a page automatically:
Code:
<head> Any ideas how I might be able to achive this? |
Amazing hack!
Exactly what I needed. Thanks. :) |
This is awesome. Something I've been looking for for a long time. I've got it up on my site where my VB is at and plan to switch all the regular HTML pages to webtemplates.
Just out of curiousity do you know of a system similar to this that doesn't use a vbulletin database? I have a couple other personal sites where I'd love to add, edit and delete pages via templates from an adminCP (not to mention and awesome theme system like you have. Very simple to use and works well). But have no need for a forum on those sites or the price that goes with it. I know moveabletpe is similar but it's cgi and I have no need for a weblog. Just a simple way to manage webpages online and change a general theme on them all quickly. |
Quote:
|
Hey
I really love this hack and I already have so many great ideas how I could use it to increase interaction between my main page and forums but I have one big cookie-related problem. Everything is fine when i call the board cookie through the view.php?pg=template file but as soon as I put the view.php?pg=template into an include file or include view.php itself into my mainpage i´m logged out on the main page. And there seems to be nothing I can do about it. I already tried this: - i changed my settings to "accept cookies", logged out, erased all cookies in IE and then returned and logged in - i already changed the cookie host domain to: .mydomain.de like suggested in the admin CP It seems as if as soon the template file is put into another file and included there the cookies seem to get lost. Any idea how I could solve this? I read something about removing sessionhash completely but I wonder if that wouldn´t make the Who´s online useless. I hope that you have an idea how to work around this problem. Maybe I can put a line in my include file header or into the header of the page I want to include into that reads out the cookies from the board. |
These are the problems I was mentioning when I say I don't suggest to use the hack as a main page or outside its default location. :)
Sorry I don't have any idea how you can manage your goal. |
Hey thx for the reply.
Hmm I´m wondering if a special global.php file that you would put in your web site root wouldn´t do the job. Could I anybody try to code something like this? When I see php code I know more or less what it does and mean but i´m definately not able to do this on my own. I think if it worked it´d be worth the effort. |
Crap :(
I installed VB 2.3.0 and this broke WebTemplates which I knew was gonna happen. So as I was on the old version, I went to install this one. I can't run the SQL queries in the file, I keep getter errors. phpMyAdmin just reports SQL Error. However a small script called MySql Table Manager reports: You have an error in your SQL syntax near '; INSERT INTO `wt2_themes` (`themeid`, `themename`, `themesortorder`, `themeban' at line 1 Number of Rows affected: -1 Any ideas? |
Quote:
So my suggestion will be: 1- If your phpmyadmin is an old version, upgrade to the last version first. 2- Make sure you have permissions to run INSERT/UPDATE queries in MYSQL via phpmyadmin (check with your host) and confirm with by running a test INSERT/UPDATE query. 3- Then run the queries in phpmyadmin. There are 2 ways of running it both of which are mentioned in the instructions. Although I confirmed that both works, try the other one if one fails for you. If this still fails, I would suspect your PHP.ini or MYSQL configuration is not allowing you to send large number of texts to the server and if this is the case, you might try to run the queries in the query list in smaller groups. Or send the list to your host and they can run for you. |
The create table queries worked fine, but it was the Insert queries that were messing up the works. So I added each Inset a line at a time and it worked fine in the end.
I know it's not really for use as a sites only content system, but i'm using it that way and it's working perfectly. Great work and I look foward to the VB3 version :) Maybe with VB style WYSIWYG editor (Just a thought) ***EDIT*** Is it possible to place Who's Online on a webtemplates page? |
Anyone?
|
Hi Logician,
Just installed the hack, Your instructions were sharp! :cheeky: Now i just have to make sure i can utlise it properly! Thanks.......clicks install!!! |
j e b u s h c h r y s l e r.
Now thats a hack! *installed*. |
New Version 2.03
Added Feature: You can now pull any regular vbulletin template into your webtemplates (See screenshot below) |
Screenshot of added feature in 2.03
|
All times are GMT. The time now is 01:30 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:
|