vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Add Report Button in User Profile (https://vborg.vbsupport.ru/showthread.php?t=280479)

Fluke667 03-21-2012 11:37 PM

Add Report Button in User Profile
 
I want Add the Report Button to User Profiles... (member.php)

Any1 got a idea howto do this?

blind-eddie 03-22-2012 02:39 AM

There is nothing like this that I am aware of for just the profile page itself.
You can always add a link for members to send you a pm and name it Report Profile or set up ez forms on your board and add a link to the form that members can fill out. You can get pm'd or a new post made about the reported profile or both.

Fluke667 03-22-2012 03:22 AM

i want report button cause so much users register with porn or other forbidden avatar in my family forum

blind-eddie 03-22-2012 03:37 AM

Set your permissions to not allow avatars without a set post count.
Moderate your new members....

Link below is to stop spammers from joining your site, though its for 3.6 vbulletin, it will work for all vbulletin up to 4.0(not confirmed, I don't use 4.0)

https://vborg.vbsupport.ru/showthread.php?t=176481

Fluke667 03-23-2012 01:18 AM

Im unhappy with this... its not only the pornographic avatar they use bad nicknames profile image too or they write crap in the "about me" Tab in Profile ...

Moderate new Members not Help me ...

I want the Report Button, there is no other way

blind-eddie 03-23-2012 01:46 AM

I have searched around quite a bit with no luck.
I can help you set up a link in your MEMBERINFO template for members to send you a pm when they come across profiles as you stated. Or I can help you add Easy Forms(3.8) or Easy Forms(4.0) and create your own report form with a link named Report profile added to the MEMBERINFO template for members to click, fill out & submit to either a pm to you on, an existing thread or create a new thread in a forum you pick.

But, none of this will stop anyone from doing what you stated, it only reports it.
If you set your permissions correctly, you should not have this problem.

You can also make a request in the Requests For Paid Services or in the Modification Requests/Questions (Unpaid) forums.

I do understand your frustrations, but It is up to you to stop it, not vbulletins. You can stop all that you stated with ease with default vbulletin & a couple addons.
I have 4 vbulletin sites & get little to no spam what so ever & never do I get what you stated you are getting.....Good luck

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

This is what you are after?

https://vborg.vbsupport.ru/

Simon Lloyd 03-23-2012 12:12 PM

Right, here goes' replace ALL of your memberinfo_block_aboutme with this
Quote:

<div class="alt1 block_row">
<if condition="$show['simple_link']">
<div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme&amp;simple=1">$vbphrase[view_your_about_me]</a></div>
</if>
<if condition="$show['edit_link']">
<div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&amp;tab=aboutme">$vbphrase[edit_your_about_me]</a></div>
</if>
<ul class="list_no_decoration">
$block_data[fields]
<if condition="$prepared['signature']">
<li class="profilefield_category">
$vbphrase[signature]
<dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
</li>
</if>
</ul>
<form action="private.php?do=insertpm&amp;pmid=$pm[pmid]" method="post" name="vbform" onsubmit="doubleSubmit(this)">
$pm[recipients]
<div id="pmrecips" style="display: none"><textarea id="pmrecips_txt" name="recipients" rows="2" cols="50" tabindex="1">Simon Lloyd;</textarea></div>
<div>

<input type="hidden" name="title" value="Reporting Suspect Info" maxlength="85" style="width:60%" tabindex="1" />

<textarea name="message" rows="2" cols="20" style="width:100%; height:100px" tabindex="1" class="tarea">Please check the "About Me" in the user profile of [url=$vboptions[bburl]/members/$userinfo[username].html]$userinfo[username]'s profile[/url] as it contains suspect material</textarea>
<div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="insertpm" />
<input type="hidden" name="pmid" value="$pm[pmid]" />
<input type="hidden" name="forward" value="$pm[forward]" />
<input type="hidden" name="receipt" value="0" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" class="button" name="sbutton" value="Report This Info" accesskey="s" tabindex="1" />
</div>
</div>
</form>
</div>
This will put a button at the bottom of the info and when pressed will pm the person you set in the code (the bold Red area that has my name, change that :)

I used quote tags because i wanted to keep the formatting

blind-eddie 03-23-2012 02:37 PM

If you do not use .html or a folder for users, (Unless 3.8.7 is different)change the URL in the textarea section above to the following.

HTML Code:

[url=$vboptions[bburl]/member.php?$session[sessionurl]u=$bbuserinfo[userid]"]$userinfo[username][/url]
Forget my edit, it wont work, it shows your user id on all members pages.

Simon Lloyd 03-23-2012 03:21 PM

Tim, the .html is the vbulletin standard the url i show
HTML Code:

[url=$vboptions[bburl]/members/$userinfo[username].html]$userinfo[username]'s profile[/url]
should be fine in at least all vb3.8 and it's simply a link to the users profile :)

blind-eddie 03-23-2012 03:42 PM

I get a 404 using your code.
Everything I try only shows my user ID in all members pages.
What you posted shows you have a members folder & .html to member pages, which I don't have & have never seen one in any version of vbulletin I have used since 3.5 that I can remember.

I like the idea of adding the report button as I am sure Fluke667 will as well. Thank you.
I just can't get it to work with your code nor any I try regarding a link to other users profiles...


All times are GMT. The time now is 08:00 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.01120 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
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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