Hello sons of daddy :)
Posted: 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 , then here is what i doing already
Some modification to ccs to improve how the script looks for final user:
Modified all notice bubbles :
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:
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:
Fixed whit max length declared
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 :
but in my test server this is what i get
I want to restrict to urls only in the content box,just like this;
actually users can paste whatever they want whit this result:
in the new script version you will get this :
Lots of 404s
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
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 , then here is what i doing already
Some modification to ccs to improve how the script looks for final user:
Modified all notice bubbles :
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:
- 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:
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;
actually users can paste whatever they want whit this result:
in the new script version you will get this :
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