Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Release] Graphical PM Representation Details »»
[Release] Graphical PM Representation
Version: , by SpeedStreet SpeedStreet is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-12-2003 Last Update: Never Installs: 0
 
No support by the author.

Well, there is code in the navbar template that is coded out, but instead of writing a hack, this can now be done using conditionals.

It's simple! Just modify this code to work with proper links in the navbar, and make sure you have two graphics that represent pms off and pms on!

PHP Code:
<if condition="$bbuserinfo[pmunread] == 0">
 <
img src="pmoff.gif"></img>
<else />
 <
img src="pmon.gif"></img>
</if> 
See how easy this is???

Show Your Support

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

Comments
  #12  
Old 10-12-2003, 06:27 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rynthar
Is it me, or has conditionals made it so you doing mods/hacks using templates only much more common?
Well that is their intended purpose. Increase the power of templates so more modifications can be made without editing the php code. The less people edit the code the easier your upgrades are and the better support is from us at Jelsoft.
Reply With Quote
  #13  
Old 10-12-2003, 08:12 PM
imported_rynthar imported_rynthar is offline
 
Join Date: Apr 2003
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol. Thank god Wayne. I am never ever ever going to forget upgrading from 2.2.9 to 2.3.0. About 45 hacks lost *sighs*
Reply With Quote
  #14  
Old 10-13-2003, 05:58 AM
imported_chuanse imported_chuanse is offline
 
Join Date: Feb 2003
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's a bummer :/
Reply With Quote
  #15  
Old 12-17-2003, 12:12 AM
Mike_XBLW Mike_XBLW is offline
 
Join Date: Dec 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK...I'm new to this...where do you put the conditionals?

Thanks
Reply With Quote
  #16  
Old 12-17-2003, 01:09 AM
Mike_XBLW Mike_XBLW is offline
 
Join Date: Dec 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike_XBLW
OK...I'm new to this...where do you put the conditionals?

Thanks
Never Mind, I figured it out
Reply With Quote
  #17  
Old 12-17-2003, 05:03 AM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, Unlike the last person, I dont get it.

Do I put this in the nabar template? If so, Where

Sorry, I dont understand the conditionals yet, and there doesn't seem to be documentation on vBulletin yet.

and I'm still pretty new to vBulletin as a whole.

Help!?!

Nevermind, I got it figured out
Reply With Quote
  #18  
Old 12-19-2003, 05:26 PM
Stylez's Avatar
Stylez Stylez is offline
 
Join Date: Mar 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice..im using this
Reply With Quote
  #19  
Old 01-13-2004, 10:16 PM
dano dano is offline
 
Join Date: May 2003
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MODS

Please delete this post now.
Reply With Quote
  #20  
Old 01-14-2004, 02:22 PM
u2page u2page is offline
 
Join Date: Dec 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the navbar template, look for this code:

<if condition="$show['pmstats']"><br />

Add the conditional in the first post after it. You'll need to upload the pmon.gif and pmoff.gif to your forum directory.
Reply With Quote
  #21  
Old 01-15-2004, 06:32 PM
sinclac sinclac is offline
 
Join Date: Sep 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SpeedStreet
Well, there is code in the navbar template that is coded out, but instead of writing a hack, this can now be done using conditionals.

It's simple! Just modify this code to work with proper links in the navbar, and make sure you have two graphics that represent pms off and pms on!

PHP Code:
<if condition="$bbuserinfo[pmunread] == 0">
 <
img src="pmoff.gif"></img>
<else />
 <
img src="pmon.gif"></img>
</if> 
See how easy this is???
I installed this hackin the navbar at http://www.landscapeforums.com but it only shows up on the forumhome navbar and not any of the others any ideas as to why it does this?

Chuck
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 10: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.06820 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete