vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Profile Report (https://vborg.vbsupport.ru/showthread.php?t=308994)

blind-eddie 03-08-2014 03:16 PM

1 Attachment(s)
Simon Lloyd added this to my 3.8 test site a year or two ago, I don't remember.
He gave me permission to share this with you.

It does however work on 3.8
It is loaded on my heavily modified 3.8 test site

Code:

http://blind-eddie.com/forum/member.php?u=1

login: Test Account One
password: 00000000


See post #15 for 4.2 xml

Elixar 03-08-2014 08:04 PM

That's exactly what I was wanting, booo though to the error. Hopefully someone will be able to assist. :)

Simon Lloyd 03-09-2014 06:59 AM

Is this correct for vb4
HTML Code:

value="$bbuserinfo[securitytoken]"
take a look at the pm template and see how the security token is delivered there ;)

--------------- Added [DATE]1394348506[/DATE] at [TIME]1394348506[/TIME] ---------------

Also if you want your users to be able to give their own message about the profile..etc there's an easy change to the code to amend that.

Elixar 03-12-2014 03:39 PM

I won't mess with the code since I'd rather not blow anything up. :D

blind-eddie 03-12-2014 08:05 PM

1 Attachment(s)
I forgot about this, sorry.

It now works with vb4.2.2.

ForceHSS 03-12-2014 08:29 PM

Quote:

Originally Posted by blind-eddie (Post 2486760)
I forgot about this, sorry.

It now works with vb4.2.2.

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: report_user_info_button in ..../includes/functions.php on line 4591

blind-eddie 03-12-2014 08:44 PM

That's odd, I do not have that error.
It is the only thing installed on the 4.2.2 test site.

I uninstalled & reinstalled, I can not reproduce that error message.

ForceHSS 03-12-2014 09:20 PM

Comes up on my site pity would of like to use the plugin

Elixar 03-12-2014 11:42 PM

I'm getting that error as well.

blind-eddie 03-13-2014 02:02 AM

Note: I am not getting the error you are getting.

I guess it is not working on 4.2.2 as I thought.
I tested this on a 4.2.2 test site with just me on it, therefore it worked great on my account.
When adding a new member to the equation things changed a bit.
When I reported the other member profile page it would show his name in the pm but, my userid.

I have tried everything but the right thing to get this to show the correct userid but I just can't seem to get it.

In the 4.2.2 xml the following code is the code I am having difficulty with.

HTML Code:

<input type="hidden" name="title" value="Reporting Suspect Info" maxlength="85" style="width:60%" tabindex="1" />       
<div style="display: none;"><textarea name="message" rows="2" cols="20" style="width:100%; height:100px" tabindex="1" class="tarea">Please check the Profile page of [url="{vb:raw vboptions.bburl}/member.php?{vb:raw session.sessionurl}u={vb:raw user.userid}"] {vb:raw userinfo.username} [/url] as it contains offensive material.</textarea>



The "vb:raw user.userid" code is the one I just can not get correct to show the proper userid of the reprted profile.


All times are GMT. The time now is 07:06 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.01096 seconds
  • Memory Usage 1,741KB
  • 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)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)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