vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   "New" Form of Spam (https://vborg.vbsupport.ru/showthread.php?t=255348)

Boofo 12-18-2010 04:34 AM

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?

Digital Jedi 12-18-2010 04:40 AM

Quote:

Originally Posted by Boofo (Post 2135768)
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.

Boofo 12-18-2010 05:10 AM

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.

Digital Jedi 12-18-2010 05:25 AM

Quote:

Originally Posted by Boofo (Post 2135779)
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?

Boofo 12-18-2010 05:35 AM

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.

Digital Jedi 12-18-2010 05:39 AM

Heheh, I was actually in the middle of doing that. :) I'm just getting sleepy and I'm apparently not writing my syntax correctly.

Boofo 12-18-2010 06:12 AM

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));


onehost 12-20-2010 04:40 AM

Quote:

Originally Posted by Digital Jedi (Post 2135751)
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. https://vborg.vbsupport.ru/external/2010/12/29.png

--------------- 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....

Digital Jedi 12-20-2010 04:59 AM

Quote:

Originally Posted by onehost (Post 2136696)
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?

vijayninel 12-22-2010 07:48 AM

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.


All times are GMT. The time now is 01:53 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.01616 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
  • (3)bbcode_code_printable
  • (4)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