Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 12-18-2010, 04:34 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought so, too, but it still showed the visitor messaging in the profile until I disabled it in each of the usergroups. There was no option to disable it anywhere in the settings. It would have made it easier if there was.

I have a question about the delete user link you posted, will it come up with a box to make sure you want to delete it before it deletes it?
Reply With Quote
  #22  
Old 12-18-2010, 04:40 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I thought so, too, but it still showed the visitor messaging in the profile until I disabled it in each of the usergroups. There was no option to disable it anywhere in the settings. It would have made it easier if there was.

I have a question about the delete user link you posted, will it come up with a box to make sure you want to delete it before it deletes it?
It's actually just a link to the Delete User Profile option in Admin CP's Edit User Profile dropdown menu. So yes, it takes you to a confirmation message first.
Reply With Quote
  #23  
Old 12-18-2010, 05:10 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good. I didn't want to test it until I was sure. Also, I tried to use {vb:raw admincpdir} for the admin directory name for those that have their admincp directory renamed, but it doesn't seem to work there.
Reply With Quote
  #24  
Old 12-18-2010, 05:25 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Good. I didn't want to test it until I was sure. Also, I tried to use {vb:raw admincpdir} for the admin directory name for those that have their admincp directory renamed, but it doesn't seem to work there.
Code:
{vb:raw admincpdir}/user.php?{vb:raw session.sessionurl}do=remove&u={vb:raw userinfo.userid}
...didn't work?
Reply With Quote
  #25  
Old 12-18-2010, 05:35 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, since the admincpdir variable is not pre-registered in the MEMBERINFO template. I added a plugin to the member_start hook that assigns it and pre-registers it and then it works.
Reply With Quote
  #26  
Old 12-18-2010, 05:39 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heheh, I was actually in the middle of doing that. I'm just getting sleepy and I'm apparently not writing my syntax correctly.
Reply With Quote
  #27  
Old 12-18-2010, 06:12 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this to the member_start hook and you can use the admincp variable:
Code:
$admincpdir = $vbulletin->config['Misc']['admincpdir'];

vB_Template::preRegister('MEMBERINFO', array('admincpdir' => $admincpdir));
Reply With Quote
  #28  
Old 12-20-2010, 04:40 AM
onehost onehost is offline
 
Join Date: Jul 2006
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
For vBulletin 4.x, try adding this block of code in red to that same MEMBERINFO template:

Code:
				<vb:if condition="$show['edit_profile']">
<a href="admincp/user.php?{vb:raw session.sessionurl}do=remove&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol"><img src="{vb:stylevar imgdir_misc}/cross_red.png" alt="Delete User Profile" /></a>

				<a href="moderator.php?{vb:raw session.sessionurl}do=useroptions&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol"><img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="{vb:rawphrase edit_user_profile}" /></a>
				</vb:if>
Also, add this image to your images/misc directory.

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



Matter of preference, really. I'm not concerned about Search Engines, myself. It's the links themselves I don't want. Particularly when all of it is just scams, consumer traps, malware or porn. I don't want my users finding their way there just from perusing a new user's profile.
still does not work.

and while adding this, someone signed up just to drop their link in...

how nice of them...

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

I think this is too much trouble anyway...

I need a mod that can control the use of profile sig usage
lets say until they reach some post limit....
Reply With Quote
  #29  
Old 12-20-2010, 04:59 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by onehost View Post
still does not work.

and while adding this, someone signed up just to drop their link in...

how nice of them...

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

I think this is too much trouble anyway...

I need a mod that can control the use of profile sig usage
lets say until they reach some post limit....
Really no reason why it shouldn't work. It's just pasted in code in the MEMBERINFO template. You don't have anything modifying your profiles layout, do you?
Reply With Quote
  #30  
Old 12-22-2010, 07:48 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the tip Digital Jedi. This is one weakness the spammers have found in our armour.

We need a feature by which spammers cannot post links in their profiles without a minimum number of posts.
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 02:35 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.06786 seconds
  • Memory Usage 2,281KB
  • Queries Executed 12 (?)
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
  • (3)bbcode_code
  • (4)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
  • (3)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