TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,097
  • Total Topics: 21,345
  • Online today: 770
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 426
  • Total: 426

Users of TP & Pretty URLs

Started by eldacar, May 09, 2008, 05:09:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eldacar

QuoteNo. I tried using $_GET['award'] which is what I always use for variables passed in a URL.
Well you should try $_REQUEST too. There's usually little reason to specify how the variable is coming.

QuoteAnyway, until the problem with the editor is worked out, I definitely would not suggest that people use both TP and your mod.
Yeah... working on that.

eldacar

I've installed TinyPortal but I can't reproduce the editors problem. I can use the rich text editors fine. Is it only a problem in custom themes?

JPDeni

It may be. Do a search for SEO and you might find the topics where someone had a problem. There was one quite recently -- within the past week IIRC.

eldacar

I found some extra problems. For anyone who's interested, I've made a new snapshot on the download page that fixes them.

NIBOGO

Quote from: Dannii on May 09, 2008, 05:09:08 PM
Hello all you users of TP and Pretty URLs (if there are any of you that is...)

What TP URLs would you like to be prettified? I notice that articles now use ?page=articletitle, which could easily be converted to http://domain.com/page/articletitle/, would you like that? Is there anything else that could be changed? All suggestions are welcome!

Maybe you can use:

http://www.domain.com/article-title

eldacar

That would only be possible if both actions, boards and topics used the query string (ie, TinyPortal is the only pretty thing.) Currently domain.com/text/ is already overloaded and used for both actions and boards, trying to distinguish between three types of pages would be chaotic.

If that's what you want it's definitely not hard.

JPDeni

I'm not sure what post you're referring to -- what "That" means at the start of your post -- but from context it seems that you might be referring to my comment from last May where I said

Quote
I wrote something for someone a while back which required the passing of a variable to an article through a link. Since he used the mod, the variable didn't pass and the code didn't work.

I'm a programmer. To me, whether URLs look nice or not is incredibly unimportant. They are a tool I can use in my programming. If I were to build a bookcase, I wouldn't care what color the handle of my hammer was. If people want to have pretty URLs, that's fine, but I will require that they tell me off the bat when they ask for complicated custom programming so that I'll know whether what they want is possible or not.

Ianedres

If I am following this correctly, it would seem that if you wanted to 'pretty' up the URLs, you would 1) have to include a function call to the SEO code to generate each and every URL in your custom script with your variables to comply with its expectations, or 2) have the SEO script read any and all variables that are passed, and automatically append to the generated URL.

I use many articles on my site that require the passing of variables through the URL, and though I would like to have higher rankings in the search results, the functionality of the article script is priority.

But, I think if the SEO used method 2, it would help with future compatibility with other mods/scripts- if I comprehend all this correctly.

eldacar

QuoteI'm not sure what post you're referring to -- what "That" means at the start of your post -- but from context it seems that you might be referring to my comment from last May where I said
Sorry, the "that" was referring to using pretty URLs for TP articles and nothing else.

And did you ever get that working? I suggested using $_REQUEST rather than $_GET.

Quote from: Ianedres on August 10, 2008, 03:28:24 AM
If I am following this correctly, it would seem that if you wanted to 'pretty' up the URLs, you would 1) have to include a function call to the SEO code to generate each and every URL in your custom script with your variables to comply with its expectations, or 2) have the SEO script read any and all variables that are passed, and automatically append to the generated URL.

I use many articles on my site that require the passing of variables through the URL, and though I would like to have higher rankings in the search results, the functionality of the article script is priority.

But, I think if the SEO used method 2, it would help with future compatibility with other mods/scripts- if I comprehend all this correctly.
It already does this. I don't see what articles would be any different to any other SMF action.

JPDeni

QuoteAnd did you ever get that working?
No. I didn't work on it any more. I was writing it for someone else and he just gave up.

$_REQUEST doesn't make any difference at all.

This website is proudly hosted on Crocweb Cloud Website Hosting.