vitok - Posts

Return to advanced search

could you post or PM the final code for the zero dupe ? just for the ppage var, the one for the particular forum browsed, as I did not know which var to use for it ;) In fact I do not use different topics ppages for my forums, nor I allow users to change this parameter. So for me $board_config['top...
by vitok
Sun Feb 04, 2007 8:15 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

Thanks for seo_ppage function ;) these two are most likely already knew at this stage in the regular code It seems to me they are not. I can find the strings $topics = new topics(); $topics->read($forum_id); only somewhere in the middle of index.php and $this->parms = array_merge(...
by vitok
Sun Feb 04, 2007 5:12 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

Now about Zero duplicate... I do certainly need the mod :D So I used // www.phpBB-SEO.com SEO TOOLKIT BEGIN $start_seo = _read('start', TYPE_INT); $ppage_seo = _read('ppage', TYPE_INT); if ($start_seo) $start_seo = '-' . $start_seo; else $start_seo = ''; if ($ppage_seo...
by vitok
Sun Feb 04, 2007 12:22 am
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

Dcz, to deal with absolute linking of images and files I had to make some more changes. Here they are: In class_user.php function img($key) { global $images, $config; return !empty($key) && isset($images[$key]) ? $config->root . $images[$key] : (eregi('^&...
by vitok
Sun Feb 04, 2007 12:13 am
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

Dcz, thanks a lot for your PMs! $current_template_images = PHPBB_URL . $current_template_path . "/images"; I just didn't know where to look for this :oops: So it's really nice that you pointed out how to deal with absolute urls without editing htaccess :wink: I will truly have to change ur...
by vitok
Fri Feb 02, 2007 8:42 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

About the the end of url in the browser, you can only get rid of it for the index.php, the example you posted would not allow other url to work in the same folder, like search.php etc ... Maybe my example wasn't good enough. I meant this: http://localhost/school-abitu/edinyi-gos-exam-ege-nn59/artic...
by vitok
Fri Feb 02, 2007 3:43 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

While working on phpBB3, I was actually thinking about implementing a cache for forum titles, kind of the way you did, but with auto updating features. Sounds great ;) How did you deal with absolute linking ? base href of subsilver.cfg ? My append_sid function returns (PHPBB_URL . $url) instead of ...
by vitok
Fri Feb 02, 2007 3:14 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

Ok, i've tried the mod and it looks great! :D Still i had to make some changes in the code. Futher i briefly describe what i've done. It would be great if you find several minutes to look the changes through and to comment them in case i've spoiled smth ;) 1) i have CH installed => had to change inc...
by vitok
Wed Jan 31, 2007 4:58 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

This is only an useful thing to do if you plan to often use Latin char-set words No, i do not plan this... :) Some sites (e.g. ru.wikipedia.org) use cyrillic letters in their url's. Still i don't think that's smth i want. Or, better to say, i do not think this is smth that robots will be happy to s...
by vitok
Fri Jan 26, 2007 3:18 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

CH & win1251 & Simple mod rewrite

Hallo! I've been thinking of applying the mod to the site http://osvic.ru and do have some questions: 1) the site is in Russian, charset win1251. Shall i get any advantage from using Mixed/Advanced mod rewrite or Simple mod rewrite is the only possible choice? 2) i'm using CH 2.12. Shall i have any ...
by vitok
Thu Jan 25, 2007 8:49 pm
 
Forum: phpBB2 Simple mod rewrite
Topic: CH & win1251 & Simple mod rewrite
Replies: 17
Views: 5358

Return to advanced search