vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   my new website (interface) (https://vborg.vbsupport.ru/showthread.php?t=37145)

c-pr0mpt 04-14-2002 01:22 PM

I like the new one much better than the original. Good job.

TECK 04-14-2002 01:38 PM

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. ;)

Admin 04-14-2002 02:11 PM

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. :)

wooolF[RM] 04-14-2002 03:18 PM

]2 much white for me... (https://vborg.vbsupport.ru/attachmen...&postid=240540 )

I'm more with gray/blue/red colors...

check my 2 flashes :)
http://www.wooolf.net/ (flash intro for my homepage [450Kb])
http://www.mpc.turbohost.net/flash (flash intro for MPC forums [900Kb])

Admin 04-14-2002 03:25 PM

Nice woolf, you've got some skills. :)
BTW why does all sites show me my IP address? Is that a new trend or something?

wooolF[RM] 04-14-2002 03:37 PM

]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 ;)

BTW, thanx for comments :)

NTLDR 04-14-2002 05:12 PM

Very nice design and layout there nakkid ;)

I look forward to seeing the forumbits, a great clean not overly complicated, yet impressive design. Good work :D

TECK 04-14-2002 09:17 PM

Quote:

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") {

  
$filename="./vbulletin.style";

  if (
file_exists($filename)==0) {
      
$styletext="";
  } else {
      
$filesize=filesize($filename);
      
$filenum=fopen($filename,"r");
      
$styletext=fread($filenum,$filesize);
      
fclose($filenum);
  }

  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");

  
$stylebits=explode("|||",$styletext);

  list(
$devnul,$styleversion)=each($stylebits);
  list(
$devnul,$style[title])=each($stylebits);
  list(
$devnul,$replacementset[title])=each($stylebits);
  list(
$devnul,$templateset[title])=each($stylebits);

  
// 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. ;)

Admin 04-15-2002 11:20 AM

vbulletin.style can't really be compared since the tepmlates in it are not ordered...

TECK 04-15-2002 11:28 PM

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..


All times are GMT. The time now is 04:31 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
  • Page Generation 0.01178 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete