Site Links
Home
Features
Pricing & Order
Documentation
Support Options
Member Area
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (GregSan), 77 guests, and 199 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 458
Joined: August 2004
Show All Member Profiles 
Top Posters(30 Days)
isaac 25
Gizmo 18
Ruben 10
driv 9
Conrad 3
JAISP 2
Morgan 2
Latest Photos
Trees
Retreats
Rooms
Big stuff
Test
Previous Thread
Next Thread
Print Thread
7.7.1 forgotten? //$reply = "off"; #262709 05/13/19 07:25 PM
Joined: Apr 2019
Posts: 37
BlackMale Offline OP
Newbie
OP Offline
Newbie
Joined: Apr 2019
Posts: 37
not bug

see scripts/showflat.inc.php
if ($topic_info['TOPIC_IS_STICKY'] == '2' && ($user['USER_MEMBERSHIP_LEVEL'] != "Administrator")) {
//$reply = "off";
}

but in scripts/addpost.inc.php

if ($issticky == "2" && ($user['USER_MEMBERSHIP_LEVEL'] != "Administrator")) {
$html->not_right($ubbt_lang['NO_R_ANNOUNCE']);
}

Last edited by BlackMale; 05/13/19 07:28 PM.
Express Hosting
Re: 7.7.1 forgotten? //$reply = "off"; [Re: BlackMale] #262710 05/13/19 10:02 PM
Joined: Jun 2006
Posts: 15,827
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,827
Checks in the code are commonly commented out versus being removed for a variety of reasons, mainly testing. Just because code in a similar function isn't commented out doesn't mean similar code in other files should be live.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: 7.7.1 forgotten? //$reply = "off"; [Re: BlackMale] #262711 05/13/19 11:27 PM
Joined: Apr 2004
Posts: 1,377
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,377
The commented line has been that way since February 2009, with the release of UBB.threads 7.5.0.
https://www.ubbcentral.com/forums/ubbthreads.php/topics/221187/version-7-5-released-february-24-2009

Quote
[changed] It is now possible to reply to global announcements as long as the user has the ability to reply to regular topics. Locking the announcement will make it so it cannot be replied to.


The code is working as intend.

Please only provide bug reports for actual bugs. Bug reports for results of the code.

Multiple people have worked on the code over the past 20 years -- each with their own programming styles. Since the release of UBB.threads 7.6.0, many of those programming styles have been rewritten/reformatted to follow a single expected format.

Reporting issues about code layout or code-remarked items is not a bug.


isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.2 Progress Notes

ShoutChat Box
Today's Birthdays
No Birthdays
Recent Topics
7.7.1 forgotten? //$reply = "off";
by BlackMale - 05/13/19 07:25 PM
[FIXED for 7.7.2] 7.7.1 /admin/edit_subscrip
tion.php

by BlackMale - 05/11/19 08:35 AM
http issues
by justwilliams - 05/10/19 09:20 AM
Open div
by AllenAyres - 05/09/19 01:17 PM
Forum Statistics
Forums35
Topics35,292
Posts192,448
Members12,166
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190501)