miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

All posts / replies on one page [RUSSIAN]

 
 
Page  Page 2 of 2:  « Previous  1  2

Author Paul
Lead Developer 
#16 | Posted: 5 Sep 2006 13:58 
V upor ne dogonyayu, chto tam nuzhno menyat'. Poiskovik ne dolzhen indeksirovat' stranitsy, v kotorykh prisutstvuet "sortBy". ili ne ispol'zovat' ego vovse - ehto bolee verno, ya zhe napisal, chto vse ehto proiskhodit avtomaticheski.

Author Serg
Partaker
#17 | Posted: 5 Sep 2006 14:06 
Poiskovik ne dolzhen indeksirovat' stranitsy, v kotorykh prisutstvuet "sortBy"

YA sejchas ne o poiskovike, a o navigatsii vnutri foruma. Vashi slova iz upomyanutoj temy:

Notice: this also will work when you browse forums, choosing them from dropdown menu at the bottom of page.

YA by dobavil, chto sortirovka po temam i Extra Pagination v ehtom sluchae nedostupny.

Author Paul
Lead Developer 
#18 | Posted: 5 Sep 2006 16:32 
Dyk ehto kod IMENNO dlya poiskovikov! Ego nezachem voobshche stavit', esli vam nachkhat' na poiskovik i vy gotovy zhdat', poka on vashi forumy pereindeksiruet v techenie pary mesyatsev sobstvennymi silami. Poehtomu ya i napisal - "dlya ozabochennykh". Ozabochennykh poiskovikom.

YA by dobavil, chto sortirovka po temam i Extra Pagination v ehtom sluchae nedostupny. - oni i ne dolzhny byt' dostupny, ehto kod dlya poiskovika.

Author Serg
Partaker
#19 | Posted: 6 Sep 2006 00:08 
Pro NOINDEX,NOFOLLOW napishu pozzhe, kogda razberus' so vsevozmozhnymi variatsiyami URLov :-)

Proapgrejdil forum do versii 2.0.2 - s index/noindex vse normal'no.
Na "kod dlya ozabochennykh" zabil :-)
А v sabzh dobavil vybor - extra ili all. Mozhet komu sgoditsya :-)

/* Limit thread pagination to 100 or to all*/
$replysExtra=100;
$replysDefault=$viewmaxreplys;
if($action=='vthread'){
if(isset($topicData[5]) and $topicData[5]>$viewmaxreplys){
if(isset($_GET['extpage'])) { $viewmaxreplys=$replysExtra; $linkExtra=''; $numrep=$replysDefault; $linkText1=''; $indexphp1=$indexphp; $indexphp.='extpage&'; $mod_rewrite=FALSE; }
else { $linkExtra='extpage&'; $numrep=$replysExtra; $indexphp1=$indexphp; }
$extTopics=" <a href=\"https://www.minibb.com/forums/{$indexphp1}{$linkExtra}action=vthread&amp;forum={$ forum}&amp;topic=3329&amp;page=2\">Pagination {$numrep}</a>";

if(isset($_GET['alltopics']
)) { $viewmaxreplys=$topicData[5]; $linkExtra=''; $linkText=''; $extTopics=''; }
else { $linkExtra='alltopics&amp;'; $linkText='All'; }
$allTopics=" <a href=\"https://www.minibb.com/forums/{$indexphp}{$linkExtra}action=vthread&amp;forum={$f orum}&amp;topic=3329&page=all\">{$linkText}</a>";
}
}
/* --Limit thread pagination to 100 or to all */

(mezhdu zhirnymi simvolami ubrat' probel)

{$extTopics} i {$allTopics} - v main_posts.html

Author Paul
Lead Developer 
#20 | Posted: 6 Sep 2006 07:55 
Ok, tak uzhe luchshe :-) YA proveril kod - vrode by rabotaet.

ZHelayushchim nado ne zabyt' vstavit' v main_posts.html {$extTopics} i {$allTopics}, ili obe peremennye vmeste (khotya ehto yavno perebor).

Page  Page 2 of 2:  « Previous  1  2 
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 All posts / replies on one page [RUSSIAN]
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑