SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 23, 2013, 12:07:54 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10766
Latest:
Heater Sajid
Stats
Total Posts: 32387
Total Topics: 5479
Online Today: 67
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 47
Total: 47
SMFHacks.com
Forum
Badge Awards
Support
DELETE BADGE Option Showing For Everyone
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: DELETE BADGE Option Showing For Everyone (Read 523 times)
FrizzleFried
Badge Awards Member
Full Member
Offline
Posts: 128
DELETE BADGE Option Showing For Everyone
«
on:
June 25, 2012, 12:46:27 pm »
FYI - The DELETE BADGE option is showing for everyone... even when viewing other peoples badges. Clicking on the delete link takes you to the ADMIN PASSWORD page...so regular members can't delete badges... but the delete link shouldn't be appearing (and the CSS looks wrong for it)
See attached...
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11000
Re: DELETE BADGE Option Showing For Everyone
«
Reply #1 on:
June 25, 2012, 12:55:05 pm »
Posted new version 1.0.9a to fix that issue for SMF 2.0
Logged
FrizzleFried
Badge Awards Member
Full Member
Offline
Posts: 128
Re: DELETE BADGE Option Showing For Everyone
«
Reply #2 on:
June 25, 2012, 01:18:44 pm »
So a guy can avoid having to re-download/re-install/re-install changes... etc...
Care to give the file name and edit to make to fix the issue by chance?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11000
Re: DELETE BADGE Option Showing For Everyone
«
Reply #3 on:
June 25, 2012, 01:21:39 pm »
Open themes/default/badgeawards2.template.php
Find Line 631
Code:
echo '<td><a href="' . $scripturl . '?action=admin;area=badgeawards;sa=delmembadge&id=' . $row['id_log'] . '">' . $txt['badge_delete'] . '</a></td>';
Change to
Code:
if ($user_info['is_admin'])
echo '<td><a href="' . $scripturl . '?action=admin;area=badgeawards;sa=delmembadge&id=' . $row['id_log'] . '">' . $txt['badge_delete'] . '</a></td>';
Logged
FrizzleFried
Badge Awards Member
Full Member
Offline
Posts: 128
Re: DELETE BADGE Option Showing For Everyone
«
Reply #4 on:
June 25, 2012, 01:58:47 pm »
Fixed... thank you.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
news letter pro cant find...
by
ozzie4x4
[May 22, 2013, 10:03:30 pm]
Automated newsletter of r...
by
SMFHacks
[May 22, 2013, 03:00:09 pm]
Help me program these awa...
by
Draffi
[May 22, 2013, 03:03:31 am]
Code for ultimate Profile
by
Draffi
[May 21, 2013, 03:27:16 pm]
Parent and children Badge...
by
Draffi
[May 21, 2013, 02:11:10 pm]
Badge block
by
Draffi
[May 21, 2013, 01:18:58 pm]
[Request] - Award for any...
by
SMFHacks
[May 21, 2013, 12:22:02 am]
Changing the font
by
SMFHacks
[May 21, 2013, 12:20:41 am]
SMF vs PhpBB
by
gibranabahel
[May 19, 2013, 11:13:02 pm]
Upgrade SMF Gallery Pro
by
DTroup
[May 19, 2013, 08:18:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...