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
Combine permalink and post number.
Avatar
Apopas
Member
sp_UserOfflineSmall Offline
Feb 24, 2017 - 10:08 am

Hi,

I'm trying to make Reboot theme as mininal as possible.

How can I make post numbers to act as permalinks?

 

thank you

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2017 - 12:10 pm

The post number is not really a part of the permalink now - it is just a fragment.

You CAN make the topic part of the permalink use the topic ID with our plugin

andy-signature.png
YELLOW
SWORDFISH
Avatar
Apopas
Member
sp_UserOfflineSmall Offline
Feb 24, 2017 - 1:38 pm

I installed topic-id plugin but nothing changed. Every topic and post link is exactly the same as before the installation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2017 - 2:53 pm

It will kick in with all new topics. Existing topics already have a stored permalink...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Apopas
Member
sp_UserOfflineSmall Offline
Feb 24, 2017 - 3:06 pm

But I don't create new topics in my forum, so this plugin is of no use to me.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2017 - 3:10 pm

Really? How very odd!
How many topics do you have?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Apopas
Member
sp_UserOfflineSmall Offline
Feb 24, 2017 - 4:16 pm

36 for the last 5 years. Maybe I'll have 40 one day in the distant feature but doubtful.

Anyway, no big deal for 3 euros.

Back on topic: right now on the top of the post I have the post number, the date and the chain icon. Since the number and the date aren't clickable, can't I somehow adjust the permalink on one of them and thus removing the chain icon completely?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2017 - 5:00 pm

If you are happy to work in the database - or run a little SQL query - then changing the topic slugs to their ID is a pretty simple matter. Then the IDs would be used all the time.

It can be done but you would need to change the actual display code to accommodate it. And that leaves you with the problem of catering for future updates.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Apopas
Member
sp_UserOfflineSmall Offline
Feb 24, 2017 - 5:36 pm

Yellow Swordfish said
If you are happy to work in the database - or run a little SQL query - then changing the topic slugs to their ID is a pretty simple matter. Then the IDs would be used all the time.

Hmmm I'm not really sure if I want to change topic titles to ids so I'll pass it for now. Maybe in the future.

It can be done but you would need to change the actual display code to accommodate it. And that leaves you with the problem of catering for future updates.  

Updates always bring troubles, so one more is not a big deal laugh

So, what should I do to change it?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 25, 2017 - 3:10 am

do you want to lose the topic titles?  not just on permalink, but forever?  think this is where Andy was heading... but a small query like

UPDATE wp_sftopics SET topic_slug = topic_id;

but maybe best to wait for andy..

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: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626