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)
-   -   End-User Options - MW2 Prestige Ranks in Postbit (https://vborg.vbsupport.ru/showthread.php?t=246304)

Khalid-B 07-10-2010 10:00 PM

MW2 Prestige Ranks in Postbit
 
1 Attachment(s)
MW2 Prestige Ranks in Postbit




What does it do? Just for fun..

Installation

Make a profile field through ACP > User profile Fields > Add new user profile field


Single-Line Text Box

Title: What Prestige you are now?

Description: Tell us your level prestige you are now.
<BR>For Example...<BR>
prestige1 for 1st prestige10 for 10th

Field Required: your choice

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

Which page displays this option? Edit Your Details


Now edit your postbit_legacy templet and search for .......... (or your own Choice)



PHP Code:

        <if condition="$show['avatar']">
                <
div class="smallfont">
                    &
nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
                </
div>
            </if> 

underneath add this .....

PHP Code:

<if condition="$post[field?]"><div class="smallfont"><fieldset><legend>My MW2 Prestige</legend>
    <
div>
    <
img src="http://yourforum.com/forum/images/mw2/$post[field?].png"></div>


</if>

</
fieldset

Dont forget to change field? with user profile field ID


Now Upload contents of upload folder mw2 to your forum/images/ directory


PSD is included so you guys can change size or any thing ...

CharlieDelta 07-21-2010 05:19 PM

Will this work for version 4x?

Khalid-B 07-22-2010 08:38 AM

yes it will

CharlieDelta 07-22-2010 06:16 PM

I tried but keep getting a path error. I made sure that the field entry was correct and changed "yourforum" to match my own.
Have you tried or are using this on version 4x?

CharlieDelta 07-24-2010 12:19 AM

nosherwan you there??

Khalid-B 07-27-2010 12:36 PM

yes i tried 4x and working fine for me ........... may be u are missing some thing.... can u tell me error msg that u r getting ?

CharlieDelta 07-27-2010 07:29 PM

Here is what I get when I try to save the style change.


http://www.canadianriflesregiment.co...tige error.png

CharlieDelta 07-29-2010 07:41 PM

nosherwan?

Khalid-B 08-02-2010 07:36 PM

Quote:

Originally Posted by CharlieDelta (Post 2076473)
nosherwan?

please follow this link....

https://vborg.vbsupport.ru/showthread.php?t=247827

CharlieDelta 08-02-2010 10:24 PM

Quote:

Originally Posted by nosherwan9 (Post 2078278)

Thank you mate.


All times are GMT. The time now is 06:40 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.01110 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_php_printable
  • (2)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