Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 12-13-2005, 03:28 AM
Zilvia's Avatar
Zilvia Zilvia is offline
 
Join Date: Apr 2002
Location: Denver, CO
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 12-13-2005, 09:50 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 12-13-2005, 10:23 PM
Zilvia's Avatar
Zilvia Zilvia is offline
 
Join Date: Apr 2002
Location: Denver, CO
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant do that.
Reply With Quote
  #4  
Old 12-14-2005, 12:28 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-14-2005, 01:26 AM
Zilvia's Avatar
Zilvia Zilvia is offline
 
Join Date: Apr 2002
Location: Denver, CO
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 12-14-2005, 09:51 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 12-19-2005, 07:16 PM
Zilvia's Avatar
Zilvia Zilvia is offline
 
Join Date: Apr 2002
Location: Denver, CO
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone willing to do this hack?
Reply With Quote
  #8  
Old 12-19-2005, 08:29 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 12-19-2005, 09:10 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

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:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04148 seconds
  • Memory Usage 2,231KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete