YaBB SE Community
Development => Completed mods => Topic started by: Jack.R.Abbit on April 22, 2003, 07:27:12 PM
-
This mod hides the MySQL database password in the Admin section. It also adds an additional field that can be used to change the password. By entering the current password into the "Database Password" field and the new password into the "Database Password (New)" field, you can chagne the password. This allows you to hide it but still change it if you need to.
hidedbpassword (http://www.netamorphic.com/mods.by.jack/) - Updated 06/05/2003
Updates:
06/05/2003 - Updated/verified it for 1.5.2 & 1.5.3
Enjoy!
I should mention that be sure to back up your data before applying this, or any, mod. Everything I post works fine in my YaBB installation but your milage may vary.
-Jack
-
Updated/verified it for 1.5.2 & 1.5.3
-
Hi, this is a very good mod, I used it when I had 1.4.1, but now that I tried to install on 1.5.3, I get
2: fopen(Sources/Admin.php) [function.fopen]: failed to create stream: Permission denied
(/home/allabout/public_html/yabbse/Sources/Packages.php ln 416)
No other mods are installed. Any ideas?
Thanx
-
It's not the mod really, it's your file permissions. (on admin.php) You'll have to chmod it to the correct setting...I'm not precisely sure what it needs to go to. My bad practice is chmoding the file to 777, installing, and then changing it back to a safe setting. That's the bad way to do it though. Jack or someone else could probably tell you what it needs to be set to for sure.
Methonis
-
666 - Why does a readme file excists ?
-
Thank you, I'll try that.
Posted by: Daniel D. Posted on: Today at 04:02:56am
666 - Why does a readme file excists ?
Isn't 666 just as risky as 777, I mean one is rw-rw-rw and the other is rwx-rwx-rwx. This is fine to edit and write to files but what should the permissions be afterwards, 655? 644?
-
Excellent, it worked. Thank you.
Newbieyabbie hits self in the head. I should've known this already, its the "fopen and streams that through me off.
Thanks again
-
YaBB SE Version: 1.5.4
PHP Version: 4.3.2
MySQL Version: 4.0.x
Server Platform: Windows
Link to Forum:
Problem Description:
I doubt this is possible but, let's say I wanted to host a forum for my friend, however, I don't want them to be able to see my SQL username/server/ or password which they can usually do in the ADMIN panel.
However, I still would like to give them admin access. Is this possible?
Cheers.
-
Check the completed mods board, there was a mod to hide them, not sure if it was updated to work with the current version though.
-
There are about three ;).
-[Unknown]
-
direct url anyone ;)
-
The search button is your friend, takes less than 2 mins to find, keywords hide & password but anyway http://www.netamorphic.com/mods.by.jack/
-
lol i knew u cudnt resist, thanks :)
-
Thread merged with the appropriate Mod. :)
-
I have download http://www.netamorphic.com/mods.by.jack/hidedbpassword.zip
And unziped etc, now, what exactly do i need to get this to work, I've uploaded it to the packages folder.
what next please :)?
-
First off... I really only do YaBBPaks... I don't do BoardMod. Some Mod authors only do BoardMod... I only do YaBBPaks. Having said that, the best way to install the mod is to download the YaBBPak via the Package Manager of your board and install it that way. Barring that, the zip file contains everything used to construct the YaBBPak and is about 99.9% of what you need to either do a BoardMod install or a manual install. Thankfully this mod is pretty simple so I think I can talk you through it. There should be two versions of the modification file (*.mod)... choose the one that best fits your version of YaBB SE. And open it in your favorit text editor. The .mod is in this format:
<file>
**** Name of File to be Modified ****
</file>
<search>
**** String to be Searched 4 ****
</search>
<replace|add|before>
**** Modification to be Made
</replace|add|before>
You will want to open the file that is meant to be modified.... search for the string to be search for... and the either replace it with the modification, add it directly after it or add it directly before it (depending on what the mod istruction indicates)
After you have performed all the modification instructions, upload the file and you should be up and running. (as a side note, some mods require a database modifiaction file to be run... this one does not)
Finally... be very careful when performing these "search and change" steps... because there are too many unknowns (to me) when a person does a hand install, I won't be ableto help you out too much... be thankful this only has 2 modifications.
-Jack
Oh... and if you decide you want to use BoardMod... BoardMod does not understand the same modification instructions so it would need to be translated... (not too hard but not something I'll do)
-
installed mod successfully,
however, let me get this right, if i wanted to run a forum for a friend, they cud just uninstall the mod and then view the password couldn't they?
also, i tried to remove the mod, and still cant see the password so im confused lol ??? have i just contradicted myself
-
goto the admin page and take a look at the package manager/yabbpak options :)