vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Usernote in Postbit (https://vborg.vbsupport.ru/showthread.php?t=298838)

jluerken 06-07-2013 04:35 PM

Usernote in Postbit
 
Hi,

I managed to bring the Usernotes in top of the Tabs in the Memberprofile.
We do this because we were searching for a way for the staff to add hidden info about an user. This works very well but now I want additionaly to show a small icon only to mods in the postbit area if a user has a note.

So how can I:

check if a user has a note and if yes show an image/link to that note?

vbulletin 4.2.x PL3

Kind regards
jluerken

Zachery 06-07-2013 07:12 PM

I don't think note count is stored or accessible outside of the memberinfo template.

You'd need to have a plugin to check for the note count value, and if there is one run another query to grab that notes data and include it for display in the postbit.

jluerken 06-08-2013 05:49 AM

I am willed to add a plugin, no problem.
Issue is I have no idea how this is working.
Maybe one of the other coders can write me the code snippet here?

jluerken 06-10-2013 07:23 AM

Anyone an idea?


All times are GMT. The time now is 07:02 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.00965 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete