PDA

View Full Version : Change "showthread.php" link


Zyon
04-15-2014, 03:24 PM
Hello.

Is it possible to change showthread.php and few similar "sublinks"?

If yes how?
Thanks

Zachery
04-15-2014, 03:56 PM
Change how...

Zyon
04-15-2014, 04:33 PM
Change in something else... Example siteurl.com/showthread.php to siteurl.com/pokazitemu.php

Sorry for my bad English... It's not my primary language...

Zachery
04-15-2014, 04:38 PM
Why would you want to do that exactly? It'd require a lot of custom coding.

Zyon
04-15-2014, 04:42 PM
Because forum is Croatian, so I want Croatian "sublinks" because it's a little stupid to have totally different sublinks etc and it look unproffesional for me.

Imagine that you have on English forum that links on Germany or Croatian...

I know that will be a lot of coding, but where, and is it possible?

Zachery
04-15-2014, 06:36 PM
Why does it matter what the file names are?

Zyon
04-16-2014, 11:30 AM
I just want that.

Can you help me? What parts I need to edit?

cellarius
04-16-2014, 12:21 PM
It's a hell oif a lot you would need to edit, and it's nothing that could be done in a matter of minutes or simply explained in a few lines of post, as you seem to think.

If you don't know where to start, keep your fingers off it, you're sure to break things. Or pay someone to do it.

Zyon
04-16-2014, 12:30 PM
Hehe, that's why I will do it on pc (localhost) :)

I need to edit all documents, or all showthread words or something harder?

Lynne
04-16-2014, 05:27 PM
If you have a good text editor, it should be able to search all files in a directory for a certain phrase, like showthread, and then do a replace. You'll have to also do the same in all the templates and phrases (although you may be able to get away with just using the Replacement Manager for those).

Zyon
04-16-2014, 05:33 PM
Replacement managment?

I'm using something like notepad for it and ctrl+f

templates is in html or xhtml? I know only html... :(

So it's all?

ForceHSS
04-16-2014, 05:39 PM
Use notepad ++ (http://notepad-plus-plus.org/download/v6.5.5.html)

Zyon
04-16-2014, 05:45 PM
I have something similar.

Can someone write what I need to edit? All showthread words?

And in what documents?

Firyou
04-16-2014, 07:30 PM
Have you thought about enabling friendly url's? Its not a custom edit, but it'll make that part of the url go away and replace it with something nicer looking :)

Lynne
04-16-2014, 09:54 PM
Nobody that I know of has ever asked to have this done, so there really aren't any steps we can write out since none of us has ever tried to do it before. You would basically have to replace all showthread.php in all the files with the new name, and the same in all templates and phrases. And, rename the file itself, of course.

Please be aware that if you ever have problems on your site and ask for help, the first thing people will tell you is to upload all new default files to your site and to use a totally default style. That means to undo all your custom work.

Zyon
04-17-2014, 03:44 AM
Yes, I know that :)

If I miss I need again. That's why I do it on my pc.

Anyway thanks. If I acces, I will share there ;)