Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Sevens

Użytkownik
  • Postów

    48
  • Dołączył

  • Ostatnia wizyta

Informacje o forum

  • Wersja
    IP.Board 3.3.4

Osiągnięcia Sevens

Współtwórca

Współtwórca (5/14)

  • Pierwszy post
  • Współtwórca
  • Rozpoczęcie dyskusji
  • Pierwszy tydzień zakończony
  • Miesiąc później

Najnowsze odznaki

0

Reputacja

  1. To nie wiem, może tak ma być że nie dodaje niepotwierdzonych do statystyk na dole.
  2. $INFO['banned_group'] = '5'; $INFO['admin_group'] = '4'; $INFO['guest_group'] = '2'; $INFO['member_group'] = '3'; $INFO['auth_group'] = '1';
  3. A u mnie właśnie nie przechodzi, zainstalowałem ip.board 3.4.5 od podstaw i to samo ;/ Na 3.4.4 było inaczej, nawet jak ktoś e-maila nie potwierdził dodawało go do statystyk.
  4. Jak ustawie mu range "members" a wcześniej w akcjach aktywuje mu konto to mimo to nei dodaje go do statystyk.
  5. Jeśli chodzi o "wszystkich użytkowników" to chodzi mi o statystyki na dole, tam jest też wszystkich postów i ostatnio zarejestrowany (też go nie dodaje), a jeśli chodzi "Użytkownicy" to chodzi o to http://forum.invisionize.pl/members/
  6. Witam, parę dni temu kumpel zaktualizował forum do wersji 3.4.5 i nie wiem czy tak było i czy tak ma być, mianowicie, gdy rejestruje się użytkownik i nie potwierdzi swojego e-mail'a to nie pokazuje go w ostatnim zarejestrowanym i nie dodaje go do "wszystkich użytkoników" ale w zakładce "Użytkownicy" jest normalnie, jak mu ustawie w panelu admina range użytkownik (wcześniej ma niepotwierdzony) to nic to nie zmienia, jeśli tak było lub to jest u nas jakiś błąd proszę o podpowiedzenie jak to zmienić/naprawić.
  7. Witam, nie wiem czy jest to opcja wbudowana (tylko mam wyłączoną) czy można to jakoś dorobić? Żeby przy każdym poście było ostrzeż, potem podaje się powód itp. Powie ktoś jak to uaktywnić/zrobić?
  8. A jak to naprawić? @Edit Bo na gamehubie działa bez errorów, a tutaj to już są :/
  9. A bo ja to wiem? Dodałem działa tylko te warningi u góry, wszystko działa bez problemu, tylko nie wiem jak te warningi usunąć
  10. Folder ekipa w folderze plik ekipa.php <?php define('limit', 5); class public_uportal_ekipa_ekipa extends ipsCommand { public function doExecute( ipsRegistry $registry ) { switch($this->request['action']) { case 'delete': $this->deleteChanges(); break; } if(isset($this->request['desc']) && isset($this->request['text'])) { $template = $this->addNewChanges(); } else { IPSText::getTextClass('bbcode')->parse_html = 1; IPSText::getTextClass('bbcode')->parse_nl2br = 1; IPSText::getTextClass('bbcode')->parse_bbcode = 1; IPSText::getTextClass('bbcode')->parse_smilies = 1; $this->DB->query('SELECT c.*,u.member_id,u.members_seo_name,u.members_display_name,u.member_group_id FROM '.$this->DB->obj['sql_tbl_prefix'].'uportal_changes c, '.$this->DB->obj['sql_tbl_prefix'].'members u WHERE c.auid=u.member_id ORDER BY `uid` DESC LIMIT '.limit); $this->DB->execute(); while($rows = $this->DB->fetch()) { $rows['_text'] = IPSText::getTextClass('bbcode')->preDisplayParse( $rows['text'] ); $changes[] = $rows; } $template = $this->registry->output->getTemplate('uportal')->ekipa($ekipa); } $this->registry->getClass('output')->addContent($template); $this->registry->output->setTitle('Ekipa projektu'); $this->registry->output->addNavigation( 'Ekipa projektu', '/ekipa' ); $this->registry->getClass('output')->sendOutput(); } private function addNewChanges() { if($this->memberData['member_group_id']==4) { if(empty($this->request['desc']) || empty($this->request['text'])) { $this->registry->output->showError("Musisz wpisać temat oraz tekst nowej zmiany! <a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=ekipa", "publicWithApp",'' ), "", "" ) . "\">Kliknij tutaj aby wrócić</a>"); } else { $this->DB->query(sprintf( 'INSERT INTO `'.$this->DB->obj['sql_tbl_prefix'].'uportal_changes` (`date`, `desc`, `text`, `auid`) VALUES (%d,\'%s\',\'%s\',%d)', IPS_UNIX_TIME_NOW, $this->DB->addSlashes($this->request['desc']), $this->DB->addSlashes($this->request['text']), $this->memberData['member_id'] )); $this->DB->execute(); $this->registry->getClass('output')->addContent("<p class=\"message\">Nowa zmiana została dodana! <a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=ekipa", "publicWithApp",'' ), "", "" ) . "\">Kliknij tutaj aby wrócić</a></p>"); $this->registry->getClass('output')->sendOutput(); } } } public function deleteChanges() { if($this->memberData['member_group_id']==4) { if($this->memberData['member_group_id']!=4) { $this->registry->getClass('output')->showError("Błąd! Prawdopodobna próba włamania. Administratorzy zostali o tym poinformowani! ",0); return; } $this->DB->query('DELETE FROM '.$this->DB->obj['sql_tbl_prefix'].'uportal_changes WHERE uid='.intval($this->request['uid']).' LIMIT 1'); $this->DB->execute(); $this->registry->getClass('output')->addContent("<p class=\"message\">Zmiana została usunięta pomyślnie! <a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=ekipa", "publicWithApp",'' ), "", "" ) . "\">Kliknij tutaj aby wrócić</a></p> "); $this->registry->getClass('output')->sendOutput(); } } } ?> Oraz defaultSection.php <?php $DEFAULT_SECTION = 'ekipa'; ?> Oraz bit do tego {parse striping="rows" classes="row1,row2"} <style> ipbfs_titlebox .desc{padding:3px 0}.ipbfs_titlebox{background:#efefef;border:1px solid #d6d6d6;text-shadow:#fff 0px 1px 0px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset rgba(0,0,0,0.1) 0px 1px 4px;-moz-box-shadow:inset rgba(0,0,0,0.1) 0px 1px 4px;box-shadow:inset rgba(0,0,0,0.1) 0px 1px 4px;padding:10px;overflow:hidden}.content_border{border:1px solid #ddd;-webkit-box-shadow:rgba(0,0,0,0.1) 0px 1px 4px;-moz-box-shadow:rgba(0,0,0,0.1) 0px 1px 4px;box-shadow:rgba(0,0,0,0.1) 0px 1px 4px}.forum_name{font-weight:bold}.forum_desc_pos{position:relative}.forum_desc_con{width:350px;display:none;left:10px;float:left;position:absolute;top: -4px;padding-left:10px;background:url("http://www.elite-rp.ugu.pl/public/style_images/uniform/forum_desc_arrow.png") no-repeat 6px 9px;z-index:10000}.forum_description{color:#fff;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;background:url("http://www.elite-rp.ugu.pl/public/style_images/uniform/forum_desc.png") repeat;background:rgba(15,15,15,0.9);-webkit-box-shadow:rgba(0,0,0,0.3) 0px 1px 7px;-moz-box-shadow:rgba(0,0,0,0.3) 0px 1px 7px;box-shadow:rgba(0,0,0,0.3) 0px 1px 7px;font-size:11px;padding:5px;display:block;float:left}.forum_stats{font-size:11px;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;padding-top:4px;color:#888;text-transform:capitalize}.forum_stats span{color:#aaa}.home{padding-top:14px;padding-left:54px;font:normal 13px helvetica,arial,sans-serif}.facebookhome{width:350px;margin: -1px;border:1px solid gainsboro;background:white;margin-top:0px}.calendar_date_select{color:white;border:#777 1px solid;display:block;width:195px;z-index:1000}iframe.ie6_blocker{position:absolute;z-index:999}.calendar_date_select thead th{font-weight:bold;background-color:#aaa;border-top:1px solid #777;border-bottom:1px solid #777;color:white !important}.calendar_date_select .cds_buttons{text-align:center;padding:5px 0px;background-color:#555}.calendar_date_select .cds_footer{background-color:black;padding:3px;font-size:12px;text-align:center}.calendar_date_select table{margin:0px;padding:0px}.calendar_date_select .cds_header{background-color:#ccc;border-bottom:2px solid #aaa;text-align:center}.calendar_date_select .cds_header span{font-size:15px;color:black;font-weight:bold}.calendar_date_select select{font-size:11px}.calendar_date_select .cds_header a:hover{color:white}.calendar_date_select .cds_header a{width:22px;height:20px;text-decoration:none;font-size:14px;color:black !important}.calendar_date_select .cds_header a.prev{float:left}.calendar_date_select .cds_header a.next{float:right}.calendar_date_select .cds_header a.close{float:right;display:none}.calendar_date_select .cds_header select.month{width:90px}</style> <div class="ipsVerticalTabbed_content ipsLayout_content"> <div class='maintitle ipsFilterbar clear clearfix'> <ul class='ipsList_inline left'> <li> <a href="{parse url="module=zmiany" base="publicWithApp"}">Aktualności</a></li> <li class='active'><a href="{parse url="module=ekipa" base="publicWithApp"}">Ekipa</a></li> <li><a href="{parse url="module=uslugi" base="publicWithApp"}">Usługi płatne</a></li> </ul> </div> <div class='ipsVerticalTabbed_content ipsLayout_content ipsBox_container' > <div class='ipsPad'> <div class='ipsPad'> <div class='ipsBox'> <div class="ipsLayout ipsVerticalTabbed clearfix usercp_body" style="clear:both;"> <div class="ipsVerticalTabbed_content ipsLayout_content ipsBox_container" style="clear:both;"> <div class='ipsSettings_section hrpService'> <h3 class='ipsSettings_sectiontitle'>Ekipa projektu</h3> <br><br> <table class='ipb_table report_center'> <tr class='header'> <th scope='col'>Nick</th> <th scope='col'>Ranga</th> <th scope='col'>Spis zadań</th> <th scope='col'>Gadu-Gadu</th> <th scope='col'>Skype</th> <th scope='col'>E-mail</th> </tr> <tr> <td><b>Wojciech</b></td> <td><b><span style='color: red'>Zarząd</span></b></td> <td> <a href="#" class='ipsButton' id='servbuy_premium'>Zadania</a> </td> <td>Brak dostępu</td> <td>Brak dostępu</td> <td>[email protected]</td> </tr> <tr> <td style="background:lightsteelblue;"><b>Haruki</b></td> <td style="background:lightsteelblue;"><b><span style='color: red'>Zarząd</span></b></td> <td style="background:lightsteelblue;"><a href="#" class='ipsButton' id='servbuy_premium2'>Zadania</a></td> <td style="background:lightsteelblue;">Brak dostępu</td> <td style="background:lightsteelblue;">Brak dostępu</td> <td style="background:lightsteelblue;">[email protected]</td> </tr> <tr> <td><b>_Hanks_</b></td> <td><b><span style='color: red'>v-Zarząd</span></b></td> <td><a href="#" class='ipsButton' id='servbuy_premium3'>Zadania</a></td> <td>Brak dostępu</td> <td>Brak dostępu</td> <td>Brak dostępu</td> </tr> <tr> <td style="background:lightsteelblue;"><b>MrRevol</b></td> <td style="background:lightsteelblue;"><span style='color: red'>Administrator</span></td> <td style="background:lightsteelblue;"><a href="#" class='ipsButton' id='servbuy_premium4'>Zadania</a></td> <td style="background:lightsteelblue;">4104595</td> <td style="background:lightsteelblue;">Brak dostępu</td> <td style="background:lightsteelblue;">[email protected]</td> </tr> </table> </div> </div> </div> <div id='servbuy_premium_content' style='display:none'> <h3>Zadania Wojciecha</h3> <div class='ipsPad'><li>Głowny webmaster forum</li> <li>Odpowiada za komunikacje z serwerem hostującym forum</li> <li>Pisanie panelu strony głownej</li> <li>Pisanie panelu gracza</li></span></div> <div id='servbuy_premium2_content' style='display:none'> <h3>Zadania Harukiego</h3> <div class='ipsPad'><li>Skrypter oraz obiekter</li><li>Sprawy serwera i maszyny hostującej</li><li>Porządek na serwerze</li></span></div> <div id='servbuy_premium3_content' style='display:none'> <h3>Zadania Hanksa</h3> <div class='ipsPad'>-brak</span></div> <div id='servbuy_premium4_content' style='display:none'> <h3>Zadania MrRevola</h3> <div class='ipsPad'><li>Webmaster forum</li></span></div> </div> </div> </div> </div> </div> <style type='text/css'> .hrpService {min-height:160px} .hrpService > img{float:left;;margin-top:30px} .hrpService > h3.ipsSettings_sectiontitle{width:128px;padding-left:0} .hrpService > ul{margin-left:140px;margin-top:10px} .hrpService > ul li {;padding-left:12px;background: url(http://net4game.com/public/style_images/master/bullet_star_rated.png) no-repeat 0 3px;font-size:10px;color:#777} .hrpService .hrpServiceDisclaimer {padding-top: 10px;padding-right:130px} .hrpService .servbuy {display:inline;margin-top: 15px} .hrpServiceDesc{margin-left:130px} #hrpLastServiceActivations{font-size:0.85em} </style> <script type='text/javascript'> $('codeEntryFieldset').hide(); $('codeEntryButton').hide(); Effect.Appear('codeEntryButton'); $('hrpLastServiceActivations').hide(); Effect.Appear('hrpLastServiceActivations',{duration:3.0}); $('codeEntryButton').observe('click',function(e){ Effect.Appear('codeEntryFieldset',{duration: 3.0}); Effect.Fade(Event.element(e),{duration:3.0}); return false; }); var servicePopups = []; $$('.servbuy').each(function(element){ servicePopups[ element.identify() ] = new ipb.Popup('popup_' + element.identify(), { type: 'balloon', modal: false, w: '350px', h: '450px', stem: true, attach: { target: element, position: 'auto' }, hideAtStart: true, initial: $( element.identify() + '_content' ).innerHTML, close: 'a[rel="close"]', classname: 'servpayment info' } ); element.observe('click',function(clickEvent){ Event.stop(clickEvent); servicePopups[ Event.element(clickEvent).identify() ].show(); return false; }); }); </script> <script type='text/javascript'> $('servbuy_premium2').observe( 'click', function(e) { _var = new ipb.Popup( 'booboo', { type: 'pane', initial: $('servbuy_premium2_content').innerHTML, hideAtStart: false, w: '300px', h: 950} ); Event.stop(e); return false; }); $('modal2').observe( 'click', function(e) { _vvar = new ipb.Popup( 'beebee', { type: 'ballone', stem: true, initial: $('mymodalcontent').innerHTML, hideAtStart: false, w: '600px', attach: { target: $('modal2'), position: 'auto', 'event': 'click' }, h: 250} ); Event.stop(e); return false; }); </script> <script type='text/javascript'> $('servbuy_premium').observe( 'click', function(e) { _var = new ipb.Popup( 'booboo', { type: 'pane', initial: $('servbuy_premium_content').innerHTML, hideAtStart: false, w: '300px', h: 950} ); Event.stop(e); return false; }); $('modal2').observe( 'click', function(e) { _vvar = new ipb.Popup( 'beebee', { type: 'ballone', stem: true, initial: $('mymodalcontent').innerHTML, hideAtStart: false, w: '600px', attach: { target: $('modal2'), position: 'auto', 'event': 'click' }, h: 250} ); Event.stop(e); return false; }); </script> <script type='text/javascript'> $('servbuy_premium3').observe( 'click', function(e) { _var = new ipb.Popup( 'booboo', { type: 'pane', initial: $('servbuy_premium3_content').innerHTML, hideAtStart: false, w: '300px', h: 950} ); Event.stop(e); return false; }); $('modal2').observe( 'click', function(e) { _vvar = new ipb.Popup( 'beebee', { type: 'ballone', stem: true, initial: $('mymodalcontent').innerHTML, hideAtStart: false, w: '600px', attach: { target: $('modal2'), position: 'auto', 'event': 'click' }, h: 250} ); Event.stop(e); return false; }); </script> <script type='text/javascript'> $('servbuy_premium4').observe( 'click', function(e) { _var = new ipb.Popup( 'booboo', { type: 'pane', initial: $('servbuy_premium4_content').innerHTML, hideAtStart: false, w: '300px', h: 950} ); Event.stop(e); return false; }); $('modal2').observe( 'click', function(e) { _vvar = new ipb.Popup( 'beebee', { type: 'ballone', stem: true, initial: $('mymodalcontent').innerHTML, hideAtStart: false, w: '600px', attach: { target: $('modal2'), position: 'auto', 'event': 'click' }, h: 250} ); Event.stop(e); return false; }); </script> <div class='ipsAd'><style type='text/css'> a#return_to_uslugi{ position: fixed; bottom: 10px; line-height: 16px; text-align: left; right: 10px; z-index: 30000; opacity: 0.5; width: 260px; height: 70px; background: black; color: #fff; text-shadow: rgba(0,0,0,0.3) 0px -1px 0px; padding: 10px; text-decoration: none; font-size: 11px; font-family: Tahoma; border: 1px solid Gainsboro; box-shadow: rgba(0,0,0,0.3) 0px 1px 4px, inset Gainsboro 0px 1px 0px; border-radius: 3px; } a#return_to_uslugi:hover{ opacity: 0.7; } #return_to_uslugi strong{ font-family: "Trebuchet MS"; display: block; font-size: 14px; padding-bottom: 5px; } </style> <a href="" id='return_to_uslugi'><strong>Uwaga! Przeczytaj to!</strong> Korzystanie z panelu ekipy projektu jest nadal niemożliwe, trwają prace końcowe, już niedługo panel zostanie oddany do użytku.</a></div> </div> </div> </div>
  11. Z tego gamehub'a co jest w załączniku moduł ekipa + w do instalacji sql dodałem: $TABLE[] = "CREATE TABLE IF NOT EXISTS uportal_changes ( `uid` int(44) NOT NULL AUTO_INCREMENT, `date` int(11) NOT NULL, `desc` varchar(32) CHARACTER SET utf8 COLLATE utf8_polish_ci NOT NULL, `text` text NOT NULL, `auid` int(11) NOT NULL, PRIMARY KEY (`uid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=0 "; I tak, pozmieniałem wszystko w pliku ekipa.php bo tam było game to ja dałem uportal, nie wiem czy to tego wina czy czegoś innego. @Edit - pierwszy raz robię coś takiego, więc przepraszam za kłopot, ale kumpel to chciał, a on to już całkowicie nie ogarnia, sam nie wiem po co mu to gamehub.zip
  12. Dodałem ale mam takie errory u góry: Warning: Cannot modify header information - headers already sent by (output started at /home/p315067/public_html/admin/applications_addon/other/uportal/modules_public/adm/adm.php:1) in/home/p315067/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 114 Warning: Cannot modify header information - headers already sent by (output started at /home/p315067/public_html/admin/applications_addon/other/uportal/modules_public/adm/adm.php:1) in/home/p315067/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 127 Warning: Cannot modify header information - headers already sent by (output started at /home/p315067/public_html/admin/applications_addon/other/uportal/modules_public/adm/adm.php:1) in/home/p315067/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 136 Warning: Cannot modify header information - headers already sent by (output started at /home/p315067/public_html/admin/applications_addon/other/uportal/modules_public/adm/adm.php:1) in/home/p315067/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at /home/p315067/public_html/admin/applications_addon/other/uportal/modules_public/adm/adm.php:1) in/home/p315067/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 141
  13. Witam, mam pytanie jak dodać moduł ekipa do uportalu? Chodzi mi tylko o tą podstronę, jak ją stworzyć?
  14. Poradziłem sobie, to było prostsze niż myślałem, do zamknięcia.
  15. Hmm nie wiem jak to wytłumaczyć. Kiedyś to był normalny Gamehub bez zakładek "ekipa" "uslugi", lecz pewien webmaster dla jednego z for dodał te zakładki, zrobił pod nie bity etc. Teraz ja te 2 zakładki które on dodał chciałbym dodać do uportal, czyli przenieść pliki i podpiąć aby działało, lecz nie wiem jak to zrobić.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.