vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Display OS and Browser Information on Postbit (https://vborg.vbsupport.ru/showthread.php?t=219687)

Charlie98902 07-29-2009 11:18 AM

I am using the opposite postbit style you are using and it isn't showing on my board.

onlyfree 07-29-2009 12:53 PM

Quote:

Originally Posted by Charlie98902 (Post 1857775)
I am using the opposite postbit style you are using and it isn't showing on my board.

Go on postbit or postbit_legacy template and put this where you want to have these stats
Code:


$template_hook[postbit_userinfo_right]


@developer. it would be nice if the user could block his os and browser generally for all his posts in his UCP :)

1320Nation 07-29-2009 12:58 PM

Not working....

Database error in vBulletin 3.7.3:

Invalid SQL:
CREATE TABLE `board_postinfo` (
`postid` INT( 6 ) NOT NULL ,
`os` VARCHAR( 20 ) NOT NULL ,
`browser` VARCHAR( 20 ) NOT NULL
) ENGINE = MYISAM ;;

MySQL Error : Table 'board_postinfo' already exists
Error Number : 1050
Request Date : Wednesday, July 29th 2009 @ 10:55:42 AM
Error Date : Wednesday, July 29th 2009 @ 10:55:42 AM
Script : http://www.*****.com/forums/admincp/...=productimport
Referrer : http://www.*****.com/forums/admincp/...?do=productadd
IP Address : ***.****
Username :********
Classname : vB_Database
MySQL Version : 5.0.45

Charlie98902 07-29-2009 01:14 PM

Quote:

Originally Posted by onlyfree (Post 1857803)
Go on postbit or postbit_legacy template and put this where you want to have these stats
Code:


$template_hook[postbit_userinfo_right]


@developer. it would be nice if the user could block his os and browser generally for all his posts in his UCP :)

Nope it is a not go. :(

Fighter1405 07-29-2009 02:03 PM

1 Attachment(s)
Quote:

Originally Posted by Charlie98902 (Post 1857775)
I am using the opposite postbit style you are using and it isn't showing on my board.

Quote:

Originally Posted by onlyfree (Post 1857803)
Go on postbit or postbit_legacy template and put this where you want to have these stats
Code:


$template_hook[postbit_userinfo_right]


That hook does already exist on the new postbit anyway, it should appear right under the post count. Does anything display there? Remember that if you are using quick reply it won't display until you refresh the page.

Quote:

Originally Posted by onlyfree (Post 1857803)
@developer. it would be nice if the user could block his os and browser generally for all his posts in his UCP :)

I'll take a look at implementing that later today :)

Quote:

Originally Posted by psychobike (Post 1857811)
Not working....

Database error in vBulletin 3.7.3:

Invalid SQL:
CREATE TABLE `board_postinfo` (
`postid` INT( 6 ) NOT NULL ,
`os` VARCHAR( 20 ) NOT NULL ,
`browser` VARCHAR( 20 ) NOT NULL
) ENGINE = MYISAM ;;

MySQL Error : Table 'board_postinfo' already exists
Error Number : 1050
Request Date : Wednesday, July 29th 2009 @ 10:55:42 AM
Error Date : Wednesday, July 29th 2009 @ 10:55:42 AM
Script : http://www.*****.com/forums/admincp/...=productimport
Referrer : http://www.*****.com/forums/admincp/...?do=productadd
IP Address : ***.****
Username :********
Classname : vB_Database
MySQL Version : 5.0.45

Sounds like you already have another mod that creates the postinfo table, try the version attached to this post that creates a 'browserosinfo' table instead.

1320Nation 07-29-2009 02:10 PM

No luck...same issue.

Database error in vBulletin 3.7.3:

Invalid SQL:
ALTER TABLE `browserosinfo` ADD PRIMARY KEY ( `postid` );

MySQL Error : Table 'vbulletin.browserosinfo' doesn't exist
Error Number : 1146
Request Date : Wednesday, July 29th 2009 @ 12:07:35 PM
Error Date : Wednesday, July 29th 2009 @ 12:07:35 PM
Script : http://*****.com/forums/admincp/plug...=productimport
Referrer : http://*****.com/forums/admincp/plug...?do=productadd
IP Address : ****
Username : ***
Classname : vB_Database
MySQL Version : 5.0.45

Fighter1405 07-29-2009 02:16 PM

1 Attachment(s)
Quote:

Originally Posted by psychobike (Post 1857858)
No luck...same issue.

Database error in vBulletin 3.7.3:

Invalid SQL:
ALTER TABLE `browserosinfo` ADD PRIMARY KEY ( `postid` );

MySQL Error : Table 'vbulletin.browserosinfo' doesn't exist
Error Number : 1146
Request Date : Wednesday, July 29th 2009 @ 12:07:35 PM
Error Date : Wednesday, July 29th 2009 @ 12:07:35 PM
Script : http://*****.com/forums/admincp/plug...=productimport
Referrer : http://*****.com/forums/admincp/plug...?do=productadd
IP Address : ****
Username : ***
Classname : vB_Database
MySQL Version : 5.0.45

Sorry, that's just me being silly and not testing the version I changed for you. Missing the TABLE_PREFIX. Try this version I uploaded now, and we'll see if we have better luck this time :p

apiasto 07-29-2009 02:27 PM

i tried (5) on 3.8.3 and got this error

MySQL Error : Unknown column 'browserosinfo.browser' in 'field list'
Error Number : 1054

Charlie98902 07-29-2009 02:36 PM

I got the original to work and the new one you just posted to create a table gives me a database error.

Charlie98902 07-29-2009 02:42 PM

Fighter1405

I did notice from the original plugin that if you use the quick reply it won't show the OS to you until you hit f5. Also the other thing I have noticed is that it doesn't update older posts. Can this be accomplished?


All times are GMT. The time now is 12:38 PM.

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.01240 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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