Customizing SMF > Mod Requests
Information Bar
Texan78:
Hello,
I have looked and I have found something close to what I need but, they don't do what I need it to do. I am just wanting a simple div box that will go right above the breadcrumb and below the menu on a Default theme using 2.0.2 that I can put some info in like "You are not logged in, please log in or register yada, yada, yada. This info bar will only show to Non members or members not logged in. When the user logs in the bar disappears. I had this many years ago when I used phpBB, and was curious if this could be done or if there is a mod that will do this. I know when I had it on phpBB it was a really simple code edit. I figured it would be the same for here.
-Thanks
Fog:
Do you know any PHP Coding?
Texan78:
--- Quote from: Fog on May 21, 2012, 09:18:22 PM ---Do you know any PHP Coding?
--- End quote ---
If I did I wouldn't really be asking. I know enough to make my way around, but not really wanting to reinvent the wheel if there is already something out there.
Fog:
It might be easier to create your own mod, the reason I ask is I've created a info bar below the main menu but never tried to put permissions into the PHP code I modified. It wouldn't be hard to create permissions.
Texan78:
Yea creating the actual div bar wouldn't be hard at all. I just don't know what code is used to display or not display something when a user is not logged in. On phpBB it wasn't hard at all. But the code for SMF is a lot more complex then phpBB was back then.
Navigation
[0] Message Index
[#] Next page
Go to full version