A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to change the profile link
Aug 20, 2010
6:02 am
RonaldB
Guest

to to it with the rewrite rules would function, if I would know, how to say the rwewrite rule "leave out /forum/ before profiles

Aug 20, 2010
6:09 am
RonaldB
Guest

I think it would be necessary to change "slugmach" into the main domain or so ????

 

$sf_rules[$slugmatch.'/private-messaging/?$'] = 'index.php?pagename='.$slug.'&sf_pm=view&sf_box=inbox';

Aug 20, 2010
2:43 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

yes.  currently the slug match includes the page slug the forum is on…  you could just remove it and also remove the pagename form the index.php query arg…

you may also have to change how the query args are processed later on the front end, but maybe not… havent tried something like this..

Aug 21, 2010
7:57 am
RonaldB
Guest

How would the rule correctly look like without the slugmatch and what exactly shoulb be done on index.php ?

Aug 21, 2010
7:00 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

again, have not tried this, so you are on your own… but I would start with something like

$sf_rules['/private-messaging/?$'] = 'index.php?sf_pm=view&sf_box=inbox';

Aug 22, 2010
3:30 am
RonaldB
Guest

Doesnt function.

 

Perhaps ist would work, if we would try it on normal .htaccess mod_rewrite ?

Aug 22, 2010
3:31 am
RonaldB
Guest

Do you knaow how to write an mod_rewrite ruel that makes

someting like this ?

'/private-messaging/?$' = 'index.php?pagename='.$slug.'&sf_pm=view&sf_box=inbox';

Aug 22, 2010
11:18 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

well, it certainly can function, but like I said there might be other processing changes needed…

I would google redirection for how to write .htaccess rules… whenever I need one thats what I do and dont really try to remember… sorry…

or maybe one of your knowledable users will chime in…

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, chaiavi, steve.engelking
77 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7361

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10890

Posts: 79531

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22211), Mr Papa (23688)