[2.0.12] Hide BBcode MOD

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
42
72%
Very Good
3
5%
Good
8
14%
Fair
0
No votes
Poor
5
9%
 
Total votes: 58

pyrofreak
Registered User
Posts: 2
Joined: Mon May 01, 2006 9:30 am

Re: My problem

Post by pyrofreak » Mon May 01, 2006 9:31 am

webgrrrl wrote: OK, I'm using PHP 2.019 -- installed the most current EasyMod version and am now trying to install the hide mod.

I'm hung up on this part:
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php


#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''
$EMBB_values = array(''

I can't find any $EMBB codes in my bbcode.php file. Anyone??


Same problem here, does anyone know the solution?

pyrofreak
Registered User
Posts: 2
Joined: Mon May 01, 2006 9:30 am

Re: My problem

Post by pyrofreak » Mon May 01, 2006 9:32 am

webgrrrl wrote: OK, I'm using PHP 2.019 -- installed the most current EasyMod version and am now trying to install the hide mod.

I'm hung up on this part:
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php


#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''
$EMBB_values = array(''

I can't find any $EMBB codes in my bbcode.php file. Anyone??


Same problem here, does anyone know the solution? I also tried to install manually but i can't find the &EMBB.... part

abumslife
Registered User
Posts: 192
Joined: Thu Apr 10, 2003 8:26 pm

Post by abumslife » Tue May 02, 2006 3:23 am

does this work for .20 and easy mod

User avatar
davron
Registered User
Posts: 30
Joined: Fri Jan 20, 2006 7:10 am
Location: NY, USA
Contact:

Post by davron » Thu May 04, 2006 10:05 pm

I REALLY NEED the MOD for hiding the certain area for unregistered users, is it possible with this one?

daisukey
Registered User
Posts: 28
Joined: Fri Feb 17, 2006 7:35 pm

Post by daisukey » Tue May 09, 2006 8:28 am

http://www.philiweb.com/download/hide/h ... =2&lang=en

follow the tutorial in Engrish. Thanks to the author.

After installing everything, i'm getting "Call to undefined function: bbencode_third_pass() in" error though.

somebody help plz.

bonez07
Registered User
Posts: 178
Joined: Fri Oct 28, 2005 12:53 am

Post by bonez07 » Wed May 10, 2006 1:16 am

bonez07 wrote: ok all the french files are OK for the english version. the ONLY THING YOU MUST DO is as follows:

in bbcode.php in the /includes directory, in the french version files, you'll see:
function hide_in_quote($text)
{
$text = preg_replace("#\[hide\](.*?)\[\/hide\]#si","--- phpBB : Le message protégé n'est pas recopié dans cette citation ---", $text);
return $text;
}

function bbencode_third_pass($text, $uid, $deprotect)
{
global $bbcode_tpl;

// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
$text = " " . $text;

// First: If there isn't a "[" and a "]" in the message, don't bother.
if (! (strpos($text, "[") && strpos($text, "]")) )
{
// Remove padding, return.
$text = substr($text, 1);
return $text;
}
// Patterns and replacements for URL and email tags..
$patterns = array();
$replacements = array();

if ( $deprotect ) {
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['show'];
}
else
{
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['hide'];
}

$text = preg_replace($patterns, $replacements, $text);

// Remove our padding from the string..
$text = substr($text, 1);

return $text;
}



now where the french text is bolded, just replace it with w/e YOU want it to say in English and done.

003-leon
Registered User
Posts: 1
Joined: Wed May 10, 2006 6:41 am
Location: reno

Post by 003-leon » Wed May 10, 2006 6:39 pm

bonez07 wrote: ok all those files are ok for the english version. the ONLY THING YOU MUST DO is as follows:

in bbcode.php in the /includes directory, in the french version files, you'll see:
function hide_in_quote($text)
{
$text = preg_replace("#\[hide\](.*?)\[\/hide\]#si","--- phpBB : Le message protégé n'est pas recopié dans cette citation ---", $text);
return $text;
}

function bbencode_third_pass($text, $uid, $deprotect)
{
global $bbcode_tpl;

// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
$text = " " . $text;

// First: If there isn't a "[" and a "]" in the message, don't bother.
if (! (strpos($text, "[") && strpos($text, "]")) )
{
// Remove padding, return.
$text = substr($text, 1);
return $text;
}
// Patterns and replacements for URL and email tags..
$patterns = array();
$replacements = array();

if ( $deprotect ) {
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['show'];
}
else
{
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['hide'];
}

$text = preg_replace($patterns, $replacements, $text);

// Remove our padding from the string..
$text = substr($text, 1);

return $text;
}



now where the french text is bolded, just replace it with w/e YOU want it to say in English and done.

User avatar
davron
Registered User
Posts: 30
Joined: Fri Jan 20, 2006 7:10 am
Location: NY, USA
Contact:

Post by davron » Thu May 11, 2006 2:42 am

Dumb

Me-Crazy
I've Been Banned!
Posts: 142
Joined: Thu Apr 27, 2006 4:45 am

Post by Me-Crazy » Mon May 22, 2006 3:45 pm

I´m installed Advanced BBCode Box V5, how can I keep this MOD all together with Advanced BBCode Box V5?

kashif19997
Registered User
Posts: 19
Joined: Sat Apr 08, 2006 7:18 pm

Post by kashif19997 » Wed May 24, 2006 6:03 pm

Can any one have th e hide bbcode mode for phpbb [2.0.19] Version

Haros
I've Been Banned!
Posts: 97
Joined: Wed May 24, 2006 4:25 pm

Post by Haros » Thu May 25, 2006 7:31 pm

Is Hide BBcode MOD works with Advanced BBCode MOD, instead of having Multi BBCode?

I don´t need to have it.. What should I do? :roll:

bonez07
Registered User
Posts: 178
Joined: Fri Oct 28, 2005 12:53 am

Post by bonez07 » Fri May 26, 2006 9:10 pm

i use Multi so i wouldnt know..and it works on 2.0.19 so you just follow the same steps in my previous post

deny
Registered User
Posts: 565
Joined: Wed May 14, 2003 9:14 am
Location: Find-Ip-Address.org
Contact:

Post by deny » Sat May 27, 2006 8:46 am

Any hide BB Code that works with attachment?
It will hide attachment until someone reply.
Geolocation of any IP address including detection of hostname,
browser, country and country code with ip address range web tool.

IP Address Locator | Email Tracking | IP Address | Check Email

Deco20
Registered User
Posts: 97
Joined: Sat Oct 22, 2005 2:57 pm

Post by Deco20 » Sat Jun 24, 2006 10:40 pm

Any demo of this mod? I read all the thread but there is no demo available.

lamonatxxxx
Registered User
Posts: 5
Joined: Fri Jun 23, 2006 2:27 am

Post by lamonatxxxx » Sun Jun 25, 2006 9:36 pm

guys i just installed this mo but whne i go to the post screen and i click ANY bbcode butons, nothing happens... but the mod works tho, like if i type [hide] whatever text here [/hide] text is hidden but juist the buttons in post screen dont work, how do i fix that guys??

Post Reply

Return to “[2.0.x] MOD Database Cleanup”

Who is online

Users browsing this forum: No registered users and 9 guests