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


Joined: Nov 06, 2004
Posts: 4

PostPosted: Wed Nov 12, 2008 7:28 am Reply with quote

I have a number of nuke based sites, they all have GT installed on them, i now want to change the way rewrites are handled for just the forums i.e.

I want to change
Only registered users can see links on this board! Get registered or login!

to instead be
Only registered users can see links on this board! Get registered or login!

and same for threads i.e. grab the thread title and use first bit as the url i.e.
Only registered users can see links on this board! Get registered or login!

instad
Only registered users can see links on this board! Get registered or login!

any ideas on how to go about doing this ?
 
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Nov 12, 2008 8:53 am Reply with quote

I do not think you can do what you want. You can only use the information that is present in the URL to rewrite it. You would have to change the base code of the forums to pass the title in the url. Which would not work, let alone be a good idea.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Wed Nov 12, 2008 9:42 am Reply with quote

this will do what you want, i believe...
Only registered users can see links on this board! Get registered or login!

and for topic titles
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message Visit poster's website
Palbin
PostPosted: Wed Nov 12, 2008 11:36 am Reply with quote

well apparently someone has already done it Smile
 
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 ©