Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard
Author Message
ring_c
Involved
Involved



Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Mon Nov 14, 2005 12:28 am Reply with quote

Ok, I've installed version 0.4 of the nextgen, and have noticed the first problem.
I have a problem when searching word/words in forums. Usually PhpBB hilights the searched words in its results. Actually, it still happens - but in English words only. Hebrew (which is my site's main language) the hilight doesn't work.

I've tried changing the GT-Forums.php to include the hebrew letters. I believe the right line is this one:

Code:
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)&amp;highlight=([A-Za-zא-ת0-9_-]*)'",


I guess you won't see the Hebrew characters, but they are there believe me. Yet, it didn't help. So I thought there might be something in GT's configuration which relates to it, as the relevant GT's urlout line is:

Code:
"ftopic\\1-\\2-\\3.html",

I guess I need to change that 3 thingy. but how and where?

Would appreciate any help! TIA.
 
View user's profile Send private message Visit poster's website
sting
Involved
Involved



Joined: Sep 23, 2003
Posts: 456
Location: Somewhere out there...

PostPosted: Fri Jan 27, 2006 12:49 pm Reply with quote

Ok, at fist glance I am not sure what the corresponding URLIN is for the code you are looking for, but in the .htaccess, you might find some assistance with the '3 thingy' by looking at the corresponding URL and URL replacements:

Code:


#Forums
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2
RewriteRule ^ftopic-([0-9]*)-(previous|next).html modules.php?name=Forums&file=viewtopic&t=$1&view=$2
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9_-]*).html modules.php?name=Forums&file=viewtopic&$1=$2&highlight=$3
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&$2=topic&start=$3
RewriteRule ^ftopic(t|p)-([0-9]*).html modules.php?name=Forums&file=viewtopic&$1=$2
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) modules.php?name=Forums&file=viewtopic&$1=$2#$3
RewriteRule ^forum-editprofile.html forum-editprofile.html
RewriteRule ^forum-userprofile-([0-9]*).html forum-userprofile-.html$1
RewriteRule ^forum-register-new.html forum-register-new.html
RewriteRule ^forum-register-coppa.html forum-register-coppa.html
RewriteRule ^forum-register.html forum-register.html
RewriteRule ^forums-posting.html forums-posting.html
RewriteRule ^forum-faq-bbcode.html forum-faq-bbcode.html
RewriteRule ^ftopic-post-([0-9]*).html ftopic-post-.html$1
RewriteRule ^ftopic-vote-([0-9]*).html ftopic-vote-.html$1
RewriteRule ^ftopic-new-([0-9]*).html ftopic-new-.html$1
RewriteRule ^ftopic-reply-([0-9]*).html ftopic-reply-.html$1
RewriteRule ^ftopic-edit-([0-9]*).html ftopic-edit-.html$1
RewriteRule ^ftopic-smilies.html ftopic-smilies.html
RewriteRule ^ftopic-quote-([0-9]*).html ftopic-quote-.html$1
RewriteRule ^forum-posting.html modules.php?name=Forums&file=posting
RewriteRule ^forums-group([0-9]*).html forums-group.html$1
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html fsearch-author-.html$1
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=search&search_id=$1&start=$2
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html modules.php?name=Forums&file=search&search_id=$1
RewriteRule ^fsearch-results.html fsearch-results.html
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html modules.php?name=Forums&file=$1
RewriteRule ^forum-c([0-9]*).html forum-c.html$1
RewriteRule ^forum-mark.html forum-mark.html
RewriteRule ^forums.html modules.php?name=Forums&file=index
RewriteRule ^forum-viewonline.html forum-viewonline.html
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&topicdays=$2&start=$3
RewriteRule ^forum-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&start=$2
RewriteRule ^forum-([0-9]*)-mark.html modules.php?name=Forums&file=viewforum&f=$1&mark=topics
RewriteRule ^forum-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1
RewriteRule ^forums.html forums.html


I am posting it here so I too can glance over it .. lol

-sting
 
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> GT - Next Gen and Standard

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©