![]() |
in a PHP parsed webtemplate do not temper with other webtemplate options such as conditionals, header, footer etc. Make sure your template's all other settings as same name sample webtemplate "phptest". (Especially header and footer regarding your error message) .
Also make sure your PHP syntax is correct. |
I can gurarantee that my php code is correct because it works fine before integrating with the hack. I still cannot find what's wrong. I use this hack to help me with the displaying of the header and footer and also I would like to have the login and logout box to appear in the non vb page. Do you mind if I PM you the PHP code?
|
Quote:
Copy paste your PHP code in that template inside default "phptest" template. And make sure you do NOT change anything else in phptest template except "webtemplate" field. If it works it means that you tempered with a setting that you shouldn't inside your webtemplate. If it does not work, try to put your code inside default PHPINCLUDE template of vb. If a problem occurs, then it means vb did not like your code for a reason, then webtemplate will inherit this behavior either. If it works in the PHPINCLUDE template, then let me know your PHP code. |
OK...I have tried to put the PHP code in the phptest and it gave the same error.
I don't know exactly putting the code inside default PHPINCLUDE template of vb. Is it in AdminCP or in webtemplate file edit? I saw a PHP include input box in the webtemplate file edit though. I tried putting the code in that field in phptest and it gave the same error also. I don't have any idea how to fix it. Really hope you can help me. Thank you. |
let me know your PHP code
|
Hi I have bit of a problem. I set up a page I would like for someone else to edit. I put their userid in the editors field (459) however I notice myself as Admin that when I click on [Edit this page] on taht page editors.php pops up blank. Why could this be?
thanks |
I would firstly suspect a template problem. Check if all templates created ok and in all template sets too..
|
Everything looks fine and seems to be working fine. Just that is that working.
Just to clearify the problems seems to be with editors.php. Though nothing was changed with that file. Every other part of your system is working great and I'm very happy with it. Does the editors.php file need a certain CHMOD value? |
Quote:
There are very few sections that uses the templates you created in the installations so if there is a problem with your template installation, the hack will still work fine but you'll get blank pages in a few sections one of which is webtemplate editing. So make sure: 1- Installation templates are created correctly 2- Their names are correct (it is CASE-SENSITIVE) and there is no trailing space etc. at the end. 3- If you have more than 1 template sets, templates are created in ALL sets. |
I see what you are saying. The templates for the style. They were all blank. Somehow I missed filling those in. Everythign is fixed now and working great.
Thanks for your help. :) |
Logician I'm curious. Is there any way to pull a specific thread to a webtemplate page? Rather then just copying and pasting the information is there anyway for it to still be dynamic?
So you can have an article on a page laid out the way you wish and have responses to that artical below. Thanks |
Quote:
|
Lmfaooo. I installed and i was like OMG its gorgeous :p better than like errrm the portals and ++++. Then i realised i hadnt imported the templates yet, and now it looks even sweeter :p Thank yaaaaaaa
|
Oh yeah, now get to work on that ultimate hack ;)
|
Quote:
|
LOL yeah yeah yeah smart ass i admit it met most of the requirements ;) Tis nice ill give u that, how i envy ur brains :p I envy em so muchhhh ima ask u 2 peep dis lol
https://vborg.vbsupport.ru/showthread.php?t=57591 |
When viewing online users they always show up using this:
Unknown Location: /forum/view.php?bannerid=& |
Quote:
|
|
Hi, great hack. Just a quick question: How would I set it up so that guests/unregistered users can see it as well?
|
Guest and Unregistered user should already be able to see it without a problem.
|
Quote:
|
Hmm it would be nice to add an additional separate shoutbox on the templates, how might I do that?
|
Will it work for 2.3.3 ?
|
Give it a try, I had that hack on my vB before I upgraded. It worked for me and Iwas using vB 2.3.2. It shouldn't be different for vB 2.3.3 There are extremely little file modifications and the installation was extremely easy for me. I only hope Logitech makes a webtemplate for vB3 or I will have to do the templates the hard way..
|
Quote:
|
I'm having a hard time on the mySQL scripts for this hack. It seems that through phpMyAdmin it wont accept the entire script at once. I've had to enter the scripts broken up into the 'Run SQL query' text box.
All was going well until I got to the last Insert. The INSERT INTO `wt2_queries` line seems to be too long of a insert and simply results in an error. Is there a way to break this up into two entries? Or, where would one look to be able to increase the setting allowing for a larger entry? Thanks Logician! |
Scratch that... I figured it out. Nice hack!
|
Seems it's my lucky day today.
I been searching for something EXACTLY like this forever! Installed, already in use and loving it :D But one little question. Any chance that this will work with different schemes that use different template sets/headers? Instead of only the default header? My headers and their images are quite different for the sets. I dont want to hardcode the header to overwrite the styles in use. I hope I made sense. And sorry if this has been answered somewhere and I didnt see it. |
Quote:
But if you assigned different mandatory styles to different forums, webtemplates will not inherit all of these styles. It will only inherit your forum's default style (ie which is displayed in forum home page for a guest). |
Wow... just... Wow
This is excelent. When vB3 comes out this will be, bar none, one of the best hacks for it! |
Hi Logician,
sound like a pretty cool hack. vb3 RC2 is out now and I want to know if you will bring this hack out for vb3 and letter and if yes when? :D Thanks in advance jluerken |
Sorry there is no ETA for porting of my VB2 hacks because there is no ETA for my migrating to VB3. :) I plan to stick with VB2 for a while until I decide that a VB3 version is stable enough and my plan is to work on VB3 hacks afterwards. I have no idea when this will happen. All I can say is that I'll port all my hacks when it does. :)
|
How do I make this work where members and non-members can see my pages?
I DID NOT add the guest or unregistered id into the banned box... I just installed this and was testing it out and i wanted to see how unregistered people see the template and it wont let me view it if I am not logged in... |
Quote:
1- clear "Banned IDs" field 2- Do NOT make it private 3- Do NOT make it draft Then all will see it including guests. |
Wow.. Logican. I dont know what i did wrong but it works now... I guess I just had one of those fields on yes...
Thanks a bunch it works great. I would like to ask for help with one thing though. Is could you please give me a tip on how I could add a template into the headder/footer of the webtemplates? I have a menu and some other things that I have displaying on all the other pages. It was pretty easy to do this with your old template but not so with the new one. If you could just give me a hand it would be greatly parriciated... Thanks in advance... |
Quote:
---------------------------------- If you want to include regular vb templates into your webtemplate enter their names here (seperated by space). You can then use them in your webtemplate as $WTT_templatename. If you have more than 1 template sets, make sure included templates exist in all. Note: every template you added here will add 1 query to your webtemplate when loaded. ---------------------------------- |
...I added that to the header template and its not working. Am I adding these things to the wrong place?
Where does the template name go? Do I put it in view.php? Then I put $WTT_templatename into the header or footer, right? Sorry, I am just a little confused w/ all this... |
Included vb templates do not work on headers. You have to add inside regular templates. So you'll add $WTT_templatename (of course rename "templatename" section in this variable!) inside your webtemplate that you want to inherit.
Or create a webtemplate header template and copy/paste your templates content into this one and then you can use this webtemplate header in your other webtemplates |
Logician: very nice job! I have it installed and it's working great. I have a question for you. I have a forum already for anyone to look & post at (well almost) and I am using your template program for a totally different look and HTML pages, this section will be for paid membership people only.
I need to know how to tie the new pages into the regular forum? Do I just set up a parent forum and list all the links? I know I could do that, but there must be another way.....I just don't know what to call what I want on a search. Thanks |
All times are GMT. The time now is 05:50 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:
|