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 - Call of duty Prestige in Postbit/profile (https://vborg.vbsupport.ru/showthread.php?t=261486)

PvOwnage 04-04-2011 10:00 PM

Call of duty Prestige in Postbit/profile
 
1 Attachment(s)
This is a Small Mod that I've seen Requested a lot of times! Here it is Finally!

Ok This is Manually done there's no quick install but its easy!

There will be no support on this edit sorry.


Firstly upload the files attached to images/icons

Step 1: Go to User profile fields > Add new field > Single selection menu >

CALL OF DUTY: MW1

Fill it out like this:
https://vborg.vbsupport.ru/external/2011/04/46.png

Fill out the fields copy and paste into them!
Code:

Your Call of duty 4 prestige!

--

none
1
2
3
4
5
6
7
8
9
10

--

Profile field: Leave what it is!

--

Yes, but No First Blank Option

--

Yes

--

Yes, at registration and profile updating

--

Yes

--

No

--

Yes

--

Yes


______________________________________________

CALL OF DUTY: W@W

https://vborg.vbsupport.ru/external/2011/04/47.png
Call of duty 5: World at war

Code:

Your call of duty World at war prestige

--

none
1
2
3
4
5
6
7
8
9
10

--

Profile field: Leave what it is!

--

Yes, but No First Blank Option

--

Yes

--

Yes, at registration and profile updating

--

Yes

--

No

--

Yes

--

Yes

______________________________________________

CALL OF DUTY: MW2

https://vborg.vbsupport.ru/external/2011/04/48.png

Call of Duty 6: Modern warfare 2

Code:

Your Call of duty 6 MW2 prestige!

--

none
1
2
3
4
5
6
7
8
9
10

--

Profile field: Leave what it is!

--

Yes, but No First Blank Option

--

Yes

--

Yes, at registration and profile updating

--

Yes

--

No

--

Yes

--

Yes

_____________________________________

CALL OF DUTY: Black ops

https://vborg.vbsupport.ru/external/2011/04/49.png

Call of Duty 7: Black Ops

Code:

Your Call of duty 7: Black Ops Prestige
--

none
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

--

Profile field: Leave what it is!

--

Yes, but No First Blank Option

--

Yes

--

Yes, at registration and profile updating

--

Yes

--

No

--

Yes

--

Yes


Step 2: Go to Style Manager > {selected style} > ? ? > Postbit > postbit_legacy

Find

Code:

{vb:raw template_hook.postbit_userinfo_right_after_posts}
After that add:

Code:

<vb:if condition="$post['fieldX']">
        <img src="images/icons/prestige/cod4/{vb:raw post.fieldX}.png"> <img src="images/icons/prestige/waw/{vb:raw post.fieldX}.png"> <img src="images/icons/prestige/mw2/{vb:raw post.fieldX}.gif"> <img src="images/icons/prestige/bo/{vb:raw post.fieldX}.png">
</div>
</vb:if>

Replace the X's with the profile field numbers!

Save and Enjoy ;)

PS: Put the first field

<vb:if condition="$post['fieldX']">

And

<img src="images/icons/prestige/cod4/{vb:raw post.fieldX}.png">

With the same Field!

Gn_Snake 04-05-2011 07:19 PM

Not work!!!

Jack.D 04-05-2011 07:22 PM

<vb:if condition="$post['fieldX']"> replace that with what the x

PvOwnage 04-05-2011 09:20 PM

Replace the X with the Field code!!! Will not work unless

Luis 06-12-2011 07:13 PM

not work for me :(

majsm 06-16-2011 11:12 AM

this works for me, if you cant do it then you need to learn how to place fields lol because this is very easy

rpe78 06-29-2011 07:19 PM

I have this > http://snpr.cm/vYOvxr.png

Solution :'( ?

NLPLegacy 07-01-2011 05:08 AM

Quote:

Originally Posted by rpe78 (Post 2214696)
I have this > http://snpr.cm/vYOvxr.png

Solution :'( ?

I don't see what's wrong. Care to elaborate?

Brexen 07-04-2011 09:29 PM

have a custom postbit and idk f it messed it up but i did everything and i get this http://snpr.cm/SAmXPQ.png :(

majsm 07-11-2011 12:10 AM

if you want to do this on your vb3 forum just change the code to
Code:

<if condition="$post['field10']">
        <img src="images/icons/prestige/cod4/$post[field10].png"> <img src="images/icons/prestige/waw/$post[field11].png"> <img src="images/icons/prestige/mw2/$post[field12].gif"> <img src="images/icons/prestige/bo/$post[field13].png">
</div>
</if></div>

and just change your fields


All times are GMT. The time now is 05:32 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.01214 seconds
  • Memory Usage 1,740KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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