[ABD] Hide code (links) until reply 1.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [RC] Hide code (links) until reply 1.0.0

Post by 4_seven »

before you ask for that, the major-thing must be done
http://www.phpbb.com/community/viewtopi ... #p12740755
Current Mods | Mod Base | php(BB) programming | No help via PM

ciaciu95
Registered User
Posts: 7
Joined: Wed Mar 23, 2011 9:08 pm
Contact:

Re: [RC] Hide code (links) until reply 1.0.0

Post by ciaciu95 »

Hi at all, i've a little problem ^^
So, i've just installed the mod "Hide code Until reply", and to install this mode i had only to modify two files...
the first is "language/en/common.php"
and there i had to added
'HAVE_TO_REPLY' => 'You have to reply to view this code',
And the second file is "includes/bbcode.php" where first i had to find this line
$code = $this->bbcode_tpl('code_open') . $code . $this->bbcode_tpl('code_close');
and then i had to add this part of code
$topic_id = request_var('t', 0);
if ($topic_id>0)
{
global $user;
global $db;
$sql = 'SELECT *
FROM ' . POSTS_TABLE . '
WHERE topic_id ="' . $topic_id . '"
AND poster_id ="' . $user->data["user_id"] . '"';
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
if(empty($row)) $code = $user->lang['HAVE_TO_REPLY'];
So, i need help to modify this mode :D
Briefly, i wanna show at the admin's group or at other group, the words between code before answering :D
Image

GoingRound
Registered User
Posts: 30
Joined: Wed Aug 18, 2010 12:15 pm

Re: [RC] Hide code (links) until reply 1.0.0

Post by GoingRound »

Hi, I noticed that even though the works well, if a member were to 'quote' the post, they'll end up seeing the hidden text anyways. Is there a way to hide it from the quote option too?

artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] Hide code (links) until reply 1.0.0

Post by artikkk »

GoingRound wrote:Hi, I noticed that even though the works well, if a member were to 'quote' the post, they'll end up seeing the hidden text anyways. Is there a way to hide it from the quote option too?
same question for me :oops:
sorry for my bad english :S

satcell
Registered User
Posts: 18
Joined: Thu Dec 24, 2009 4:07 pm
Contact:

Re: [RC] Hide code (links) until reply 1.0.0

Post by satcell »

quote also appears to encodes

User avatar
Terr0r
Registered User
Posts: 553
Joined: Thu May 05, 2011 3:39 pm
Location: The Netherlands
Contact:

Re: [RC] Hide code (links) until reply 1.0.0

Post by Terr0r »

this is working for me for 5 minutes how is that possible

this is a nice MOD if it will work good
if you can't fix it with ducktape you ain't using enough
if you want to search a MOD maybe you can find it here
For my MODS and BBCodes or other things that I have made take a look here

User avatar
Terr0r
Registered User
Posts: 553
Joined: Thu May 05, 2011 3:39 pm
Location: The Netherlands
Contact:

Re: [RC] Hide code (links) until reply 1.0.0

Post by Terr0r »

this MOD is a Super MOD it works fine for me

I have a little problem whit this MOD and that is
if you click on the right site on the forum to see the last post that works this MOD not
and also if you used subforums and you click on the right site on the forum to see the last post that works this MOD not
How can I change or fix this so if click on the right site of your forum to see the last post that you also see the text

You have to reply to view this code
if you can't fix it with ducktape you ain't using enough
if you want to search a MOD maybe you can find it here
For my MODS and BBCodes or other things that I have made take a look here

User avatar
Terr0r
Registered User
Posts: 553
Joined: Thu May 05, 2011 3:39 pm
Location: The Netherlands
Contact:

Re: [RC] Hide code (links) until reply 1.0.0

Post by Terr0r »

is there some progress for this MOD
if you can't fix it with ducktape you ain't using enough
if you want to search a MOD maybe you can find it here
For my MODS and BBCodes or other things that I have made take a look here

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Hide code (links) until reply 1.0.0

Post by RMcGirr83 »

This topic has been marked as [ABD] - Abandoned as the mod author has not been active recently in this topic. If the MOD author wishes to continue development, please PM anyone on the MOD Team to request this topic be unlocked.

Thank you,
The phpBB Modifications Team
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Locked

Return to “[3.0.x] Abandoned MODs”