PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ring_c
Involved
Involved


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

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

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: 460
Location: Somewhere out there...

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

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 forums.html&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 forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&start=$2
RewriteRule ^ftopic-([0-9]*)-(previous|next).html forums.html&file=viewtopic&t=$1&view=$2
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9_-]*).html forums.html&file=viewtopic&$1=$2&highlight=$3
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html forums.html&file=viewtopic&t=$1&$2=topic&start=$3
RewriteRule ^ftopic(t|p)-([0-9]*).html forums.html&file=viewtopic&$1=$2
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) forums.html&file=viewtopic&$1=$2#$3
RewriteRule ^forum-editprofile.html forums.html&file=profile&mode=editprofile
RewriteRule ^forum-userprofile-([0-9]*).html profile-.html$1
RewriteRule ^forum-register-new.html forums.html&file=profile&mode=register&agreed=true
RewriteRule ^forum-register-coppa.html forums.html&file=profile&mode=register&agreed=true&coppa=true
RewriteRule ^forum-register.html forums.html&file=profile&mode=register
RewriteRule ^forums-posting.html forums.html&file=modules&name=Forums&file=posting
RewriteRule ^forum-faq-bbcode.html forums.html&file=faq&mode=bbcode
RewriteRule ^ftopic-post-([0-9]*).html forums.html&file=posting&t=$1
RewriteRule ^ftopic-vote-([0-9]*).html forums.html&file=posting&mode=vote&t=$1
RewriteRule ^ftopic-new-([0-9]*).html forums.html&file=posting&mode=newtopic&f=$1
RewriteRule ^ftopic-reply-([0-9]*).html forums.html&file=posting&mode=reply&t=$1
RewriteRule ^ftopic-edit-([0-9]*).html forums.html&file=posting&mode=editpost&p=$1
RewriteRule ^ftopic-smilies.html forums.html&file=posting&mode=smilies&popup=1
RewriteRule ^ftopic-quote-([0-9]*).html forums.html&file=posting&mode=quote&p=$1
RewriteRule ^forum-posting.html forums.html&file=posting
RewriteRule ^forums-group([0-9]*).html forums.html&file=groupcp&g=$1
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html search-.html$1
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html forums.html&file=search&search_id=$1&start=$2
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html forums.html&file=search&search_id=$1
RewriteRule ^fsearch-results.html forums.html&file=search&mode=results
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html forums.html&file=$1
RewriteRule ^forum-c([0-9]*).html forums.html&file=index&c=$1
RewriteRule ^forum-mark.html forums.html&file=index&mark=forums
RewriteRule ^forums.html forums.html&file=index
RewriteRule ^forum-viewonline.html forums.html&file=viewonline
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&topicdays=$2&start=$3
RewriteRule ^forum-([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&start=$2
RewriteRule ^forum-([0-9]*)-mark.html forums.html&file=viewforum&f=$1&mark=topics
RewriteRule ^forum-([0-9]*).html forums.html&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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum