struggling to find where to change details June 30, 2017 09:46AM |
Registered: 6 years ago Posts: 4 |
Re: struggling to find where to change details June 30, 2017 10:35AM |
Admin Registered: 13 years ago Posts: 4,680 |
The /opt/piratebox/conf/chat_init.txt is the correct place to be changed. If you set it "RESET_CHAT" to yes, the reboot should put the content of "chat_init.txt" into /opt/piratebox/www/cgi-bin/data.psoQuote
Two places, I can't quite get to. The chatbox's initial "0:0:0: PirateBox:" message won't get changed. I've edited it in the chat .txt file in /conf/ and set the chat log to persist in piratebox.conf - so whatever is typed stays forever, and then edited the html file in content that contains the actual chat log to take away the PirateBox line, and it changes ... yet each time I reboot it is back! Where is it coming from?!
Check out /opt/piratebox/www/redirect.html and /opt/piratebox/www/index.html . The index.html should be a symlink to redirect.html, but for some reason it suddenly became a file for itself during deployment. (I removed redirect.html, changed everthing to index.html only on pending hotfix 1.1.4).Quote
Secondly, the domain - I can't figure out how to change it, I've found many instances in various conf files, and I switch them to my own place.lan and I've managed that my place.lan will redirect to 192.168.77.1 somehow, but it will automatically go straight back to piratebox.lan.
Re: struggling to find where to change details July 01, 2017 01:11AM |
Registered: 6 years ago Posts: 4 |
Re: struggling to find where to change details July 01, 2017 06:46AM |
Admin Registered: 13 years ago Posts: 4,680 |
The redirect is a 404 redirect. So probably you made a mistake somewhere. It is totally possible to create/add custom content, but you need to take care about correct URLsQuote
And one final request, how can I bypass the redirect to add a new linked page? Ie, I tried to make About go to /about/ where I placed a new index.html where I could fill in some more stuff, but any link I attempt just redirects to the homepage....