vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Forbid Users from Posting Links or Images if They Have Fewer than 15 Posts (https://vborg.vbsupport.ru/showthread.php?t=178611)

Charlie98902 10-02-2008 10:59 PM

Quote:

Originally Posted by Keyser S?ze (Post 1636019)
yea, the msg go to lang & phrases, its in global i think but i dont recall the exact name

Couldn't find it that way but used the phrase then replace with option below the search and that did it thank you again.

bluidkiti 10-03-2008 02:12 AM

Fantastic! I love it and have installed it! I did change the post count and it seems to work fine. Thanks a bunch! :-)

Keyser S?ze 10-03-2008 07:47 AM

i think my question got missed, in a future release can u make it also block edonkey links?

ed2k://

reggiemental 10-03-2008 08:23 AM

Hope someone can advise. I normally have to employ a programmer to update my site etc. but my small budget is once again exhausted. (I run a not-for-profit music forum).

I've been too frightened to try and install anything myself for fear of screwing up the forum but I need to do something about the spammers, who are taking all my time up at the moment.

Is this plug-in just a case of going to: Plugins & Products > Manage Products and then uploading the XML file? Or, is there more to it than that? I notice the authors of plug-ins always ask for people to click on 'installed' but not sure where, or how this is done.

I'd appreciate any advice you can offer as I feel like a fish out of water in this forum. :rolleyes:

Paul

Artes_Marciales 10-04-2008 07:07 AM

Simple but Great MOD!!

Delphiprogrammi 10-04-2008 10:56 AM

the code in this product will NOT stop images ...

komirad 10-05-2008 03:55 AM

To block images (I also changed the post needed to 3):

Line 18
Code:

if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
Line 29:
Code:

if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'@') or stristr($pagetext,'[at]') or stristr($pagetext,'http://')))
and Line 40, change the error message:
Code:

<phrase name="error_nourlallowed"><![CDATA[You are only allowed to post URLs or images you have made 3 posts or more.]]></phrase>

komirad 10-05-2008 03:57 AM

Quote:

Originally Posted by reggiemental (Post 1636315)
Hope someone can advise. I normally have to employ a programmer to update my site etc. but my small budget is once again exhausted. (I run a not-for-profit music forum).

I've been too frightened to try and install anything myself for fear of screwing up the forum but I need to do something about the spammers, who are taking all my time up at the moment.

Is this plug-in just a case of going to: Plugins & Products > Manage Products and then uploading the XML file? Or, is there more to it than that? I notice the authors of plug-ins always ask for people to click on 'installed' but not sure where, or how this is done.

I'd appreciate any advice you can offer as I feel like a fish out of water in this forum. :rolleyes:

Paul

Yea, just add the product using manage products for this.
There are other mods which require you to upload files through FTP or some other file manager, but not this.

Clicking installed is below their top post.
You will recieve updates about the mod if you click on it.
The install count is probably use to track the popularity of the mod as well.

giorgioarmani 10-05-2008 06:49 AM

Can it be configured to a different number of posts?

Delphiprogrammi 10-05-2008 09:26 AM

Quote:

Originally Posted by komirad (Post 1637565)
To block images (I also changed the post needed to 3):

Line 18
Code:

if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'http://')))
Line 29:
Code:

if (($vbulletin->userinfo[posts] < 3) and (stristr($pagetext,'[url') or stristr($pagetext,'[URL') or stristr($pagetext,'[img') or stristr($pagetext,'[IMG') or stristr($pagetext,'www.') or stristr($pagetext,'@') or stristr($pagetext,'[at]') or stristr($pagetext,'http://')))
and Line 40, change the error message:
Code:

<phrase name="error_nourlallowed"><![CDATA[You are only allowed to post URLs or images you have made 3 posts or more.]]></phrase>

correct but thehack should not be advertised as it blocks images while it does not ....


All times are GMT. The time now is 05: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.01289 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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