Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 03-23-2012, 06:05 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version do you have because that code is directly out of vb3.8.6 and i haven't added any folders for members..etc

Want to give me access so i can give it a whirl? pm me if you do

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

its working in my "About me" here http://www.thecodecage.com/forumz/me...mon-lloyd.html

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

Maybe replace the url stuff in the text area with this [url=$vboptions[bburl]/members.php?u=$userinfo[userid].html]$userinfo[username]'s profile[/url]
Reply With Quote
  #12  
Old 03-24-2012, 02:01 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope...that wont work, pm sent.
Reply With Quote
  #13  
Old 03-24-2012, 08:35 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed in your test forum
Reply With Quote
  #14  
Old 03-24-2012, 01:54 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks...You did get link working right for me but, any member that has info filled in the about me tab, their page is all messed up & the message area is not showing at all.... lol
Look at my profile which has the about me tab & here is your profile on my test site without About me info filled in.

I think I may add your code to its own popup page & have it say "This Profile has been Reported" and add a close window button or a timed close on the popup.

I will pm you there the info you requested.
Reply With Quote
  #15  
Old 03-24-2012, 02:21 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked both, both looked ok, i clicked the report button in yours and it was reported to me, i clicked mine and it was reported to me, checking back at profile about me tabs they still looked ok can you screenshot me please?

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

All fixed now as i found what you mean, i have also edited your post in your mods forum to reflect the new code
Reply With Quote
  #16  
Old 03-25-2012, 02:19 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Simon, hopefully this is what Fluke667 is looking for.

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

Guest can see button but get a no permission error when clicked.
Basicly, it just sends you a pm when a member reports a member profile.

Use Simon's code posted above for 3.8.7 to replace your memberinfo_block_aboutme template.

Those that use 3.8.4 and some below can use Simons code below to replace your memberinfo_block_aboutme template.

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>
<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<else />
<form action="private.php?do=insertpm&amp;pmid=$pm[pmid]" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>


<textarea style="display: none;" id="pmrecips_txt" name="recipients" rows="1">Add your username here</textarea>

<input type="hidden" class="bginput" name="title" value="Suspect Info" size="50" maxlength="85" tabindex="1" /> <!-- message area -->
<div style="display: none;">$messagearea = <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 /member.php?u=$userinfo[userid]]$userinfo[username]'s profile
as it contains suspect material</textarea></div>
$messagearea
<!-- / message area -->

<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<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="submit" class="button" name="sbutton" id="{$editorid}_save" value="Report This Info" accesskey="s" tabindex="1" />
</div>
</td>
</tr>
</table>
</form>
</if>
</div>
Reply With Quote
  #17  
Old 03-25-2012, 09:38 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doh!, i forgot to add unregistered to the conditional! but it wont be hard for people to edit that
Reply With Quote
  #18  
Old 03-25-2012, 01:43 PM
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lets check this out

But its PM? Can this be a thread in a forum/subforum?
Reply With Quote
  #19  
Old 03-25-2012, 04:55 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For it to be a thread it would have to be a plugin, it would be easier (and better because of customistation) if you had easy forms installed and the button opened a specific form which they'd fill in and when submit is clicked you can choose whether it is sent as an email, pm'd or new thread
Reply With Quote
  #20  
Old 03-25-2012, 05:08 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

You can add the Report link as shown in the image below or wherever you want it to show, when using easy forms.





Didn't see you post Simon, sorry. I was afk when I started writting my post
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:48 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.04531 seconds
  • Memory Usage 2,264KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete