vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=195)
-   -   Usftech (https://vborg.vbsupport.ru/showthread.php?t=145558)

Distance 04-25-2007 10:52 PM

Thanks I like it

Sean James 05-27-2007 11:30 PM

USFTECH Version 3.4 released
-Updated to work with vBulletin 3.6.7

ru55ian 05-27-2007 11:33 PM

Quote:

Originally Posted by Griffin80 (Post 1233817)
This is a premium template that i used to sell, now it is free ;)

Hi, thanks for sharing, great style, i had a question, is there anyway to get rid of the flash and replace it with a .jpg ?

Do you have by change .jpg for the top right corner?

Sean James 05-27-2007 11:48 PM

Here u go, for the online one just copy and paste it in photoshop or paintshop.

ru55ian 05-27-2007 11:55 PM

thanks again :up:

Romanthic 05-29-2007 07:48 PM

woow super

Thank You Men!

Sean James 05-30-2007 09:41 PM

Quote:

Originally Posted by Romanthic (Post 1257083)
woow super

Thank You Men!

np, dont forget to click install if u use this template ;)

Philipaclayton 05-31-2007 08:30 PM

very good design, but tis a bit to full if you get what i meen mate.

good stuff though :)

Sean James 06-01-2007 04:11 AM

Yeah i know, but the template was designed for a gaming style - where most users have very fast connections.

I wouldnt recommend this style for anything but gaming ;)

iVox 06-04-2007 04:58 PM

Excellent, and of course installed and marked as installed on my dev server (not yet available to the public, under construction).

First off, for those who opted to remove the flash and use the image method instead for the top right of the header, I used the attached images supplied in this thread and created two new images (which you create on your own) named as follows:

header-right-offline.jpg - the attachment found in this thread
header-right-online.jpg - has the green online graphic copy/pasted via Adobe PS

I wanted the appropriate image to display to the user based on their current login status, so I then edited the common header template as follows - after uploading both images in forums/images/USFTECH/misc:

Code:


<!--
<script type="text/javascript" src="$stylevar[imgdir_misc]/swfobject.js"></script>
-->
<!-- logo -->
<a name="top"></a>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
 <tr>
  <td width="50" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
  <td width="8" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
  <td width="452" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
  <td width="100%" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
  <td width="129" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
  <td width="11" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
  <td width="118" height="1"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td>
 </tr>
 <tr>
  <td colspan="7" width="100%" height="164">
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td width="510" height="164"><a href="./" title="Refresh iVoxLIVE.com home page..."><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="Refresh iVoxLIVE.com home page..." /></a></td>
    <td width="100%" height="164" class="h2"></td>
    <td width="258" height="164" bgcolor="#424951"><!--
<div id="usftech">
  USFTECH template
</div>
<script type="text/javascript">
  var so = new SWFObject("$stylevar[imgdir_misc]/intro1.swf", "header", "258", "164", "7", "#424951");
  so.write("usftech");
</script>
--><if condition="$vbulletin->userinfo['userid'] and $_GET['do']!='logout'"><img src="$stylevar[imgdir_misc]/header-right-online.jpg" alt="Online..." border="0" width="258" height="164" /></if><if condition="$vbulletin->userinfo['userid']<1 or $_GET['do']=='logout'"><img src="$stylevar[imgdir_misc]/header-right-offline.jpg" alt="Offline..." border="0" width="258" height="164" /></if></td>
    </tr>
  </table>
  </td>
 </tr>
 <tr>
  <td colspan="2" width="58" class="i1" valign="top"><img width="58" height="56" border="0" src="$stylevar[imgdir_misc]/h4.jpg" alt="" /></td>
  <td colspan="3" width="100%" height="100%" bgcolor="#222629" valign="top">
<!-- /logo -->
 
<!-- content table -->
$spacer_open
$_phpinclude_output

Look carefully at what I did.

First, I commented out any reference to the Flash .swf file/object. Then I added two conditions which ALSO check the browser URL (stored in PHP's $_GET global) so that it will show offline immediately without need to refresh the screen. I also used the vBulletin class object to reference the login user ID, so it's likely to unchange as you upgrade vB. I also properly referenced the misc directory using vB syntax.

Well, that's how I did it, working nicely on my setup with this most excellent skin.

NOTE TO GRIFFIN80:

On a side note, I'd like to let Griffin80 know I have removed the verbiage USFTECH in all images and templates including credit copyright in the footer. I paid extra to be able to remove the vB copyright info in the footer when I licensed my vB because I am setting up a complex portal using integrated plugins (blogs, live chat, media gallery and forum) all embedded within your skin. What I've done instead is create a "credits and licensing" page linked in my footer which will inform the public of your hard work and credit you fully. I am so pleased with your skin I wish to donate using the PayPal option here. Please contact me by PM on here with an amount you feel is fair and we'll discuss. This will be in addition to the credit page on my site. Trying to be as fair and honest as possible. Thank you, again, for the great skin. If I don't see a PM or a response in a week or so I'll donate anyway. I edited this to correct a typo in the code.

-jim


All times are GMT. The time now is 01:48 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.01035 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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