![]() |
|
Thread Tools |
#1
|
||||||||
|
||||||||
Show full url links instead of shortening it?
Hi, when users post a long link the forum automatically shortens it by adding "..." for example:
something like this will come up:
Is there an option on how I can make it show the full url link instead of it being shorten? thanks No members have liked this post.
|
#2
|
||||
|
||||
This has been posted about before. You need to actually edit the code. Try a search for it and it should come up. Or do a search in your files for "..." and it should come up (that's how I found it).
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#3
|
|||
|
|||
Thanks for the reply. But i've tried searching on Vbulletin.com and Vbulletin.org for hours and of course I did the basic phrase / template search for "..." before posting this thread. I came up with nothing.
can you please direct me to the post or what to type into the search field? I might just be retarded and missing the most simplest word for this. No members have liked this post.
|
#4
|
||||
|
||||
Search your php files for '...', not the templates/phrases. I think it will show up in some bbcode function, if I recall correctly.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#5
|
|||
|
|||
Hi Lynne,
Are you able to do this in vB4? I've tried to disable stripping in handle_bbcode_url function in class_bbcode.php but it does not work. postparsed table is truncated. Any idea? Thanks. No members have liked this post.
|
#6
|
||||
|
||||
Yes, it works in vb4 also. I saved this blurb from another thread about it:
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#7
|
||||
|
||||
This was very useful info, thank you as always Lynne!
No members have liked this post.
|
#8
|
|||
|
|||
Originally Posted by Lynne
Glad I found this post.![]()
I was having problems in latest version of vB 4.1.5 where I posted download links for alpha testers of my script on my forum and it initially worked for them, but when I went back to the page a day later, link would be corrupted. But when I edited the script, the full link showed in the edit mode. I commented the block of code you reference out and problem goes away for me. Thanks.
__________________
Doug Mewis Owner, Friends Arcade, a gaming website for people to socialize and play games with some of the best games available http://friends-arcade.com No members have liked this post.
|
#9
|
|||
|
|||
Originally Posted by Lynne
I changed that number to 512![]()
so it is:
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
|
#10
|
||||||||
|
||||||||
In FILE class_bbcode.php have 2 line need edit.
edit
to
The following members like this post: postcd
|
#11
|
||||
|
||||
Do not comment that line out. You are opening an XSS security hole by removing the htmlspecialchars call.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#12
|
|||
|
|||
Even better, you can have the URL auto convert into the Title of the page:
http://www.vbulletin.org/forum/showthread.php?t=189658 No members have liked this post.
|
#13
|
|||
|
|||
Originally Posted by Paul M
In the file /includes/class_bbcode.php i found two lines:![]()
$text = htmlspecialchars_uni(vbchop($tmp, 36) . '...' . substr($tmp, -14)); so i replaced both by: $text = htmlspecialchars_uni($text); and it seems to work (no link shortenings). Is that better regarding security? https://www.w3schools.com/PHP/func_s...ecialchars.asp
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
Last edited by postcd; 16 Jan 2020 at 09:49. |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:07.