Hello sons of daddy :)

Welcome aboard to our forums, come introduce yourself!

Hello sons of daddy :)

Postby sonLP » Sat Oct 04, 2014 4:38 am

Hi ppl i just joined this forum because y want to have my own Link protector,and after of a extensive search in google,i think that DLP is the best choice, i will donate after getting desire results whit this simple,but still usefull and beautiful script
I want to say thanks!! big thanks to SamEA for this nice link protector

if you let me talk about this link protector here is what i think:
I want to use it for my own website,because i want to have my own protect url scrip


PROS:
Free
Simple
Super easy to install
No harcoded or encrypted code
Easy to modify css ,and very customizable
Fast
And a lot of things more that you can discover if you use it!

Cons
Not a real cons,but things that can be improved
No admin panel,to manage links,reports,stats,visits and more
No affiliate script
Every webmaster that uses a script,want to make some money.


What i doing already?
Im not a php,css,java script expert,but google yes :D , then here is what i doing already
Some modification to ccs to improve how the script looks for final user:
Image
Modified all notice bubbles :

Image

I added some javascript for easy copy url, "click to auto-select and copy",i was thinking about make link click-able,but there is no need since up-loader just want to get the link to paste in another website,forum, and more:
Image
Code: Select all

<center><br><div class="success"><img src="./img/success.png"><br>Click to copy Your new URL<div id="selectable" onclick="selectText('selectable')"><? echo $scripturl .$short.$rand2;?><br></div></div><br>
</center>
<script type="text/javascript">
    function selectText(containerid) {
        if (document.selection) {
            var range = document.body.createTextRange();
            range.moveToElementText(document.getElementById(containerid));
            range.select();
        } else if (window.getSelection) {
            var range = document.createRange();
            range.selectNode(document.getElementById(containerid));
            window.getSelection().addRange(range);
        }
    }
</script>


Modified the "tittle" box because in default script you can paste unlimited text, and sometimes up-loaders just type "ctrl+v whitout" looking where the text is pasted,and that can give errors and weird urls:
Image



Fixed whit max length declared
Code: Select all
<input type="title" name="title" size="50" [b]maxlength="15[/b]">

maxlength="15

THINGS TO DO :
i want an admin panel to delete/modify links
i want a report system
i want a contact page
I need to fix some weird error that is a server side, i mean if a user puts http:// in tittle box i got an error that show my full url path :( i know that is a server side error because i just tested in http://demo.daddyscripts.com/dlp/ and just giveme 404 error :
Code: Select all
http://demo.daddyscripts.com/dlp/406http://demo.daddyscripts.com/dlp/


but in my test server this is what i get
Code: Select all
Warning: fopen(./files/34http://xxxxxx.co.dlp): failed to open stream: No such file or directory in /home/accounts/xxxxxxcom/public_html/lilurl/index.php on line 33

Warning: fopen(./config/34http://xxxxxx.co.dlp): failed to open stream: No such file or directory in /home/accounts/xxxxxxcom/public_html/lilurl/index.php on line 34

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/accounts/xxxxxxcom/public_html/lilurl/index.php on line 42

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/accounts/xxxxxxcom/public_html/lilurl/index.php on line 43



I want to restrict to urls only in the content box,just like this;
Image

actually users can paste whatever they want whit this result:
Image

in the new script version you will get this :
Image
Lots of 404s :(

Besides of those modifications, i looking if i can remove "tittle" function form script,that will be more easy and safe,i think, idk if this can be implemented

As you can see im working very hard in this script,unfortunately,like i said before i not php java script or ccs expert,that's why i just looking in google for premade functions, cc styles, and java script routines, i think that the hard part for me, will be to implement admin panel,report system and contact page

and finally i need to modify the menu bar to looks a little better than actually :)
Grettings ppls,will see you later :)
:mrgreen:
User avatar
sonLP
Premium
 
Posts: 21
Joined: Sat Oct 04, 2014 3:13 am

Re: Hello sons of daddy :)

Postby SamEA » Wed Oct 08, 2014 11:13 pm

Regardless if you coded the functions/addons by yourself or simply combined functions from other opensource projects, great job and thanks for the contribution! This is the beauty of opensource ;), as long as you're recognising their work in the PHP/HTML comments and etc.

Last, but not least, welcome on board to DaddyScripts and glad to hear you're enjoying using DS products! The primary reason why the script doesn't have any major modifications is because I began this as a minor project and then decided to release it on DS. However, if you have any modifications in which you would like to add to future releases, please let me know.

Thanks,
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: Hello sons of daddy :)

Postby sonLP » Thu Oct 09, 2014 4:50 am

Many thanks for your response SamEA, i m really enjoying this script,because is very useful for my websites,and because is very easy to use for final users.
Yes i have some suggestions for this nice script,but i will post about, after my donation :)

thanks for welcome :) have nice day!
User avatar
sonLP
Premium
 
Posts: 21
Joined: Sat Oct 04, 2014 3:13 am

Re: Hello sons of daddy :)

Postby SamEA » Fri Oct 10, 2014 10:33 pm

Glad to hear you're enjoying the scripts and pleasure's mine. :)
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Introduction

Who is online

Users browsing this forum: No registered users and 5 guests

cron