Version: , by TECK
Developer Last Online: Nov 2023
Version: Unknown
Rating:
Released: 04-08-2002
Last Update: Never
Installs: 0
No support by the author.
[high]UPDATE:[/high] i did the final layout: https://vborg.vbsupport.ru/attachmen...&postid=240540
i will stick with this one... special thanks to serenity (a girl who kick ass in html).
i didnt put any copyright note over it, so firefly can see it well.
below is the original post:
--------------------------------
here it is one of my interfaces. i will post more and let you decide wich one should i choose as the default scheme.
for now let me know what you think about those 2.
just be specific wich one you like better...
thanks c-prompt. i reserve to all the forumbits surprise..
today,.. or tomorrow.
PPN, really nice. is that the site you show me a screenshot of your admin CP?
djsap.. i know about .htaccess... i dont like it. i moded all. install.php, vbulletin.style, etc so when i will go online with i will simply do one install and is done, no custom templates etc.
i made a little system that it allow me to edit the .style file (easier then through templates) then with one click everything is updated.
nakkid, bear in mind that if you update the -1 templateset, all your templates will be deleted when you upgrade. If you don't touch that set, never mind.
]well... I was script kiddie once...
I have this page about 5 years now and this IP thingy was there from the start So... maybe they ripped it from my page
Originally posted by FireFly nakkid, bear in mind that if you update the -1 templateset, all your templates will be deleted when you upgrade. If you don't touch that set, never mind.
i always edit vbulletin.style.. every time i add a new template to that file, i run this script that i added in template.php:
PHP Code:
// ###################### Start add masterset #######################
if ($action=="addmaster") {
doformheader("template","insertmaster");
maketableheader("Add master set");
//makeinputcode("File Name (.style)","filename");
makedescription("Adding the master set will not delete the custom templates.");
doformfooter("Save");
}
// ###################### Start insert masterset #######################
if ($HTTP_POST_VARS['action']=="insertmaster") {
if ($styletext=="") {
echo "<p>Please ensure that the <b>$filename</b> file exists in the current directory.</p>";
exit;
}
$DB_site->query("DELETE FROM template WHERE templatesetid=-1 AND title<>'options'");
$DB_site->query("DELETE FROM replacement WHERE replacementsetid=-1");
// installing master set
$style[styleid]=-1;
$style[userselect]=0;
$style[replacementsetid]=-1;
$style[templatesetid]=-1;
// get number of replacements and templates
list($devnull,$numreplacements)=each($stylebits);
list($devnull,$numtemplates)=each($stylebits);
$counter=0;
while ($counter++<$numreplacements) {
list($devnull,$findword)=each($stylebits);
list($devnull,$replaceword)=each($stylebits);
if (trim($findword)!="") {
$DB_site->query("INSERT INTO replacement (replacementsetid,findword,replaceword) VALUES ($style[replacementsetid],'".addslashes($findword)."','".addslashes($replaceword)."')");
}
}
$counter=0;
while ($counter++<$numtemplates) {
list($devnull,$title)=each($stylebits);
list($devnull,$template)=each($stylebits);
if (trim($title)!="") {
$DB_site->query("INSERT INTO template (templatesetid,title,template) VALUES ($style[templatesetid],'".addslashes($title)."','".addslashes($template)."')");
}
}
echo "<p>Master set added</p>";
}
if a new upgrade comes, i simply do a compare with araxis.. between the original 225 template set (not the one i always update) and 226 for example. in this way i see exacly what changes were done in templates.
i think this is the most elegant solution for keeping updated your templates with the new code.
so you tell me that the templates in 224 and 225 are not in the same order?? wierd. i thought all they do the devs is to edit that file.. or add at the bottom the code..