Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Call of duty prestiges in postbit Details »»
Call of duty prestiges in postbit
Version: 2.00, by GavoTrav GavoTrav is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 11-09-2011 Last Update: Never Installs: 6
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.


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



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:





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:


__________________________________________
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:



______________________________________

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:



_______________________________________

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:



_______________________________________

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:



____________________________________

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



____________________________________

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!)


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!

Download Now

File Type: zip prestige by GavoTrav.zip (229.7 KB, 81 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-10-2011, 06:00 PM
GavoTrav's Avatar
GavoTrav GavoTrav is offline
 
Join Date: Jun 2011
Location: Ireland
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 11-10-2011, 06:26 PM
Spectre_Aidan Spectre_Aidan is offline
 
Join Date: Jul 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this ill install this 2moz marked as reserved till istalled
Reply With Quote
  #4  
Old 11-11-2011, 12:48 AM
GavoTrav's Avatar
GavoTrav GavoTrav is offline
 
Join Date: Jun 2011
Location: Ireland
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spectre_Aidan View Post
thanks for this ill install this 2moz marked as reserved till istalled
Okay thanks, If you need any help PM me or reply here!
Reply With Quote
  #5  
Old 11-11-2011, 08:09 AM
Spectre_Aidan Spectre_Aidan is offline
 
Join Date: Jul 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://screensnapr.com/v/bqmd2m.png installed and working i was just wondering how to get them in boxes like yours??
Reply With Quote
  #6  
Old 11-11-2011, 04:46 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't use this mod, but thanks for your nice job
Reply With Quote
  #7  
Old 11-11-2011, 08:42 PM
GavoTrav's Avatar
GavoTrav GavoTrav is offline
 
Join Date: Jun 2011
Location: Ireland
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spectre_Aidan View Post
http://screensnapr.com/v/bqmd2m.png installed and working 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 View Post
I don't use this mod, but thanks for your nice job
Thanks
Reply With Quote
  #8  
Old 11-12-2011, 10:15 PM
BASHEER BASHEER is offline
 
Join Date: Nov 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man good job
Reply With Quote
  #9  
Old 11-13-2011, 11:39 AM
Spectre_Aidan Spectre_Aidan is offline
 
Join Date: Jul 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for that link Gav
Reply With Quote
  #10  
Old 11-14-2011, 05:59 AM
bomber1614 bomber1614 is offline
 
Join Date: Oct 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GavoTrav View Post
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 :
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06133 seconds
  • Memory Usage 2,352KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (48)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete