Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
[BB Code] Browser Details »»
[BB Code] Browser
Version: 1.00, by Coroner Coroner is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.1 Rating:
Released: 03-04-2009 Last Update: Never Installs: 13
 
No support by the author.

This is a Browser BB Code.

It will draw a small box with informations about the Users (post viewing) browser.

How To:
Go into you AdminCP and add a new BB Code:

Title: Browser
BB Code Tag Name: browser
Replacement:
PHP Code:
<table cellpadding="6" cellspacing="1" class="tborder" border="0"><tr><td class="alt2" align="left">
 <
script type="text/javascript">
document.write ("Browser: " navigator.appName "<br />");
document.write ("User Agent: " navigator.userAgent "<br />");
document.write ("Platform: " navigator.platform "<br />");
 </
script>
</
td></tr></table
Example: [BROWSER}{/BROSWER]
Description: The Browser Info BBCode shows information about the viewers browser.
Use {option}: No
Button Image: ---

Remove Tag If Empty: No

Use [ instead of { and ] instead of } in the example.

Screenshots

File Type: jpg Bild 1.jpg (18.9 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 03-05-2009, 05:59 AM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work, thank you
Reply With Quote
  #3  
Old 03-05-2009, 06:46 AM
RamisK RamisK is offline
 
Join Date: Jan 2009
Location: Holland
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work. Thanks
Reply With Quote
  #4  
Old 12-04-2009, 01:46 AM
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

neat
Reply With Quote
  #5  
Old 12-04-2009, 02:23 AM
marshal_ramdev marshal_ramdev is offline
 
Join Date: Mar 2009
Location: Ludhiana
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks .. good one
Reply With Quote
  #6  
Old 01-07-2010, 04:42 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NICE ONE!! installed
Reply With Quote
  #7  
Old 01-11-2010, 07:51 PM
SilabGarza SilabGarza is offline
 
Join Date: Sep 2009
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

who's info does it show?
the poster or the 1 looking at the post?
Reply With Quote
  #8  
Old 08-08-2014, 06:20 PM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea if this would only display to admin\mods only?
Reply With Quote
  #9  
Old 08-09-2014, 12:10 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the same code as above but, I added an if conditional around code.
This will only show it to admins (6)
To add other usergroups add a comma after usergroup id, example: 1,2,3,4,5,6,7



Code:
 <if condition="$post['usergroupid'] == 6">
<table cellpadding="6" cellspacing="1" class="tborder" border="0">
<tr><td class="alt2" align="left">
 <script type="text/javascript">
document.write ("Browser: " + navigator.appName + "<br />");
document.write ("User Agent: " + navigator.userAgent + "<br />");
document.write ("Platform: " + navigator.platform + "<br />");
 </script>
</td>
</tr>
</table>
</if>
Reply With Quote
2 благодарности(ей) от:
cheech47, tbworld
  #10  
Old 08-09-2014, 06:13 AM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers :up:
Reply With Quote
Reply

Thread Tools

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 07:06 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.07491 seconds
  • Memory Usage 2,301KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (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
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete