News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Hide Tag Special

Started by enik, April 11, 2005, 03:41:07 PM

Previous topic - Next topic

edi67

#480
aS ALWAYS superb MODIFICATION work like a charm for me ;)
Only one little error:

   teotorriatte   Oggi alle 09:10:16 
172.17.11.131     4eed8e70721ef04a0d11c89a30fc8614 
http://www.crazyzone.ws/index.php?action=search2 
8: Undefined index: body
File: /home2/crazyzonews/www/Sources/Search.php
Linea: 1558

   teotorriatte   Oggi alle 09:10:16 
172.17.11.131     4eed8e70721ef04a0d11c89a30fc8614 
http://www.crazyzone.ws/index.php?action=search2 
8: Undefined index: body
File: /home2/crazyzonews/www/Sources/Search.php
Linea: 1557



weel line 1557 and 1558 are these bolded:

   // Do the censor thang...
   censorText($message['body']);
   $message['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", " ", $modSettings['body']);
   $message['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), " ", $modSettings['body']);

   censorText($message['subject']);



Some solution you understnad what this means ?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

mforum

Is it better to uninstall old version (1.2.7) and install new one ?

edi67

Quote from: mforum on June 20, 2007, 03:20:15 AM
Is it better to uninstall old version (1.2.7) and install new one ?

NO, everything is MADE by the MOD autmatically  :D
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

#483
Quote from: edi67 on June 20, 2007, 02:58:35 AM
aS ALWAYS superb MODIFICATION work like a charm for me ;)
.... some text i delete....

   // Do the censor thang...
   censorText($message['body']);
   $message['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", " ", $modSettings['body']);
   $message['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), " ", $modSettings['body']);

   censorText($message['subject']);



Some solution you understnad what this means ?

Upgrade to the new Version, i don't know why i made this idiotic mistake... but it's fixed in the new Version.



Version 1.5.2 (20.06.07)
! Removed the Mistake in the Search.php. It's a way to unhide content without posting!
- Upgrade included for 1.5.1 (1.2.7 upgrade direct and correct).



Thx to edi67 for the info... i really forgot to check the search...

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

nitins60


babjusi

Hi ディン1031
After I upgrade the mod, do I have to do other changes or it won''t be necessary? Thank you

edi67

Quote from: ディン1031 on June 20, 2007, 05:27:44 AM
Upgrade to the new Version, i don't know why i made this idiotic mistake... but it's fixed in the new Version.



Version 1.5.2 (20.06.07)
! Removed the Mistake in the Search.php. It's a way to unhide content without posting!
- Upgrade included for 1.5.1 (1.2.7 upgrade direct and correct).



Thx to edi67 for the info... i really forgot to check the search...

Bye
DIN1031
something wrong din... i cannot make upgrade, first of all installing your new update, system load it as :

58. Hide Tag 1.5.1   [ Uninstall ] [ List Files ] [ Delete ] 
59. Hide Tag 1.5.1   [ Uninstall ] [ List Files ] [ Delete ] 


your last packages load in my installer as versione 1.5.1 i dont understand the reason
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

#487
@edi67
Ups xD i'm a idiot, i fix it.

Sorry could not test it, because i'm not at home <<. A small mistake and it will not work...

hope no one installed the Version 1.5.2 as the version 1.5.1 <<


Quote from: babjusi on June 20, 2007, 07:54:36 AM
Hi ディン1031
After I upgrade the mod, do I have to do other changes or it won''t be necessary? Thank you
You need to look at your settings... it's a complete overwork. See -> http://www.simplemachines.org/community/index.php?topic=32954.msg1132060#msg1132060


@nitins60
Please before you upgrade... look if you have the correct version :x, if not please download it again.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

edi67

Quote from: ディン1031 on June 20, 2007, 09:35:53 AM
@edi67
Ups xD i'm a idiot, i fix it.

Sorry could not test it, because i'm not at home <<. A small mistake and it will not work...

hope no one installed the Version 1.5.2 as the version 1.5.1 <<

which idiot ??? you are super mod maker EXCELLENT work, now everything is correct and perfect thx agai din-.

Ps. always i waiting you visiting my site, i must repay every your mods for me. please come you will enjoy in my site with ;) my hidden resources
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

nitins60

Countup 10mins from this post, the time i have upgraded from 1.2.7!! The package i downloaded s v1.5.2Fix!! Hopefully i downloaded proper one :)

nitins60

In my package manager, it's 1.5.2

ディン1031

Okay phewww ;). I see only 3 downloads hope no one installed the wrong one. XD

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

topiQ

Great new features, DIN!
However i have 3 problems right now to report:
1. The BB-Code-Parsing does not work for me in the UNHIDDEN Content. There is no problem with the HIDDEN Content but the BBC does not parse in the Unhidden Conent. But if i check the HTML-Parse box and enter HTML code in the Unhidden Content box it works like a charm. This i kinda strange, isnt it?!
2. You forgot to escape a singlequote in the HideTagSpecialGerman.xml at the end of line 65.
3. Is it possible with this new version of your mod to display the unhidden text BELOW an image for example? is there a variable for the text unhidden text?

thanks in advance and rock on! ;D

ディン1031

#493
1. Huuu it should parse it... in my forum the unhidden content is parsed ?_? but i will try it again.
2. Uhh i insert the wrong german translation... *dop*, i will fix it.
3. Yes you can use $txtvariable on unhidden content, too and the mod will use the $txt['hide_unhiddentext'] from the index.yourLangauge.php.

You can add it everywhere you like it :x
[img]http://imagelink/[/img][br]This is my Text after the Picture... there no update needed for this...

Can you give me the options that you use? So that i can try it with the same options to see if unhidden content in some settings is not parsed.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

IlyZor

Where's the file where I change that ; ? I downloaded just now and I still get the same error.

ディン1031

Quote from: IlyZor on June 22, 2007, 06:52:54 AM
Where's the file where I change that ; ? I downloaded just now and I still get the same error.
?_? it's only in the german version the english version have no error.

And it's fixed in the installer, so there should no error any more :x.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

smartsheep

Hi, is there a mod, cause i cant find one that when someone uploads an image on your forum, the logo is automatically added to the image. If there isnt one, someone should create it ;)
Cheers

topiQ

here are the settings i used:
[nofollow]
very strange that bbcode is not parsed.
btw i didnt mean the $txtvariable. i meant the text that is hidden between the hide-tag. is it possible to display that one below an image e.g.?!

ディン1031

Quote from: topiQ on June 22, 2007, 08:43:18 AM
here are the settings i used:

very strange that bbcode is not parsed.
btw i didnt mean the $txtvariable. i meant the text that is hidden between the hide-tag. is it possible to display that one below an image e.g.?!
I sent you a pm ;)

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031



Version 1.5.3 (22.06.07)
! Replace the row with rows in text areas
! Upgrades will have a mistake in the Search.php what produce errors...
! Fix the error in the Help.german.php
+ Add Turkish Translation by ghg

All Upgrades and Fix will made by the Upgrade. (But only if the error exist).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Advertisement: