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
boogywoogy
New Member
New Member


Joined: Aug 11, 2004
Posts: 8

PostPosted: Fri Oct 07, 2005 2:59 am Reply with quote

Hi we recently installed GT Nextgen .4a and every things running fine only the user info is creating problem.

In this Ravens's site in the news module - the link to the user who posted the last news is coming like this Only registered users can see links on this board! Get registered or login!

Where as in our site its coming like Only registered users can see links on this board! Get registered or login! and if we click that its going to a page where its showing database error

The news moderator’s link that is coming here is Only registered users can see links on this board! Get registered or login!

In our site its again different

Any idea why this is happening? And also any suggestions how to correct the problem?

Thanks in advance

Site: Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Steptoe
Involved
Involved


Joined: Oct 09, 2004
Posts: 293

PostPosted: Fri Oct 07, 2005 4:02 am Reply with quote

I different thought to the problem
Do u need user a/c details GT ed...or do u want them SEO ed? Woulds it not be better to have any links to users details anywhere only visible to members logged in?
User info members , new members, moderators in forms, membership list, poster, last poster. etc?

_________________
My Spelling is NOT incorrect, it's Creative 
View user's profile Send private message
boogywoogy
PostPosted: Fri Oct 07, 2005 5:30 am Reply with quote

Ya that is a good suggestion.

Basically all i need is get the News, Content and Forum to be Google Tapped and may be the Journal too. User info I am not being able to figure out how to get it corrected, normall session id access will do fine with us but if its a .html file then it looks better thats all.

Funny thing is from the forum and journal - user id is showing ok but in the news section the problem is there!

Rest of the GT is working Fine
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Fri Oct 07, 2005 6:19 am Reply with quote

Here are the rules I use.
IN:
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)'",

OUT:
"userinfo-\\1.html",
"userinfo-\\1.html",

.htaccess:
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]
 
View user's profile Send private message
boogywoogy
PostPosted: Sat Oct 08, 2005 5:17 am Reply with quote

Hi I belive you are talking about the GT-Your_Account.php file right?

Earlier it was
-------------------------------------------------------------------------------

$urlin = array(
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=([a-z_]*)\"'",
"'(?<!/)modules.php\?name=Your_Account\"'",
"'(?<!/)modules.php\?name=Journal&amp;file=search&amp;bywhat=([0-9]*)&amp;forwhat=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Journal&amp;file=edit'",
"'(?<!/)modules.php\?name=Members_List'",
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&amp;file=article&amp;thold=([0-9-]*)&amp;mode=([a-z]*)&amp;order=([0-9]*)&amp;sid=([0
-9]*)([0-9#]*)'",
"'(?<!/)modules.php\?name=Private_Messages&amp;mode=post&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Private_Messages'",
"'(?<!/)modules.php\?name=Search&amp;type=users'",
"'(?<!/)modules.php\?name=WebMail'"
);

$urlout = array(
"userinfo-\\1.html",
"account-\\1.html\"",
"account.html\"",
"journal-search-\\1-\\2.html",
"journal-edit.html",
"members.html",
"article\\1.html",
"article-\\1-\\2-\\3-\\4.html\\5",
"messages-post-\\1.html",
"messages.html",
"search-users.html",
"webmail.html"
);

-----------------------------------------------------------------------

I changed it to

--------------------------------------------------------------------
$urlin = array(
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account\"'",
"'(?<!/)modules.php\?name=Journal&amp;file=search&amp;bywhat=([0-9]*)&amp;forwhat=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Journal&amp;file=edit'",
"'(?<!/)modules.php\?name=Members_List'",
"'(?<!/)modules.php\?name=News&amp;file=article&amp;sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&amp;file=article&amp;thold=([0-9-]*)&amp;mode=([a-z]*)&amp;order=([0-9]*)&amp;sid=([0
-9]*)([0-9#]*)'",
"'(?<!/)modules.php\?name=Private_Messages&amp;mode=post&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Private_Messages'",
"'(?<!/)modules.php\?name=Search&amp;type=users'",
"'(?<!/)modules.php\?name=WebMail'"
);

$urlout = array(
"userinfo-\\1.html",
"account-\\1.html\"",
"account.html\"",
"journal-search-\\1-\\2.html",
"journal-edit.html",
"members.html",
"article\\1.html",
"article-\\1-\\2-\\3-\\4.html\\5",
"messages-post-\\1.html",
"messages.html",
"search-users.html",
"webmail.html"
);

-------------------------------------------------------------------

I also changed the
.htaccess:

RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]

but not getting the desired effect its still shwoing Only registered users can see links on this board! Get registered or login!

Did i make the corrections propely?
 
boogywoogy
PostPosted: Wed Oct 12, 2005 1:01 am Reply with quote

ROTFL HitsFan

Ok I made the changes in the wrong file it was supposed to be changed in GTNews Embarassed

Well its working smooth again but i am running it without
(.htaccess: RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L])
this change and its running ok
RavensScripts Wave cheers
 
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 ©