Thread Rating:
  • 9 Vote(s) - 3.78 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MyBB SafeLink 1.3.4
(2016-08-09, 02:23 PM)adonix Wrote: Getting SQL error while installing.

What version of MyBB are you running and what other plugins do you have installed?
My Plugins: [1.8]|[1.6]

** Selling custom plugin that enables Bitcoin payments. PM me if interested in purchasing! **
Reply
Hey Fizz,

Any chance that this plugin can be updated to utilize the Polr self-hosted URL redirect service?

Instead of "http://www.google.com" to "http://www.yoursite.com/safelink.php?link=google.com", I am hoping for the plugin to do an API call to the configured Polr instance to generate a "https://redirect.yoursite.com/392jx" URL

https://docs.polrproject.org/en/latest/d...guide/api/

Please let me know if I can do anything to help make this happen!

Thanks!
Reply
(2017-08-22, 04:09 PM)HMHackMaster Wrote: Hey Fizz,

Any chance that this plugin can be updated to utilize the Polr self-hosted URL redirect service?

Instead of "http://www.google.com" to "http://www.yoursite.com/safelink.php?link=google.com", I am hoping for the plugin to do an API call to the configured Polr instance to generate a "https://redirect.yoursite.com/392jx" URL

https://docs.polrproject.org/en/latest/d...guide/api/

Please let me know if I can do anything to help make this happen!

Thanks!

You could pay me, lol. In all seriousness though that's a lot more than an "update." Would basically require a new plugin to be entirely rebuilt to use a 3rd party api. Also a ton of extra set up work on my end just to install Polr and begin to use it. Way too much work for a fairly specific use-case, sorry!
My Plugins: [1.8]|[1.6]

** Selling custom plugin that enables Bitcoin payments. PM me if interested in purchasing! **
Reply
(2017-08-22, 08:20 PM)fizz Wrote:
(2017-08-22, 04:09 PM)HMHackMaster Wrote: Hey Fizz,

Any chance that this plugin can be updated to utilize the Polr self-hosted URL redirect service?

Instead of "http://www.google.com" to "http://www.yoursite.com/safelink.php?link=google.com", I am hoping for the plugin to do an API call to the configured Polr instance to generate a "https://redirect.yoursite.com/392jx" URL

https://docs.polrproject.org/en/latest/d...guide/api/

Please let me know if I can do anything to help make this happen!

Thanks!

You could pay me, lol. In all seriousness though that's a lot more than an "update." Would basically require a new plugin to be entirely rebuilt to use a 3rd party api. Also a ton of extra set up work on my end just to install Polr and begin to use it. Way too much work for a fairly specific use-case, sorry!

It's going down in the DMs. Smile
Reply
Hey thanks for making this available for free..
Actually i didn't able to configure it i mean i just install it but I'm confused how to use it.
when i enable it won't redirect to any external website it shows 
Quote:Quote:This page doesn't seem to exist.
because it searching in my website for the content so can you explain me how to use it and how to show a warning to user when he/she trying to accessing any external URL.

Thank you so much
Reply
Now i install MyBB SafeURL again but it simply redirect to the external URL there's no warning at all.

Please can anyone help me ?

How to configure it...

Thanks in Advance Toungue
Reply
Open safelink.php, find:
header("location:$url");

Replace with:
redirect($url, '', '', true);
Reply
(2021-04-10, 09:21 PM)Omar G. Wrote: Open safelink.php, find:
header("location:$url");

Replace with:
redirect($url, '', '', true);

I created a static php page for SafeLink but I'm stuck to make it dynamic cuz I'm not a developer and don't know about the programming that much. 
Can you suggest me which variables will be used in my code to make it dynamic.

My Code : 

<tr>
<td class="mini-form__trow" align="center">
This is your friendly warning that the site ahead may be malicious. Proceed with caution.
<br><br>
<span style="font-size: 14px;">
<strong>URL Domain</strong>: <span style="border-bottom: 1px dashed" title="https://external.url/1/3064600/123.html">External.url</span>
</span>
<br><br>
<a href="https://external.url/1/3064600/123.html" rel="nofollow" class="mini-form__button mini-form__button--only-text">Continue</a>
<a href="https://example.com" class="thead" >Return</a>
</td>
</tr>

I want to capture the URL and Domain name of External Website can you suggest me some variable of SafeLink for the same.

If there's any MyBB Developer here PM me for paid work.
PM me if you can create : A Warning System, Points and Credit System, Hidden Tags System, Award System, and more..

Thanks in advance.
Bhaskar
Reply
(2021-04-16, 06:15 AM)bhaskar Wrote: I want to capture the URL and Domain name of External Website can you suggest me some variable of SafeLink for the same.

Getting the URL data (site name, description, etc) would require major changes. The edit I shared with you is the simplest to use a redirection page instead of plain redirection.

(2021-04-16, 06:15 AM)bhaskar Wrote: If there's any MyBB Developer here PM me for paid work.
PM me if you can create : A Warning System, Points and Credit System, Hidden Tags System, Award System, and more..

Try opening a thread in the following forum for better results:
https://community.mybb.com/forum-203.html
Reply
(2021-04-10, 09:21 PM)Omar G. Wrote: Open safelink.php, find:
header("location:$url");

Replace with:
redirect($url, '', '', true);

Thanks for this help 
but i could not find any code like this header("location:$url"); in safelink.php file.


(2021-04-16, 08:02 PM)Omar G. Wrote:
(2021-04-16, 06:15 AM)bhaskar Wrote: I want to capture the URL and Domain name of External Website can you suggest me some variable of SafeLink for the same.

Getting the URL data (site name, description, etc) would require major changes. The edit I shared with you is the simplest to use a redirection page instead of plain redirection.

(2021-04-16, 06:15 AM)bhaskar Wrote: If there's any MyBB Developer here PM me for paid work.
PM me if you can create : A Warning System, Points and Credit System, Hidden Tags System, Award System, and more..

Try opening a thread in the following forum for better results:
https://community.mybb.com/forum-203.html

Finally SafeLink is configured and working but i have one issue that it's background and text both are in white color so i can't able to see the warning is there any way to change it's color and UI.

Here's how it look like right now:

https://prnt.sc/11p4stu

Can anyone help me to change the looks of output?

I want the Warning Page Look like this:

https://prnt.sc/11p4zrb

If my desire Warning page isn't possible then help me atleast i can change the background color so the users of my forum can view the warning.

Thanks in advance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)