vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - vFCoders - Hide Hack v4 (https://vborg.vbsupport.ru/showthread.php?t=282328)

mitch84 05-03-2012 01:48 PM

Hi, can you add a option for use this hack with thanks dbtech? thank you

nacaruncr 05-03-2012 02:16 PM

Do you think it works fine with oldest versions?
Ex. 4.1.3, 4.1.4... because I have 4.1.3, and I gonna install it, if this works fine, I come back and tell you ok, and if not, could you fix it to oldest versions?

Regards and many thanks man :D

Badshah93 05-03-2012 02:20 PM

Quote:

Originally Posted by nacaruncr (Post 2325837)
Do you think it works fine with oldest versions?
Ex. 4.1.3, 4.1.4... because I have 4.1.3, and I gonna install it, if this works fine, I come back and tell you ok, and if not, could you fix it to oldest versions?

Regards and many thanks man :D

to make it compaitable with vBulletin 4.1.3, i have to add one plugin.
so, wait for an hour, will post 4.1.3 xml.

Alex@bulletin 05-03-2012 02:35 PM

Hello there, nice mod, I will consider to translate it to german later.
One suggestion I'd like to make is that it would be great, if your mod additionally works with DB Tech Advanced Thanks / Likes. I don't know if this is possible, but I like to request that :)

nacaruncr 05-03-2012 02:36 PM

ohhhh I gonna love you man XD really I gonna install it :D
thanks I'll wait for it :D

Edit:

5 STARS + MOTM

Asterix_ita 05-03-2012 02:55 PM

On vbulletin suite, if I use the widget Recent Forum Post the bbcode don't work

https://vborg.vbsupport.ru/external/2012/05/53.png

Regards

Badshah93 05-03-2012 03:49 PM

Version 1.2 Added

Changes - Now Mod Supports vB < 4.1.4

Nirjonadda 05-03-2012 04:07 PM

You can add hidden content message with image?

https://vborg.vbsupport.ru/attachmen...3&d=1275549867

Badshah93 05-03-2012 04:19 PM

Quote:

Originally Posted by Asterix_ita (Post 2325858)
On vbulletin suite, if I use the widget Recent Forum Post the bbcode don't work

https://vborg.vbsupport.ru/external/2012/05/53.png

Regards

CMS Widget (Recent Forum Posts) doesn't have any plugin hook, so manual edit is required to strip hide bbcodes from recent forum posts widget.

Open file -> packages/vbcms/widget/recentposts.php
Find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PHP Code:

            $post['previewtext'] = fetch_censored_text($parser->get_preview($post['pagetext'], $this->default_previewlen$allow_html));
            
$post['pagetext'] = fetch_censored_text($parser->do_parse($post['pagetext'], $allow_html)); 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add Below:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PHP Code:

            if (vB::$vbulletin->options[hide_hack_sett_main]) 
            {
            global 
$vfc_hide;
            
$post['previewtext'] = $vfc_hide->strip_hide_bbcodes($post['previewtext'], 'email');
            
$post['pagetext'] = $vfc_hide->strip_hide_bbcodes($post['pagetext'], 'email');
            } 


Badshah93 05-03-2012 04:30 PM

Quote:

Originally Posted by Nirjonadda (Post 2325879)
You can add hidden content message with image?

https://vborg.vbsupport.ru/attachmen...3&d=1275549867

This Mod uses Template for [HIDE-REPLY], [HIDE-THANKS] AND [HIDE-REPLY-THANKS]. (if [HIDE] tag is mapped to any of these three tag, then [hide] tag also uses template.)

So to add image

StyleManager -> Edit templates

for [HIDE-REPLY] Tag open vfc_hide_hack_bbcode_reply Template

Replace:
Code:

{vb:rawphrase vfc_hidden_content_reply_ntml}
With:
Code:

IMG HTML CODE


All times are GMT. The time now is 11:10 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.01499 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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