vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - Call of duty prestiges in postbit (https://vborg.vbsupport.ru/showthread.php?t=273726)

GavoTrav 11-09-2011 11:00 PM

Call of duty prestiges in postbit
 
1 Attachment(s)

I Created this thread and my friend posted it for me as i did not have an account at the time :)
https://vborg.vbsupport.ru/showthread.php?t=261486


This is the 3.8.x version:

Firstly you will need to understand this:

When I say fieldx I mean the field that you have in your custom profile field it will say it beside it! example this is field7

http://snapr.info/vbulletin/8.png

I Put field7 where it says fieldx in the postbit code down the bottom and field8 in the next one etc..

__________________________________________________


Starting off you will have to download the images here:
https://vborg.vbsupport.ru/attachmen...1&d=1320900777

Upload the images to your images/icons/ folder! then it will be images/icons/prestige

Then Go to your AdminCP > Custom Profile fields > Add new field > Single selection menu:

http://snapr.info/vbulletin/1.png

http://snapr.info/vbulletin/2.png

Title:
Code:

Call Of Duty 4 Prestige
Description:
Code:

Your call of duty 4 Prestige
Options:
Code:

none
1
2
3
4
5
6
7
8
9
10

Set Default
Code:

Yes, But no first blank option
Field Required
Code:

No but show at registration
Field Editable by User
Code:

Yes
Private Field
Code:

No
Field Searchable on Members List
Code:

No
Show on Members List
Code:

Yes
It should look like this:
http://snapr.info/vbulletin/3.png

__________________________________________
that is call of duty 4 done, It is the same for all them then you move onto the postbit! Call of duty Black ops(7) has 15 prestiges while the rest (4,5,6,8) Have 10!
__________________________________________

Call of duty: World at War

Add new field >

Title:
Code:

Call Of Duty 5 Prestige
Description:
Code:

Your call of duty 5 Prestige
Options:
Code:

none
1
2
3
4
5
6
7
8
9
10

Set Default
Code:

Yes, But no first blank option
Field Required
Code:

No but show at registration
Field Editable by User
Code:

Yes
Private Field
Code:

No
Field Searchable on Members List
Code:

No
Show on Members List
Code:

Yes
Image:

http://snapr.info/vbulletin/4.png

______________________________________

Call of duty: Modern Warfare 2

Title:
Code:

Call Of Duty 6 Prestige
Description:
Code:

Your call of duty 6 Prestige
Options:
Code:

none
1
2
3
4
5
6
7
8
9
10

Set Default
Code:

Yes, But no first blank option
Field Required
Code:

No but show at registration
Field Editable by User
Code:

Yes
Private Field
Code:

No
Field Searchable on Members List
Code:

No
Show on Members List
Code:

Yes
Image:

http://snapr.info/vbulletin/5.png

_______________________________________

call of duty: Black ops

Title:
Code:

Call Of Duty 6 Prestige
Description:
Code:

Your call of duty 6 Prestige
Options:
Code:

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

Set Default
Code:

Yes, But no first blank option
Field Required
Code:

No but show at registration
Field Editable by User
Code:

Yes
Private Field
Code:

No
Field Searchable on Members List
Code:

No
Show on Members List
Code:

Yes
Image:

http://snapr.info/vbulletin/6.png

_______________________________________

call of duty: Black ops

Title:
Code:

Call Of Duty 8 Prestige
Description:
Code:

Your call of duty 8 Prestige
Options:
Code:

none
1
2
3
4
5
6
7
8
9
10

Set Default
Code:

Yes, But no first blank option
Field Required
Code:

No but show at registration
Field Editable by User
Code:

Yes
Private Field
Code:

No
Field Searchable on Members List
Code:

No
Show on Members List
Code:

Yes
Image:

http://snapr.info/vbulletin/7.png

____________________________________

Time to start the postbit in > Styles > >><< Postbit legacy

http://snapr.info/vbulletin/9.png

____________________________________

Find:

Code:

$template_hook[postbit_userinfo_right]
Add this underneath:

Then edit the "X" To your profile field on each of these:

Code:

<if condition="$post[fieldx] || $post[fieldx] || $post[fieldx] || $post[fieldx] || $post[fieldx]">
<img src="images/icons/prestige/cod4/$post[field7].png">
<img src="images/icons/prestige/waw/$post[field8].png">
<img src="images/icons/prestige/mw2/$post[field9].gif">
<img src="images/icons/prestige/bo/$post[field10].png">
<img src="images/icons/prestige/mw3/$post[field11].png">
</if>

or using alt tags here:
https://vborg.vbsupport.ru/showpost....4&postcount=10

Hit save and when you configure it in your Profile: http://yourforum.com/profile.php?do=editprofile

It should look something like this (I've done it with my custom postbit!)
http://snapr.info/vbulletin/10.png

That is it done!!!

PLEASE HIT INSTALLED!!

Download the images below!!

Thank you
GavoTrav



I Tried my best to explain this in as much detail as I could, But If you need help don't hesitate to ask! Also If you would like to click Install if you installed it! I Don't have too much time on my hands so please click install if you want help!

GavoTrav 11-10-2011 06:00 PM

Reserved.

Spectre_Aidan 11-10-2011 06:26 PM

thanks for this :D ill install this 2moz :D marked as reserved till istalled

GavoTrav 11-11-2011 12:48 AM

Quote:

Originally Posted by Spectre_Aidan (Post 2266657)
thanks for this :D ill install this 2moz :D marked as reserved till istalled

Okay thanks, If you need any help PM me or reply here!

Spectre_Aidan 11-11-2011 08:09 AM

http://screensnapr.com/v/bqmd2m.png installed and working :D i was just wondering how to get them in boxes like yours??

Robru 11-11-2011 04:46 PM

I don't use this mod, but thanks for your nice job :)

GavoTrav 11-11-2011 08:42 PM

Quote:

Originally Posted by Spectre_Aidan (Post 2266865)
http://screensnapr.com/v/bqmd2m.png installed and working :D i was just wondering how to get them in boxes like yours??

Its a custom postbit here:
https://vborg.vbsupport.ru/showthrea...light=Datahero

Quote:

Originally Posted by Robru (Post 2266979)
I don't use this mod, but thanks for your nice job :)

Thanks :D

BASHEER 11-12-2011 10:15 PM

Thanks man good job

Spectre_Aidan 11-13-2011 11:39 AM

thanks for that link Gav :D

bomber1614 11-14-2011 05:59 AM

Quote:

Originally Posted by GavoTrav (Post 2266651)
Reserved.

sorry if this offends you in anyway or anything but heres a code that you can add in the prestige code too

Code:

<img src="images/icons/prestige/cod4/$post[field7].png" alt="My CoD4 Prestige is $post[field7]" />
<img src="images/icons/prestige/waw/$post[field8].png" alt="My W@W Prestige is $post[field8]" />
<img src="images/icons/prestige/mw2/$post[field9].gif" alt="My MW2 Prestige is $post[field9]" />
<img src="images/icons/prestige/bo/$post[field10].png" alt="My Black Ops Prestige is $post[field10]" />
<img src="images/icons/prestige/mw3/$post[field11].png" alt="My MW3 Prestige is $post[field11]" />


and it will look like this : https://vborg.vbsupport.ru/


All times are GMT. The time now is 02:19 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.01099 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
  • (48)bbcode_code_printable
  • (4)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