Hi there,
I haven't been here for some time, as my UBB system has been running fairly smoothly for a year now. I'm using UBB as somewhat of a Portal, primarily as a news publishing tool. I've got Latest Threads, UBB News, ELY's Upload, and a bunch of custom details running. (on 6.103)
For '03, I'm planning to go to more of a real portal interface. 6.3's ability to use different HTML templates for different forums means I can now add a public or private forum along side my news areas. I'm planning to use polls, calanders, messaging, forums, and a customised profile system.
My question is this: for the news side of the system, I want the post/reply/edit type links to display only to authorised users (moderators in this case).
Example: currently, the post/reply links are displayed regardless of the users status. This leads curious types to click them, and they get a message telling them they're not allowed. This invites further exploration by malicious types. Instead, I'd like to check the status *before* creating the page so that the post/edit links are not displayed at all (unless user is validated).
I basically need to have the display of the tools links based on a cookie check to see if the user is authorised or not. The current UBB uses JS to check the cookie to display a welcome or login message. Has anyone built a mod that checks the cookie and displays content based on a check of the user's authorisation?
I'm sure that this is an element of several mods, but I can't find a simple example to work from.
Any feedback from others working on UBB Portals would be appreciated.
Thanks,
GetaGrip Greg -
www.skusaonline.com