Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[5/9/2011] MARCO1 Hide All with Usergroups permission - Messages Manager Details »»
[5/9/2011] MARCO1 Hide All with Usergroups permission - Messages Manager
Version: 4.5, by MARCO1 MARCO1 is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.0 Rating:
Released: 11-16-2009 Last Update: 05-10-2011 Installs: 427
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.


MARCO1 Hide All



What is this ?
This Mod hide the links from guests and members in thread, printed pages, archive , and Attachments with new usergroups permission as Cableguy69 request in this post
And thanks to almassrawy for his request in this post. he needs to edit the messages from admincp so I have added new messages manager to edit all messages as you want

Thanks for all your great suggestions.

If you need BBCODE Hide Mod it's released now
MARCO1 BBCODE Hide Tags

Main Features :
  • Hide links from guests in threads
  • Hide links from guests in posts
  • Hide links from guests in Archive
  • Hide links from guests in Print Pages
  • Hide links from members in threads
  • Hide links from members in posts
  • Hide links from members in Archive
  • Hide links from members in Print Pages
  • Hide links from members in Attachments (Files zip,rar,psd,txt...etc and images jpg,png....etc)
  • Hide Attachments for guests NEW!
  • Usergroups permission for Attachments NEW!
  • Userproups permission for hide links from guests NEW!
  • MARCO1 Messages Manager NEW!
  • You can edit the guests no links message (MARCO1 Messages Manager) NEW!
  • You can edit the members no links message (MARCO1 Messages Manager) NEW!
  • You can edit the guests no links message in archive (MARCO1 Messages Manager) NEW!
  • You can edit the guests & members no attachments message (MARCO1 Messages Manager) NEW!
  • Moderators can see links without replying NEW!
  • Version Checker for new versions NEW!
  • Admin Group Can view the Links without reply
  • Full Control From Admincp
Some images from the Admincp only Attachments if you want to see all images you can download the full Mod images from Attachments Hide All images EN.zip Because vBulletin.org you can only upload 10 files in your post and the images more than 12 picture

How to install ? (Fresh Install)
Upload Includes & admincp folders into your vb dir and import the xml file from your admincp

How to upgrade ?
Re-upload includes (Accept the overwrite) and admincp folders into your vBulletin root dir and re-import the .xml file from vBulletin Admincp

Translations :
Until now the new version is available only in English, If anyone interesting to translate the Mod in any other language please PM Me :up:

1. Thanks To eTiKeT? "http://www.vizilti.net/" For his great translate to Turkish Version here : https://vborg.vbsupport.ru/showpost....&postcount=209
2. Another Turkish Version By laztrix HERE, Great thanks for him


History :
  • 1.0 first release
  • 1.5 vB3.7 release
  • 3.0 vB3.8 release
  • 3.5 vB4 Beta - Alpha release
  • 4.0 vB4 Gold release with new features :up:
  • 3\1\2010 An Update with fixing a bug in admincp
  • Version 4.5
    • Fixing split() error
    • Optimizing database queries
    • Fixing hide links from members
    • Fixing hide links from guests
Don't forget to mark as Installed.

Download Now

File Type: zip Hide All images EN.zip (959.7 KB, 2898 views)
File Type: zip MARCO1 Hide All 4.5.zip (4.8 KB, 1967 views)

Screenshots

File Type: jpg 1.jpg (53.0 KB, 0 views)
File Type: jpg 2.jpg (60.3 KB, 0 views)
File Type: jpg 3.jpg (64.1 KB, 0 views)
File Type: jpg 4.jpg (56.1 KB, 0 views)
File Type: jpg 5.jpg (70.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
Chicoynano, Da-Vinci, eltigres, hexeditor, misericorde, nader

Comments
  #502  
Old 09-02-2018, 01:20 AM
Pocket Aces Pocket Aces is offline
 
Join Date: Mar 2007
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal User Error: Call to undefined function eregi_replace() on line 5 in ****/archive/index.php(477) : eval()'d code
in ****/vb/vb.php on line 286

I guess this mod doesn't work on PHP 7 anymore. Thank you for all those years. Time to look for alternative.
Reply With Quote
  #503  
Old 09-07-2018, 01:33 AM
gundamz gundamz is offline
 
Join Date: Aug 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbulletin 4 support up to php 5.4.x

you can continue to use it under php 5.4.x if your webhost allow multiple php (eg. php 5, php 7 simultaneously) to be run on your hosting account.
Reply With Quote
  #504  
Old 01-28-2020, 08:52 AM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,


Any idea for this error.log ? After install this product this problem begining


PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 5
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 14
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 5
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 14
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 5
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 14


Tousend lines like that
Reply With Quote
  #505  
Old 01-30-2020, 11:06 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bulent Tekcan View Post
Hello,


Any idea for this error.log ? After install this product this problem begining


PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 5
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 14
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 5
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 14
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 5
PHP Deprecated: Function eregi_replace() is deprecated in /xxxxxx/archive/index.php(477) : eval()'d code on line 14


Tousend lines like that
What version of PHP are you running? This is only warning messages about depreciated PHP code and will have no effect on it usage. If you see this on your site you will need to disable the display PHP warnings so users don't see it.
Reply With Quote
  #506  
Old 01-31-2020, 09:03 AM
shka shka is offline
 
Join Date: Mar 2016
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See warning on https://www.php.net/manual/de/functi...gi-replace.php

You have to replace the eregi_replace() function calls with preg_replace() with /i -Modifikator

Means - search source code for eregi_replace and then replace

PHP Code:
eregi_replace('pattern''replacement''string'
with
PHP Code:
preg_replace('pattern/i''replacement' 'string'
Reply With Quote
  #507  
Old 02-02-2020, 02:10 PM
chudvs chudvs is offline
 
Join Date: Jul 2018
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shka View Post
See warning on https://www.php.net/manual/de/functi...gi-replace.php

You have to replace the eregi_replace() function calls with preg_replace() with /i -Modifikator

Means - search source code for eregi_replace and then replace

PHP Code:
eregi_replace('pattern''replacement''string'
with
PHP Code:
preg_replace('pattern/i''replacement' 'string'
what file or / template is that in?
Reply With Quote
  #508  
Old 02-03-2020, 10:25 AM
shka shka is offline
 
Join Date: Mar 2016
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't install it so it is only a quick reading of source code, not tested

(1) in file admincp/MARCO1_hide_all_version_checker.php, on line 42/44 - there is ereg_replace (without i), should be replaced with preg_replace without /i-flag
PHP Code:
$latestVersion preg_replace("[^A-Za-z0-9.]"""$latestVersion );
...
$latestVersion preg_replace("[^0-9.]"""$latestVersion ); 
(2) in file Product - MARCO1 Hide All Final.xml
line 25
PHP Code:
$post['pagetext'] = preg_replace('(http|www)([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)/i'$vbphrase[MARCO1_nomemberar], $post['pagetext_simp']); 
line 39
PHP Code:
$post['pagetext'] = preg_replace('(http|www)([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)/i'$vbphrase[MARCO1_arc], $post['pagetext_simp']); 
After installation you should find both (2) in admincp/addons & plugins/plugin manager in plugin "MARCO1 A R M" and "MARCO1 Hide Arc"
Reply With Quote
  #509  
Old 02-14-2020, 08:30 AM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Today I saw some interesthing point for example this IMG IMG tag include address. This product must be hidden from the guest but guest still showing that


PHP Code:
[img]https://vborg.vbsupport.ru/external/2020/02/1.jpg[/img] 
Why didn't hide from guest I don't understand. And also hidden all local forum image from guest For example

PHP Code:
images/buttons/viewpost-right.png 
etc.
Reply With Quote
  #510  
Old 05-04-2020, 10:33 AM
blue7's Avatar
blue7 blue7 is offline
 
Join Date: Aug 2007
Location: Turkey/Ankara
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I've 2 problems anyone could help with?

1. This hack hide links in private messages how to avoid of this?

2. Hack also hide links from moderators, how to exclude certain user groups?

Thanks.
Reply With Quote
  #511  
Old 05-24-2020, 11:41 PM
yin9 yin9 is offline
 
Join Date: Dec 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shka View Post
I didn't install it so it is only a quick reading of source code, not tested

(1) in file admincp/MARCO1_hide_all_version_checker.php, on line 42/44 - there is ereg_replace (without i), should be replaced with preg_replace without /i-flag
PHP Code:
$latestVersion preg_replace("[^A-Za-z0-9.]"""$latestVersion );
...
$latestVersion preg_replace("[^0-9.]"""$latestVersion ); 
(2) in file Product - MARCO1 Hide All Final.xml
line 25
PHP Code:
$post['pagetext'] = preg_replace('(http|www)([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)/i'$vbphrase[MARCO1_nomemberar], $post['pagetext_simp']); 
line 39
PHP Code:
$post['pagetext'] = preg_replace('(http|www)([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)/i'$vbphrase[MARCO1_arc], $post['pagetext_simp']); 
After installation you should find both (2) in admincp/addons & plugins/plugin manager in plugin "MARCO1 A R M" and "MARCO1 Hide Arc"
Thanks, the error of "eregi_replace" is solved but don't work properly, printpage don't show messages and this is seeing empty.
Reply With Quote
Reply

Thread Tools

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 04:53 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.09543 seconds
  • Memory Usage 2,386KB
  • Queries Executed 27 (?)
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
  • (12)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete