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
  #512  
Old 01-12-2021, 08:05 AM
djvd-sammobile djvd-sammobile is offline
 
Join Date: Sep 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yin9 View Post
Thanks, the error of "eregi_replace" is solved but don't work properly, printpage don't show messages and this is seeing empty.
We're having the same issue here, error resolved but empty messages in archive/printpage...
Reply With Quote
  #513  
Old 08-07-2021, 11:46 AM
djvd-sammobile djvd-sammobile is offline
 
Join Date: Sep 2011
Posts: 18
Благодарил(а): 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"
Thank you for your effort! The regexes are almost working. However, they should actually be:

(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']); 
Notable differences:
  • now starts with a '/'
  • now properly escapes the '/\n' ( it becomes '\/\n' )


Other PHP7 improvements:
  • in the XML, all 11 occurrences of $vbphrase[MARCO1_*] should actually be quoted to eg. $vbphrase['MARCO1_*'] to prevent PHP notices/warnings
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 05:18 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.04660 seconds
  • Memory Usage 2,279KB
  • Queries Executed 19 (?)
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
  • (5)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (3)post_thanks_box
  • (6)post_thanks_box_bit
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (7)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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