vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Restrict Ebay Linking to specific Usergroups? (https://vborg.vbsupport.ru/showthread.php?t=102843)

Zilvia 12-13-2005 03:28 AM

Restrict Ebay Linking to specific Usergroups?
 
A member of my team has suggested that restricting Ebay linking could have its benefits, mainly to defeat the scammers or roamers that post links to ebay in our For Sale section and never return, not adding anything but clutter to our forums.

Rather than banning it outright, could someone make a hack that would restrict Ebay links to members not in a specific usergroup or required to have xx posts, or similar?

Another twist to this, would have it be that a specific usergroup's posts in our "Marketplace" or "For Sale" sections would have a highlighted post.

peterska2 12-13-2005 09:50 AM

have you thought about using forum perssions for that forum set to something like:
can view forum: yes
can view others threads: yes
can view thread content: yes
can post new threads: no
can post replies: no

this will allow them to view the forum as normal but not post in there at all until they reach the desired number of posts to be promoted to the usergroup that allows posting in that forum.

Zilvia 12-13-2005 10:23 PM

Cant do that.

peterska2 12-14-2005 12:28 AM

Why?
Do you get errors?
Need additional permissions?
Don't want another usergroup?
Don't understand what I said?
Or something else?

You will find a little more detail (or in this case a lot more detail as you haven't given any clue as to what you mean) will go a long way in people helping you.

Zilvia 12-14-2005 01:26 AM

No sorry, I dont want to disable the rights to post for a usergroup.

My best solution would be my 2nd mentioned twist to the hack. Which would highlight Paid Members posts in our Marketplace forums.

peterska2 12-14-2005 09:51 PM

It should be possible to do it that way, but it's not something that I'll be able to write up for you.

Just as a heads up though, if you don't want certain usergroups to post ebay links then the only way to stop it completely will be to prevent their posting in that forum. This is coz even if you just stop them from posting new threads then they will just hijack threads and put their ebay links in other threads which IMO completely defeats the object.

Zilvia 12-19-2005 07:16 PM

Anyone willing to do this hack?

007 12-19-2005 08:29 PM

It's fairly simple. Just add a plugin with an opening if statement to specify the "non ebay posting" usergroup. If a post or sig is found, it will be removed.

I'd do a preg_replace to replace ebay urls to redirect back to your own site, or just remove them entirely. You could also have it replace the ebay link with "Please do not post links to eBay until you have reached X posts).

It's also possible to catch these links before they post them, but I haven't messed around with those plugins personally.

Hope that puts you in the right direction. :)

-=Sniper=- 12-19-2005 09:10 PM

I suggest you post at https://vborg.vbsupport.ru/forumdisplay.php?f=30 as a service request if can't code.


All times are GMT. The time now is 08:24 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
  • Page Generation 0.01096 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete