vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Black ops 2 in postbit (https://vborg.vbsupport.ru/showthread.php?t=292782)

leejohn02 12-07-2012 11:00 PM

Black ops 2 in postbit
 
1 Attachment(s)
Here we have the new prestige icons in the postbit

First upload all the images to images>icons

Next create a new profile field and enter the following

Your Call of duty Black Ops 2 prestige
--


1
2
3
4
5
6
7
8
9
10
11


--

Profile field: Leave what it is!

--

Yes, but No First Blank Option

--

Yes

--

Yes, at registration and profile updating

--

Yes

--

No

--

Yes

--

Yes



After that add a 2nd profile field, and enter the following


Your Blacks Ops 2 Zombie rank
--


1
2
3
4
5
6
7
8



--

Profile field: Leave what it is!

--

Yes, but No First Blank Option

--

Yes

--

Yes, at registration and profile updating

--

Yes

--

No

--

Yes

--

Yes



We have chosen to choose only 8 zombie ranks as we believe that technically that is all there is


Once you have finished remember the 2 fieldX numbers

Go into styles&templates>templates manager>edit templates>postbit templates>postbit_legacy


Find

{vb:raw template_hook.postbit_userinfo_right_after_posts}


<vb:if condition="$post['fieldX']">
<img src="images/icons/prestige/bo2/{vb:raw post.fieldX}.png"> <img src="images/icons/prestige/zombie/{vb:raw post.fieldX}.png">
</div>
</vb:if>




Change X to the profile field numbers 1st X is for the Bo2 prestige, 2nd X is for the zombie profile field

GameOverViper 12-08-2012 10:54 PM

Sorry to bother you, but do you have icons any bigger?

leejohn02 12-09-2012 09:43 AM

what size would you like, i can upload larger versions, the current ones are 24x24 pxls, if you tell me the size i will happily add bigger versions over the next 2 days

DeadlyDuckling 12-10-2012 01:43 AM

wondering if someone was gonna do this lol, i did mine last week, heres how it looks


http://puu.sh/1zeip

FTG LIQUID CL 12-14-2012 01:24 PM

how did you do that duckling

DeadlyDuckling 12-15-2012 06:05 AM

Quote:

Originally Posted by FTG LIQUID CL (Post 2390634)
how did you do that duckling

red X = your profile field
Code:

<center><img src="images/icons/prestige/bo2/{vb:raw post.fieldX}.png"></img></center><BR> <img src="images/icons/prestige/cod4/{vb:raw post.fieldX}.png"></img> <img src="images/icons/prestige/waw/{vb:raw post.fieldX}.png"></img> <img src="images/icons/prestige/mw2/{vb:raw post.fieldX}.gif">
</img> <img src="images/icons/prestige/bo/{vb:raw post.fieldX}.png"></img> <img src="images/icons/prestige/mw3/{vb:raw post.fieldX}.png"></img>



All times are GMT. The time now is 02:36 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.01003 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete