![]() |
You should do the following i think but backup your database in case it messes it up..
Create a new template called index_custom3 with the same content as the previous 2. then modify the myvbindex.php file like that: look for: PHP Code:
$DB_site->query("INSERT INTO setting VALUES (NULL,50,'Show Custom Template 3?','showcustom3','0','Show your third customized template.','yesno','30');"); Then put in your myvbindex.php $custom3 wherever you?d like your third custom template to be. I haven?t tested it but i guess it should work. I repeat again, backup before doing any changes... Let me know how it went.. |
Tigga, i still have the same problem with the weather hack,
Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed in /home/psx4gued/public_html/forum/index.php on line 389 Warning: fsockopen() [function.fsockopen]: unable to connect to www.msnbc.com:80 in /home/psx4gued/public_html/forum/index.php on line 389 any idea how to solve it? |
attroll - Yes. Assuming you wanted to do this to your Custom 1 template, here is what you would do... Open your myvbindex.php file and look for:
PHP Code:
PHP Code:
As for creating more custom templates, see the instructions in this post. o0stephane0o - As for changing the date format, there are 3 places in the myvbindex.php file you should look for: PHP Code:
PHP Code:
PHP Code:
As for the weather... What version of myvbindex are you running? Have you tried applying both of the fixes listed in JJR512's thread? If those don't work, please post here or PM me with a link to your site. |
Ok great, I just want to change the language of the date and time, I mean, instaed of 8th April something like 8 de Abril or 8 avril...
I have installed the v3.2 and it still not working but i will try on another server in case the problem is due to the actual one. |
Tigga - quick question:
I'd like to have one of the news items posted stuck at the top. This would be for a general website introduction that will always appear there, then other news posts below. Is this possible without altering the database date / time post for that thread everytime a new news post is created that would take priority position? Thx. |
Intex - Yes, it is possible to have "sticky" news posts. Just open your myvbindex.php file and look for:
PHP Code:
PHP Code:
|
I used one of the custom templates to put an item there.
Speaking of which, how do we add more custom templates? I know how to make the template, but the control panel only has options for two. Is there a way to add more? |
Yup, see this post. ;)
|
You're the best!
|
Thx Tigga :).
Quote:
|
All times are GMT. The time now is 04:07 AM. |
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:
|