Quote:
*a year thinking it's a change in vbulletin ="D* I think the problem raised when I upgraded from 4.1.x to 4.2.1 (my current version ) the error log contain this: Code:
[30-Aug-2014 00:25:38 UTC] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /????/????/public_html/forum/includes/functions_digest.php(260) : eval()'d code on line 5 Code:
switch ($filename) Code:
switch ($userinfo['activity']) http://www.alphantom.com/forum/PhantomGroup.php it seems the problem is picky, where some pages show fine and some not, like here: https://vborg.vbsupport.ru/external/2014/08/2.png Quote:
|
="D no fix =")?
|
The code for adding custom who's online entries has not changed at all.
My suspicion is that your issue may be related to the URLs people are actually using...why is there a trailing slash (/) after .php in your URLs? index.php/ will report differently to index.php and thus may not be picked up by the custom WOL code you've entered. |
Thank for this Lynne.. really easy to follow the instructions...
|
This does not work correctly on mobile devices. :(
I couldn't figure out why my custom pages wouldn't load on my smart phone and would only work on a computer. Once I turned off the designated style for mobile users via the vbulletin style settings, the pages load. But now I am unable to automatically assign the mobile style for mobile users which is a problem. Is there a workaround for this lynne? Either to turn off the mobile style for custom pages, or re-work the code so the custom pages are either mobile friendly, or load with a non-mobile style by default? Essentially i get a blank white page if I visit one of these custom pages with a smart phone - Unless I DO NOT assign the mobile style to mobile users via the style settings in admincp. |
You did add your custom template to the mobile style, too, did you?
|
Quote:
That fixed the problem. (smacks forehead) Thanks! |
I am probably beeing extra dumb today, but I think I followed the instructions carefully. My template is called static and my page is called 404.php. Uploaded it to the directory of the vbulletin installation and get the following when I try to open the page:
Code:
'404 Seite')); $navbar = render_navbar_template($navbits); // ###### YOUR CUSTOM CODE |
@DoubleYou, you literally see the PHP code on the screen? That means you forgot to put the code after a <?php tag.
|
yes however not all of it. here is the code of the 404.php
Code:
<?php |
All times are GMT. The time now is 06:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|