#43110
03/03/2000 8:51 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Well, this hack was thrown together, and is not extensively tested. I do not think it works if the user viewing the page does not have a cookie from the UBB, so they have to be registered. Description: Hides the administrative functions located at the bottom of the message display page from all but administrators and moderators. Hack:Find: and add right next to it: Remember, this is still in beta, drop any suggestions/fixes to my code in this message. Hopefully we get this worked out!
|
|
|
#43111
03/05/2000 4:54 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
*bump*
Still looking for people to tell me if it works or not
------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh"
* No offense meant to any Canadians
|
|
|
#43112
03/06/2000 3:11 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
About to test it.... Just a thought
|
|
|
#43113
03/06/2000 3:24 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Seems fine to me. Nice hack. Just a thought
|
|
|
#43114
03/06/2000 6:00 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Can i get a confirmation from someone else?
------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh"
* No offense meant to any Canadians
|
|
|
#43115
03/07/2000 2:33 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Don't you trust me or something? Just a thought
|
|
|
#43116
03/07/2000 4:40 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Me2Be -- It didn't work for you? It only shows if you are an admin or mod. Please let me know exactly what happened. It reads your profile, so you must not clear your cookies, and your username and pword need to be stored. cal -- It's not that, things end up better if they are double, triple, or even more, checked ------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh" * No offense meant to any Canadians
|
|
|
#43117
03/11/2000 8:13 PM
|
Joined: Jan 2000
Posts: 23
Member
|
Member
Joined: Jan 2000
Posts: 23 |
Forgive me if I'm wrong here, but this stuff is in the CreateThreadHTML sub, right? Well, then wouldn't this just supress it if the poster wasn't an Admin/Mod? In other words, "Billy Bob", a member, posts a topic -- no one sees the admin stuff. If "Mr. Admin" posts, then everyone sees the the admin stuff. Or am I completely wrong here? ------------------ -mike Casual Players Alliance
|
|
|
#43118
03/11/2000 10:16 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
hmmm, i didn't think so, but maybe...
------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh"
* No offense meant to any Canadians
|
|
|
#43119
03/12/2000 7:54 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Very good point (shouldn't have trusted me Atom). The page isn't dynamic so either has them for everyone or for no one. To do this hack, you'd need to generate the page every time it was loaded. This hack is impossible (without A LOT of recoding) Just a thought
|
|
|
#43120
03/12/2000 12:23 PM
|
Joined: Jan 2000
Posts: 23
Member
|
Member
Joined: Jan 2000
Posts: 23 |
Well, theoretically you could create a cookie with your user status and then use some javascript to only write it if the cookie says Admin or Moderator. Not worth it IMO. ------------------ -mike Casual Players Alliance
|
|
|
#43121
03/18/2000 8:32 AM
|
Joined: Feb 2000
Posts: 10
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 10 |
You'll probably won't need stuff like this anyway.
|
|
|
#43122
03/18/2000 10:11 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Yup, i didn't need it, someone requestied it, so I made a quick and weak attempt at it I wasn't using it... ------------------ I wish I were a Canuck All they have to do is drink beer, play hockey, and say "Eh" * No offense meant to any Canadians
|
|
|
#43123
03/18/2000 10:17 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Certainly was weak. hehe. Just a thought
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,929
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|