Open gioxlit opened 8 years ago
Hi, That could be a bug... Was it after an update ? From what version? Was it after a specific manipulation? Thx
Le 3 mars 2016 00:53:49 CET, gioxlit notifications@github.com a écrit :
Hi, suddenly none of share links is working and looks like all the links got reseted.
Is this a feature or a bug?
Thank you
Reply to this email directly or view it on GitHub: https://github.com/broncowdd/BoZoN/issues/98
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
Version 2.2beta.
No updates, or any files moved. Just the old links stopped working.
Can I manually edit the assigned links to the old ones? I have a small number of files.
Thanks. On Mar 3, 2016 06:53, "Bronco" notifications@github.com wrote:
Hi, That could be a bug... Was it after an update ? From what version? Was it after a specific manipulation? Thx
Le 3 mars 2016 00:53:49 CET, gioxlit notifications@github.com a écrit :
Hi, suddenly none of share links is working and looks like all the links got reseted.
Is this a feature or a bug?
Thank you
Reply to this email directly or view it on GitHub: https://github.com/broncowdd/BoZoN/issues/98
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
— Reply to this email directly or view it on GitHub https://github.com/broncowdd/BoZoN/issues/98#issuecomment-191582813.
Very strange issue... It's not possible to edit manually the id files (to avoid id conflict) but I could add it to the next version, if you really need it ;-) (or I just write a small script to do it)
If you could write such a script it would be awesome. On Mar 3, 2016 12:12, "Bronco" notifications@github.com wrote:
Very strange issue... It's not possible to edit manually the id files (to avoid id conflict) but I could add it to the next version, if you really need it ;-) (or I just write a small script to do it)
— Reply to this email directly or view it on GitHub https://github.com/broncowdd/BoZoN/issues/98#issuecomment-191692855.
ok, I'll try to do it tonight ;-)
thank you very much
On 3 March 2016 at 12:58, Bronco notifications@github.com wrote:
ok, I'll try to do it tonight ;-)
— Reply to this email directly or view it on GitHub https://github.com/broncowdd/BoZoN/issues/98#issuecomment-191706516.
Litainas Giorgos Electrical & Computer Engineer NTUA, MBA NTUA gioxlit@gmail.com, mob: (+30) 6946958810
You can copy the code below and paste it into a new file, named changeid.php for example.
<?php
$root=dirname(realpath(__FILE__)).'/';
require('core/core.php');
$ids=unstore();
if ($_POST){
rename($_SESSION['id_file'],$_SESSION['id_file'].'backup');
unset($ids);$ids=array();
foreach($_POST['id'] as $index=>$id){
$ids[$id]=$_POST['path'][$index];
}
store($ids);
}
?>
<style>
table tr td{border-bottom:1px solid rgba(0,0,0,0.5);}
input{border-radius: 3px;padding:5px;font-size:1.2em;width:100%;}
</style>
<form action="#" method="POST">
<h1> Edit files'ID </h1>
<table>
<?php $i=0;
foreach ($ids as $id=>$path){
$i++;
echo '<tr>';
echo '<td>'.$i.'- '.$path.'<input type="hidden" name="path[]" value="'.$path.'"/></td>';
echo '<td><input type="text" placeholder="type an ID" name="id[]" value="'.$id.'"/></td>';
echo '</tr>';
}
?>
<tr><td></td><td><input type="submit" value="save (a backup will be done)"/></td></tr>
</table>
</form>
Now, you can edit each id separately ^^
When done, don't forget to erase the file ;-)
thanks very much for the script.
is it possible for the app to crash and the links to be reseted due to high traffic?
I just found out that some blogs/sites embed the share links directly to their content.
Any advice how to stop them from using the app this way?
On 3 March 2016 at 14:18, Bronco notifications@github.com wrote:
When done, don't forget to erase the file ;-)
— Reply to this email directly or view it on GitHub https://github.com/broncowdd/BoZoN/issues/98#issuecomment-191729853.
Litainas Giorgos Electrical & Computer Engineer NTUA, MBA NTUA gioxlit@gmail.com, mob: (+30) 6946958810
I could add a config variable to allow or not the use as a source... I'll think about it ;-)
Le 7 mars 2016 14:26:01 CET, gioxlit notifications@github.com a écrit :
thanks very much for the script.
is it possible for the app to crash and the links to be reseted due to high traffic?
I just found out that some blogs/sites embed the share links directly to their content.
Any advice how to stop them from using the app this way?
On 3 March 2016 at 14:18, Bronco notifications@github.com wrote:
When done, don't forget to erase the file ;-)
— Reply to this email directly or view it on GitHub
https://github.com/broncowdd/BoZoN/issues/98#issuecomment-191729853.
Litainas Giorgos Electrical & Computer Engineer NTUA, MBA NTUA gioxlit@gmail.com, mob: (+30) 6946958810
Reply to this email directly or view it on GitHub: https://github.com/broncowdd/BoZoN/issues/98#issuecomment-193247404
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
Hi, suddenly none of share links is working and looks like all the links got reseted.
Is this a feature or a bug?
Thank you