![]() |
I get it now; i think! :nervous:
And i see what your "whose Online" addition does! :cheeky: Can I use it to add other hacks or modified vB code? For example if I cut and paste the code from the vB "login" template and place it inside a template that will be displayed on a non-Vb page. Will that display and work correctly? |
Quote:
However if a vb variable has assigned a value in an other vb file (eg. member.php, index.php, private.php etc.), obviously webtemplates can not display it correctly because its file does not run prior to webtemplate to assign this variable a value. So for instance the variable that saves member count of your board has assigned a value in index.php so it will be blank if you use it in a webtemplate |
First of all -- fantastic hack! Exactly what I was looking for. I followed your instructions for putting the show.php file in another directory:
Quote:
Thanks! :) |
Quote:
|
Quote:
|
hehe np :)
|
O_o I could have sworn I saw this thread before I posted my quick reply. I even searched this thread for some previous answers before I posted. Weird. Oo; I have no idea how it got into your other hack's thread xD; Sorry
Anyway, I edited the line: xD I edited the line if ($requested_template=="") {eval("dooutput(\"".logiciangettemplate("notfound" )."\");");exit;} to if ($requested_template=="") {eval("standarderror(\"".gettemplate("error_notfou nd")."\");"); exit;} But neither codes work. Even the original one won't show the page not found. However, it will show the page not specified error. oO; do you know why this is? |
Quote:
b) if it does not show the page not found template, what exactly happens when you call an non-existing template? c) Why dont you simply copy paste the error_notfound templates content into notfound instead of hacking? |
a) I believe it worked before. I even tried reuploading the original show.php and still, nothing.
b) It just shows a blank page. I know the function worked because the HTML source has <!-- BEGIN TEMPLATE: template --> <!-- END TEMPLATE: template --> c) Because I.. There's really not much to say about that. I guess I wanted a standard error to show up. But even with the original notfound it doesn't work. EDIT: I'm using 2.30 I tried installing on my 2.2.9 and it worked fine so it isn't my server. I think it may be my functions.php even though I'm not sure exactly what Oo; I doublechecked the installation manual and everything O_o or maybe if ($requested_template=="") isn't working |
Quote:
1- Admin CP/vb settings/Add template name in comments set to NO and see if it worked. 2- Delete template "notfound" and reform it. Hopefully one of these steps will do the trick.. :) |
All times are GMT. The time now is 03:10 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:
|