Modyfikacje IP.Board 3.0.x: (DB30) Hide CODE Content
#1
Napisany 15 luty 2010 - 18:44
Plik Dodał: Spanner
Plik wysłano: 15 lut 2010
Plik zaktualizowany: 15 lut 2010
Kategoria pliku: Modyfikacje IP.Board 3.0.x
Typ:: Modyfikacja
Wersja:: 1.0.0
Author: Spanner (IPSBeyond.pl)
Modyfikacja umożliwia ukrywanie zawartości tagu CODE przed wybranymi grupami.
Modification enables hiding the CODE tag content in selected groups.
Kliknij tutaj aby pobrać plik
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#2
Napisany 23 kwiecień 2010 - 13:33
#3
Napisany 23 kwiecień 2010 - 16:32
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#4
Napisany 02 maj 2010 - 18:03
i mam pytanie czy dzieki temu bd ukryte linki na przykład w taki sposób
Treść widoczna tylko dla zarejestrowanych użytkowników. Kliknij tutaj aby się zarejestrować
Edytowany przez doxs997, 02 maj 2010 - 18:04.
#5
Napisany 02 maj 2010 - 18:17
instrukcję instalacji znajdziesz w archiwum.
Jeśli chodzi o pytanie co do treści. Treść tego ogłoszenia ustalasz sam, podobnie to jakie grupy będą widzieć takie ogłoszenie. Ukrywana jest cała treść objęta znacznikiem [code]
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#6
Napisany 26 wrzesień 2010 - 23:37
Czy w nim używa się kodu [hide]...[hide], którego zawartość jest widoczna po napisaniu odpowiedzi czy ten kod to coś innego?
#7
Napisany 27 wrzesień 2010 - 07:12
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#8
Napisany 27 wrzesień 2010 - 11:06
#9
Napisany 27 wrzesień 2010 - 16:21
http://ajo.pl/programy-rozmowy-programs-discussions/1088887-program-graficzny.html
tylko tam jest na vB forum postawione forum, ale ukrywanie treści działa bardzo podobnie. Jeśli chodzi o hide to nie jest ono w standardzie
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#10
Napisany 29 styczeń 2011 - 23:02
#11
Napisany 01 luty 2011 - 17:07
I think i found a bug. I entered in a long spoiler text and suddenly the mod does not work. It seems to only work for text that has a few short lines. Would be more than willing to donate if this is fixed. Also, is there a way to use another tag instead of <pre> with this?
Cytuj
Myślę, że znalazłem błąd. Wszedłem w długi tekst spoiler i nagle mod nie działa. Wydaje się, że tylko dla tekstu, który zawiera kilka krótkich wierszy. Czy jest więcej niż chętnych do oddania, jeśli zostanie to naprawione. Ponadto, istnieje sposób, aby użyć innego słowa, a nie <pre> z tym?
Edytowany przez Fairlight, 01 luty 2011 - 17:08.
#12
Napisany 01 luty 2011 - 17:23
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#13
Napisany 01 luty 2011 - 19:07
Spanner, o 01 luty 2011 - 17:23, powiedział:
I'm sorry, i should have made my post more clear. I am using the hide code mod as an advanced form of spoiler. Using it to prevent guests from viewing TV spoilers on my forum. I am not using the [spoiler] tag.
Unfortunately, long texts do not seem to work with this at all. After just a few lines of text, guests are able to see the hidden content.
#14
Napisany 01 luty 2011 - 20:07
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#15
Napisany 01 luty 2011 - 20:17
Spanner, o 01 luty 2011 - 20:07, powiedział:
Normal text with no special formatting: Below is a portion of exactly what i was trying to hide.
The Impact Zone is full with obvious curiosity over who "they" is especially since "they" aren't who they were supposed to be.
Dark Match:
* Robbie E w/Cookie vs. Josh Daniels. Winner with Madison Rayne's boot to the chin drop finisher, Robbie E.
TNA Impact (Airing Thursday on Spike TV):
* Impact starts with Immortal out (everybody but Hulk Hogan and Ric Flair). Eric Bischoff says they have business to take care of. They sent Scott Steiner a special invitation so come on down. Scott Steiner joins Immortal in the ring. Bischoff says they've known each other way too long. He'll forget about the last few weeks and talk business. He found out a few hours ago that Dixie Carter got a continuance so Hulk Hogan won't be here tonight. That's the bad news. Now even though Steiner's saying "They" are here, he knows there's no "They." Kevin Nash called him and Bischoff told him to take the money. Get a new action figure, dye your hair and do it. As for Booker T, who cares what he's doing? Sting isn't here either. So Scott, be a man, grab your bags and join us. Bischoff extends his hand and says this is his last shot. Scott asks if that's his choice? Bischoff says door one is join him, door two is getting your a-- kicked. Steiner says how about door 3, where I shove my foot up your a--? He says he's known Eric a long time and right away knew he was a piece of s---. He's more of a man than any of these p------ in the ring. If he was a man he'd say yes sir and no sir. So he has 5 seconds to apologize or he'll break his skinny neck. Bischoff says bite me. Kurt Angle and Crimson come out. Angle says Bischoff is a piece of s---. He says "They" are here. It's real. It's d--- real. Steiner, Angle and Crimson leave a confused Immortal in the ring.
* The main event is Mr. Anderson vs. Jeff Hardy for the TNA Championship.
* Ink Inc. defeated Gunner and Murphy. Ink Inc. won the match by pinfall.
*Jeremy Buck defeated Jay Lethal and Douglas Williams to enter the Against All Odds Four Way for the X-Division championship. Max Buck was doing commentary and came to the ring to help his brother.
#16
Napisany 06 luty 2011 - 12:05
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#17
Napisany 06 luty 2011 - 18:53
#18
Napisany 06 luty 2011 - 20:25
Fairlight, o 01 luty 2011 - 20:17, powiedział:
The Impact Zone is full with obvious curiosity over who "they" is especially since "they" aren't who they were supposed to be.
Dark Match:
* Robbie E w/Cookie vs. Josh Daniels. Winner with Madison Rayne's boot to the chin drop finisher, Robbie E.
TNA Impact (Airing Thursday on Spike TV):
* Impact starts with Immortal out (everybody but Hulk Hogan and Ric Flair). Eric Bischoff says they have business to take care of. They sent Scott Steiner a special invitation so come on down. Scott Steiner joins Immortal in the ring. Bischoff says they've known each other way too long. He'll forget about the last few weeks and talk business. He found out a few hours ago that Dixie Carter got a continuance so Hulk Hogan won't be here tonight. That's the bad news. Now even though Steiner's saying "They" are here, he knows there's no "They." Kevin Nash called him and Bischoff told him to take the money. Get a new action figure, dye your hair and do it. As for Booker T, who cares what he's doing? Sting isn't here either. So Scott, be a man, grab your bags and join us. Bischoff extends his hand and says this is his last shot. Scott asks if that's his choice? Bischoff says door one is join him, door two is getting your a-- kicked. Steiner says how about door 3, where I shove my foot up your a--? He says he's known Eric a long time and right away knew he was a piece of s---. He's more of a man than any of these p------ in the ring. If he was a man he'd say yes sir and no sir. So he has 5 seconds to apologize or he'll break his skinny neck. Bischoff says bite me. Kurt Angle and Crimson come out. Angle says Bischoff is a piece of s---. He says "They" are here. It's real. It's d--- real. Steiner, Angle and Crimson leave a confused Immortal in the ring.
* The main event is Mr. Anderson vs. Jeff Hardy for the TNA Championship.
* Ink Inc. defeated Gunner and Murphy. Ink Inc. won the match by pinfall.
*Jeremy Buck defeated Jay Lethal and Douglas Williams to enter the Against All Odds Four Way for the X-Division championship. Max Buck was doing commentary and came to the ring to help his brother.
Try:
Find:
$post_data[$k][$key]['post'] = preg_replace('#<pre class=\'prettyprint\'>(.*?)</pre>#', '<pre class="prettyprint">'.$this->settings['hcc_text'].'</pre>', $post['post']);
Reply with:
$post_data[$k][$key]['post'] = preg_replace('#<pre class=\'prettyprint\'>(?:[^\]]+?)</pre>#', '<pre class="prettyprint">'.$this->settings['hcc_text'].'</pre>', $post['post']);
spencer, o 06 luty 2011 - 18:53, powiedział:
Try:
Open: /admin/applications/forums/sources/classes/post/classPostForms.php
Find:
$posts[ $row['pid'] ] = $row;
Add Above:
if($this->settings['hcc_enable'])
{
$groups = explode(',', $this->settings['hcc_groups']);
if(in_array($this->memberData['member_group_id'], $groups))
{
$row['post'] = preg_replace('#<pre class=\'prettyprint\'>(?:[^\]]+?)</pre>#', '<pre class="prettyprint">'.$this->settings['hcc_text'].'</pre>', $row['post']);
}
}
Save and thats all
Dawid Baruch - Portfolio Webmastera, IPB, php, grafika, sql, skiny IPB, mody IP.Board
IP.Board NEWS
Licencje IP.Board
#19
Napisany 06 luty 2011 - 21:48
#20
Napisany 06 luty 2011 - 22:01
And please pm me your paypal account. I plan to make a donation to you as soon as my paycheck is in. You have been very helpful. Thank you again sir.
Także otagowane jako db30, hide code content
IP.Board Support →
IP.Board 3.2.x →
Support Modyfikacji →
Modyfikacje IP.Board 3.2.x: (DB32) Hide CODE ContentRozpoczęte przez Spanner, 23 paź 2011 |
|
|
||
IP.Board Support →
IP.Board 3.0.x i 3.1.x →
Support Modyfikacji →
Modyfikacje IP.Board 3.0.x i 3.1.x: (DB30) Resynchronize Forums TaskRozpoczęte przez Spanner, 13 maj 2010 |
|
|
||
IP.Board Support →
IP.Board 3.0.x i 3.1.x →
Support Modyfikacji →
Modyfikacje IP.Board 3.0.x: (DB30) Reputation HistoryRozpoczęte przez Spanner, 28 paź 2009 |
|
|
||
IP.Board Support →
IP.Board 3.0.x i 3.1.x →
Support Modyfikacji →
Modyfikacje IP.Board 3.0.x: (DB30) Google SiteMap GeneratorRozpoczęte przez Spanner, 29 lip 2009 |
|
|
0 użytkowników czyta ten temat
0 użytkowników, 0 gości, 0 anonimowych użytkowników



















