vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=161)
-   -   Xbox Green Style (https://vborg.vbsupport.ru/showthread.php?t=107975)

SilentK 02-13-2006 10:00 PM

Xbox Green Style
 
Thought I would share this as it's the old style for my site (In the process of creating a new one).

Also I have a template modification that displays a random logo. Details are in the readme on how to get this working. Let me know if you guys run into any bugs as this is my first time releasing a style.

edit: updated it so the style uses relative file paths for the images. Please update it so your not using images off my server.

Snake 02-14-2006 04:40 PM

Lovely! Ever thought of making a PlayStation skin? :p

selven12 02-14-2006 05:54 PM

<span class="highlight">*Selven12 Installs!!*</span>

Yeah you should try and make a playstation skin!! It would be really cool!!

selven12 02-14-2006 05:59 PM

Yeah...something may be wrong because the header isn't showing up. It could be me but could you check it out while I try and see if it's on my end?

if you want to see here's my link, http://www.complete-anime.com/Vbulletin

SilentK 02-14-2006 06:17 PM

Well this has to do with the random logo modification I did. Details on how to get it working are in the readme. Essentially you have to add a plugin to global_start
with something like this
Code:

$imagearray[1]="http://www.yourdomain.com/forums/images/xbox/logo1.jpg";
$imagearray[2]="http://www.yourdomain.com/forums/images/xbox/logo2.jpg";
$imagearray[3]="http://www.yourdomain.com/forums/images/xbox/logo3.jpg";
$imagearray[4]="http://www.yourdomain.com/forums/images/xbox/logo4.jpg";
$random=rand(1,4);

Replace the domain name with yours.

In your case the code should look like this.
Code:

$imagearray[1]="http://www.complete-anime.com/Vbulletin/images/xbox/logo1.jpg";
$imagearray[2]="http://www.complete-anime.com/Vbulletin/images/xbox/logo2.jpg";
$imagearray[3]="http://www.complete-anime.com/Vbulletin/images/xbox/logo3.jpg";
$imagearray[4]="http://www.complete-anime.com/Vbulletin/images/xbox/logo4.jpg";
$random=rand(1,4);

Also I haven't tested but this should work for most people.
Code:

$imagearray[1]="images/xbox/logo1.jpg";
$imagearray[2]="images/xbox/logo2.jpg";
$imagearray[3]="images/xbox/logo3.jpg";
$imagearray[4]="images/xbox/logo4.jpg";
$random=rand(1,4);


SilentK 02-14-2006 06:33 PM

Ok I tested the plugin with the relative url and it worked fine. So I updated the zip to include a file called randomlogo_plugin.xml install this as a plugin and it should work.

selven12 02-14-2006 07:59 PM

Hey good work!! That plugin worked like a charm. It solved the problem completely. So like thanks!!

SilentK 02-14-2006 08:38 PM

glad it worked for you.

MissKalunji 02-14-2006 10:35 PM

very nice *clicks install*

selven12 02-15-2006 02:16 AM

Hey, if it's not to much to ask, could I change the header? It doesn't fit my site but I like the rest of the design!! If not that's okay too. But I would like your permission. Cause I'm not going to get myself into any trouble if you know what I mean.


All times are GMT. The time now is 10:23 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
  • Page Generation 0.02135 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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