Author Topic: Long urls  (Read 208 times)

0 Members and 0 Guests are viewing this topic.

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Long urls
« on: November 22, 2017, 10:54:49 am »
Many forums automatically shorten a lengthy url. Is there a way we can? For example, I had my forum set at 70% width, but when someone posts a lengthy url, it stretches the posts out wide. I have reverted to 100% width which has stopped this happening, as obviously the page is at full stretch already. I have suggested that people either embed the url or use tinyurl - but they don't! Any suggestions/help would be appreciated.

Social Buttons


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 5036
  • Karma: 268
    • View Profile
Re: Long urls
« Reply #1 on: November 22, 2017, 08:34:06 pm »
Hmm. What would you ideally like to happen if a large url is posted?
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #2 on: November 24, 2017, 09:31:10 am »
On phpBB forums, a long url is condensed. For example, posting this long url link


https://www.amazon.co.uk/gp/product/B01EALIXB2/ref=s9_acsd_hps_bw_c_x_1_w?pf_rd_m=A3P5ROKL5A1OLE&pf_rd_s=merchandised-search-2&pf_rd_r=GQEB81B54ZKME5RTZNQM&pf_rd_r=GQEB81B54ZKME5RTZNQM&pf_rd_t=101&pf_rd_p=a787de07-a12c-4b73-abcb-e8b09a3fa246&pf_rd_p=a787de07-a12c-4b73-abcb-e8b09a3fa246&pf_rd_i=11180296031


appears on the forum post as


https://www.amazon.co.uk/gp/product/B01 ... 1180296031


Thereby not s t r e t c h i n g  the forum page if it is at, say, 70% width.


It would be nice if we had this feature (of course, we might and I haven't found it!)
« Last Edit: November 24, 2017, 05:42:22 pm by Harley Quin »

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #3 on: November 27, 2017, 10:14:57 am »
Even at the full width layout setting, a very long url stretches the page, adding a scroll bar to enable you to see the full width. It would be good if long urls could be automatically shortened to fit the page.. Although the illustration below is small, it will be a bit clearer if you click on it.


« Last Edit: November 27, 2017, 10:16:30 am by Harley Quin »

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #4 on: December 06, 2017, 09:50:28 am »
Even setting the layout at 100% doesn't fix the problem as this link shows. I am sure there should be a setting somewhere to be able to 'shorten' lengthy urls. I thought I had found it in settings when I saw this (Admin>Forum>Posts and Topics):


Break up words with more letters than


Sadly, it doesn't break up a url, as I set it to 40 but it made no difference.

« Last Edit: December 06, 2017, 09:52:41 am by Harley Quin »

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 5036
  • Karma: 268
    • View Profile
Re: Long urls
« Reply #5 on: December 07, 2017, 12:57:30 am »
Added a system to shorten links if  greater than 50 characters. Affects new posts only.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #6 on: December 07, 2017, 02:10:29 pm »
That is great! However, I have just made a sample post and it didn't work.  :-\  Do I have to go into settings to enable it? I've had a look but can't find it if this is so.


Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #8 on: December 07, 2017, 06:50:21 pm »
Sadly it doesn't work on my forum, as the screenshot below shows.  :-\


« Last Edit: December 07, 2017, 08:13:02 pm by Harley Quin »

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #9 on: December 18, 2017, 02:34:58 pm »
I would really appreciate it if you could see if you find the reason that long urls are not shortened on my forum. This post shows that they are still not being shortened:


https://thecommonroom.createaforum.com/the-chat-room/general-chatter-(about-anything)/msg87344/#msg87344


Any help would be so appreciated.

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #10 on: December 21, 2017, 01:22:05 pm »
Any joy with the above?

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 5036
  • Karma: 268
    • View Profile
Re: Long urls
« Reply #11 on: December 21, 2017, 02:41:07 pm »
I haven't had time to look more in depth has been a busy week for me.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #12 on: December 22, 2017, 08:35:12 am »
I appreciate that. When you have the time! Thanks, anyway.

Offline Harley Quin

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 2
    • View Profile
    • The Common Room Forum
Re: Long urls
« Reply #13 on: January 08, 2018, 04:21:21 pm »
I wonder if you have more time now you might be able to look into why my forum doesn't shorten urls - I think 'parse urls' is the technical term! I would appreciate any help.

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 5036
  • Karma: 268
    • View Profile
Re: Long urls
« Reply #14 on: January 08, 2018, 04:23:51 pm »
I gave up on it for now. I found out it broke notification links in emails.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
295 Views
Last post December 23, 2011, 02:40:42 am
by Author
1 Replies
180 Views
Last post October 18, 2012, 06:02:41 pm
by CreateAForum
3 Replies
444 Views
Last post January 15, 2014, 10:49:58 pm
by CreateAForum
2 Replies
29 Views
Last post May 06, 2018, 09:11:58 pm
by 2fish
2 Replies
71 Views
Last post May 23, 2018, 08:29:31 pm
by CreateAForum