Hide Code Blocks From Guests

Started by Rohan_, September 10, 2009, 03:31:49 PM

Previous topic - Next topic

Rohan_

ohh yeah fine .. so now for guests its done .. they see text in a code block now .. finally can u give me a code to add the links ?
Proud To Be An Indian

Arantor

Quote from: Arantor on September 12, 2009, 02:08:18 PM
I'm sure you're capable of doing that.

As I said, I am not going to provide further support.

Rohan_

" Please "


arantor its a 5 second work for you .. please help me .. can't a big bro help a younger if he requests ?
Proud To Be An Indian

sAce


Arantor

I do not provide support for warez sites as a personal decision. Having had my own material presented ripped off and presented on such sites before, I have no tolerance for it personally.

Rohan_

Quote from: S-Ace on September 12, 2009, 02:49:46 PM
<a href="link">title</a>  :D
bro soumik .. i tried it already but i got a parse error of T_STRING
Proud To Be An Indian

Rohan_

Hey .. i have a mod for download bb codes .. i also want to hide its content .. this mod uses this code

'tag' => 'down',
'before' => '<table border="0" cellspacing="0" cellpadding="0" width="'.$modSettings['download_width'].'"><tr><td height="39" colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="113" background="'.$settings['default_theme_url'].'/images/down1.gif" height="39" title="'.$txt['bbcode_downloadlinks'].'">&nbsp;</td><td background="'.$settings['default_theme_url'].'/images/down2.gif">&nbsp;</td><td width="48" background="'.$settings['default_theme_url'].'/images/down3.gif" height="39" >&nbsp;</td></tr></table></td></tr><tr><td bgcolor="#C0DDFF" width="10">&nbsp;</td><td bgcolor="#C0DDFF"><table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #007FD8" bgcolor="#FFFFFF"><tr><td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center"><p style="margin: 5px">',
'after' => '</td></tr></table></td><td bgcolor="#C0DDFF" width="10">&nbsp;</td></tr><tr><td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td background="'.$settings['default_theme_url'].'/images/down4.gif"  height="11" width="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" alt="sharedownload.org" width="1" height="1"></td><td bgcolor="#C0DDFF" height="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td><td background="'.$settings['default_theme_url'].'/images/down5.gif" height="11" width="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td></tr></table></td></tr></table><!-- 120509-->',
'block_level' => true,


now please please last time please tell me where do i add a code to hide its content
Proud To Be An Indian

Arantor

As ever any changes to modifications should be referred to the mod's own page. We cannot provide support on mods in the main support board.

That said, I'm sure you're a smart guy, look at the changes I described and see how you might apply that to your new tag.

Rohan_

i tried to add the code .. but i didn't got success .. i fail sometime in somethings .. so please arantor help me in this tag and we will mark this topic solved :)
Proud To Be An Indian

TheDisturbedOne

Quote from: Arantor on September 12, 2009, 02:53:14 PM
I do not provide support for warez sites as a personal decision. Having had my own material presented ripped off and presented on such sites before, I have no tolerance for it personally.
I agree (and sympathize) with Arantor, so I remain silent here as well.
I'm sure other forums will be able to help you, or possibly other members.

lukasino

Hello i have http://custom.simplemachines.org/mods/index.php?mod=342

This mod is cool but i have one quetion

when user put link in "url" and "quote" mod works but when put in "code" no :( how fix this?

Arantor

Because the mod wasn't written to support code, follow the instructions earlier in this thread which explains how to make it work on code tags too.

Advertisement: