[ mlpol / qa / go / 1ntr / vx / cyb / sp / üb / a ] [ Overboard ] [ Statistics / Banlist / Search ] [ PonyX ] [ Policy / Store ] [ home ]

/qa/ - Questions and Answers

Keeping the community together by giving you a voice
Name
Email
Subject
Comment
File
:
Password (For file deletion.)

  [Go to bottom]   [Catalog]   [Return]   [Archive]

File: 1492154952569.gif (468.69 KB, 352x400, 1492108898908.gif)

 No.384

How about the filter just converts the following to null:

hxxp:://
hxxp:s://
hxxp:://www.
hxxp:s://www.

This seems to stop embedded links but is also easy to copy (or double click with add-ons) and looks professional.

Thanks admins for the hard work you have done.

 No.390

>>384
I saw someone post links using a 3rd party referral "service" to anonymize referrals.
>href.li

 No.395


 No.396

Done!

 No.438

>>396
I see that h-t-t-p is filtered even when it's alone (no , even just talking about the protocol). Would it be an issue to not filter that?

 No.439

>>438
okay, I see that lone :-/-/ is filtered too. If it's possible to only filter this stuff when it's part of a link, that would be preferable.

 No.458

>>438
>>439
Alright changed it up a bit again http:// , https:// , and www. now just have a space auto placed at the end of them.

 No.477

File: 1492323156605.png (16.15 KB, 716x706, u serious nigga.png)

>>458
>now just have a space auto placed at the end of them.

Please stop bullshitting with the word filters and just solve it properly instead.

If you want to automatically add a referrer hider to the href part of all posted links.
Then add this short code to the "markup_url" function (before the "$parts = array();" line). You can find this function in /inc/functions.php, line 1533.

ghostbin.com/paste/cowux

While you're at it, also change this line
>'rel' => 'nofollow',
to
>'rel' => 'nofollow noreferrer',

Alternatively if you just want to disable all url markup, which it seems you guys are currently trying to do with word filters.
Then add this to your instance-config.php.

$config['markup_urls'] = false;

If you need any help with programming you can always ask me.

 No.481

>>477
are you on the My Little Politics discord by any chance?

 No.563

>>477
Thank you! Implemented the referrer hider.

>If you need any help with programming you can always ask me.


You have no idea how great that would be.

 No.568

>>477
>>477
Please send an application for staff to mlpolowner@gmail.com



[Go to top] [Catalog] [Return][Post a Reply]
Delete Post [ ]
[ mlpol / qa / go / 1ntr / vx / cyb / sp / üb / a ] [ Overboard ] [ Statistics / Banlist / Search ] [ PonyX ] [ Policy / Store ] [ home ]