Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Any way to change anchors?
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 10:13 am

will get back with you...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 19, 2014 - 10:44 am

Ok - try adding this to your Simple:Press theme spFunctions file:

add_filter('sph_forum_url', 'test');
function test($u) {
    $p = strpos($u, '#');
    if($p) $u = substr($u, 0, $p);
    return $u;
}

Important to realise, of course, that this will change the urls across the board. Although I am only 95% sure it will change all of them.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 10:53 am

perfect, thank-you!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 19, 2014 - 12:21 pm

Good to hear. Hopefully it really does get them all. I wonder if some might seem a bit weird though. Like search results for example.

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 19, 2014 - 12:30 pm

it does, and I actually prefer it like that, I'd rather people being looking through the newest posts firsts instead of three year old threads

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 19, 2014 - 12:49 pm

Understood.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 643
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17343
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79590