![]() |
Profile Report
I've looked around and couldn't find anything, so decided to post here.
I'm in need of a mod that would allow members to be able to file a general misconduct report on a user from their profile in the same manner that posts are reported. Thanks! :) |
Bump here. :)
|
Bumping to see if anyone can help. :)
|
If no one has replied is because no one wants to make it so might be best to try posting in paid section
|
I pm'd Elixar, I thought this was a paid request....
|
Your a gent eddie
|
Replied to you Eddie.
|
Just bumping this up. :)
|
Sorry, when I get home tonight, I will show you what I have... I am having a security token issue with but, the proper info is there to fix it... I thought.
Hopefully someone can look at it to see why., |
Quote:
|
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 See post #15 for 4.2 xml |
That's exactly what I was wanting, booo though to the error. Hopefully someone will be able to assist. :)
|
Is this correct for vb4
HTML Code:
value="$bbuserinfo[securitytoken]" --------------- 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. |
I won't mess with the code since I'd rather not blow anything up. :D
|
1 Attachment(s)
I forgot about this, sorry.
It now works with vb4.2.2. |
Quote:
|
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. |
Comes up on my site pity would of like to use the plugin
|
I'm getting that error as well.
|
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" /> The "vb:raw user.userid" code is the one I just can not get correct to show the proper userid of the reprted profile. |
I think what you want is, {vb:raw prepared.userid} instead of {vb:raw user.userid}
On a side note, the error Warning: fetch_template, is being caused by this line in the XML: Code:
$vbulletin->templatecache['memberinfo_block_ministats'] = str_replace($rui_button,fetch_template('report_user_info_button'),$vbulletin->templatecache['memberinfo_block_ministats'].$rui_button); |
I swear I tried prepared.userid... it worked, Thanks oZZy.
Not sure why I am not getting that error. |
TBH, it does not work for me at all in vB4.
|
It won't work at all?
|
Not for me, it actually breaks the sideblock in the users profile.
|
Quote:
EDIT: I don't see the Report option on the profile, and I'm getting the error in the header. |
TBH I am not even sure how Eddie has it working at all in vB4, with the fetch_template call.
|
I see you uploaded a new version eddie in post 15 put the same error is still there
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 |
Yep, and the funny thing is, it is working on his site, and I have no idea why. :confused:
|
maybe because he has no other custom plugins not sure if that is why it works for him
|
No honestly that should not matter, the fetch_template call has not worked at all in vB4 as far as I know. That is one of the reasons most of the mods for vB3 will not work in vB4. That was replaced by rendering templates and registering variables.
|
Humor me a minute...
Open your memberinfo_block_ministats template Find: Code:
</vb:if> </vb:comment> Add below: Code:
<!-- Report Profile Start --> |
Yes it works, cause you added the code directly to the template, instead of relying on the plugin to add it. :)
|
So that should make the plugin work?
|
If this is the way you done it Eddie without using the plugin, then this is why it is working for you. Maybe someone can recode this for 4.2.2
|
No, remove the plugin & follow instructions I posted above to add the code to the template without the need for a plugin.
|
Would rather have it as a working plugin
|
Quote:
I will give you access if you would like. I just added the template code so others could use it for now, until it is re-written. I would rather hard code then use plugins anyday..... how else will you learn how it all works..... I learn everyday. |
It is good, but was really hoping for the form you could file. Meh, I'll have to make do with another way I guess for now.
|
We are working out the details to get this properly updated to vB4.
It may be a few days though. :) |
All times are GMT. The time now is 04:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|