miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · 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 Lead Developer
#16 · Posted: 5 Sep 2006 13:58Reply Quote
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:06Reply Quote
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 Lead Developer
#18 · Posted: 5 Sep 2006 16:32Reply Quote
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:08Reply Quote
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 Lead Developer
#20 · Posted: 6 Sep 2006 07:55Reply Quote
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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
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 File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.